/* 1. Core Color Palette & CSS Variables */
:root {
    --futuristic-bg: #0f0f23; /* Dark Grey/Blue - Main background base */
    --futuristic-surface: #131628; /* Slightly lighter for cards/panels */
    --futuristic-border: rgba(132, 129, 192, 0.2);
    --futuristic-text: #d8d8e6; /* Off-white for body text */
    --futuristic-text-muted: #8481c0; /* Muted purple/grey for secondary text */

    /* Neon Glow/Accent Colors */
    --glow-blue: #5f99ff;
    --glow-purple: #a56dff;
    --glow-green: #33ff99; /* For success states */

    /* Sizing & Animation */
    --radius-xl: 16px;
    --transition-fast: 0.2s ease-in-out;
    --transition-medium: 0.3s ease-in-out;
    
    /* Spacing for consistency */
    --space-8: 8px;
    --space-12: 12px;
    --space-16: 16px;
    --space-20: 20px;
    --space-24: 24px;
    --space-32: 32px;
}
.galaxy-system:hover .core-logo {
    filter: brightness(1.3) drop-shadow(0 0 10px rgba(95, 153, 255, 0.8));
}
/* 2. Background and Body Styling */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
body {
    background-color: var(--futuristic-bg);
    background-image: radial-gradient(circle at top, #1e1b4b, #0f0f23, #000000);
    color: var(--futuristic-text);
    /* This new stack is clean, professional, and native to the user's OS */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* Global Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--futuristic-text);
    font-weight: 600;
    margin: 0;
}

p {
    color: var(--futuristic-text-muted);
    line-height: 1.6;
    margin: 0 0 1rem 0;
}
/* ============================================= */
/* ==   NEW: PRICING GRID & CARD STYLES       == */
/* ============================================= */

.pricing-section-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 70px; /* Increased from 20px to 70px to stop arrows touching cards */
}
.pricing-grid::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}
.pricing-slider-wrapper {
    position: relative;
    overflow: hidden; /* Hide scrollbars */
    margin: 2rem 0;
}
.pricing-grid {
    display: flex !important;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    
    /* FIXES BELOW */
    padding-top: 40px !important;    /* Creates space for the hover animation */
    padding-bottom: 40px !important; /* Creates space for bottom shadow */
    align-items: stretch;            /* Forces all cards to be the same height */
    
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
}
.pricing-card {
    flex: 0 0 auto;
    scroll-snap-align: center;
    height: 100%; /* CHANGED: Forces consistent height */
    display: flex;
    flex-direction: column;
    width: calc((100% - 3rem) / 3); 
}
/* 3. The Hover Animation */
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    border-color: var(--glow-blue, #5f99ff);
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(19, 22, 40, 0.9);
    border: 1px solid var(--glow-blue);
    color: var(--glow-blue);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(95, 153, 255, 0.2);
}

.slider-arrow:hover {
    background: var(--glow-blue);
    color: #fff;
    box-shadow: 0 0 25px rgba(95, 153, 255, 0.6); /* Brighten on hover */
}

