html {
    background-color: #000000; /* Ensure ultimate fallback is black */
}

/* Styles for the Artificial Ingenious page */
body.detail-page.artificial-ingenious {
    background-color: transparent;
    color: #FFFFFF; /* Changed to pure white */
    font-family: "Uniform Extra Condensed", sans-serif; /* Changed font */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from wide elements / animations */
    padding-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-left:clamp(12rem, 5vw, 3.5rem);
    padding-right: clamp(12rem, 5vw, 3.5rem);
}


@media (max-width: 1080px) {
    body.detail-page.artificial-ingenious {
        padding-top: clamp(1.5rem, 5vw, 3.5rem);
        padding-left: clamp(6rem, 5vw, 6.5rem);
        padding-right: clamp(6rem, 5vw, 6.5rem);
    }
}


@media (max-width: 768px) {
    body.detail-page.artificial-ingenious {
        padding-top: clamp(1.5rem, 5vw, 3.5rem);
        padding-left: clamp(1rem, 5vw, 6.5rem);
        padding-right: clamp(1rem, 5vw, 6.5rem);
    }
}

/* Override some overly broad styles from detailed-pages.css or inline if necessary */
/* For instance, if detailed-pages.css makes body white, the above will fix it. */

/* Import variables and fonts if not already inherited globally (recommended to ensure they are available) */
/* @import url('fonts.css'); /* Assuming fonts.css is in the same dir or adjust path */

/* Re-declare or ensure variables from main.css :root are accessible */
:root {
  --ai-glass-bg: rgba(25, 25, 35, 0.65); /* Slightly more opaque for better readability */
  --ai-glass-border: rgba(255, 255, 255, 0.2); /* Increased opacity for better definition */
  --ai-accent-blue-glow: rgba(255, 255, 255, 0.3); /* Changed to white glow */
  --ai-accent-pink-glow: rgba(255, 255, 255, 0.3); /* Changed to white glow */
  --ai-text-primary: #FFFFFF; /* Changed to pure white */
  --ai-text-secondary: #FFFFFF; /* Changed to pure white */
  --ai-futuristic-font: "Uniform Extra Condensed", sans-serif;
  --ai-mono-font: "Cartograph Mono", monospace; /* Changed font to align with main.css paragraph style */
  --ai-section-padding-vertical: clamp(40px, 8vh, 80px);
  --ai-section-padding-horizontal-container: clamp(20px, 5vw, 50px);
  --ai-card-border-radius: 18px;
}

/* General Section Styling */
.artificial-ingenious .page-section {
    /* padding-top: var(--ai-section-padding-vertical); */
    padding-bottom: var(--ai-section-padding-vertical);
    padding-left: 0;
    padding-right: 0;
    max-width: 1400px; /* Increased max-width for content */
    margin: 40px auto;
    position: relative;
    z-index: 1; /* Added z-index to ensure sections are above elements with z-index 0 */
    border-radius: var(--ai-card-border-radius);
    background: rgba(0, 0, 0, .85); /* Made sections semi-transparent black */
    /* backdrop-filter: blur(18px) saturate(130%); */ /* Removed backdrop filter */
    /* -webkit-backdrop-filter: blur(18px) saturate(130%); */ /* Removed backdrop filter */
    border: 1px solid var(--ai-glass-border); /* Border uses updated --ai-glass-border */
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35),
                inset 0 0 0 1.5px rgba(255,255,255,0.06),
                0 0 60px rgba(var(--ai-accent-blue-glow), 0.12); /* Kept subtle white glow */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.artificial-ingenious .page-section:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45),
                inset 0 0 0 1.5px rgba(255,255,255,0.09),
                0 0 80px rgba(var(--ai-accent-pink-glow), 0.18); /* Kept subtle white glow */
}

.artificial-ingenious .container {
    width: 100%;
    max-width: 90%;
    padding-left: var(--ai-section-padding-horizontal-container);
    padding-right: var(--ai-section-padding-horizontal-container);
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1; /* Ensure container and its content are below higher z-index siblings like bb-room-info */
}

/* Titles and Text */
.artificial-ingenious .section-title,
.artificial-ingenious .room-title,
.artificial-ingenious .cta-title,
.artificial-ingenious h1,
.artificial-ingenious h2 {
    font-family: var(--ai-futuristic-font);
    color: var(--ai-text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-shadow: 0 0 12px var(--ai-accent-blue-glow); /* Adjusted to single white glow */
    font-weight: normal; /* Added to remove bold */
}

.artificial-ingenious .room-title { 
    font-size: 3.5rem;
    text-align: left;
    margin-bottom: -20px;
}
.artificial-ingenious .section-title { font-size: 2.8rem; margin-bottom: 1rem; text-align: center;}
.artificial-ingenious .cta-title { font-size: 2.5rem; text-align: center; }

.artificial-ingenious .intro-text,
.artificial-ingenious .room-description,
.artificial-ingenious .cta-text,
.artificial-ingenious p {
    font-family: var(--ai-mono-font);
    color: var(--ai-text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
    text-align: center; /* Default center, can be overridden */
    margin-bottom: 1.5rem;
    max-width: 1000px; /* For readability of centered text blocks */
    margin-left: auto;
    margin-right: auto;
}

/* Restore text-align: left for room-description on larger screens */
.artificial-ingenious .room-info-section .room-description {
    text-align: left;
    max-width: none; /* Allow it to fill available space in flex layout */
    text-shadow: 0 1px 3px rgba(0,0,0,1.4); /* Added shadow for pop */
}

/* Return to Maison Button */
.artificial-ingenious .return-to-maison {
    position: fixed;
    top: 25px;
    left: 25px;
    display: flex;
    align-items: center;
    padding: 10px 18px;
    background-color: rgba(var(--ai-glass-bg), 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--ai-text-primary);
    border: 1px solid var(--ai-glass-border);
    border-radius: 25px;
    text-decoration: none;
    font-family: var(--ai-mono-font);
    font-size: 0.9rem;
    z-index: 1000;
    transition: all 0.3s ease;
}
.artificial-ingenious .return-to-maison svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    stroke: #FFFFFF; /* Changed to white */
}
.artificial-ingenious .return-to-maison:hover {
    background-color: rgba(var(--ai-glass-bg), 1);
    color: #FFFFFF; /* Changed to white */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2); /* White glow */
}

/* New: Styles for the dynamic page background */
#dynamic-page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Covers the entire viewport height */
    z-index: -10; /* Behind all other page content */
    background-image: url('../images/rooms/observatory-2.webp'); /* Updated image path */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #000000; /* Fallback/target color when image fades */
    opacity: 1; /* Initially visible */
    transition: opacity 0.8s ease-out; /* Smooth fade effect */
}

/* New: Styles for Hero Background Slideshow */
.artificial-ingenious .hero-background-slideshow {
    position: fixed; /* Changed from absolute */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Changed from 100% to 100vh */
    background-color: #000000; /* Black background for transitions */
    background-image: url('../images/rooms/observatory-2.webp'); /* Fallback background image */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: -9; /* Adjusted z-index to be above dynamic-page-background but below content */
}

