/* --- Landing Page Styles --- */

body.app-theme {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.app-theme::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    /* Reset padding to allow full control */
    padding-top: 0;
    /* Reduced from 80px to move content up */
}

.hero-bg-effect {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    transition: background 0.1s ease;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.25) 0%, rgba(168, 85, 247, 0.15) 30%, transparent 70%);
}

.section-divider {
    border: 0;
    height: 1px;
    width: 100%;
    margin: 0;
    background: linear-gradient(90deg,
            rgba(248, 250, 252, 0.95) 0%,
            rgba(248, 250, 252, 0.95) 36%,
            rgba(210, 218, 228, 0.55) 46%,
            rgba(120, 132, 150, 0.5) 50%,
            rgba(210, 218, 228, 0.55) 54%,
            rgba(248, 250, 252, 0.95) 64%,
            rgba(248, 250, 252, 0.95) 100%);
    opacity: 0;
    display: block;
}

.section-divider::before {
    content: none;
}

body.mode-dark .section-divider {
    border: 0;
    height: 1px;
    width: 100%;
    margin: 0 auto;
    background: linear-gradient(90deg,
            rgba(148, 163, 184, 0.26) 0%,
            rgba(148, 163, 184, 0.38) 26%,
            rgba(221, 224, 228, 0.5) 40%,
            rgba(255, 255, 255, 0.85) 50%,
            rgba(221, 224, 228, 0.5) 60%,
            rgba(148, 163, 184, 0.38) 74%,
            rgba(148, 163, 184, 0.26) 100%);
    opacity: 1;
}

.section.section-slab {
    max-width: none;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.section.section-slab .section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.section-slab-1 {
    background-color: #0f111a;
}

.section-slab-2 {
    background-color: #101823;
}

.section-slab-3 {
    background-color: #0f1a1f;
}

.section-slab-4 {
    background-color: #121520;
}

.section-slab-5 {
    background-color: #0f141a;
}

.section-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.9;
}

.section-bg-1 {
    background-image: radial-gradient(circle at 20% 15%, rgba(59, 130, 246, 0.35), transparent 55%),
        radial-gradient(circle at 80% 40%, rgba(168, 85, 247, 0.28), transparent 60%);
}

.section-bg-2 {
    background-image: radial-gradient(circle at 15% 20%, rgba(14, 165, 233, 0.28), transparent 55%),
        radial-gradient(circle at 75% 35%, rgba(56, 189, 248, 0.18), transparent 60%);
}

.section-bg-3 {
    background-image: radial-gradient(circle at 20% 25%, rgba(34, 197, 94, 0.22), transparent 55%),
        radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.22), transparent 60%);
}

.section-bg-4 {
    background-image: radial-gradient(circle at 20% 20%, rgba(251, 146, 60, 0.18), transparent 55%),
        radial-gradient(circle at 75% 35%, rgba(168, 85, 247, 0.16), transparent 60%);
}

.section-bg-5 {
    background-image: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.2), transparent 55%),
        radial-gradient(circle at 80% 40%, rgba(14, 165, 233, 0.22), transparent 60%);
}

@supports (-webkit-touch-callout: none) {
    .section-bg {
        background-attachment: scroll;
    }
}

/* Layout Container */
.hero-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto !important;
    /* Force centering */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 2;
    min-height: 58vh;
    /* Ensure it takes up vertical space */
    transform: translateY(-24px);
}

@media (max-width: 900px) {
    .hero-container {
        padding-top: 2rem;
        transform: translateY(-12px);
    }
}

/* Hero Content - Left Side */
.hero-content {
    max-width: 600px;
    z-index: 2;
    /* Ensure above background */
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.flashy-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    /* Fix lint */
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Hero Mock Chat Interface */
.hero-chat-mockup {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0.75rem;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
    backdrop-filter: blur(12px);
    max-width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mock-input-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-color);
    border-radius: 10px;
    padding: 0.25rem 0.5rem;
    padding-right: 0.25rem;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.mock-input-row:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

#hero-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    color: var(--text-color);
    outline: none;
    min-width: 0;
}