.slider-arrow.prev {
    left: 10px; /* Moves arrow comfortably to the left side */
}
.slider-arrow.next {
    right: 10px; /* Moves arrow comfortably to the right side */
    animation: pulse-arrow 2s infinite;
}
@media (max-width: 768px) {
    #chat-widget-container {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 100dvh !important; /* Critical: Adapts height when keyboard opens */
        max-height: 100dvh !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        transform: translateY(110%); /* Start hidden below screen */
        transition: transform 0.3s cubic-bezier(0, 0, 0.2, 1) !important;
        z-index: 10000;
    }

    /* Slide up animation when active */
    #chat-widget-container.open {
        transform: translateY(0);
    }

    /* Allow history to scroll while input stays sticky */
    #chat-widget-history {
        flex: 1;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    /* Prevent iOS Zoom on focus */
    #chat-widget-input {
        font-size: 16px !important; /* Must be 16px to stop zoom */
    }

    /* Header adjustments */
    .chat-widget-header {
        border-radius: 0 !important;
        padding-top: env(safe-area-inset-top);
    }
}
@keyframes pulse-arrow {
    0% { box-shadow: 0 0 0 0 rgba(95, 153, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(95, 153, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(95, 153, 255, 0); }
}
@media (max-width: 768px) {
    .pricing-card {
        width: 100%; /* 1 card taking full width */
    }
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .slider-arrow.prev { left: 0; }
    .slider-arrow.next { right: 0; }
}

/* Tablet: Maybe 2 cards? Keeping 3 fits usually, but let's be safe */
@media (min-width: 769px) and (max-width: 1024px) {
    .pricing-card {
        width: calc((100% - 1.5rem) / 2); /* Show 2 cards */
    }
}

/* 4. The "Pro" Plan Highlight */
.pricing-card.highlight {
    border-color: var(--glow-blue, #5f99ff);
    box-shadow: 0 0 25px rgba(95, 153, 255, 0.3),
                inset 0 0 15px rgba(95, 153, 255, 0.1);
}

/* 5. Card Content Styling */
.pricing-header {
    border-bottom: 1px solid var(--futuristic-border, rgba(132, 129, 192, 0.2));
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.pricing-plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text, #e4e4e7);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text, #e4e4e7);
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-secondary, #a1a1aa);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
    flex-grow: 1; /* Pushes button to the bottom */
}

.pricing-features li {
    color: var(--color-text-secondary, #a1a1aa);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* 6. Feature Check/Cross Icons */
.pricing-features li::before {
    content: '✓';
    color: var(--color-success, #10b981);
    font-weight: 900;
    font-size: 1rem;
}

.pricing-features li.disabled {
    color: var(--color-text-secondary, #a1a1aa);
    opacity: 0.4;
}
.pricing-features li.disabled::before {
    content: '×';
    color: var(--color-error, #ef4444);
}

.btn-choose-plan {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    
    /* FIX: Pushes button to the bottom of the card */
    margin-top: auto; 
}
.btn-choose-plan.free {
    background: transparent;
    border: 1px solid var(--futuristic-border);
    color: var(--futuristic-text);
}
.btn-choose-plan.free:hover {
    border-color: var(--glow-blue);
    background: rgba(95, 153, 255, 0.1);
    color: #fff;
}

/* Pro Plan Button (Primary) */
.btn-choose-plan.pro {
    background: var(--glow-blue);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(95, 153, 255, 0.3);
}
.btn-choose-plan.pro:hover {
    background: #4a8eff; /* Slightly darker/lighter blue */
    transform: translateY(-2px);
}

.btn-choose-plan.business {
    background: #2D2D44; /* Dark premium solid background */
    border: 1px solid var(--glow-purple);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-choose-plan.business:hover {
    background: var(--glow-purple); /* Fills with purple on hover */
    box-shadow: 0 0 20px rgba(165, 109, 255, 0.6);
    transform: translateY(-2px);
    border-color: var(--glow-purple);
}
/* 8. Mobile View Alignment */
@media (max-width: 900px) {
    .pricing-grid {
        /* This stacks the cards into 1 column on mobile */
        grid-template-columns: 1fr;
    }
}
p:last-child {
    margin-bottom: 0;
}
        #pricing {
            padding: 100px 0;
            background: var(--futuristic-bg); /* Corrected variable */
        }

        .pricing-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: var(--space-32);
            max-width: 1200px;
            margin: 0 auto;
        }

        .pricing-card {
            background: var(--futuristic-surface); /* Corrected variable */
            border: 1px solid var(--futuristic-border); /* Corrected variable */
            border-radius: var(--radius-xl); /* Using theme variable */
            padding: var(--space-32);
            display: flex;
            flex-direction: column;
            transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        }

        .pricing-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 30px rgba(95, 153, 255, 0.1); /* Theme shadow */
        }
        
        .pricing-card--featured {
            border-color: var(--glow-blue); /* Corrected variable */
            border-width: 2px;
            transform: scale(1.05);
            /* Animation added in style-homepage.css */
        }
        
        .pricing-card--featured:hover {
             transform: scale(1.05) translateY(-10px);
        }

        .pricing-header {
            text-align: center;
            margin-bottom: var(--space-24);
        }

        .pricing-header h3 {
            font-size: 1.5rem; /* Adjusted for theme */
            font-weight: 600;
            margin-bottom: var(--space-8);
            color: var(--futuristic-text); /* Corrected variable */
        }

        .pricing-header p {
            color: var(--futuristic-text-muted); /* Corrected variable */
            min-height: 40px;
        }

        .price {
            font-size: 2.5rem; /* Adjusted for theme */
            font-weight: 700;
            color: var(--futuristic-text); /* Corrected variable */
            text-align: center;
            margin-bottom: var(--space-24);
        }

        .price span {
            font-size: 1rem; /* Adjusted for theme */
            font-weight: 400;
            color: var(--futuristic-text-muted); /* Corrected variable */
        }

        .features-list {
            list-style: none;
            padding: 0;
            margin: 0;
            flex-grow: 1; /* Makes the list take up available space */
        }

        .features-list li {
            padding: var(--space-8) 0;
            display: flex;
            align-items: center;
            gap: var(--space-12);
            color: var(--futuristic-text-muted); /* Corrected variable */
            border-bottom: 1px solid var(--futuristic-border); /* Corrected variable */
            font-size: 0.95rem; /* Adjusted for theme */
        }
        
        .features-list li:last-child {
            border-bottom: none;
        }

        .features-list i {
            color: var(--glow-green); /* Corrected variable */
            font-size: 1.2em;
        }

        .features-list strong {
            color: var(--futuristic-text); /* Corrected variable */
            font-weight: 500;
        }
        
        .features-list .feature-category {
            font-weight: 600;
            color: var(--futuristic-text); /* Corrected variable */
            margin-top: var(--space-24);
            margin-bottom: var(--space-8);
            border-bottom: none;
            padding: 0;
            font-size: 0.8rem; /* Adjusted for theme */
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        
        .features-list .feature-category i {
            display: none;
        }

        .continue-btn {
            margin-top: var(--space-32);
            width: 100%;
        }
        
        /* NEW: Styles for Modern Core Features Section */
        #core-features {
            overflow: hidden; /* For animations */
        }
        .core-features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: var(--space-24);
        }

        .core-feature-card {
            background: var(--futuristic-surface);
            border: 1px solid var(--futuristic-border);
            border-radius: var(--radius-xl);
            padding: var(--space-32);
            display: flex;
            flex-direction: column;
            transition: transform var(--transition-medium), border-color var(--transition-medium), box-shadow var(--transition-medium);
            position: relative;
            overflow: hidden;
        }

        .core-feature-card:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 50% 0%, rgba(95, 153, 255, 0.15), transparent 70%);
            opacity: 0;
            transition: opacity var(--transition-medium);
        }
        
        .core-feature-card:hover {
            transform: translateY(-8px);
            border-color: var(--glow-blue);
            box-shadow: 0 10px 30px rgba(95, 153, 255, 0.1);
        }

        .core-feature-card:hover:before {
            opacity: 1;
        }

        .core-feature-card__icon {
            font-size: 2.5rem;
            color: var(--glow-blue);
            margin-bottom: var(--space-16);
            line-height: 1;
        }

        .core-feature-card__title {
            font-size: 1.25rem;
            color: var(--futuristic-text);
            margin-bottom: var(--space-12);
            z-index: 1;
        }

        .core-feature-card__description {
            color: var(--futuristic-text-muted);
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: var(--space-24);
            flex-grow: 1;
            z-index: 1;
        }

        .core-feature-list {
            list-style: none;
            padding: 0;
            margin: 0;
            z-index: 1;
        }

        .core-feature-list li {
            display: flex;
            align-items: center;
            gap: var(--space-12);
            color: var(--futuristic-text-muted);
            font-size: 0.9rem;
            margin-bottom: var(--space-8);
        }

        .core-feature-list li i {
            color: var(--glow-green);
            font-size: 1.1rem;
        }

        /* --- FIX: Style for new chatbot IMG icon --- */

a {
    color: var(--glow-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--glow-purple);
}
.timeline {
    /* This creates the main "box" */
    background: var(--futuristic-surface);
    border: 1px solid var(--futuristic-border);
    border-radius: var(--radius-xl);
    padding: var(--space-32);
    max-width: 800px; /* Constrains width for readability */
    margin: 0 auto; /* Centers the box */
    position: relative;
    overflow: hidden;
}

.timeline-item {
    position: relative;
    padding-left: 60px; /* Creates space for the icon */
    padding-bottom: var(--space-24);
    margin-bottom: var(--space-24);
    /* Adds a connecting line between steps */
    border-left: 2px solid var(--futuristic-border);
    margin-left: 19px; /* Aligns with the icon center */
}

/* Stops the line on the last item */
.timeline-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-left-color: transparent; /* Hide line on last item */
}

.timeline-icon {
    /* Styles the icon (e.g., the user-plus-fill) */
    position: absolute;
    left: -20px; /* Centers the icon on the line */
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--futuristic-bg);
    border: 2px solid var(--glow-blue);
    color: var(--glow-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 1;
}

.timeline-content {
    /* Styles the text content */
    position: relative;
    top: -5px; /* Adjusts text alignment vertically */
}

.timeline-content h3 {
    font-size: 1.15rem;
    color: var(--futuristic-text);
    margin-bottom: var(--space-8);
}

.timeline-content p {
    color: var(--futuristic-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 1rem;
}
/* style-homepage.css */

/* 1. Style for the new "Watch Demo" button */
.hero__demo-cta {
    /* Adjust margin for positioning below the animation */
    margin-top: 5em; /* Or adjust as needed */
    text-align: center; /* Center the button */
}
.btn--demo {
    /* Make it solid using the theme's blue/purple */
    background: linear-gradient(135deg, var(--glow-blue), var(--glow-purple)); /* CHANGED */
    color: #FFFFFF; /* White text for contrast */ /* CHANGED */
    font-size: 1.1rem;
    font-weight: 600;
    padding: var(--space-16) var(--space-32);
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--space-12);
    transition: all var(--transition-fast);
    text-shadow: none;
    /* Update glow effect to match */
    box-shadow: 0 5px 20px rgba(127, 91, 228, 0.25); /* CHANGED */
}

.btn--demo:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(127, 91, 228, 0.4); /* CHANGED */
    filter: brightness(1.1);
}

.btn--demo i {
    font-size: 1.3rem;
}
/* 2. NEW Style for the Iframe */
/* This ensures the iframe fills the video wrapper */
.video-player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none; /* Remove iframe border */
}
/* 2. Style for the Video Modal Overlay (the blurry background) */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

