/**
 * Wangari Public Pages — x.ai/bot inspired design
 * Dark theme, clean typography, pill buttons, smooth animations
 */

:root {
    /* ── Creamy-green ambient theme ── */
    --xai-bg:          #F4FAF5;   /* warm creamy green — base page */
    --xai-bg-elevated: #EDF6EF;   /* slightly deeper for alternate sections */
    --xai-surface:     #E4F0E7;   /* surface panels, inputs */
    --xai-border:      #C9DFD0;   /* green-tinted borders */
    --xai-text:        #0D1F12;   /* very dark forest green instead of pure black */
    --xai-text-secondary: #3D5C45; /* mid forest green for body copy */
    --xai-text-muted:  #7A9E83;   /* muted green-grey for captions */
    --xai-lime:        #22C55E;
    --xai-lime-dark:   #16A34A;
    --xai-green:       #166534;
    --xai-green-light: #1B7A3D;
    --xai-card-bg:     #FAFEF9;   /* cards stay near-white but with green tint */
    
    /* ── Typography ── */
    --font-display: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;
    
    /* ── Spacing ── */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* ── Border Radius ── */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 9999px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* RESET & BASE */
/* ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-display);
    background: var(--xai-bg);
    color: var(--xai-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    /* very subtle radial green glow at top-left and bottom-right */
    background-image:
        radial-gradient(ellipse 80% 60% at 0% 0%,  hsl(140, 60%, 96%) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 100% 100%, hsl(140, 50%, 95%) 0%, transparent 60%);
    background-attachment: fixed;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════ */
/* LAYOUT */
/* ═══════════════════════════════════════════════════════════════ */

.xai-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.xai-section {
    padding: 100px 0;
}

.xai-section-sm {
    padding: 20px 0 60px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* NAVIGATION — Premium x.ai-inspired design */
/* ═══════════════════════════════════════════════════════════════ */

.xai-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    background: rgba(11, 15, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.xai-nav.scrolled {
    padding: 10px 0;
    background: rgba(11, 15, 26, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.xai-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.xai-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.xai-nav-brand:hover {
    transform: scale(1.02);
}

.xai-nav-brand img {
    height: 36px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
}

.xai-nav-brand span {
    color: var(--xai-lime);
}

.xai-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.xai-nav-links li {
    position: relative;
}

.xai-nav-links a {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.25s ease;
}

.xai-nav-links a:hover,
.xai-nav-links a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.xai-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Sign In — ghost link style, matches .xai-nav-ghost in HTML */
.xai-nav-ghost {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.25s ease;
    background: transparent;
}

.xai-nav-ghost:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
}

/* Get Started — lime CTA, matches .xai-nav-cta in HTML */
.xai-nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 9px 22px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0B1220;
    background: var(--xai-lime);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 12px rgba(34, 197, 94, 0.35);
    border: none;
}

.xai-nav-cta:hover {
    background: var(--xai-lime-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(34, 197, 94, 0.45);
}

/* ═══════════════════════════════════════════════════════════════ */
/* MOBILE NAV */
/* ═══════════════════════════════════════════════════════════════ */

/* Hamburger button — always white because nav is always dark */
.xai-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    cursor: pointer;
    color: #ffffff;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.xai-mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Full-viewport dark slide-in drawer */
.xai-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: #0B1220;
    padding: 0;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.xai-mobile-menu.open {
    transform: translateX(0);
}

/* Top bar inside the drawer */
.xai-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.xai-mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.03em;
}

.xai-mobile-menu-brand img {
    height: 32px;
    border-radius: 7px;
}

.xai-mobile-menu-brand span {
    color: #22C55E;
}

/* Close button */
.xai-mobile-close {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.xai-mobile-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Nav links in drawer */
.xai-mobile-menu-links {
    display: flex;
    flex-direction: column;
    padding: 16px 16px;
    flex: 1;
}

.xai-mobile-menu-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 12px;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-radius: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    /* stagger animation */
    opacity: 0;
    transform: translateX(16px);
}

.xai-mobile-menu.open .xai-mobile-menu-links a {
    opacity: 1;
    transform: translateX(0);
}

.xai-mobile-menu.open .xai-mobile-menu-links a:nth-child(1) { transition: all 0.3s ease 0.08s; }
.xai-mobile-menu.open .xai-mobile-menu-links a:nth-child(2) { transition: all 0.3s ease 0.13s; }
.xai-mobile-menu.open .xai-mobile-menu-links a:nth-child(3) { transition: all 0.3s ease 0.18s; }
.xai-mobile-menu.open .xai-mobile-menu-links a:nth-child(4) { transition: all 0.3s ease 0.23s; }
.xai-mobile-menu.open .xai-mobile-menu-links a:nth-child(5) { transition: all 0.3s ease 0.28s; }

.xai-mobile-menu-links a:last-child {
    border-bottom: none;
}

.xai-mobile-menu-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    padding-left: 20px;
}

/* CTA buttons at the bottom */
.xai-mobile-menu-footer {
    padding: 20px 24px 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    flex-shrink: 0;
}

.xai-mobile-menu-footer .xai-m-signin {
    display: block;
    text-align: center;
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.xai-mobile-menu-footer .xai-m-signin:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
}

.xai-mobile-menu-footer .xai-m-cta {
    display: block;
    text-align: center;
    padding: 15px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0B1220;
    background: #22C55E;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.35);
}

.xai-mobile-menu-footer .xai-m-cta:hover {
    background: #16A34A;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(34, 197, 94, 0.4);
}

/* ─── Responsive breakpoints ─── */
@media (max-width: 768px) {
    .xai-mobile-toggle {
        display: flex;
    }
    /* Hide desktop nav links and ghost Sign In button */
    .xai-nav-links,
    .xai-nav-ghost,
    .xai-nav-cta {
        display: none;
    }
}



/* ═══════════════════════════════════════════════════════════════ */
/* BUTTONS */
/* ═══════════════════════════════════════════════════════════════ */

.xai-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-display);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.xai-btn-primary {
    background: var(--xai-lime);
    color: #0B1220;
}

.xai-btn-primary:hover {
    background: var(--xai-lime-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.25);
}

.xai-btn-secondary {
    background: #FFFFFF;
    color: #0F172A;
    border: 2px solid #CBD5E1;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.xai-btn-secondary:hover {
    background: #F0FDF4;
    border-color: #22C55E;
    color: #16A34A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.2);
}

.xai-btn-ghost {
    background: transparent;
    color: #0F172A;
    border: 2px solid #E2E8F0;
}

.xai-btn-ghost:hover {
    color: #22C55E;
    background: #F0FDF4;
    border-color: #22C55E;
}

.xai-btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.xai-btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.xai-btn i, .xai-btn svg {
    width: 18px;
    height: 18px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* HERO */
/* ═══════════════════════════════════════════════════════════════ */

.xai-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 20px;
    position: relative;
    overflow: visible;
}

.xai-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.xai-hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.xai-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--xai-lime);
    margin-bottom: 24px;
}

