/* ===== AUTOMATA AI — Global Styles ===== */
/* Dark theme | #512FEB purple | #00D4FF accent | WCAG AA compliant */

:root {
    --purple: #512FEB;
    --purple-light: #7B5CF5;
    --purple-dark: #3D1FBF;
    --purple-glow: rgba(81, 47, 235, 0.3);
    --cyan: #00D4FF;
    --cyan-glow: rgba(0, 212, 255, 0.2);
    --bg-primary: #0A0A0F;
    --bg-secondary: #111118;
    --bg-card: #16161F;
    --bg-card-hover: #1C1C28;
    --border: #2A2A3A;
    --border-light: #3A3A4A;
    --text-primary: #F5F5F7;
    --text-secondary: #A0A0B8;
    --text-muted: #6B6B80;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --container: 1200px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover {
    color: var(--purple-light);
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
}
.logo-icon {
    color: var(--purple);
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}
.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    background: var(--purple) !important;
    color: white !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
    background: var(--purple-light) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--purple);
    color: white;
    box-shadow: 0 4px 20px var(--purple-glow);
}
.btn-primary:hover {
    background: var(--purple-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--purple-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-light);
    background: var(--bg-card);
}

.btn-outline {
    background: transparent;
    color: var(--purple-light);
    border: 1px solid var(--purple);
}
.btn-outline:hover {
    background: var(--purple);
    color: white;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(81, 47, 235, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 80% 20%, rgba(0, 212, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--purple-light) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Problem Section ===== */
.problem {
    background: var(--bg-secondary);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pain-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    transition: all var(--transition);
}
.pain-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.pain-icon {
    color: var(--purple-light);
    margin-bottom: 20px;
}

.pain-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.pain-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Differentiators ===== */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.diff-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    position: relative;
    transition: all var(--transition);
}
.diff-card:hover {
    border-color: var(--purple);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(81, 47, 235, 0.1);
}

.diff-number {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--purple-light);
    margin-bottom: 20px;
}

.diff-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.diff-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.diff-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(81, 47, 235, 0.1);
    border: 1px solid rgba(81, 47, 235, 0.2);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--purple-light);
}

/* ===== Services / Tier Grid ===== */
.services-overview {
    background: var(--bg-secondary);
}

.tier-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tier-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
}
.tier-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.tier-featured {
    border-color: var(--purple);
    background: linear-gradient(180deg, rgba(81, 47, 235, 0.08) 0%, var(--bg-card) 100%);
    position: relative;
}
.tier-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--purple), transparent);
}

.tier-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--purple-light);
    margin-bottom: 12px;
}

.tier-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.tier-price {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.tier-duration {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.tier-card > p:not(.tier-duration) {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tier-includes {
    list-style: none;
    margin-bottom: 28px;
    flex-grow: 1;
}
.tier-includes li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.tier-includes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--purple);
}

.tier-card .btn {
    width: 100%;
    margin-top: auto;
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.pricing-note p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== Industries ===== */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.industry-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    transition: all var(--transition);
}
.industry-card:hover {
    border-color: var(--purple);
    transform: translateY(-4px);
}

.industry-icon {
    color: var(--cyan);
    margin-bottom: 16px;
}

.industry-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.industry-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== Social Proof ===== */
.social-proof {
    background: var(--bg-secondary);
}

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

.proof-quote blockquote {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
}

.proof-attribution {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.proof-metrics {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.metric-value {
    display: block;
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--purple-light);
}

.metric-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ===== CTA Band ===== */
.cta-band {
    background: linear-gradient(135deg, rgba(81, 47, 235, 0.12) 0%, rgba(0, 212, 255, 0.06) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
    padding: 60px 0 40px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer-links a:hover {
    color: var(--text-primary);
}

.footer-location {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}
.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .tier-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .industry-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-toggle {
        display: flex;
    }
    .nav-cta {
        text-align: center;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    .hero-stats {
        gap: 24px;
    }
    .stat-divider {
        display: none;
    }

    .pain-grid,
    .diff-grid {
        grid-template-columns: 1fr;
    }

    .tier-grid {
        grid-template-columns: 1fr;
    }

    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proof-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .industry-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2rem;
    }
}