.artificial-ingenious .hero-background-slideshow .hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.75s ease-in-out; /* Enabled for smooth crossfade */

}

/* Make the first image visible by default */
.artificial-ingenious .hero-background-slideshow .hero-bg-slide:first-child {
    opacity: 1;
}

/* New: Styles for the process scroll animation host layer */
#process-scroll-animation-host {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -5; /* Above main page background, below hero dynamic bg and sections */
    pointer-events: none; /* Allow clicks to pass through */
    overflow: hidden; /* Clip the image if it extends beyond viewport due to animation */
}

/* Video Hero Section Wrapper - new styles for the placeholder */
.artificial-ingenious .video-hero-wrapper {
    margin-top: 30px; /* Original margin from video-hero-section */
    margin-bottom: 40px; /* Original margin from video-hero-section */
    height: clamp(200px, 50vw, 600px);
    max-width: 1400px;
    position: relative; /* For potential future absolute children if any, not strictly needed now */
    margin: 0 auto;
}

.video-yt-wrapper {
    position: relative;
    width: 100%;
    max-width: 90%;
    margin: 40px auto;
    background: rgba(0, 0, 0, 0.85);
    border-radius: var(--ai-card-border-radius);
    border: 1px solid var(--ai-glass-border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35),
                inset 0 0 0 1.5px rgba(255,255,255,0.06),
                0 0 60px rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.video-yt-wrapper .video-placeholder {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-yt-wrapper .video-placeholder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive adjustments for YouTube container */
@media (max-width: 1200px) {
    .video-yt-wrapper {
        max-width: 95%;
        margin: 30px auto;
    }
}

@media (max-width: 768px) {
    .video-yt-wrapper {
        max-width: 100%;
        margin: 20px auto;
        border-radius: calc(var(--ai-card-border-radius) / 2);
    }
}

/* Video Hero Section - adjusted styles */
.artificial-ingenious .video-hero-section {
    padding: 0; /* Remains */
    background: transparent; /* Set to transparent */
    /* background-image: url('../images/rooms/machine-megamind.webp'); */ /* Reverted */
    /* background-size: cover; */ /* Reverted */
    /* background-position: center; */ /* Reverted */
    /* background-repeat: no-repeat; */ /* Reverted */
    box-shadow: none; /* Remains */
    border: none; /* Remains */
    /* margin-top, margin-bottom, height, max-height are now on the wrapper */
    width: 100%; /* Fill wrapper */
    height: 100%; /* Fill wrapper */
    position: relative; /* Default position within wrapper */
    top: 0;
    left: 0;
    overflow: hidden; /* Remains */
    /* Ensure smooth transition if it becomes fixed - transitions are mainly on video-pip-mode */
}

.artificial-ingenious .video-hero-section .video-container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 3; /* Ensure video is above slideshow and artistic text */
}
.artificial-ingenious .video-hero-section .video-placeholder iframe {
    border-radius: 0; /* Full bleed */
}
.artificial-ingenious .artistic-background-text {
    position: absolute;
    font-family: var(--ai-futuristic-font);
    font-size: 10vw; /* Responsive size */
    color: rgba(255, 255, 255, 0.05);
    z-index: 2; /* Ensure artistic text is above slideshow but below video */
    text-transform: uppercase;
    pointer-events: none;
}

/* Styles for Picture-in-Picture (PiP) or Sticky Video Player Mode */
.artificial-ingenious .video-hero-section.video-pip-mode {
    /* Positioning (position, top, left, bottom, right) and Sizing (width, height, max-height) are now handled by JavaScript for reliability */
    /* z-index and opacity are also set by JS but can be here as fallback/initial if JS is slow/fails */
    z-index: 2000; 
    opacity: 1; 
    
    /* Appearance styles that can remain in CSS */
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
    border-radius: 8px; 
    margin: 0; /* Reset margin */
    padding: 0; /* Reset padding */
    
    /* Transitions for CSS-controlled properties or for when class is removed and JS clears inline styles */
    transition: opacity 0.3s ease-in-out, box-shadow 0.4s ease-in-out;
    /* overflow: hidden; is already set on .video-hero-section */
}

@media (max-width: 768px) {
    .im1 {
        right: -3rem !important;
        top: -5rem !important;
    }
    .im2 {
        left: -2rem !important;
        bottom: -90rem !important;
    }
    .artificial-ingenious .video-hero-section.video-pip-mode {
       display: none;
    }
}

.artificial-ingenious .video-hero-section.video-pip-mode .video-container,
.artificial-ingenious .video-hero-section.video-pip-mode .video-placeholder,
.artificial-ingenious .video-hero-section.video-pip-mode iframe {
    width: 100%;
    height: 100%;
    border-radius: 0; /* Ensure iframe corners don't stick out if parent is rounded (though PiP is rounded here) */
}

.artificial-ingenious .video-hero-section.video-pip-mode .artistic-background-text {
    display: none; /* Hide background text in PiP mode */
}

/* Room Info Section */
.artificial-ingenious .room-info-section {
    padding-top: 0;
    margin-bottom: 70px; /* Added specific bottom margin */
}

.artificial-ingenious .room-info-section .room-info-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    position: relative;
    padding-left: 0;

    /* New glass effect styles */
    background: rgba(30, 30, 45, 0.55); /* Slightly different glass */
    backdrop-filter: blur(8px) saturate(110%);
    -webkit-backdrop-filter: blur(8px) saturate(110%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: calc(var(--ai-card-border-radius) - 4px);
    padding: 1.5rem; /* Added padding for the glass panel */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Offerings Section */
.artificial-ingenious .offerings-grid {
    display: block; /* Changed from grid to block for vertical stacking */
    margin-top: 2rem;
    perspective: 1000px; /* Added for 3D effect on children */
}
.artificial-ingenious .offering-card {
    background: var(--ai-glass-bg); /* Using the defined variable */
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    border: 1px solid var(--ai-glass-border);
    border-radius: var(--ai-card-border-radius);
    display: flex; /* Keeping flex for internal layout */
    flex-direction: row; /* Internal layout remains landscape */
    align-items: stretch; /* Make image and text content wrappers equal height */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 
                inset 0 0 0 1px rgba(255,255,255,0.05),
                0 0 40px rgba(var(--ai-accent-blue-glow), 0.1); /* Subtle white glow */
    transition: transform 0.35s ease-out, box-shadow 0.35s ease-out;
    overflow: hidden; /* Ensure border-radius clips children */
    width: 100%; /* Make card full width */
    margin-bottom: 30px; /* Add space between stacked cards */
}

.artificial-ingenious .offering-card:last-child {
    margin-bottom: 0; /* No margin for the last card */
}

.artificial-ingenious .offering-card.featured {
    border-color: rgba(255, 255, 255, 0.5); /* White border for featured */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 
                inset 0 0 0 1px rgba(255,255,255,0.05),
                0 0 50px rgba(255, 255, 255, 0.2); /* More prominent white glow */
}

.artificial-ingenious .offering-card.featured:hover {
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.4), 
                inset 0 0 0 1.5px rgba(255,255,255,0.08),
                0 0 60px rgba(255, 255, 255, 0.3); /* Stronger white glow on hover */
}

.artificial-ingenious .offering-card:hover {
    transform: rotateX(var(--rotateX, 0deg)) rotateY(var(--rotateY, 0deg)) scale3d(1.03, 1.03, 1.03);
    z-index: 5; /* Added to try and keep it below the bot image on hover */
}

.artificial-ingenious .offering-image-wrapper {
    flex: 0 0 65%; /* Adjusted from 35% to ~65% for wider image */
    position: relative; /* For absolute positioning of image if needed, or direct styling */
    background-color: rgba(0,0,0,0.2); /* Slight dark bg for image area */
}

.artificial-ingenious .offering-image {
    width: 100%;
    height: 100%; /* Fill the wrapper */
    object-fit: cover;
    border-radius: 0; /* Resetting since parent wrapper might handle it, or set 10px 0 0 10px if wrapper has issues */
    /* margin-bottom: 1.5rem; */ /* Removed as it's now side-by-side */
    display: block; /* Ensure no extra space below image */
}

.artificial-ingenious .offering-text-content {
    flex: 1 1 35%; /* Adjusted from 0 0 35% to ~35% for narrower text */
    padding: 25px; /* Existing padding for content */
    display: flex;
    flex-direction: column;
    text-align: left; /* Align text to the left */
}

.artificial-ingenious .offering-title {
    font-family: var(--ai-futuristic-font);
    font-size: 1.8rem;
    color: var(--ai-text-primary);
    margin-bottom: 0.5rem;
    font-weight: normal; /* Added to remove bold */
}
.artificial-ingenious .offering-price {
    font-family: var(--ai-futuristic-font);
    font-size: 2rem;
    color: #FFFFFF; /* White price */
    margin-bottom: 1rem;
}
.artificial-ingenious .offering-price span {
    font-size: 1rem;
    color: var(--ai-text-secondary);
}
.artificial-ingenious .offering-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.artificial-ingenious .offering-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    /* text-align: left; */ /* Already handled by .offering-text-content */
    flex-grow: 1; /* Allow features list to take available space, pushing button down if description is short */
}
.artificial-ingenious .offering-features li {
    padding: 5px 0 5px 25px;
    position: relative;
    font-size: 0.9rem;
}
.artificial-ingenious .offering-features li::before {
    content: '✧';
    position: absolute;
    left: 0;
    color: #FFFFFF; /* White icon */
    font-size: 1.2em;
}
.artificial-ingenious .explore-btn {
    display: block; 
    margin-top: auto; /* Pushes button to the bottom of the flex column in .offering-text-content */
    padding: 12px 25px; /* Adjusted padding for better pill shape */
    background: rgba(255, 255, 255, 0.1); /* Light white background */
    border: 1px solid rgba(255, 255, 255, 0.3); /* White border */
    color: var(--ai-text-primary);
    font-family: var(--ai-futuristic-font);
    text-transform: uppercase;
    border-radius: 50px; /* Increased border-radius for pill shape */
    text-align: center; /* Ensure text is centered */
    text-decoration: none; /* Removed underline */
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; /* Added transition */
}
.artificial-ingenious .explore-btn:hover {
    background: rgba(255, 255, 255, 0.2); /* Lighter on hover */
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2); /* White glow */
}