.hero-btn-primary {
    background: #FF9500;
    /* Orange accent */
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    /* Slightly rounded */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-btn-primary:hover {
    background: #FFB340;
    transform: scale(1.05);
}

.icon-send-arrow {
    width: 16px;
    height: 16px;
    display: block;
}

/* Suggestions */
.hero-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 900px) {
    .hero-suggestions {
        justify-content: center;
    }
}

.pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.pill:hover {
    background: var(--surface-hover);
    color: var(--text-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* --- Interactive Visuals (Right Side) --- */
.hero-visuals {
    position: relative;
    height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.floating-grid {
    position: relative;
    width: 100%;
    height: 100%;
}

.float-card {
    position: absolute;
    background: rgba(23, 23, 23, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.1s linear, box-shadow 0.3s ease;
    will-change: transform;
    z-index: 10;
}

/* Hover Lift Effect */
.hover-lift:hover {
    transform: translateY(-8px) scale(1.02) !important;
    /* Override parallax slightly */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    z-index: 20;
}

/* Light mode override for cards */
body:not(.mode-dark) .float-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--heading-color);
}

.card-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Card Positioning */
.card-1 {
    top: 20%;
    left: 10%;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    top: 55%;
    right: 5%;
    z-index: 4;
    animation: float 7s ease-in-out infinite 1s;
}

.card-3 {
    bottom: 15%;
    left: 20%;
    z-index: 2;
    animation: float 8s ease-in-out infinite 2s;
}

.card-4 {
    top: 15%;
    right: 20%;
    padding: 1rem;
    width: 140px;
    flex-direction: column;
    align-items: flex-start;
    animation: float 9s ease-in-out infinite 0.5s;
    z-index: 1;
}

.graph-c {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
    width: 100%;
    margin-bottom: 0.5rem;
}

.bar {
    flex: 1;
    background: var(--primary-color);
    border-radius: 2px;
    opacity: 0.7;
}

/* Floating Animation Keyframes */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Background Gradients/Glows */
.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
}

.glow-1 {
    background: var(--primary-color);
    top: 20%;
    right: 20%;
    animation: pulse-glow 8s ease infinite;
}

.glow-2 {
    background: #a855f7;
    bottom: 10%;
    left: 10%;
    animation: pulse-glow 10s ease infinite reverse;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

/* --- Scroll Reveal Animations --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Directional reveals for feature rows */
.reveal-on-scroll.reveal-from-left {
    transform: translateX(-60px);
}

.reveal-on-scroll.reveal-from-right {
    transform: translateX(60px);
}

.reveal-on-scroll.reveal-from-left.is-visible,
.reveal-on-scroll.reveal-from-right.is-visible {
    transform: translateX(0);
}

/* --- Feature Rows (Zig-Zag) --- */
.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 4rem 0;
    /* Vertical spacing */
    max-width: 1200px;
    margin: 0 auto;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

@media (max-width: 900px) {

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 3rem 1.5rem;
    }
}

.feature-text {
    flex: 1;
    max-width: 500px;
}

.feature-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(59, 130, 246, 0.9);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.9;
    text-shadow: 0 0 14px rgba(59, 130, 246, 0.35);
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.feature-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.feature-visual {
    flex: 1;
    height: 400px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.feature-visual:hover {
    transform: scale(1.02);
}

.visual-placeholder {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1.2rem;
    background: var(--bg-color);
    padding: 1rem 2rem;
    border-radius: 12px;
    border: 1px dashed var(--border-color);
}

.feature-row:hover .circular-visual {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    border-color: rgba(59, 130, 246, 0.5);
}


/* --- Other Section Styles (FAQ, etc) --- */
/* FAQ - Preserving existing styles */
.faq-grid {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: var(--glass-bg, rgba(20, 20, 20, 0.6));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    border-radius: 12px;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.section-slab .ss-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.section-slab .ss-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(148, 163, 184, 0.6);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.marketplace-showcase {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.marketplace-copy h2 {
    margin-bottom: 1rem;
}

.marketplace-copy p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.marketplace-cta {
    margin-top: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    color: rgba(148, 163, 184, 0.7);
    margin-bottom: 0.75rem;
}

.marketplace-frame {
    background: rgba(6, 10, 18, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 24px;
    padding: 2rem 1.5rem 2.4rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
    max-height: none;
}

.marketplace-frame::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 160px;
    background: linear-gradient(90deg, rgba(8, 12, 20, 0.95), rgba(8, 12, 20, 0));
    pointer-events: none;
    z-index: 2;
}

.marketplace-strip {
    --marquee-gap: 0.5rem;
    --marquee-duration: 32.2s;
    display: flex;
    width: 100%;
    padding: 0.5rem 0 0.75rem;
    position: relative;
    z-index: 1;
    gap: var(--marquee-gap);
    overflow: hidden;
    user-select: none;
    align-items: center;
    flex-wrap: nowrap;
}

.marketplace-track {
    flex-shrink: 0;
    display: flex;
    gap: var(--marquee-gap);
    min-width: 100%;
    width: max-content;
    align-items: stretch;
    flex-wrap: nowrap;
    flex-direction: row;
    animation: marketplaceMarquee var(--marquee-duration, 28s) linear infinite;
}

.marketplace-strip.marquee-js .marketplace-track {
    animation: none;
    transform: translate3d(0, 0, 0);
}

.marketplace-strip .example-card {
    display: flex;
    flex-direction: column;
    padding: 1.1rem;
    position: relative;
    width: 260px;
    min-width: 260px;
    flex: 0 0 auto;
}

.marketplace-strip .card-metrics {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.25);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

.marketplace-strip .card-metric {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.marketplace-strip .card-metric svg {
    width: 12px;
    height: 12px;
}

.marketplace-strip .example-card .btn {
    margin-top: auto !important;
}

.marketplace-frame:hover .marketplace-track {
    animation-play-state: paused;
}

@keyframes marketplaceMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - var(--marquee-gap)));
    }
}

@media (prefers-reduced-motion: reduce) {
    .marketplace-track {
        animation-play-state: paused !important;
    }
}


@media (max-width: 900px) {
    .marketplace-showcase {
        grid-template-columns: 1fr;
    }

    .marketplace-frame {
        width: 100%;
        display: none;
    }
}

/* Landing specific overrides */
body:not(.mode-dark) .hero-chat-mockup {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body:not(.mode-dark) .flashy-text {
    /* Slightly darker gradient for execution on light mode for legibility */
    background: linear-gradient(135deg, var(--primary-color) 0%, #7e22ce 100%);
    -webkit-background-clip: text;
    background-clip: text;
    /* Fix lint */
    -webkit-text-fill-color: transparent;
}

body:not(.mode-dark) .hero-bg-effect {
    background: radial-gradient(circle at 50% 45%, rgba(59, 130, 246, 0.18) 0%, rgba(14, 165, 233, 0.08) 35%, transparent 70%);
}

body:not(.mode-dark) .section-slab-1 {
    background-color: #f6f7fb;
}

body:not(.mode-dark) .section-slab-2 {
    background-color: #f2f6fc;
}

body:not(.mode-dark) .section-slab-3 {
    background-color: #f4f9f7;
}

body:not(.mode-dark) .section-slab-4 {
    background-color: #f8f6fb;
}

body:not(.mode-dark) .section-slab-5 {
    background-color: #f4f7fb;
}

body:not(.mode-dark) .section-bg-1 {
    background-image: radial-gradient(circle at 18% 20%, rgba(59, 130, 246, 0.18), transparent 55%),
        radial-gradient(circle at 82% 35%, rgba(168, 85, 247, 0.12), transparent 60%);
}

body:not(.mode-dark) .section-bg-2 {
    background-image: radial-gradient(circle at 15% 20%, rgba(14, 165, 233, 0.16), transparent 55%),
        radial-gradient(circle at 75% 35%, rgba(56, 189, 248, 0.12), transparent 60%);
}

body:not(.mode-dark) .section-bg-3 {
    background-image: radial-gradient(circle at 20% 25%, rgba(34, 197, 94, 0.14), transparent 55%),
        radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.14), transparent 60%);
}

body:not(.mode-dark) .section-bg-4 {
    background-image: radial-gradient(circle at 20% 20%, rgba(251, 146, 60, 0.12), transparent 55%),
        radial-gradient(circle at 75% 35%, rgba(168, 85, 247, 0.1), transparent 60%);
}

body:not(.mode-dark) .section-bg-5 {
    background-image: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.14), transparent 55%),
        radial-gradient(circle at 80% 40%, rgba(14, 165, 233, 0.14), transparent 60%);
}