.video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 35, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* 3. Style for the Modal Content (the player) */
.video-modal-content {
    position: relative;
    width: 70%; /* 70% of screen as requested */
    max-width: 1000px; /* Max size on large desktops */
    background: var(--futuristic-surface);
    border: 1px solid var(--futuristic-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 2001;
    overflow: hidden; /* Ensures video corners are rounded */

    /* Animation for popup */
    transform: scale(0.9);
    transition: transform var(--transition-medium);
}

/* 4. Style for the Video Player Wrapper */
.video-player-wrapper {
    position: relative;
    /* 16:9 Aspect Ratio */
    padding-top: 56.25%; 
    height: 0;
    background: #000;
}

.video-player-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Hide default controls */
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

/* 5. Style for the Close Button */
.video-modal-close {
    position: absolute;
    top: var(--space-12);
    right: var(--space-12);
    z-index: 2002;
    background: rgba(15, 15, 35, 0.5);
    border: 1px solid var(--futuristic-border);
    color: var(--futuristic-text);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.video-modal-close:hover {
    background: var(--glow-blue);
    color: var(--futuristic-bg);
}

/* 6. Style for the Custom Controls */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-16);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-32);
    opacity: 0; /* Hidden by default */
    transition: opacity var(--transition-fast);
}

.video-player-wrapper:hover .video-controls {
    opacity: 1; /* Show on hover */
}

.video-controls button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-8);
    border-radius: 8px;
}
.video-controls button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}
.video-controls button#videoPlayPause {
    font-size: 2.5rem; /* Make play button bigger */
}
.video-controls button span {
    font-size: 0.8rem;
    font-weight: 500;
}

/* 7. Style for the Replay Button */
.video-replay-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 2001;
    background: rgba(15, 15, 35, 0.8);
    border: 1px solid var(--glow-blue);
    color: var(--futuristic-text);
    border-radius: var(--radius-xl);
    padding: var(--space-16) var(--space-24);
    display: flex;
    align-items: center;
    gap: var(--space-12);
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-medium);
    opacity: 0;
    visibility: hidden;
}

.video-replay-button:hover {
    transform: translate(-50%, -50%) scale(1);
    background: var(--glow-blue);
    color: var(--futuristic-bg);
}

/* 8. Active state for Modal */
.video-modal.active {
    opacity: 1;
    visibility: visible;
}
.video-modal.active .video-modal-content {
    transform: scale(1);
}

/* 9. Responsive adjustments for Modal */
@media (max-width: 1024px) {
    .video-modal-content {
        width: 85%; /* 85% for tablets */
    }
}

@media (max-width: 600px) {
    .video-modal-content {
        width: 95%; /* 95% for mobile */
    }
    .video-controls {
        gap: var(--space-24);
    }
    .video-controls button span {
        display: none; /* Hide '10s' text on mobile */
    }
    .video-controls button#videoPlayPause {
        font-size: 2rem;
    }
}
section {
    padding: 100px 0;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-32);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-16);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--futuristic-text-muted);
}


.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--futuristic-surface) !important; /* ADDED !important */
    border-bottom: 1px solid var(--futuristic-border);
    transition: background var(--transition-medium);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: var(--space-12);
}

.nav__logo {
    height: 70px;
    padding:2px 0;
    width: auto;
    /* Removed: filter: invert(1) brightness(1.5); */
}

.nav__logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--futuristic-text);
}

.nav__menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--space-32);
}

.nav__link {
    color: var(--futuristic-text-muted);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav__link:hover, .nav__link.active {
    color: var(--glow-blue);
    text-shadow: 0 0 8px rgba(95, 153, 255, 0.5);
}

.nav__buttons {
    display: flex;
    align-items: center;
    gap: var(--space-12);
}

/* START: Style for the mobile toggle button */
.nav__toggle {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    color: var(--futuristic-text);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1010; /* Ensure it's on top */
}
/* END: Style for the mobile toggle button */


/* START: Added for mobile responsiveness */
.nav__buttons-mobile {
    display: none; /* Hide on desktop */
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--futuristic-border);
}
.nav__buttons-mobile .btn {
    width: 100%;
    text-align: center;
}
/* END: Added for mobile responsiveness */


/* 4. Hero Section */
#home.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px; /* Offset for header */
}

.hero__background {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(95, 153, 255, 0.1), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(165, 109, 255, 0.1), transparent 40%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero__content {
    max-width: 800px;
    margin: 0 auto;
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
margin-bottom: var(--space-24);
    background: linear-gradient(135deg, #ffffff, #c0c0c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
#reviewsList {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 20px;
}

/* Keep it 1 column on mobile */
@media (max-width: 768px) {
    #reviewsList {
        grid-template-columns: 1fr;
    }
}
.hero__title-sub {
    display: block;
    margin-top: 15px;
    
    /* Sizing */
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 500;
    letter-spacing: 0.5px;
    
    /* CRITICAL FIXES FOR VISIBILITY */
    color: var(--futuristic-text) !important; /* Force White */
    
    /* Reset the gradient properties inherited from H1 */
    background: none !important;
    -webkit-background-clip: border-box !important;
    -webkit-text-fill-color: var(--futuristic-text) !important; /* Overrides transparency */
    
    opacity: 0.9;
}
        @keyframes ping {
            75%, 100% { transform: scale(2); opacity: 0; }
        }
        .review-card {
            background: rgba(255,255,255,0.03);
            padding: 20px;
            border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.05);
            transition: transform 0.2s ease;
        }
        .review-card:hover {
            background: rgba(255,255,255,0.05);
        }
        .review-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }
        .review-author {
            font-weight: 700;
            color: #e2e8f0;
        }
        .review-meta {
            font-size: 0.8rem;
            color: #64748b;
        }
        .review-body {
            color: #cbd5e1;
            line-height: 1.5;
            font-size: 0.95rem;
        }
        .review-stars {
            color: #fbbf24;
            font-size: 0.8rem;
            margin-bottom: 8px;
        }
        .review-question-tag {
            display: inline-block;
            background: rgba(59, 130, 246, 0.2);
            color: #60a5fa;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.7rem;
            margin-bottom: 8px;
            font-weight: 600;
        }
.hero__title-main {
    font-family: 'Inter', system-ui, sans-serif;
    
    /* THICKER: Increased from 700 to 800 (Extra Bold) */
    font-weight: 800; 
    
    /* BIGGER: Increased minimum and maximum scaling sizes */
    font-size: clamp(4.0rem, 11vw, 7.5rem); 
    
    /* Tighter spacing looks better on thick fonts */
    letter-spacing: -3px; 
    line-height: 1.1;
    
    /* The Gradient */
    background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Sharpness */
    -webkit-font-smoothing: antialiased;
}
.hero__subtitle {
    font-size: 1.25rem;
    color: var(--futuristic-text-muted);
    margin: 0 auto var(--space-32) auto;
    max-width: 600px;
}
.hero__scene {
    position: relative;
    height: 400px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    overflow: visible;
}

/* The Main Container */
.neural-core {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 1. The Center Logo Glass Housing */
.core-housing {
    position: relative;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    box-shadow: 0 0 30px rgba(95, 153, 255, 0.15);
    animation: housing-breathe 4s ease-in-out infinite;
}

.core-logo-img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(95, 153, 255, 0.5));
    z-index: 11;
}

/* 2. The Gyroscope Rings */
.gyro-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(95, 153, 255, 0.05);
    pointer-events: none;
}

/* Inner Ring */
.gyro-ring.inner {
    width: 140px;
    height: 140px;
    border-left-color: var(--glow-blue); /* Highlight one side */
    border-right-color: transparent;
    animation: spin-gyro 8s linear infinite;
}

/* Outer Ring */
.gyro-ring.outer {
    width: 180px;
    height: 180px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    animation: spin-gyro-reverse 15s linear infinite;
}