/* Process Section */
.artificial-ingenious .process-section > .container {
    position: relative;
}

.artificial-ingenious .process-section {
    /* background: rgba(25, 25, 35, 0.25); */ /* Removed to inherit general .page-section background */
}

.artificial-ingenious .scrolling-process-image {
    position: absolute;
    top: 50%; 
    left: 0; 
    height: 55vh; 
    width: auto; 
    opacity: 0.35; 
    transform: translateY(-50%); 

    will-change: transform; 
    visibility: hidden; 
}

.artificial-ingenious .process-section .section-title,
.artificial-ingenious .process-section .intro-text,
.artificial-ingenious .process-section .process-steps {
    position: relative; 
    z-index: 1;
}

.artificial-ingenious .process-steps {
    margin-top: 2rem;
}
.artificial-ingenious .process-step {
    display: flex;
    align-items: center; 
    justify-content: space-between; 
    gap: 30px; 
    margin-bottom: 3rem; 
    position: relative;
}

.artificial-ingenious .process-step .step-main-content {
    flex: 1 1 60%; 
    display: flex; 
    align-items: flex-start; 
    gap: 20px; 
}

.artificial-ingenious .step-number {
    font-family: var(--ai-futuristic-font);
    font-size: 2.5rem;
    color: #FFFFFF; /* White step number */
    line-height: 1;
    min-width: 60px; 
    text-align: center;
}

.artificial-ingenious .process-step:not(:last-child) .process-connector {
    position: absolute;
    left: 29px; 
    top: 70px; 
    bottom: -3rem; 
    width: 2px;
    background-color: rgba(255, 255, 255, 0.3); /* White connector */
    opacity: 0.5;
}

.artificial-ingenious .step-content h3 {
    font-family: var(--ai-futuristic-font);
    font-size: 1.6rem;
    color: var(--ai-text-primary);
    margin-bottom: 0.5rem;
    text-align: left;
    font-weight: normal; /* Added to remove bold */
}
.artificial-ingenious .step-content p {
    text-align: left;
    margin-bottom: 0;
}

.artificial-ingenious .process-step .step-visual {
    flex: 0 0 280px; 
    max-width: 280px; 
    height: auto;
    /* max-height: 220px; */ /* Removed to prevent cutting */
    object-fit: contain; /* Changed from cover to contain */
    border-radius: 12px; 
    /* box-shadow: 0 6px 20px rgba(0,0,0,0.25), 0 0 10px rgba(var(--ai-accent-blue-glow), 0.1); */ /* Removed for cleaner blend */
    /* border: 1px solid var(--ai-glass-border, rgba(255,255,255,0.1)); */ /* Removed for cleaner blend */
    mix-blend-mode: screen; /* Changed from luminosity to screen */
    animation: simple-float 3.5s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artificial-ingenious .process-step .step-visual:hover {
    transform: scale(1.03);
    /* box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 0 15px rgba(var(--ai-accent-pink-glow), 0.15); */ /* Kept hover transform, removed shadow */
}

/* Use Cases Section */
.artificial-ingenious .use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}
.artificial-ingenious .use-case-card {
    background: rgba(var(--ai-glass-bg),0.5);
    padding: 25px;
    border-radius: var(--ai-card-border-radius);
    border: 1px solid var(--ai-glass-border);
    display: flex;
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    gap: 15px; 
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                background 0.35s ease;
}

.artificial-ingenious .use-case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.25), 0 0 15px rgba(255, 255, 255, 0.1); /* White glow */
    background: rgba(var(--ai-glass-bg),0.65);
    border-color: rgba(255, 255, 255, 0.3); /* Lighter white border */
}

.artificial-ingenious .use-case-icon {
    margin: 10px; 
    margin-bottom: -30px;
}