.xai-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.xai-hero h1 span {
    color: var(--xai-lime);
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
}

.xai-hero-sub {
    font-size: 1.25rem;
    color: var(--xai-text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.xai-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.xai-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--xai-border);
}

.xai-stat {
    text-align: center;
}

.xai-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--xai-text);
    letter-spacing: -0.02em;
}

.xai-stat-label {
    font-size: 0.85rem;
    color: var(--xai-text-muted);
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* SYSTEM PREVIEW */
/* ═══════════════════════════════════════════════════════════════ */

.xai-preview {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    margin-top: -40px;
    z-index: 2;
}

.xai-preview-frame {
    background: var(--xai-surface);
    border: 1px solid var(--xai-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    clip-path: inset(0 0 0 0);
}

.xai-preview-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: var(--xai-bg-elevated);
    border-bottom: 1px solid var(--xai-border);
}

.xai-preview-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.xai-preview-dot:nth-child(1) { background: #FF5F56; }
.xai-preview-dot:nth-child(2) { background: #FFBD2E; }
.xai-preview-dot:nth-child(3) { background: #27CA40; }

.xai-preview-title {
    flex: 1;
    text-align: center;
    font-size: 0.85rem;
    color: var(--xai-text-muted);
}

.xai-preview-img {
    width: 100%;
    display: block;
    max-height: 500px;
    object-fit: cover;
    object-position: top;
}

/* ═══════════════════════════════════════════════════════════════ */
/* STATEMENT SECTION (x.ai-style) */
/* ═══════════════════════════════════════════════════════════════ */

.xai-statement {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--xai-surface);
    border: 1px solid var(--xai-border);
    border-radius: var(--radius-xl);
    padding: 60px;
}

.xai-statement-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.xai-statement-text p {
    font-size: 1.1rem;
    color: var(--xai-text-secondary);
    line-height: 1.7;
}

.xai-statement-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.xai-statement-card {
    background: var(--xai-bg);
    border: 1px solid var(--xai-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.xai-statement-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.xai-statement-card:hover {
    border-color: rgba(34, 197, 94, 0.4);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(34, 197, 94, 0.15);
}

.xai-statement-card:hover::before {
    opacity: 1;
}

.xai-statement-card:hover .xai-statement-icon {
    transform: scale(1.2) rotate(10deg);
    color: var(--xai-lime);
    filter: drop-shadow(0 0 12px rgba(34, 197, 94, 0.5));
}

.xai-statement-card:hover .xai-statement-num {
    color: var(--xai-lime);
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.xai-statement-icon {
    color: var(--xai-lime);
    margin-bottom: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.xai-statement-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--xai-text);
    letter-spacing: -0.02em;
    transition: all 0.4s ease;
}

.xai-statement-label {
    font-size: 0.85rem;
    color: var(--xai-text-muted);
}

@media (max-width: 768px) {
    .xai-statement {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        gap: 40px;
    }
    .xai-statement-visual {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════ */
/* FEATURES GRID */
/* ═══════════════════════════════════════════════════════════════ */

.xai-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.xai-feature {
    background: var(--xai-surface);
    border: 1px solid var(--xai-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.xai-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--xai-lime), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.xai-feature:hover {
    border-color: rgba(34, 197, 94, 0.3);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35), 0 0 40px rgba(34, 197, 94, 0.1);
}

.xai-feature:hover::before {
    opacity: 1;
}

.xai-feature:hover .xai-feature-icon {
    background: rgba(34, 197, 94, 0.2);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.xai-feature:hover h3 {
    color: var(--xai-lime);
}

.xai-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(34, 197, 94, 0.1);
    color: var(--xai-lime);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.xai-feature-icon i, .xai-feature-icon svg {
    width: 24px;
    height: 24px;
}

.xai-feature h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--xai-text);
}

.xai-feature p {
    font-size: 0.9rem;
    color: var(--xai-text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════ */
/* SECTION HEADERS */
/* ═══════════════════════════════════════════════════════════════ */

.xai-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.xai-header-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--xai-lime);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.xai-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.2;
}

.xai-header p {
    font-size: 1.1rem;
    color: var(--xai-text-secondary);
}

/* ═══════════════════════════════════════════════════════════════ */
/* TESTIMONIALS */
/* ═══════════════════════════════════════════════════════════════ */

.xai-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.xai-testimonial {
    background: var(--xai-surface);
    border: 1px solid var(--xai-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.xai-testimonial::after {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 4rem;
    font-family: var(--font-serif);
    color: rgba(34, 197, 94, 0.15);
    line-height: 1;
    transition: all 0.4s ease;
}

.xai-testimonial:hover {
    border-color: rgba(34, 197, 94, 0.25);
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(34, 197, 94, 0.08);
}

.xai-testimonial:hover::after {
    color: rgba(34, 197, 94, 0.3);
    transform: scale(1.1);
}

.xai-testimonial:hover .xai-testimonial-avatar {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

.xai-testimonial:hover .xai-testimonial-stars svg {
    animation: xaiStarPulse 0.4s ease forwards;
}

.xai-testimonial:hover .xai-testimonial-stars svg:nth-child(1) { animation-delay: 0s; }
.xai-testimonial:hover .xai-testimonial-stars svg:nth-child(2) { animation-delay: 0.05s; }
.xai-testimonial:hover .xai-testimonial-stars svg:nth-child(3) { animation-delay: 0.1s; }
.xai-testimonial:hover .xai-testimonial-stars svg:nth-child(4) { animation-delay: 0.15s; }
.xai-testimonial:hover .xai-testimonial-stars svg:nth-child(5) { animation-delay: 0.2s; }

.xai-testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: var(--xai-lime);
}

.xai-testimonial p {
    font-size: 1rem;
    color: var(--xai-text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.xai-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.xai-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--xai-green), var(--xai-lime));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.xai-testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.xai-testimonial-role {
    font-size: 0.8rem;
    color: var(--xai-text-muted);
}

/* ═══════════════════════════════════════════════════════════════ */
/* CTA SECTION */
/* ═══════════════════════════════════════════════════════════════ */

.xai-cta {
    background: linear-gradient(135deg, var(--xai-green) 0%, var(--xai-green-light) 100%);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.xai-cta:hover {
    transform: scale(1.01);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.xai-cta::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.xai-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.xai-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.xai-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════ */
/* FAQ */
/* ═══════════════════════════════════════════════════════════════ */

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

.xai-faq-item {
    border-bottom: 1px solid var(--xai-border);
    transition: all 0.3s ease;
}

.xai-faq-item:hover {
    background: rgba(34, 197, 94, 0.02);
    border-radius: 8px;
}

.xai-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--xai-text);
    transition: all 0.3s ease;
}

.xai-faq-question:hover {
    color: var(--xai-lime);
    padding-left: 16px;
}

.xai-faq-icon {
    width: 24px;
    height: 24px;
    color: var(--xai-text-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.xai-faq-item.open .xai-faq-icon {
    transform: rotate(45deg);
    color: var(--xai-lime);
}

.xai-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 8px;
}

.xai-faq-item.open .xai-faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.xai-faq-answer p {
    color: var(--xai-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    animation: xaiFadeIn 0.3s ease;
}

@keyframes xaiFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════ */
/* FOOTER */
/* ═══════════════════════════════════════════════════════════════ */

.xai-footer {
    background: #0A0F1A;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.xai-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.3), transparent);
}

.xai-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(34, 197, 94, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.xai-footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.xai-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.xai-footer-brand img {
    height: 40px;
    width: auto;
    border-radius: 10px;
}

.xai-footer-brand span {
    color: var(--xai-lime);
}

.xai-footer-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
    margin-bottom: 24px;
}

.xai-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.xai-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.xai-footer-contact-item:hover {
    color: var(--xai-lime);
}

.xai-footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--xai-lime);
    flex-shrink: 0;
}

.xai-footer h4 {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.xai-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.xai-footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.xai-footer-links a:hover {
    color: var(--xai-lime);
    transform: translateX(4px);
}

.xai-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    position: relative;
    z-index: 1;
}

.xai-footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.xai-footer-bottom a:hover {
    color: var(--xai-lime);
}

.xai-footer-credits {
    display: flex;
    align-items: center;
    gap: 8px;
}

.xai-footer-credits a {
    color: var(--xai-lime);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════ */
/* AUTH PAGES */
/* ═══════════════════════════════════════════════════════════════ */

.xai-auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.xai-auth-brand {
    background: linear-gradient(135deg, var(--xai-green) 0%, var(--xai-green-light) 100%);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.xai-auth-brand::before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.xai-auth-brand h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.xai-auth-brand p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 400px;
    position: relative;
    z-index: 1;
}

.xai-auth-form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: var(--xai-bg);
}

.xai-auth-card {
    width: 100%;
    max-width: 400px;
}

.xai-auth-card h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.xai-auth-card > p {
    color: var(--xai-text-secondary);
    margin-bottom: 32px;
}

.xai-form-group {
    margin-bottom: 20px;
}

.xai-form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--xai-text);
    margin-bottom: 8px;
}

.xai-form-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--xai-surface);
    border: 1px solid var(--xai-border);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: var(--font-display);
    color: var(--xai-text);
    transition: all 0.2s ease;
}

.xai-form-input:focus {
    outline: none;
    border-color: var(--xai-lime);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.xai-form-input::placeholder {
    color: var(--xai-text-muted);
}

.xai-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.xai-form-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--xai-text-secondary);
    cursor: pointer;
}

.xai-form-row a {
    color: var(--xai-lime);
    font-weight: 600;
}

.xai-form-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--xai-border);
    color: var(--xai-text-secondary);
    font-size: 0.9rem;
}

.xai-form-footer a {
    color: var(--xai-lime);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════ */
/* ANIMATED ICONS */
/* ═══════════════════════════════════════════════════════════════ */

.xai-icon-animated {
    display: inline-flex;
    transition: transform 0.3s ease;
}

.xai-icon-animated:hover {
    transform: scale(1.1);
}

/* Floating animation */
@keyframes xaiFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.xai-icon-float {
    animation: xaiFloat 3s ease-in-out infinite;
}

/* Pulse animation */
@keyframes xaiPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.xai-icon-pulse {
    animation: xaiPulse 2s ease-in-out infinite;
}

/* Star pulse animation for testimonials */
@keyframes xaiStarPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Glow pulse for cards */
@keyframes xaiGlowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(34, 197, 94, 0.1); }
    50% { box-shadow: 0 0 40px rgba(34, 197, 94, 0.25); }
}