/* 3. The Pulse Wave Background */
.core-pulse {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(95, 153, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    z-index: 1;
    animation: pulse-wave 3s ease-out infinite;
}

/* ANIMATIONS */
@keyframes housing-breathe {
    0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(95, 153, 255, 0.15); border-color: rgba(255, 255, 255, 0.1); }
    50% { transform: scale(1.05); box-shadow: 0 0 50px rgba(95, 153, 255, 0.3); border-color: rgba(95, 153, 255, 0.3); }
}

@keyframes spin-gyro {
    0% { transform: rotateZ(0deg) rotateX(45deg); }
    100% { transform: rotateZ(360deg) rotateX(45deg); }
}

@keyframes spin-gyro-reverse {
    0% { transform: rotateZ(360deg) rotateX(-45deg); }
    100% { transform: rotateZ(0deg) rotateX(-45deg); }
}

@keyframes pulse-wave {
    0% { width: 100px; height: 100px; opacity: 0.6; }
    100% { width: 300px; height: 300px; opacity: 0; }
}

/* Mobile Adjustment for Animation */
@media (max-width: 768px) {
    .hero__scene { height: 300px; }
    .neural-core { transform: scale(0.8); }
}

.galaxy-system {
    position: relative;
    width: 300px;
    height: 300px;
    transform-style: preserve-3d;
    transform: rotateX(10deg); 
    animation: system-float 6s ease-in-out infinite;
}

/* 1. The Central Core (CortexSage Logo) */
.galaxy-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90px; /* INCREASED SIZE */
    height: 90px; /* INCREASED SIZE */
    transform: translate(-50%, -50%);
    z-index: 5; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.core-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Brightness increased to 1.2, Drop-shadow reduced to a subtle 5px tweak */
    filter: brightness(1.2) drop-shadow(0 0 5px rgba(95, 153, 255, 0.6));
    transition: filter 0.3s ease;
}
@keyframes logo-glow-pulse {
    0%, 100% { 
        transform: scale(1); 
        /* Soft blue glow */
        filter: drop-shadow(0 0 8px var(--glow-blue)); 
    }
    50% { 
        transform: scale(1.1); /* Gentle breathe */
        /* Intense blue glow */
        filter: drop-shadow(0 0 20px var(--glow-blue)) drop-shadow(0 0 5px var(--glow-blue)); 
    }
}
.galaxy-core i {
    font-size: 3.5rem; /* Large icon size */
    color: var(--glow-purple); /* Uses your purple theme variable */
    filter: drop-shadow(0 0 15px var(--glow-blue)); /* Adds a blue glow around the purple brain */
    animation: brain-pulse 3s infinite ease-in-out;
}

/* ================= Animations ================= */

/* New Animation specifically for the Brain */
@keyframes brain-pulse {
    0%, 100% { 
        transform: scale(1); 
        filter: drop-shadow(0 0 15px var(--glow-blue));
        color: var(--glow-purple);
    }
    50% { 
        transform: scale(1.15); /* Brain expands/thinks */
        filter: drop-shadow(0 0 25px var(--glow-blue)) brightness(1.3);
        color: #c49eff; /* Lighter purple at peak pulse */
    }
}
.galaxy-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 320px;
    /* Increased opacity from 0.2 to 0.6 for a brighter white line */
    border: 1px solid rgba(255, 255, 255, 0.6); 
    border-radius: 50%;
    transform-style: preserve-3d;
}
/* Ring 1: Tilted Left */
.ring-1 {
    transform: translate(-50%, -50%) rotateX(70deg) rotateY(-20deg);
}

/* Ring 2: Tilted Right */
.ring-2 {
    transform: translate(-50%, -50%) rotateX(70deg) rotateY(20deg);
}

.galaxy-planet {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: orbit-rotate 14s linear infinite;
}
.ring-1 .galaxy-planet:nth-child(1) { animation-delay: 0s; }
.ring-1 .galaxy-planet:nth-child(2) { animation-delay: -4.6s; }
.ring-1 .galaxy-planet:nth-child(3) { animation-delay: -9.3s; }

/* Ring 2 Items (Offset by -2.3s to be exactly "in between" Ring 1 items) */
.ring-2 .galaxy-planet:nth-child(1) { animation-delay: -2.3s; }
.ring-2 .galaxy-planet:nth-child(2) { animation-delay: -7s; }
.ring-2 .galaxy-planet:nth-child(3) { animation-delay: -11.6s; }/* Stagger the planets on the ring */
.planet-icon-wrapper::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 15%;
    width: 30%;
    height: 15%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    filter: blur(2px);
}
.planet-icon-wrapper {
    position: absolute;
    top: 0;
    left: 50%; 
    width: 45px;
    height: 45px;
    
    /* NEW: Transparent White Background */
    background: rgba(255, 255, 255, 0.1); 
    /* Matching light border */
    border: 1px solid rgba(255, 255, 255, 0.3); 
    
    border-radius: 50%;
    /* Subtle glass blur */
    backdrop-filter: blur(4px); 
    -webkit-backdrop-filter: blur(4px);
    
    /* Removed dark shadow, added very subtle light glow */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Keep the counter-rotation */
    animation: counter-rotate 14s linear infinite;
}

/* Remove the ::after pseudo-element for the shine */
/* .planet-icon-wrapper::after { display: none; } */

.planet-icon-wrapper img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); 
    transform: translateZ(1px);
}
/* Hover Effect: Pause and Glow */
.galaxy-system:hover .galaxy-planet,
.galaxy-system:hover .planet-icon-wrapper {
    animation-play-state: paused;
}

/* Hover Interaction: Highlight Sphere */
.galaxy-system:hover .planet-icon-wrapper {
    border-color: var(--glow-blue);
    box-shadow: 0 0 20px var(--glow-blue), inset 0 0 10px var(--glow-blue);
    z-index: 100; /* Bring hovered item to front */
    cursor: pointer;
}
/* ================= Animations ================= */
/* ========================================= */
/* 11. TIME SAVINGS GRAPH (Scroll Fix)       */
/* ========================================= */

.time-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--futuristic-bg) 0%, #1a1f35 100%);
    position: relative;
}

.time-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