.artificial-ingenious .use-case-icon svg {
    width: 68px; 
    height: 68px; 
    stroke: #FFFFFF; /* White icon stroke */
}

.artificial-ingenious .use-case-content {
    text-align: center; 
}

.artificial-ingenious .use-case-title {
    font-family: var(--ai-futuristic-font);
    font-size: 1.4rem;
    color: var(--ai-text-primary);
    margin-bottom: 0.75rem;
    text-align: center;
    font-weight: normal; /* Added to remove bold */
}
.artificial-ingenious .use-case-description { text-align: center; font-size: 0.9rem; margin-bottom: 1rem;}
.artificial-ingenious .use-case-results {
    display: flex;
    gap: 15px;
    margin-bottom: 1rem;
    justify-content: center; /* Center result items */
}
.artificial-ingenious .result-item {
    background: rgba(255, 255, 255, 0.05); /* Very subtle white background */
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
}
.artificial-ingenious .result-value {
    display: block;
    font-family: var(--ai-futuristic-font);
    font-size: 1.5rem;
    color: #FFFFFF; /* White value */
}
.artificial-ingenious .result-label { font-size: 0.75rem; color: var(--ai-text-secondary); }
.artificial-ingenious .testimonial {
    font-size: 0.75rem;
    font-style: italic;
    color: var(--ai-text-secondary);
    border-left: 3px solid rgba(255, 255, 255, 0.5); /* White border */
    padding-left: 15px;
    text-align: left; /* Align testimonial text to left */
}
.artificial-ingenious .testimonial-author { font-weight: normal; margin-top: 0.5rem; display: block; }

/* FAQ Section */
.artificial-ingenious .faq-accordion .faq-item {
    margin-bottom: 15px;
    background: rgba(var(--ai-glass-bg),0.5);
    border-radius: 10px;
    border: 1px solid var(--ai-glass-border);
}
.artificial-ingenious .faq-question {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.artificial-ingenious .faq-question h3 {
    font-family: var(--ai-mono-font);
    font-size: 1.1rem;
    color: var(--ai-text-primary);
    margin: 0;
    text-align: left;
    font-weight: normal; /* Added to remove bold, in case browser defaults it */
}
.artificial-ingenious .accordion-icon {
    font-size: 1.5rem;
    color: #FFFFFF; /* White icon */
    transition: transform 0.3s ease;
}
.artificial-ingenious .faq-item.active .accordion-icon { transform: rotate(45deg); }
.artificial-ingenious .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 20px;
}
.artificial-ingenious .faq-answer p {
    padding-bottom: 18px;
    font-size: 0.95rem;
    text-align: left;
    margin:0;
}

.artificial-ingenious .faq-answer ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}
.artificial-ingenious .faq-answer ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.5rem;
}
.artificial-ingenious .faq-answer ul li::before {
    content: '✧';
    position: absolute;
    left: 0;
    color: #FFFFFF;
    font-size: 1.2em;
}

/* CTA Section */
.artificial-ingenious .cta-section .cta-content {
    position: relative;
    padding-right: 0; /* Adjusted from 240px for centered text */
    text-align: center;
}
.artificial-ingenious .cta-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 14px 35px;
    background: rgba(255, 255, 255, 0.15); /* Light white background */
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4); /* White border */
    font-family: var(--ai-futuristic-font);
    text-transform: uppercase;
    border-radius: 25px;
    text-decoration: none; /* Removed underline */
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.artificial-ingenious .cta-button:hover {
    background: rgba(255, 255, 255, 0.25); /* Lighter on hover */
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2); /* White glow */
}

/* Discover Other Rooms Section */
.artificial-ingenious .discover-rooms-section {
    padding-bottom: calc(var(--ai-section-padding-vertical) + 20px); 
}
.artificial-ingenious .discover-rooms-section .section-title {
    margin-bottom: 3rem; 
    font-size: 3rem; 
    text-shadow: 0 0 15px var(--ai-accent-blue-glow); /* Subtle white glow */
}

.artificial-ingenious .orbit-container {
    position: relative; 
}

/* Orbiting Room Cards Enhancements - Styled as Holographic Buttons */
.artificial-ingenious .room-orbit-item {
    display: block; 
    position: relative; 
    background: rgba(255, 255, 255, 0.05); /* Subtle white background */
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2); /* Lighter white border */
    border-radius: 18px; 
    color: var(--ai-text-primary);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.05); /* Very subtle white shadow */
    text-decoration: none; 
    min-height: 160px; 
    display: flex; 
    flex-direction: column; 
}

.artificial-ingenious .room-orbit-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent); /* Whiter shine */
  transition: left 0.6s ease;
  z-index: 1; 
}

.artificial-ingenious .room-orbit-item:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1); /* Subtle white shadow on hover */
  border-color: rgba(255, 255, 255, 0.4); /* Lighter white border on hover */
}

.artificial-ingenious .room-orbit-item:hover::before {
  left: 100%;
}

.artificial-ingenious .room-orbit-card {
    border-radius: 0; 
    overflow: hidden;
    box-shadow: none; 
    border: none; 
    position: relative; 
    background: transparent; 
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 2; 
    padding: 0; 
}

.artificial-ingenious .room-orbit-image {
    background-size: cover;
    background-position: center;
    width: 100%;
    flex-grow: 1; 
    display: block;
    transition: transform 0.4s ease-in-out;
    min-height: 100px; 
}

.artificial-ingenious .room-orbit-item:hover .room-orbit-image {
    transform: scale(1.05); 
}

.artificial-ingenious .room-orbit-overlay {
    position: relative; 
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
    padding: 12px; 
    transition: background 0.3s ease;
    z-index: 3; 
}

.artificial-ingenious .room-orbit-item:hover .room-orbit-overlay {
    background: linear-gradient(to top, rgba(50,50,50,0.5) 0%, rgba(0,0,0,0.2) 70%, transparent 100%); /* Darker overlay on hover for contrast */
}

.artificial-ingenious .room-orbit-title {
    font-family: var(--ai-futuristic-font);
    font-size: 1.1rem; 
    color: var(--ai-text-primary);
    text-shadow: 0 1px 3px rgba(0,0,0,0.7); 
    margin: 0;
    line-height: 1.2;
    text-align: center; 
}

/* Central Orbit Logo */
.artificial-ingenious .orbit-center {
    z-index: 10; 
}
.artificial-ingenious .orbit-center-logo {
    font-family: var(--ai-futuristic-font);
    font-size: clamp(1.2rem, 3vw, 1.8rem); 
    color: var(--ai-text-primary);
    text-align: center;
    text-shadow: 0 0 35px rgba(var(--ai-accent-pink-glow), 0.5), inset 0 0 15px rgba(var(--ai-accent-blue-glow),0.3); /* White glows */
    padding: 10px; 
    background-color: rgba(var(--ai-glass-bg), 0.7); 
    border-radius: 50%;
    border: 1.5px solid var(--ai-glass-border);
    box-shadow: 0 0 25px rgba(var(--ai-accent-blue-glow), 0.4), inset 0 0 12px rgba(var(--ai-accent-pink-glow),0.25); /* White glows */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artificial-ingenious .orbit-center-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(var(--ai-accent-pink-glow), 0.5), inset 0 0 15px rgba(var(--ai-accent-blue-glow),0.3); /* White glows */
}