/* Shimmer effect */
@keyframes xaiShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Scale bounce */
@keyframes xaiScaleBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Spin animation */
@keyframes xaiSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.xai-icon-spin:hover {
    animation: xaiSpin 1s linear infinite;
}

/* Staggered card entrance */
.xai-features .xai-feature:nth-child(1) { transition-delay: 0.05s; }
.xai-features .xai-feature:nth-child(2) { transition-delay: 0.1s; }
.xai-features .xai-feature:nth-child(3) { transition-delay: 0.15s; }
.xai-features .xai-feature:nth-child(4) { transition-delay: 0.2s; }
.xai-features .xai-feature:nth-child(5) { transition-delay: 0.25s; }
.xai-features .xai-feature:nth-child(6) { transition-delay: 0.3s; }

.xai-testimonials .xai-testimonial:nth-child(1) { transition-delay: 0.05s; }
.xai-testimonials .xai-testimonial:nth-child(2) { transition-delay: 0.1s; }
.xai-testimonials .xai-testimonial:nth-child(3) { transition-delay: 0.15s; }

/* Bounce-down arrow */
@keyframes xaiBounce {
    0%, 100% { transform: translateY(0) translateX(-50%); }
    50% { transform: translateY(10px) translateX(-50%); }
}

.xai-scroll-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--xai-text-muted);
    font-size: 0.75rem;
    animation: xaiBounce 2s ease-in-out infinite;
    z-index: 3;
}

/* ═══════════════════════════════════════════════════════════════ */
/* SCROLL REVEAL */
/* ═══════════════════════════════════════════════════════════════ */

.xai-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.xai-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════ */
/* NAV ACTIVE STATE */
/* ═══════════════════════════════════════════════════════════════ */

.xai-nav-links a.active {
    color: var(--xai-text);
    background: rgba(34, 197, 94, 0.12);
}

.xai-nav-ghost {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
}

.xai-nav-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.xai-nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 26px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0B1220;
    background: var(--xai-lime);
    border: none;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 16px rgba(34, 197, 94, 0.4);
}

.xai-nav-cta:hover {
    background: #E5FF6E;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(34, 197, 94, 0.5);
}

/* ═══════════════════════════════════════════════════════════════ */
/* RESPONSIVE */
/* ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .xai-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .xai-nav-links {
        display: none;
    }
    
    .xai-hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .xai-auth {
        grid-template-columns: 1fr;
    }
    
    .xai-auth-brand {
        display: none;
    }
    
    .xai-footer-inner {
        grid-template-columns: 1fr;
    }
    
    .xai-footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