/* Left Side Text */
.time-text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.time-desc {
    font-size: 1.1rem;
    color: var(--futuristic-text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

.big-stat-box {
    background: rgba(95, 153, 255, 0.1);
    border: 1px solid var(--glow-blue);
    border-radius: 20px;
    padding: 30px;
    display: inline-block;
    min-width: 200px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    display: block;
    margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(95, 153, 255, 0.4);
}

.stat-label {
    color: var(--glow-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Right Side Graph Card */
.graph-card {
    background: var(--futuristic-surface);
    border: 1px solid var(--futuristic-border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    height: 400px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    overflow: hidden;
    /* Initial state is invisible for the fade-in effect */
    opacity: 0; 
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When JS adds .in-view, show the card */
.graph-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* SVG Elements */
.productivity-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.graph-grid-line {
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 1;
}

/* THE ANIMATED LINE FIX */
.graph-path {
    fill: none;
    stroke: var(--glow-green);
    stroke-width: 4;
    stroke-linecap: round;
    filter: drop-shadow(0 0 10px rgba(51, 255, 153, 0.5));
    
    /* Hide the line initially using dasharray */
    stroke-dasharray: 1200; 
    stroke-dashoffset: 1200; 
    
    /* Setup the transition, but don't run it yet */
    transition: stroke-dashoffset 2.5s ease-out;
}

/* Only animate when the parent has .in-view */
.graph-card.in-view .graph-path {
    stroke-dashoffset: 0; /* This triggers the draw */
    transition-delay: 0.5s; /* Wait for card to fade in first */
}

/* The Gradient Area Under Line */
.graph-area {
    fill: url(#gradientArea);
    opacity: 0;
    transition: opacity 1.5s ease-out;
}

.graph-card.in-view .graph-area {
    opacity: 0.3;
    transition-delay: 2s; /* Wait for line to finish drawing */
}

/* Floating Data Points */
.graph-point {
    position: absolute;
    background: var(--futuristic-surface);
    border: 1px solid var(--glow-green);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease-out;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Reveal points sequentially */
.graph-card.in-view .graph-point {
    opacity: 1;
    transform: translateY(0);
}

.graph-card.in-view .point-1 { transition-delay: 1.0s; bottom: 120px; left: 20%; }
.graph-card.in-view .point-2 { transition-delay: 1.5s; bottom: 180px; left: 50%; }
.graph-card.in-view .point-3 { transition-delay: 2.0s; bottom: 280px; left: 80%; }

/* Mobile */
@media (max-width: 900px) {
    .time-grid { grid-template-columns: 1fr; gap: 40px; }
    .graph-card { height: 300px; }
}
.galaxy-system:hover .galaxy-planet,
.galaxy-system:hover .planet-icon-wrapper {
    animation-play-state: paused;
}

.galaxy-system:hover .planet-icon-wrapper {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    z-index: 100;
    cursor: pointer;
}
/* ================= Animations (No Change) ================= */

@keyframes orbit-rotate {
    0% { transform: rotateZ(0deg); }
    100% { transform: rotateZ(360deg); }
}
.platform-guides-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column stream for readability */
    gap: var(--space-32);
    max-width: 1000px;
    margin: 0 auto;
}

.guide-card {
    background: var(--futuristic-surface);
    border: 1px solid var(--futuristic-border);
    border-radius: var(--radius-xl);
    padding: 0; /* Padding handled inside sections */
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.guide-card:hover {
    border-color: var(--glow-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Header Section of the Card */
.guide-header {
    display: flex;
    align-items: center;
    gap: var(--space-24);
    padding: var(--space-32);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(90deg, rgba(19, 22, 40, 0.5), rgba(15, 15, 35, 1));
}

.guide-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.guide-icon-box img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.guide-title h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--futuristic-text);
}

.guide-title p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Body Content of the Card */
.guide-body {
    padding: var(--space-32);
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split Content vs Install steps */
    gap: var(--space-48);
}

.guide-details, .guide-steps {
    font-size: 0.95rem;
    color: var(--futuristic-text-muted);
}

.guide-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    color: var(--glow-blue);
    margin-bottom: var(--space-16);
    font-weight: 700;
    display: block;
}

.guide-details p {
    margin-bottom: var(--space-16);
    line-height: 1.7;
}

.guide-details strong {
    color: var(--futuristic-text);
}

/* Step-by-step List */
.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-item {
    display: flex;
    gap: var(--space-16);
    margin-bottom: var(--space-24);
}

.step-number {
    width: 24px;
    height: 24px;
    background: var(--glow-blue);
    color: #000;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-content h4 {
    font-size: 1rem;
    color: var(--futuristic-text);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 0.9rem;
    margin: 0;
}

/* Mobile Adjustment */
@media (max-width: 900px) {
    .guide-body { grid-template-columns: 1fr; gap: var(--space-32); }
}

/* ============================================ */
/* 2. LIGHT & MODERN FEATURE CARDS (6 Grid)     */
/* ============================================ */
.modern-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); /* Wider cards */
    gap: var(--space-24);
}

.modern-card {
    background: rgba(19, 22, 40, 0.6); /* More transparent */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-32);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modern-card:hover {
    background: rgba(19, 22, 40, 0.9);
    border-color: var(--glow-blue);
    transform: translateY(-5px);
}

/* Light Icon Style (No Background Block) */
.modern-icon {
    font-size: 2rem;
    margin-bottom: var(--space-24);
    background: -webkit-linear-gradient(45deg, var(--glow-blue), var(--glow-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
}

.modern-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-12);
    color: #fff;
}

.modern-card p {
    color: #a0a0b0;
    font-size: 0.95rem;
    margin-bottom: var(--space-24);
    flex-grow: 1;
}

/* Modern Tag List */
.modern-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modern-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    color: #d8d8e6;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================ */
/* 3. HUMAN BENEFITS SECTION (Clean Typography) */
/* ============================================ */
.human-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-32);
    margin-top: var(--space-48);
}
/* ========================================= */
/* 1. INTEGRATION ICONS (Real SVGs)          */
/* ========================================= */
.integration-card__img-wrapper {
    height: 60px;
    width: 60px;
    margin-bottom: var(--space-20);
    display: flex;
    align-items: center;
    /* No background box, just the clean logo */
}

.integration-card__img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2)); /* Subtle depth */
    transition: transform 0.3s ease;
}

.integration-card:hover .integration-card__img-wrapper img {
    transform: scale(1.15) rotate(5deg); /* Playful hover effect */
}
/* ========================================= */
/* MOBILE OPTIMIZATIONS (Graph Fixes)        */
/* ========================================= */

@media (max-width: 900px) {
    /* 1. Adjust Graph Card Height */
    .graph-card {
        height: 320px; /* Slightly taller to give breathing room */
        padding: 20px;
    }

    /* 2. Reposition Data Points for Mobile */
    /* We lower them so they don't hit the top edge */
    .graph-card .point-1 {
        bottom: 60px !important; 
        left: 5% !important;
    }
    .graph-card .point-2 {
        bottom: 140px !important; 
        left: 40% !important;
    }
    .graph-card .point-3 {
        bottom: 220px !important; /* Lowered from 280px to avoid cutoff */
        left: auto !important;
        right: 5% !important; /* Pin to right edge instead of left % */
    }

    /* 3. Scale down text */
    .graph-point {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    
    /* 4. Ensure Graph fits */
    .productivity-svg {
        transform: scale(1.1); /* Slight zoom to fill width */
        transform-origin: bottom center;
    }
}
/* ========================================= */
/* 2. NEW MODERN CORE FEATURES (6-Grid)      */
/* ========================================= */

.modern-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-24);
    padding: var(--space-16);
}

.modern-card {
    /* Glassmorphism Base */
    background: rgba(255, 255, 255, 0.03); /* Very transparent */
    border: 1px solid rgba(255, 255, 255, 0.05); /* Subtle border */
    border-radius: 24px; /* Softer, rounder corners */
    padding: var(--space-32);
    backdrop-filter: blur(12px); /* The "Frosted Glass" effect */
    -webkit-backdrop-filter: blur(12px);
    
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Hover State: Lift and Glow */
.modern-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(95, 153, 255, 0.3); /* Glow Blue border */
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 
                inset 0 0 20px rgba(95, 153, 255, 0.05);
}

/* The "Light" Modern Icon */
.modern-card__icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-24);
    width: fit-content;
    
    /* Gradient Text Effect for Icon */
    background: linear-gradient(135deg, var(--glow-blue), #a56dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    /* Add a soft glow behind it */
    filter: drop-shadow(0 0 15px rgba(95, 153, 255, 0.3));
}

.modern-card__title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: var(--space-12);
    letter-spacing: -0.5px;
}

.modern-card__description {
    color: #a0a0b0; /* Softer grey text */
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: var(--space-24);
    flex-grow: 1;
}
.platform-guide-wrapper {
    background: var(--futuristic-surface);
    border: 1px solid var(--futuristic-border);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-32);
    overflow: hidden; /* Keeps content inside rounded corners */
    transition: border-color 0.3s ease;
}

.platform-guide-wrapper:hover {
    border-color: var(--glow-blue);
}