/* Footer */
.artificial-ingenious .footer {
    background-color: rgba(10,10,20,0.8);
    padding: 30px 0;
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid var(--ai-glass-border);
}
.artificial-ingenious .footer-logo {
    font-family: var(--ai-futuristic-font);
    font-size: 1.8rem;
    color: #FFFFFF; /* White logo */
    margin-bottom: 1rem;
}
.artificial-ingenious .footer-nav a {
    color: var(--ai-text-secondary);
    margin: 0 10px;
    text-decoration: none;
    font-family: var(--ai-mono-font);
    font-size: 0.9rem;
}
.artificial-ingenious .footer-nav a:hover { color: #FFFFFF; } /* White hover */
.artificial-ingenious .footer-copyright {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* General Styling for Floating Blonde Bot Images */
.artificial-ingenious .blonde-bot-image {
    position: absolute;
    width: clamp(150px, 18vw, 230px);
    height: auto;
    border-radius: 15px;
    /* box-shadow: 0 12px 35px rgba(0,0,0,0.3); */
    z-index: 5;
}

/* Specific positioning for each blonde bot image */
.artificial-ingenious .bb-room-info {

    position: absolute;
    width: 580px; /* Adjusted size to be larger */
    height: auto;
    bottom: 0; /* Stick to the bottom */
    right: -50px; /* Stick to the left corner */
    z-index: 1; /* Positioned below the button but above the background */
    transform: scaleX(-1);
}

.artificial-ingenious .bb-room-info:hover {
    box-shadow: -5px 8px 28px rgba(0,0,0,0.4), 0 0 15px rgba(255, 255, 255, 0.1); /* Subtle white glow */
}

.artificial-ingenious .bb-process-intro {
    /* bottom: calc(-1 * var(--ai-section-padding-vertical)); 
    left: -10px;  */
    transform: translateX(-50%) translateY(-50%) perspective(800px); 
    width: 250px;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: bobbing-float 3.5s ease-in-out infinite; 
}


.artificial-ingenious .bb-cta {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); 
}

.artificial-ingenious .bb-cta:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 18px 45px rgba(255, 255, 255, 0.15); /* Subtle white glow */
}

@keyframes bobbing-float {
  0% {
    transform: scaleX(-1) translateY(0px) perspective(800px);
  }
  50% {
    transform: scaleX(-1) translateY(-8px) perspective(800px);
  }
  100% {
    transform: scaleX(-1) translateY(0px) perspective(800px);
  }
}

@keyframes simple-float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-7px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Responsive adjustments for sections and blonde-bot images */
@media (max-width: 992px) {
    .artificial-ingenious .room-info-section .room-info-content {
        flex-direction: column;
        padding-left: 0;
        text-align: center;
    }
    .artificial-ingenious .room-info-section .room-description {
        text-align: center;
    }
    .artificial-ingenious .blonde-bot-image.bb-room-info {
        position: relative;
        top: auto; left: auto; transform: none;
        margin: 0 auto 20px auto;
        width: clamp(150px, 30vw, 200px);
    }

    .form-container{
        max-width: 100% !important;
    }

    .artificial-ingenious .process-section > .container {
        /* padding-top: 20px; */
    }

    .artificial-ingenious .cta-section .cta-content {
        padding-right: 0;
    }
    .artificial-ingenious .blonde-bot-image.bb-cta {
        position: relative;
        top: auto; right: auto; transform: none;
        margin: 0 auto 20px auto;
        display: block;
        width: clamp(130px, 28vw, 180px);
    }
}

@media (max-width: 768px) {
    :root {
        --ai-section-padding-vertical: clamp(30px, 6vh, 60px);
        --ai-section-padding-horizontal-container: clamp(15px, 4vw, 30px);
    }

    .artificial-ingenious .page-section {
        margin: 25px auto;
    }
    
    .artificial-ingenious .room-title { font-size: clamp(2rem, 6vw, 2.5rem); }
    .artificial-ingenious .section-title { font-size: clamp(1.8rem, 5vw, 2rem); }
    .artificial-ingenious .cta-title { font-size: clamp(1.6rem, 4.5vw, 1.8rem); }
    .artificial-ingenious .intro-text, .artificial-ingenious .room-description, .artificial-ingenious .cta-text, .artificial-ingenious p {
        font-size: 0.95rem;
    }
    .artificial-ingenious .room-info-section .room-info-content {
        flex-direction: column;
        text-align: center;
    }
    .artificial-ingenious .room-info-section .room-description {
        text-align: center; /* Changed from right to center for consistency on mobile */
    }
    .artificial-ingenious .process-step {
        flex-direction: column;
        align-items: center; 
        text-align: center;
        gap: 20px; 
    }
    .artificial-ingenious .process-step .step-main-content {
        flex-direction: column; 
        align-items: center; 
        gap: 10px; 
        width: 100%; 
        flex-basis: auto; 
    }
    .artificial-ingenious .process-step .step-visual {
        margin-left: 0; 
        max-width: 90%; 
        width: auto; 
        flex-basis: auto; 
        order: 2; 
        margin-top: 10px; 
    }
    .artificial-ingenious .process-step .step-number { 
        margin-right: 0; 
        margin-bottom: 10px; 
    }
    .artificial-ingenious .process-step:not(:last-child) .process-connector {
        display: none; 
    }
    .artificial-ingenious .use-case-card { flex-direction: column; align-items: center; text-align: center; }
    .artificial-ingenious .use-case-icon { margin-bottom: 15px; }
    .artificial-ingenious .use-case-title, .artificial-ingenious .use-case-description, .artificial-ingenious .testimonial {
        text-align: center;
    }
    /* Ensure testimonial border is centered or consistent */
    .artificial-ingenious .testimonial {
        border-left: none; /* Remove side border */
        border-top: 2px solid rgba(255, 255, 255, 0.3); /* Add top border */
        padding-left: 0;
        padding-top: 10px; /* Add padding for top border */
        margin-top: 15px;
    }
}

.artificial-ingenious .bb-offering-featured {
    bottom: calc(-1 * var(--ai-section-padding-vertical) - 80px); 
    right: -170px; 
    width: 250px; 
    transition: transform 0.35s ease-out, box-shadow 0.35s ease-out; 
    z-index: 20; /* Increased z-index */
    animation: bobbing-float 3.5s ease-in-out infinite; 
}

/* New Diagnosis Section Styles */
.artificial-ingenious .diagnosis-section .diagnosis-content-wrapper {
    max-width: 700px; /* Control width of content */
    margin: 1.5rem auto 0 auto; /* Center it and add some top margin */
    padding-bottom: 1.5rem; /* Added padding at the bottom for the button */
    text-align: center; /* Center align text within this wrapper */
    display: flex; /* Added */
    flex-direction: column; /* Added */
    align-items: center; /* Added to keep content centered horizontally */
    min-height: 350px; /* Ensure container has enough height to push button down */
    position: relative; /* Added for positioning context for child elements */
}