body:not(.mode-dark) .marketplace-frame {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(148, 163, 184, 0.25);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

body:not(.mode-dark) .marketplace-frame::before {
    background: linear-gradient(90deg, rgba(248, 250, 252, 0.95), rgba(248, 250, 252, 0));
}

body:not(.mode-dark) .marketplace-strip .card-metrics {
    background: rgba(248, 250, 252, 0.9);
    border-color: rgba(148, 163, 184, 0.35);
    color: #475569;
}

body:not(.mode-dark) .marketplace-strip .card-icon {
    color: #0f172a;
}



/* Layout Container */
/* Layout Container Duplicate Removed */

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-content {
        margin: 0 auto;
        order: 2;
        /* Visuals on top on mobile? check preference. Usually content first on mobile for SEO/UX */
        order: 1;
    }

    .hero-visuals {
        order: 2;
        min-height: 400px;
        /* Ensure space for visuals */
    }
}

/* Hero Content - Left Side */
.hero-content {
    max-width: 600px;
}

.badge-pill {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.flashy-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Hero Mock Chat Interface */
.hero-chat-mockup {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0.75rem;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
    backdrop-filter: blur(12px);
    max-width: 100%;
}

.mock-input-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-color);
    border-radius: 10px;
    padding: 0.25rem 0.5rem;
    padding-right: 0.25rem;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.mock-input-row:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