/* Top Section (Always Visible) */
.guide-main-header {
    padding: var(--space-32);
    display: flex;
    align-items: center;
    gap: var(--space-24);
    border-bottom: 1px solid var(--futuristic-border);
    background: linear-gradient(to right, rgba(255,255,255,0.02), transparent);
}

.guide-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

.guide-text h2 {
    font-size: 1.5rem;
    margin-bottom: 4px;
    color: #fff;
}
.guide-text p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.7;
}

/* The Dropdown Buttons */
.accordion-item {
    border-bottom: 1px solid var(--futuristic-border);
}
.accordion-item:last-child {
    border-bottom: none;
}

.accordion-btn {
    width: 100%;
    padding: var(--space-24) var(--space-32);
    background: transparent;
    border: none;
    text-align: left;
    color: var(--futuristic-text);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.accordion-btn:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--glow-blue);
}
/* ========================================= */
/* 4. APP DEEP DIVE SECTION (Zig-Zag)        */
/* ========================================= */

.deep-dive-section {
    padding: 100px 0;
    background: var(--futuristic-bg); /* Seamless blend */
}

.deep-dive-row {
    display: flex;
    align-items: center;
    gap: var(--space-48); /* roughly 48px */
    margin-bottom: 120px; /* Space between features */
}

/* Alternate the layout (Text Left/Img Right vs Img Left/Text Right) */
.deep-dive-row:nth-child(even) {
    flex-direction: row-reverse;
}

.deep-dive-row:last-child {
    margin-bottom: 0;
}

/* The Text Side */
.dd-text {
    flex: 1;
}

.dd-label {
    color: var(--glow-blue);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: var(--space-16);
    display: block;
}

.dd-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-24);
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dd-desc {
    font-size: 1.1rem;
    color: var(--futuristic-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-32);
}

.dd-check-list {
    list-style: none;
    padding: 0;
}
.dd-check-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--futuristic-text);
}
.dd-check-list i {
    color: var(--glow-green);
}

/* The Visual Side (Abstract UI) */
.dd-visual {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The Glass Card Container */
.abstract-ui-card {
    width: 100%;
    max-width: 500px;
    height: 320px;
    background: rgba(19, 22, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.3s ease;
}

.deep-dive-row:hover .abstract-ui-card {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--glow-blue);
}

/* UI Elements (Fake Skeleton Loaders) */
.ui-header {
    height: 20px;
    width: 40%;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-bottom: 20px;
}

.ui-line {
    height: 10px;
    width: 100%;
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
}
.ui-line.short { width: 70%; }
.ui-line.medium { width: 85%; }

/* Specific: Summarization Visual */
.summary-highlight {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--futuristic-surface);
    border: 1px solid var(--glow-blue);
    padding: 15px 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float-card 4s ease-in-out infinite;
}
.summary-highlight span { color: #fff; font-weight: 600; }
.summary-highlight i { color: var(--glow-blue); font-size: 1.2rem; }

/* Specific: Action Center Visual */
.action-btn-row {
    display: flex;
    gap: 10px;
    margin-top: auto; /* Push to bottom */
}
/* ========================================= */
/* 5. NEW ABSTRACT UI VARIATIONS             */
/* ========================================= */

/* Calendar Visual Styles */
.calendar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
}
.calendar-date-box {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.calendar-day {
    width: 40px;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    margin-bottom: 8px;
}
.calendar-num {
    width: 20px;
    height: 20px;
    background: var(--glow-blue);
    border-radius: 50%;
    opacity: 0.8;
}

/* Chat/FAQ Visual Styles */
.chat-interface {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
}
.chat-bubble {
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 80%;
    position: relative;
}
.chat-bubble.user {
    align-self: flex-start;
    background: rgba(255,255,255,0.05);
    border-bottom-left-radius: 2px;
}
.chat-bubble.ai {
    align-self: flex-end;
    background: rgba(95, 153, 255, 0.15); /* Glow Blue tint */
    border: 1px solid rgba(95, 153, 255, 0.3);
    border-bottom-right-radius: 2px;
}
/* ========================================= */
/* 6. NEW BENTO GRID SECTION                 */
/* ========================================= */

.bento-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--futuristic-bg) 0%, #050510 100%);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns */
    grid-template-rows: repeat(2, 300px); /* 2 Fixed Rows */
    gap: 24px;
    max-width: 1100px;
    margin: 40px auto 0;
}

.bento-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px; /* Extra rounded */
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.bento-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

/* Spanning Classes to create the "Bento" look */
.bento-col-2 { grid-column: span 2; }
.bento-row-2 { grid-row: span 2; }

.bento-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.bento-desc {
    color: var(--futuristic-text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

/* ========================================= */
/* 9. ARCHITECTURE PIPELINE SECTION          */
/* ========================================= */

.pipeline-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0b0d17 0%, var(--futuristic-bg) 100%);
    position: relative;
}

.pipeline-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    gap: 30px;
    margin-top: 60px;
}

/* The horizontal connecting line */
.pipeline-line {
    position: absolute;
    top: 50px; /* Aligns with the center of the visual circles */
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.pipeline-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0; height: 100%; width: 0;
    background: linear-gradient(90deg, transparent, var(--glow-blue), transparent);
    animation: flow-line 3s ease-in-out infinite;
}

@keyframes flow-line {
    0% { width: 0; left: 0; opacity: 0; }
    50% { opacity: 1; }
    100% { width: 100%; left: 0; opacity: 0; }
}