.artificial-ingenious .diagnosis-price {
    font-family: var(--ai-futuristic-font);
    font-size: 2.5rem; /* Prominent price */
    color: #FFFFFF; /* White price */
    margin-bottom: 1rem;
    display: inline-block; /* To make the text-align:left work within a centered parent */
    font-weight: normal; /* Added to remove bold if it was appearing so */
}

.artificial-ingenious .diagnosis-description {
    font-size: 1rem; /* Standard paragraph size */
    color: var(--ai-text-secondary);
    margin-bottom: 1.5rem;
}

.artificial-ingenious .diagnosis-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left; /* Align list items to the left for readability */
    display: inline-block; /* To make the text-align:left work within a centered parent */
    flex-grow: 1; /* Make the features list take available space, pushing button down */
}

.artificial-ingenious .diagnosis-features li {
    padding: 8px 0 8px 30px;
    position: relative;
    font-size: 0.95rem;
    color: var(--ai-text-secondary);
}

.artificial-ingenious .diagnosis-features li::before {
    content: '✧'; /* Checkmark icon CHANGED to star */
    position: absolute;
    left: 0;
    color: #FFFFFF; /* White icon */
    font-size: 1.3em;
    top: 50%;
    transform: translateY(-50%);
}

.artificial-ingenious p.offering-description {
    text-align: left;
    margin-left: 0;
}

/* New Continue the Tour Section Styles */
.artificial-ingenious .continue-tour-section {
    background-image: url('../images/rooms/artificial-ingenious.webp'); /* Added background image */
    background-size: cover; /* Ensure image covers the section */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent image tiling */
    border: none;
    box-shadow: none;
    padding-top: 60px; /* Increased padding for better visual with background */
    padding-bottom: 60px; /* Increased padding for better visual with background */
    text-align: center; /* Center the button */
    position: relative; /* For the overlay pseudo-element */
    z-index: 0; /* Base z-index */
}

.artificial-ingenious .continue-tour-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay */
    z-index: -1; /* Behind the button */
    border-radius: inherit; /* Inherit border-radius if section had one (it doesn't currently) */
}

.artificial-ingenious .continue-tour-button {
    display: inline-block;
    padding: 15px 40px; /* Generous padding */
    background: rgba(255, 255, 255, 0.15); /* Consistent with other CTAs */
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-family: var(--ai-futuristic-font);
    font-size: 1.1rem; /* Slightly larger */
    text-transform: uppercase;
    border-radius: 50px; /* Pill shape */
    text-decoration: none;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    position: relative; /* Ensure it's above the pseudo-element */
    z-index: 1; /* Ensure it's above the pseudo-element */
}

.artificial-ingenious .continue-tour-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3); /* White glow */
    transform: translateY(-3px);
}