#hero-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    color: var(--text-color);
    outline: none;
    min-width: 0;
}

.hero-btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-btn-primary:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.icon-sparkle {
    font-size: 1.1rem;
}

/* Suggestions */
.hero-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 900px) {
    .hero-suggestions {
        justify-content: center;
    }
}

.pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.pill:hover {
    background: var(--surface-hover);
    color: var(--text-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* --- Interactive Visuals (Right Side) --- */
.hero-visuals {
    position: relative;
    height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.floating-grid {
    position: relative;
    width: 100%;
    height: 100%;
    /* The grid container itself can be transformed by JS */
}

.float-card {
    position: absolute;
    background: rgba(23, 23, 23, 0.8);
    /* Dark glass default */
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.1s linear;
    /* Quick response for parallax, smooth overridden by JS */
    will-change: transform;
}

/* Light mode override for cards */
body:not(.mode-dark) .float-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--heading-color);
}

.card-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Card Positioning */
.card-1 {
    top: 20%;
    left: 10%;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    top: 55%;
    right: 5%;
    z-index: 4;
    animation: float 7s ease-in-out infinite 1s;
}

.card-3 {
    bottom: 15%;
    left: 20%;
    z-index: 2;
    animation: float 8s ease-in-out infinite 2s;
}

.card-4 {
    top: 15%;
    right: 20%;
    padding: 1rem;
    width: 140px;
    flex-direction: column;
    align-items: flex-start;
    animation: float 9s ease-in-out infinite 0.5s;
    z-index: 1;
}

.graph-c {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
    width: 100%;
    margin-bottom: 0.5rem;
}

.bar {
    flex: 1;
    background: var(--primary-color);
    border-radius: 2px;
    opacity: 0.7;
}

/* Floating Animation Keyframes */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Background Gradients/Glows */
.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
}

.glow-1 {
    background: var(--primary-color);
    top: 20%;
    right: 20%;
    animation: pulse-glow 8s ease infinite;
}

.glow-2 {
    background: #a855f7;
    bottom: 10%;
    left: 10%;
    animation: pulse-glow 10s ease infinite reverse;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}


/* --- Scroll Reveal Animations --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items if needed, handled by JS normally or children */
.ss-card.reveal-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.ss-card.reveal-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.ss-card.reveal-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}


/* --- Other Section Styles (FAQ, etc) --- */
/* FAQ - Preserving existing styles */
.faq-grid {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: var(--glass-bg, rgba(20, 20, 20, 0.6));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    border-radius: 12px;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Landing specific overrides */
body:not(.mode-dark) .hero-chat-mockup {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body:not(.mode-dark) .flashy-text {
    /* Slightly darker gradient for execution on light mode for legibility */
    background: linear-gradient(135deg, var(--primary-color) 0%, #7e22ce 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