/* The Step Cards */
.pipeline-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* The Visual Circle Container */
.step-visual-box {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--futuristic-surface);
    border: 1px solid var(--futuristic-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pipeline-step:hover .step-visual-box {
    transform: scale(1.1);
    border-color: var(--glow-blue);
    box-shadow: 0 0 40px rgba(95, 153, 255, 0.2);
}

/* Abstract Shape 1: Ingest (Converging Lines) */
.shape-ingest {
    width: 40px; height: 40px;
    position: relative;
}
.shape-ingest::before, .shape-ingest::after {
    content: ''; position: absolute; background: var(--glow-blue);
}
.shape-ingest span { position: absolute; background: var(--glow-blue); }

/* Creating 3 lines merging */
.shape-ingest::before { top: 0; left: 0; width: 100%; height: 2px; }
.shape-ingest::after { bottom: 0; left: 0; width: 100%; height: 2px; }
.shape-ingest span { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
/* A vertical line at the end to "catch" them */
.shape-ingest-catch {
    position: absolute; right: 0; top: 0; bottom: 0; width: 4px; background: #fff; border-radius: 2px;
}

/* Abstract Shape 2: Process (Pulsing Core) */
.shape-process {
    width: 40px; height: 40px;
    border: 2px solid var(--glow-purple);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.shape-process-inner {
    width: 20px; height: 20px;
    background: var(--glow-purple);
    border-radius: 50%;
    animation: pulse-core 2s infinite;
}
@keyframes pulse-core {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

/* Abstract Shape 3: Output (Upward Arrow/Beam) */
.shape-output {
    width: 40px; height: 40px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.shape-bar {
    width: 6px;
    background: #33ff99;
    border-radius: 3px;
    margin: 0 4px;
    animation: grow-bar 1.5s infinite;
}
.shape-bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.shape-bar:nth-child(2) { height: 100%; animation-delay: 0.2s; }
.shape-bar:nth-child(3) { height: 60%; animation-delay: 0.4s; }

@keyframes grow-bar {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; transform: scaleY(1.1); }
}

/* Text Styling */
.step-title {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
}
.step-desc {
    font-size: 0.95rem;
    color: var(--futuristic-text-muted);
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

/* Mobile */
@media (max-width: 768px) {
    .pipeline-wrapper { flex-direction: column; gap: 60px; }
    .pipeline-line { 
        width: 2px; height: 80%; 
        top: 10%; bottom: 10%; left: 50%; right: auto; 
        transform: translateX(-50%);
    }
    .pipeline-line::after {
        width: 100%; height: 0; top: 0; left: 0;
        background: linear-gradient(180deg, transparent, var(--glow-blue), transparent);
        animation: flow-line-vert 3s ease-in-out infinite;
    }
}

@keyframes flow-line-vert {
    0% { height: 0; top: 0; opacity: 0; }
    50% { opacity: 1; }
    100% { height: 100%; top: 0; opacity: 0; }
}

/* Visual: Analytics Graph (CSS Only) */
.graph-visual {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100px;
    width: 100%;
    margin-top: 20px;
}
.graph-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--glow-blue), rgba(95, 153, 255, 0.1));
    border-radius: 4px 4px 0 0;
    opacity: 0.7;
    transition: height 1s ease;
}
.bento-card:hover .graph-bar { opacity: 1; }
/* ========================================= */
/* 9. DATA STREAM VISUAL (No Icons)          */
/* ========================================= */

.stream-interface {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
    font-family: 'Courier New', Courier, monospace; /* Tech/Code aesthetic */
}

.stream-header {
    display: flex;
    justify-content: space-between;
    color: var(--futuristic-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 1px;
}

.stream-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 15px;
    border-radius: 4px;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

/* Active state styling */
.stream-row.active {
    background: rgba(95, 153, 255, 0.1);
    border-left-color: var(--glow-blue);
}

.stream-name {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    width: 80px;
}

.stream-track {
    flex-grow: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.stream-bar {
    height: 100%;
    background: var(--glow-blue);
    width: 0;
    animation: stream-load 3s ease-in-out infinite;
    box-shadow: 0 0 10px var(--glow-blue);
}

/* Staggered animations */
.stream-row:nth-child(2) .stream-bar { animation-delay: 0s; width: 100%; animation: none; background: #33ff99; }
.stream-row:nth-child(3) .stream-bar { animation-delay: 0.5s; }
.stream-row:nth-child(4) .stream-bar { animation-delay: 1.2s; }

.stream-status {
    font-size: 0.7rem;
    color: var(--glow-blue);
    width: 60px;
    text-align: right;
}

.status-synced { color: #33ff99; } /* Green text */
.status-syncing { color: var(--glow-blue); } /* Blue text */

@keyframes stream-load {
    0% { width: 0; opacity: 0.5; }
    50% { width: 100%; opacity: 1; }
    100% { width: 100%; opacity: 0; }
}
/* Visual: Security Shield */
.security-visual {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.02);
    transform: rotate(-15deg);
}

/* Mobile Response */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto; /* Auto height for mobile */
    }
    .bento-col-2, .bento-row-2 { grid-column: span 1; grid-row: span 1; }
    .bento-card { min-height: 300px; }
}
/* Integration Hub Visual */
.hub-center {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--futuristic-surface);
    border: 2px solid var(--glow-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(95, 153, 255, 0.2);
    position: absolute;
    z-index: 2;
}
.hub-connection {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--glow-blue), transparent);
    transform-origin: left center;
}
.ui-btn {
    flex: 1;
    height: 40px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    border: 1px solid transparent;
}
@media (scripting: none) {
    .animate-on-scroll {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}
.ui-btn.primary {
    background: rgba(95, 153, 255, 0.2);
    color: var(--glow-blue);
    border-color: var(--glow-blue);
}

/* Animation */
@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Mobile Response */
@media (max-width: 900px) {
    .deep-dive-row, .deep-dive-row:nth-child(even) {
        flex-direction: column;
        gap: var(--space-32);
    }
    .dd-visual { height: auto; width: 100%; }
    .abstract-ui-card { height: 250px; }
}
/* The Arrow Indicator */
.accordion-btn::after {
    content: '\F282'; /* Bootstrap Icon: Chevron Down */
    font-family: 'bootstrap-icons';
    transition: transform 0.3s ease;
}

.accordion-btn.active::after {
    transform: rotate(180deg);
}

/* The Hidden Content */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(0, 0, 0, 0.2); /* Slightly darker inside */
}

.accordion-content-inner {
    padding: var(--space-32);
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .guide-main-header {
        flex-direction: column;
        text-align: center;
    }
}
/* Modern Minimal List */
.modern-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.modern-list li {
    font-size: 0.85rem;
    color: var(--glow-blue);
    background: rgba(95, 153, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(95, 153, 255, 0.2);
    font-weight: 500;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .modern-features-grid {
        grid-template-columns: 1fr;
    }
}
.human-benefit {
    text-align: left;
    padding: var(--space-24);
    border-left: 2px solid var(--futuristic-border);
    transition: border-color 0.3s ease;
}

.human-benefit:hover {
    border-left-color: var(--glow-blue);
}

.human-benefit h3 {
    font-size: 1.35rem;
    margin-bottom: var(--space-12);
    color: var(--futuristic-text);
}

.human-benefit p {
    font-size: 1rem;
    color: var(--futuristic-text-muted);
}
@keyframes counter-rotate {
    0% { 
        transform: translateX(-50%) translateY(-50%) rotateZ(0deg) rotateX(-70deg) scale(1); 
    }
    50% {
        transform: translateX(-50%) translateY(-50%) rotateZ(-180deg) rotateX(-70deg) scale(1.1);
    }
    100% { 
        transform: translateX(-50%) translateY(-50%) rotateZ(-360deg) rotateX(-70deg) scale(1); 
    }
}

@keyframes system-float {
    0%, 100% { transform: rotateX(10deg) translateY(0); }
    50% { transform: rotateX(10deg) translateY(-10px); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero__scene { height: 300px; }
    .galaxy-system { width: 240px; height: 240px; }
    .galaxy-ring { width: 240px; height: 240px; }
    .planet-icon-wrapper { width: 40px; height: 40px; }
}

.hero__animation {
    height: 100%;
    width: 100%;
    position: relative;
    transform-style: preserve-3d;
    backface-visibility: hidden; 
}

.icon-carousel {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    animation: carousel-rotate 45s linear infinite;
    backface-visibility: hidden; 
}

/* This new wrapper holds the 3D properties */
.carousel-icon-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 30px;  /* CHANGED: Was 40px */
    height: 30px; /* CHANGED: Was 40px */
    transform-style: preserve-3d;
    backface-visibility: hidden; 
}

/* This styles the image *inside* the wrapper */
.carousel-icon {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

/* 6 icons = 360 / 6 = 60 degrees apart */
/* CHANGED: Radius (translateZ) from 160px to 120px */
.carousel-icon-wrapper:nth-child(1) { transform: rotateY(0deg) translateZ(120px); }
.carousel-icon-wrapper:nth-child(2) { transform: rotateY(60deg) translateZ(120px); }
.carousel-icon-wrapper:nth-child(3) { transform: rotateY(120deg) translateZ(120px); }
.carousel-icon-wrapper:nth-child(4) { transform: rotateY(180deg) translateZ(120px); }
.carousel-icon-wrapper:nth-child(5) { transform: rotateY(240deg) translateZ(120px); }
.carousel-icon-wrapper:nth-child(6) { transform: rotateY(300deg) translateZ(120px); }

@keyframes carousel-rotate {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}
/* 5. Section and Card Styling */
.feature-card, 
.integration-card, 
.benefit-card, 
.pricing-card,
.core-feature-card { /* Added core-feature-card here */
    background: var(--futuristic-surface);
    border: 1px solid var(--futuristic-border);
    border-radius: var(--radius-xl);
    padding: var(--space-32);
    transition: transform var(--transition-medium), border-color var(--transition-medium), box-shadow var(--transition-medium);
    height: 100%; /* For consistent grid layout */
}

.feature-card:hover,
.integration-card:hover,
.benefit-card:hover,
.pricing-card:hover,
.core-feature-card:hover { /* Added core-feature-card here */
    transform: translateY(-8px);
    border-color: var(--glow-blue);
    box-shadow: 0 10px 30px rgba(95, 153, 255, 0.1);
}

/* Grids */
.features-grid, .integrations-grid, .benefits-grid, .core-features-grid { /* Added core-features-grid */
    display: grid;
    gap: var(--space-24);
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Card Specifics */
.feature-card, .benefit-card {
    text-align: center;
}

.feature-card__icon, .benefit-card__icon {
    font-size: 2.5rem;
    color: var(--glow-blue);
    margin-bottom: var(--space-16);
    display: inline-block;
}

.feature-card__title, .integration-card__title, .benefit-card__title {
    font-size: 1.25rem;
    margin-bottom: var(--space-12);
    color: var(--futuristic-text);
}

.integration-card__icon {
    font-size: 2rem;
    color: var(--glow-blue);
    margin-bottom: var(--space-16);
}

.integration-card strong { color: var(--futuristic-text); font-weight: 500; }

/* Platforms section */
.platforms-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 2rem;
}

.platform-item {
  text-align: center;
}

/* Updated styles for image icons */
.platform-icon {
  height: 35px; /* Set a consistent height */
  width: 35px;  /* Set a consistent width */
  object-fit: contain;
  opacity: 0.7; /* Start slightly faded */
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.platform-item:hover .platform-icon {
  transform: scale(1.1); /* Enlarge on hover */
  opacity: 1.0; /* Become fully visible on hover */
}

.platform-item span {
  display: block;
  margin-top: var(--space-8);
  color: var(--futuristic-text-muted);
}

/* 6. Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-12) var(--space-24);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn--primary {
    background: linear-gradient(135deg, var(--glow-blue), var(--glow-purple));
    color: #FFFFFF;
    border: none;
    box-shadow: 0 5px 15px rgba(127, 91, 228, 0.2);
}

.btn--primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(127, 91, 228, 0.3);
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--futuristic-border);
    color: var(--futuristic-text-muted);
}

.btn--outline:hover {
    border-color: var(--glow-blue);
    color: var(--glow-blue);
    background: rgba(95, 153, 255, 0.1);
}

/* 7. Footer */
.footer {
    background: #06070e;
    padding: 60px 0 30px 0;
    border-top: 1px solid var(--futuristic-border);
    color: var(--futuristic-text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h3, .footer-column h4 {
    color: var(--futuristic-text);
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: var(--futuristic-text-muted);
    margin-bottom: 0.75rem;
}

.footer-column a:hover {
    color: var(--glow-blue);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a i {
    font-size: 1.25rem;
    transition: color var(--transition-fast);
}

.footer-bottom {
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.7;
    padding-top: 2rem;
    border-top: 1px solid var(--futuristic-border);
}
.footer-disclaimer { margin-bottom: 1rem; }

/* START: Added Modern Animations */

/* 8. Modern Animation Keyframes */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 15px var(--glow-blue);
    }
    50% {
        box-shadow: 0 0 25px var(--glow-blue), 0 0 40px rgba(95, 153, 255, 0.5);
    }
}

/* Apply pulse animation to featured pricing card */
.pricing-card--featured {
    animation: pulse-glow 3s infinite ease-in-out;
}

/* 9. Modern Scroll-In Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for grid items */
.animate-on-scroll.in-view:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll.in-view:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll.in-view:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll.in-view:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll.in-view:nth-child(6) { transition-delay: 0.5s; }
/* END: Added Modern Animations */


/* Responsive */
@media (max-width: 768px) {
    .nav__menu { 
        display: none; 
        flex-direction: column;
        align-items: stretch;
        position: fixed; /* Use fixed for full-screen overlay */
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--futuristic-bg);
        padding: var(--space-24);
        padding-top: 80px; /* Leave space for toggle */
        z-index: 1001; /* Below toggle but above content */
        overflow-y: auto;
    }
    
    .nav__toggle { 
        display: block; 
    }
    
    .nav__buttons.mobile-hidden { 
        display: none; 
    }
    
    .nav__menu.mobile-open {
        display: flex;
    }
    
    .nav__menu.mobile-open li { 
        width: 100%; 
    }
    
    .nav__menu.mobile-open .nav__link { 
        display: block; 
        padding: 1rem; 
        text-align: center; 
        font-size: 1.2rem;
    }

    /* Make mobile buttons visible in open menu */
    .nav__menu.mobile-open .nav__buttons-mobile {
        display: flex;
    }

    .section-title { font-size: 2rem; }
    .hero__title { font-size: clamp(2.5rem, 10vw, 3rem); }
    .hero__subtitle { font-size: 1.125rem; }
}
/* --- MOBILE CHAT WIDGET FIX (FULL SCREEN & LEFT CLOSE BUTTON) --- */

/* 1. Defines the button, but hides it on desktop */
#chat-widget-header-close {
    display: none; /* Hide on desktop by default */
    background: none;
    border: none;
    color: var(--label-color, #9CA3AF);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* ========================================= */
/* 10. MOBILE OPTIMIZATIONS (Tightening)     */
/* ========================================= */

@media (max-width: 768px) {
    
    /* 1. Global Section Spacing */
    section, .deep-dive-section, .efficiency-section {
        padding: 60px 0 !important; /* Reduce from 100px */
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 1.75rem; /* Smaller headings */
    }

    /* 2. Deep Dive / Zig-Zag Layouts */
    .deep-dive-row {
        gap: 30px;
        margin-bottom: 60px; /* Reduce gap between rows */
    }
    
    /* Remove alternating direction for mobile */
    .deep-dive-row:nth-child(even) {
        flex-direction: column;
    }

    /* 3. Abstract UI Cards (The Glass Boxes) */
    .abstract-ui-card {
        height: auto; /* Let content dictate height */
        min-height: 250px; /* Minimum height for visuals */
        padding: 20px;
    }

    /* 4. Data Stream Interface Mobile Fixes */
    .stream-interface {
        padding: 0;
    }

    .stream-header {
        margin-bottom: 10px;
        font-size: 0.65rem;
    }

    .stream-row {
        padding: 8px 10px; /* Tighter padding */
        gap: 10px;
        margin-bottom: 8px;
    }

    .stream-name {
        width: 60px; /* Smaller width for platform names */
        font-size: 0.75rem;
    }

    .stream-status {
        width: 40px;
        font-size: 0.6rem;
    }

    /* 5. Efficiency Stats (Before/After Cards) */
    .stats-grid {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 20px;
    }

    .stat-card {
        padding: 20px; /* Reduce padding */
    }

    .stat-icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .comparison-block {
        padding: 15px;
    }

    .time-row {
        font-size: 0.85rem;
    }

    .time-row.new {
        font-size: 1rem;
    }

    /* 6. Calendar Grid Visuals */
    .calendar-grid {
        gap: 10px;
    }
    
    .calendar-date-box {
        padding: 10px;
    }

    /* 7. Chat Bubbles */
    .chat-bubble {
        padding: 10px 12px;
        max-width: 90%; /* Allow bubbles to be wider on small screens */
    }
}