.artificial-ingenious .continue-tour-button .arrow-right {
    margin-left: 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.artificial-ingenious .continue-tour-button:hover .arrow-right {
    transform: translateX(5px);
}

.artificial-ingenious .diagnosis-section .cta-button {
    /* margin-top: auto; /* Removed, flex-grow on sibling will push it down */
    /* The button will use general .cta-button styles defined elsewhere */
    /* It will be centered due to align-items: center on the parent flex container */
    /* Add specific width if needed, e.g., width: 80%; max-width: 300px; */
}

/* New styles for the blonde bot image on the diagnosis CTA */
.artificial-ingenious .bb-diagnosis-cta-image {
    position: absolute;
    width: 550px; /* Adjusted size to be larger */
    height: auto;
    bottom: 0; /* Stick to the bottom */
    left: 0; /* Stick to the left corner */
    z-index: 1; /* Positioned below the button but above the background */
}

/* ===== MUSIC PLAYER ===== */
.music-player {
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 30px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1000;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.music-player.corner-position {
  position: fixed;
  bottom: 20px;
  left: 20px;
}

.music-button {
  width: 36px;
  height: 36px;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-icon {
  color: white;
  font-size: 16px;
  margin-left: 3px;
  transition: transform 0.2s ease;
}

.pause-icon {
  color: white;
  font-size: 16px;
  display: none;
  transition: transform 0.2s ease;
}

.music-label {
  font-family: "Cartograph Mono", monospace;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 1px;
}

.music-player:hover {
  background: rgba(20, 20, 20, 0.7);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.music-player.corner-position:hover {
  transform: scale(1.05);
}

.music-button:hover {
  background: transparent;
  transform: none;
}

.music-button:hover .play-icon,
.music-button:hover .pause-icon {
  transform: scale(1.2);
}

.music-player.active {
  background: rgba(25, 25, 25, 0.75);
}

.music-player.active .play-icon {
  display: none;
}

.music-player.active .pause-icon {
  display: block;
}

/* Machine Megamind Offerings Grid Container */
.mm-offerings-grid {
    display: flex;
    flex-direction: row; 
    align-items: center; 
    justify-content: center;
    max-width: 100%;
}

/* Substack Feed Container Specific Styles */
.substack-feed-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    max-width: 100%;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 0 20px;
    box-sizing: border-box;
}

.substack-feed-container a {
    flex: 0 1 400px;
    max-width: 400px;
    min-width: 300px;
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: inherit;
}

.substack-feed-container .mm-offering-card {
    height: 350px;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    box-sizing: border-box;
}

.substack-feed-container .mm-offering-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.substack-feed-container .mm-offering-title {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.substack-feed-container .mm-offering-description {
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: center;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* Substack Subscribe Button Styles */
.substack-subscribe-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    padding: 0 20px;
    box-sizing: border-box;
}

.substack-subscribe-link {
    text-decoration: none;
    color: inherit;
    width: 100%;
    max-width: 400px;
    display: flex;
    justify-content: center;
}

.substack-subscribe-btn {
    font-size: 1.5rem;
    width: 100%;
    max-width: 400px;
    min-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 55px;
    padding: 0 20px;
    line-height: 1;
    box-sizing: border-box;
    white-space: nowrap;
}

/* Individual Machine Megamind Offering Card */
.mm-offering-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    padding-top: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mm-offering-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Machine Megamind Image Wrapper */
.mm-offering-image-wrapper {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 12px;
}

/* Machine Megamind Offering Image */
.mm-offering-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.mm-offering-card:hover .mm-offering-image {
    transform: scale(1.05);
}

/* Machine Megamind Card Content Container */
.mm-offering-text-content {
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Machine Megamind Offering Title */
.mm-offering-title {
    font-family: "Uniform Extra Condensed", sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Machine Megamind Offering Description */
.mm-offering-description {
    font-family: "Uniform Extra Condensed", sans-serif;
    font-size: 0.865rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    text-align: left;
}

/* Machine Megamind Features List */
.mm-offering-features {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto;
}

.mm-offering-features li {
    font-family: "Uniform Extra Condensed", sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.3rem 0;
    padding-left: 1rem;
    position: relative;
    line-height: 1.4;
    
    font-size: 1rem;
}

.mm-offering-features li::before {
    content: '✧';
    color: rgba(255, 255, 255, 0.5);
    position: absolute;
    left: 0;
    top: 0.3rem;
}

/* Machine Megamind Glass shimmer effect */
.mm-offering-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.mm-offering-card:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {

.bb-process-intro{
    top: -110px !important;
    }
    
    .mm-offerings-grid {
        flex-direction: column; 
    }
    
    .substack-feed-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 0 10px;
    }
    
    .substack-feed-container a {
        flex: none;
        width: 100%;
        max-width: 350px;
        min-width: auto;
    }
    
    .substack-feed-container .mm-offering-card {
        height: auto;
        min-height: 300px;
    }
    
    .substack-feed-container .mm-offering-card img {
        height: 120px;
    }
    
    .substack-subscribe-container {
        margin-top: 2rem;
        padding: 0 15px;
    }
    
    .substack-subscribe-btn {
        font-size: 1.3rem;
        height: 50px;
        min-width: 180px;
        max-width: 300px;
    }
    
    .mm-offering-card {
        padding: 1rem;
        padding-top: 5px;
    }
    
    .mm-offering-image-wrapper {
        height: 150px;
        margin-bottom: 0.75rem;
    }
    
    .mm-offering-title {
        font-size: 1.2rem;
    }
    
    .mm-offering-description {
        font-size: 0.8rem;
        text-align: left;
    }
    
    .mm-offering-features li {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    
    .mm-offering-card {
        padding: 0.75rem;
        padding-top: 5px;
    }
    
    .mm-offering-image-wrapper {
        height: 120px;
    }
    
    .mm-offering-title {
        font-size: 1.1rem;
    }
    
    .mm-offering-description {
        font-size: 0.7rem;
        text-align: left;
    }
    
    .substack-subscribe-container {
        margin-top: 1.5rem;
        padding: 0 10px;
    }
    
    .substack-subscribe-btn {
        font-size: 1.2rem;
        height: 45px;
        min-width: 150px;
        max-width: 280px;
        padding: 0 15px;
    }
}

/* Alternative grid layouts for different screen sizes */
@media (max-width: 1080px) {
    .bb-process-intro{
        top: -140px !important;
        }
    .mm-offerings-grid {
        flex-direction: column; 
    }
}

@media (max-width: 1400px) {
    .artificial-ingenious .room-info-section{
        margin-top: 80px !important;
    }
}

@media (max-width: 1200px) {
    .artificial-ingenious .video-hero-wrapper {
        height: clamp(200px, 50vw, 530px);
    }

    .artificial-ingenious .room-info-section{
        margin-top: 40px !important;
    }
}

/* ===== CRYSTAL CUBE FORM STYLES ===== */
.artificial-ingenious .form-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.artificial-ingenious .form-container .offering-title {
    margin-top: -20px;
    margin-bottom: 2rem;
    text-align: center;
}

.artificial-ingenious .form-container form {
    text-align: left;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.artificial-ingenious .form-container label {
    display: block;
    margin-bottom: 15px;
    color: var(--ai-text-primary);
    font-family: var(--ai-mono-font);
    font-size: 0.95rem;
}

.artificial-ingenious .form-container input[type="text"],
.artificial-ingenious .form-container input[type="email"],
.artificial-ingenious .form-container textarea,
.artificial-ingenious .form-container select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--ai-glass-border);
    border-radius: 8px;
    color: white;
    font-family: var(--ai-mono-font);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.artificial-ingenious .form-container textarea {
    min-height: 100px;
    resize: vertical;
}

.artificial-ingenious .form-container select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

.artificial-ingenious .form-container select option {
    background: #1a1a1a;
    color: white;
}

.artificial-ingenious .form-container input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
    cursor: pointer;
}

.artificial-ingenious .form-container label.checkbox-label {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    cursor: pointer;
}

.artificial-ingenious .form-container input:focus,
.artificial-ingenious .form-container textarea:focus,
.artificial-ingenious .form-container select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.artificial-ingenious .form-container input::placeholder,
.artificial-ingenious .form-container textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.artificial-ingenious .form-container .cta-button {
    width: 100%;
    margin-top: 10px;
}

/* Form Responsive Styles */
@media (max-width: 768px) {

 
    .artificial-ingenious .form-container form {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .artificial-ingenious .form-container label {
        font-size: 0.9rem;
    }
    
    .artificial-ingenious .form-container input[type="text"],
    .artificial-ingenious .form-container input[type="email"],
    .artificial-ingenious .form-container textarea,
    .artificial-ingenious .form-container select {
        padding: 8px;
        font-size: 0.85rem;
    }
    
    .artificial-ingenious .form-container .offering-title {
        font-size: 1.3rem;
        margin-top: -10px;
    }
}

@media (max-width: 480px) {
    .artificial-ingenious .form-container form {
        padding: 0 5px;
    }
    
    .artificial-ingenious .form-container label {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .artificial-ingenious .form-container input[type="text"],
    .artificial-ingenious .form-container input[type="email"],
    .artificial-ingenious .form-container textarea,
    .artificial-ingenious .form-container select {
        padding: 6px;
        font-size: 0.8rem;
    }
    
    .artificial-ingenious .form-container textarea {
        min-height: 80px;
    }
    
    .artificial-ingenious .form-container .cta-button {
        font-size: 0.95rem;
        padding: 12px 25px;
    }
}

/* Form hover and interaction states */
.artificial-ingenious .form-container input:hover,
.artificial-ingenious .form-container textarea:hover,
.artificial-ingenious .form-container select:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

/* Fix for the BB room info image in the form section */
.artificial-ingenious .offering-card .bb-room-inf {
    width: clamp(200px, 50vw, 530px);
    height: auto;
    position: absolute;
    bottom: 0;
    right: -140px;
    background-color: transparent;
}

@media (max-width: 1200px) {
    .artificial-ingenious .offering-card .bb-room-inf {
        width: 400px;
        right: -80px;
    }
}

@media (max-width: 992px) {
    .artificial-ingenious .offering-card .bb-room-inf {
        display: none !important;
        width: 300px;
        right: -50px;
    }
}

@media (max-width: 768px) {
    .artificial-ingenious .offering-card .bb-room-inf {
        position: relative;
        width: 200px;
        right: auto;
        bottom: auto;
        margin: 0 auto 20px auto;
    }
}

/* Crystal Cube section offering card specific style */
.artificial-ingenious section[data-section-key="Crystal Cube Interaction"] .offering-card {
    padding: 30px;
}


.form-field-error {
    border: 2px solid rgba(255, 100, 100, 0.8) !important;
    background: rgba(255, 100, 100, 0.1) !important;
}

.form-error-message {
    color: rgba(255, 100, 100, 0.9);
    background: rgba(255, 100, 100, 0.1);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 100, 100, 0.3);
}

.form-success-message {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.submit-button-container {
    margin-top: 20px;
}

/* Testimonials Section Styling */
.artificial-ingenious .testimonials-rows-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow: hidden;
    position: relative;
    margin-top: 3rem;
    width: 100vw;
    padding-top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.artificial-ingenious .testimonials-rows-container::before,
.artificial-ingenious .testimonials-rows-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.artificial-ingenious .testimonials-rows-container::before {
    left: 0;
}

.artificial-ingenious .testimonials-rows-container::after {
    right: 0;
}

.artificial-ingenious .testimonials-row {
    display: flex;
    gap: 25px;
    animation-duration: 50s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-delay: 0s;
    will-change: transform;
}

.artificial-ingenious .testimonials-row-1 {
    animation-name: scroll-right-to-left;
    transform: translateX(0);
    animation-fill-mode: both;
}

.artificial-ingenious .testimonials-row-2 {
    animation-name: scroll-left-to-right;
    transform: translateX(-100%);
    animation-fill-mode: both;
}

.artificial-ingenious .testimonials-row-1:hover {
    animation-play-state: paused;
}

.artificial-ingenious .testimonials-row-2:hover {
    animation-play-state: paused;
}

.artificial-ingenious .testimonial-card {
    background: var(--ai-glass-bg);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    border: 1px solid var(--ai-glass-border);
    border-radius: var(--ai-card-border-radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 
                inset 0 0 0 1px rgba(255,255,255,0.05),
                0 0 20px rgba(var(--ai-accent-blue-glow), 0.04);
    transition: transform 0.35s ease-out, box-shadow 0.35s ease-out;
    padding: 25px;
    height: clamp(450px, 25vh, 580px);
    width: auto;
    min-width: 300px;
    max-width: 800px;
    flex-shrink: 0;
    flex-grow: 0;
    box-sizing: border-box;
    transform-style: preserve-3d;
    --rotateX: 0deg;
    --rotateY: 0deg;
}

.artificial-ingenious .testimonial-card:hover {
    transform: translateY(-6px) rotateX(var(--rotateX)) rotateY(var(--rotateY));
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.4), 
                inset 0 0 0 1.5px rgba(255,255,255,0.08),
                0 0 30px rgba(255, 255, 255, 0.15);
}

.artificial-ingenious .testimonial-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0;
    min-height: 0;
}

.artificial-ingenious .testimonial-text {
    font-family: var(--ai-mono-font);
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--ai-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    max-height: calc(100% - 80px);
}

.artificial-ingenious .testimonial-author {
    border-top: 1px solid var(--ai-glass-border);
    padding-top: 15px;
    margin-top: auto;
    flex-shrink: 0;
    min-height: 60px;
    overflow: hidden;
}

.artificial-ingenious .author-name {
    font-family: var(--ai-futuristic-font);
    font-size: 1.1rem;
    color: var(--ai-text-primary);
    font-weight: normal;
    margin-bottom: 5px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.artificial-ingenious .author-title {
    font-family: var(--ai-mono-font);
    font-size: 0.85rem;
    color: var(--ai-text-secondary);
    opacity: 0.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Keyframe Animations */
@keyframes scroll-right-to-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-150%);
    }
}

@keyframes scroll-left-to-right {
    0% {
        transform: translateX(-150%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Testimonials Responsive Design */
@media (max-width: 1199px) {
    .artificial-ingenious .testimonial-card {
        height: clamp(380px, 23vh, 480px);
        min-width: 280px;
        max-width: 650px;
        padding: 22px;
        box-sizing: border-box;
    }
    
    .artificial-ingenious .testimonials-rows-container {
        gap: 25px;
    }
    
    .artificial-ingenious .testimonials-row {
        gap: 22px;
    }
}

@media (max-width: 992px) {
    .artificial-ingenious .testimonial-card {
        height: clamp(360px, 21vh, 460px);
        min-width: 260px;
        max-width: 600px;
        padding: 20px;
        box-sizing: border-box;
    }
    
    .artificial-ingenious .testimonials-rows-container {
        gap: 20px;
    }
    
    .artificial-ingenious .testimonials-row {
        gap: 20px;
    }
    
    .artificial-ingenious .testimonial-text {
        font-size: 0.8rem;
        margin-bottom: 15px;
        line-height: 1.5;
        -webkit-line-clamp: 7;
        max-height: calc(100% - 75px);
    }
    
    .artificial-ingenious .author-name {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .artificial-ingenious .testimonial-card {
        height: clamp(340px, 19vh, 440px);
        min-width: 240px;
        max-width: 550px;
        padding: 18px;
        box-sizing: border-box;
    }
    
    .artificial-ingenious .testimonials-rows-container {
        gap: 18px;
    }
    
    .artificial-ingenious .testimonials-row {
        gap: 18px;
        animation-duration: 40s;
    }
    
    .artificial-ingenious .testimonial-text {
        font-size: 0.75rem;
        margin-bottom: 12px;
        line-height: 1.5;
        -webkit-line-clamp: 6;
        max-height: calc(100% - 70px);
    }
    
    .artificial-ingenious .author-name {
        font-size: 0.95rem;
    }
    
    .artificial-ingenious .author-title {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .artificial-ingenious .testimonial-card {
        height: clamp(280px, 50vh, 580px);
        min-width: 200px;
        max-width: 400px;
        padding: 14px;
        box-sizing: border-box;
    }
    
    .artificial-ingenious .testimonials-rows-container {
        gap: 12px;
        overflow: hidden;
        max-width: 100vw;
    }
    
    .artificial-ingenious .testimonials-row {
        gap: 14px;
        animation-duration: 25s;
    }
    
    .artificial-ingenious .testimonial-text {
        font-size: 0.7rem;
        margin-bottom: 12px;
        line-height: 1.5;
        -webkit-line-clamp: 6;
        max-height: calc(100% - 70px);
    }
    
    .artificial-ingenious .author-name {
        font-size: 0.9rem;
    }
    
    .artificial-ingenious .author-title {
        font-size: 0.75rem;
    }
    
    .artificial-ingenious .testimonial-author {
        min-height: 50px;
        padding-top: 12px;
    }

    .artificial-ingenious .testimonials-row-2{
        display: none !important;
    }
}

@media (max-width: 320px) {
    .artificial-ingenious .testimonial-card {
        height: clamp(260px, 15vh, 360px);
        min-width: 180px;
        max-width: 320px;
        padding: 12px;
        box-sizing: border-box;
    }
    
    .artificial-ingenious .testimonials-row {
        gap: 12px;
        animation-duration: 30s;
    }
    
    .artificial-ingenious .testimonial-text {
        font-size: 0.65rem;
        margin-bottom: 10px;
        line-height: 1.4;
        -webkit-line-clamp: 5;
        max-height: calc(100% - 60px);
    }
    
    .artificial-ingenious .author-name {
        font-size: 0.85rem;
    }
    
    .artificial-ingenious .author-title {
        font-size: 0.7rem;
    }
    
    .artificial-ingenious .testimonial-author {
        min-height: 45px;
        padding-top: 10px;
    }
    
    .artificial-ingenious .testimonials-rows-container::before,
    .artificial-ingenious .testimonials-rows-container::after {
        width: 50px;
    }
}