/* ===========================
   AlyxIA Solutions — Stylesheet
   Design: White, aurora gradients, ElevenLabs-inspired
   =========================== */

:root {
    --white: #ffffff;
    --bg-soft: #fafafa;
    --text-primary: #0F172A;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --purple: #a855f7;
    --blue: #3b82f6;
    --cyan: #06b6d4;
    --purple-light: rgba(168, 85, 247, 0.08);
    --purple-border: rgba(168, 85, 247, 0.15);
    --gradient: linear-gradient(135deg, var(--purple), var(--blue));
    --gradient-aurora: linear-gradient(135deg, var(--purple), var(--blue), var(--cyan));
    --gradient-bg: linear-gradient(180deg, #f5f0ff 0%, #eef6ff 30%, #f0fdff 60%, var(--white) 100%);
    --gradient-cta: linear-gradient(135deg, #f5f0ff, #eef6ff, #f0fdff);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 14px;
    --max-width: 1100px;
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-primary);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
    display: block;
}

/* ===========================
   Navigation
   =========================== */

.nav {
    padding: 14px 32px;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.nav-logo-sep {
    color: #cbd5e1;
    font-weight: 400;
}

.nav-logo-sub {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--purple);
}

.btn-nav {
    font-size: 13px !important;
    color: var(--white) !important;
    background: var(--gradient);
    padding: 8px 20px;
    border-radius: 8px;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.btn-nav:hover {
    opacity: 0.9;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text-primary);
    cursor: pointer;
}

/* ===========================
   Separators & Dots
   =========================== */

.sep {
    position: relative;
    height: 0;
    border: none;
    border-top: 0.5px solid var(--border);
    max-width: var(--max-width);
    margin: 0 auto;
}

.dot {
    position: absolute;
    top: -1.5px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-primary);
    transform: translateX(-50%);
}

.dot-center {
    left: 50%;
}

/* ===========================
   Buttons
   =========================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--white);
    background: var(--gradient);
    padding: 12px 28px;
    border-radius: var(--radius);
    white-space: nowrap;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--white);
    border: 1px solid var(--border);
    padding: 12px 28px;
    border-radius: var(--radius);
    white-space: nowrap;
    transition: border-color 0.2s;
}

.btn-secondary:hover {
    border-color: var(--purple);
    color: var(--purple);
}

/* ===========================
   Hero
   =========================== */

.hero {
    text-align: center;
    padding: 64px 32px 56px;
    background: var(--gradient-bg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1), transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08), transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #7c3aed;
    background: var(--purple-light);
    border: 0.5px solid var(--purple-border);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.badge i {
    font-size: 14px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero h1 em {
    font-style: normal;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
}

.hero-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
}

/* ===========================
   Chat Demo
   =========================== */

.chat-demo {
    margin: 40px auto 0;
    max-width: 460px;
    background: var(--white);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.chat-head {
    padding: 12px 18px;
    border-bottom: 0.5px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gradient);
}

.chat-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.chat-status {
    font-size: 12px;
    color: var(--cyan);
    margin-left: auto;
    white-space: nowrap;
}

.chat-status i {
    font-size: 6px;
    vertical-align: 2px;
    margin-right: 3px;
}

.chat-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.msg {
    max-width: 85%;
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
}

.msg-ai {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(59, 130, 246, 0.05));
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    border: 0.5px solid rgba(168, 85, 247, 0.08);
}

.msg-user {
    background: #f8fafc;
    color: var(--text-primary);
    border-bottom-right-radius: 4px;
    align-self: flex-end;
    border: 0.5px solid var(--border);
}

.chat-input {
    border-top: 0.5px solid var(--border-light);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-input span {
    font-size: 13px;
    color: var(--text-muted);
    flex: 1;
}

.chat-input i {
    font-size: 16px;
    color: var(--purple);
}

/* ===========================
   Features 2-col
   =========================== */

.feat-2 {
    display: flex;
    max-width: var(--max-width);
    margin: 0 auto;
}

.feat-card {
    flex: 1;
    padding: 40px 32px;
}

.feat-divider {
    width: 0;
    border-left: 0.5px solid var(--border);
}

.feat-visual {
    height: 140px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    overflow: hidden;
    border: 0.5px solid var(--border);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.06), rgba(59, 130, 246, 0.06), rgba(6, 182, 212, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
}

.feat-visual i {
    font-size: 40px;
    color: var(--purple);
    opacity: 0.35;
}

.feat-card h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.feat-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===========================
   Features 3-col
   =========================== */

.feat-3 {
    display: flex;
    max-width: var(--max-width);
    margin: 0 auto;
}

.feat-sm {
    flex: 1;
    padding: 28px 24px;
}

.feat-sm > i {
    font-size: 22px;
    color: var(--text-primary);
    display: block;
    margin-bottom: 12px;
}

.feat-sm h3 {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feat-sm p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===========================
   Big Number
   =========================== */

.big-number {
    padding: 72px 32px;
    text-align: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.big-num {
    font-size: 80px;
    font-weight: 600;
    letter-spacing: -3px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(59, 130, 246, 0.14), rgba(6, 182, 212, 0.10));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.big-number h2 {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.big-number p {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===========================
   How it Works
   =========================== */

.hiw {
    padding: 56px 32px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.hiw > h2 {
    font-size: 28px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 6px;
}

.hiw-sub {
    font-size: 15px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
}

.step {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-bottom: 32px;
}

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

.step-text {
    flex: 1;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.step-text h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.step-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-img {
    flex: 1;
    height: 120px;
    border-radius: var(--radius-lg);
    border: 0.5px solid var(--border);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.03), rgba(59, 130, 246, 0.03), rgba(6, 182, 212, 0.03));
}

/* ===========================
   CTA Band
   =========================== */

.cta-band {
    text-align: center;
    padding: 56px 32px;
    background: var(--gradient-cta);
}

.cta-band h2 {
    font-size: 26px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.cta-band p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ===========================
   Footer
   =========================== */

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-logo {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 1.5px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--purple);
}

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 768px) {
    .nav {
        padding: 12px 20px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        border-bottom: 0.5px solid var(--border);
        gap: 16px;
    }

    .nav-links.open {
        display: flex;
    }

    .hero {
        padding: 40px 20px 36px;
    }

    .hero h1 {
        font-size: 28px;
        letter-spacing: -0.5px;
    }

    .hero-sub {
        font-size: 14px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .chat-demo {
        margin-top: 28px;
    }

    .feat-2 {
        flex-direction: column;
    }

    .feat-2 .feat-divider {
        width: 100%;
        height: 0;
        border-left: none;
        border-top: 0.5px solid var(--border);
    }

    .feat-card {
        padding: 28px 20px;
    }

    .feat-3 {
        flex-direction: column;
    }

    .feat-3 .feat-divider {
        width: 100%;
        height: 0;
        border-left: none;
        border-top: 0.5px solid var(--border);
    }

    .feat-sm {
        padding: 20px;
    }

    .big-number {
        padding: 48px 20px;
    }

    .big-num {
        font-size: 48px;
    }

    .hiw {
        padding: 40px 20px;
    }

    .step,
    .step-reverse {
        flex-direction: column;
    }

    .step-img {
        width: 100%;
        height: 100px;
    }

    .cta-band {
        padding: 40px 20px;
    }

    .cta-band h2 {
        font-size: 22px;
    }

    .footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 20px;
    }

    .sep {
        margin: 0 20px;
    }
}
