/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy: #0f172a;
    --indigo: #6366f1;
    --coral: #f43f5e;
    --primary: #f43f5e;
    --primary-dark: #e11d48;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --border: #e5e7eb;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

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

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 16px 0;
}

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

.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-link.logo-text { font-size: 22px; font-weight: 700; color: var(--primary); }
.logo-link.logo-text:hover { color: var(--primary-dark); }
.nav-logo { height: 44px; width: auto; display: block; }

.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta-mobile { display: none; }
.nav-cta-desktop { display: inline-block; }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid transparent;
    cursor: pointer;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 12px var(--shadow); }
.btn-secondary { background: var(--primary); color: white !important; border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary-dark); color: white !important; transform: translateY(-2px); }

/* Hero */
.hero {
    padding: 120px 0 80px;
    background: var(--primary);
    color: white;
}
.hero-title { font-size: 64px; font-weight: 800; line-height: 1.1; margin-bottom: 24px; }
.hero-subtitle { font-size: 24px; margin-bottom: 40px; opacity: 0.95; max-width: 700px; }
.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255,255,255,0.25);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.hero-badge-text {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 16px;
}
.hero-demo-placeholder {
    margin-top: 24px;
    max-width: 560px;
}
.hero-demo-label {
    display: block;
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
}
.hero-demo-box {
    aspect-ratio: 16/10;
    background: rgba(255,255,255,0.15);
    border: 2px dashed rgba(255,255,255,0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

/* How It Works */
.how-it-works { padding: 100px 0; }
.section-title { font-size: 48px; font-weight: 800; text-align: center; margin-bottom: 60px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.step { text-align: center; padding: 40px 24px; }
.step-number {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 24px;
}
.step h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.step p { color: var(--text-light); line-height: 1.6; }

/* Features */
.features-section { padding: 100px 0; background: var(--bg-alt); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.feature-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    text-align: center;
}
.feature-card .feature-icon { font-size: 48px; margin-bottom: 16px; }
.feature-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.feature-card p { color: var(--text-light); line-height: 1.6; }

/* Use Cases */
.use-cases-section { padding: 100px 0; }
.use-cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.use-case {
    text-align: center;
    padding: 40px 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
}
.use-case h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.use-case p { color: var(--text-light); line-height: 1.6; }

/* Pricing */
.pricing-section { padding: 100px 0; background: var(--bg-alt); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; max-width: 1100px; margin: 0 auto; }
.pricing-grid-three { grid-template-columns: repeat(3, 1fr); max-width: 1100px; margin: 0 auto; }
.pricing-section .container { width: 100%; }
.pricing-section .section-title { text-align: center; }
.pricing-section .section-subtitle { text-align: center; }
.pricing-section .pricing-grid-three { width: 100%; }
/* BYOK: full-width horizontal card below the three tiers */
.pricing-byok-row { width: 100%; max-width: 1100px; margin: 32px auto 0; }
.pricing-card-byok-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 28px 40px;
    text-align: left;
    flex-wrap: wrap;
}
.pricing-card-byok-horizontal .byok-left { min-width: 180px; }
.pricing-card-byok-horizontal .byok-left .price { font-size: 36px; margin-bottom: 4px; }
.pricing-card-byok-horizontal .byok-left .price-note { margin-bottom: 0; font-size: 14px; }
.pricing-card-byok-horizontal .byok-features {
    flex: 1;
    min-width: 200px;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
}
.pricing-card-byok-horizontal .byok-features li { border-bottom: none; padding: 4px 0; }
.pricing-card-byok-horizontal .byok-cta { flex-shrink: 0; }
@media (max-width: 768px) {
    .pricing-card-byok-horizontal { flex-direction: column; text-align: center; }
    .pricing-card-byok-horizontal .byok-features { justify-content: center; }
}
.pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    position: relative;
}
.pricing-card.featured { border-color: var(--primary); box-shadow: 0 8px 24px var(--shadow-lg); }
.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.pricing-card h3 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.price { font-size: 48px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.price span { font-size: 24px; font-weight: 400; color: var(--text-light); }
.price-note { color: var(--text-light); margin-bottom: 32px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 32px; }
.pricing-features li { padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--text); }
.pricing-features li:last-child { border-bottom: none; }

/* CTA */
.cta-section { padding: 100px 0; background: var(--primary); color: white; }
.cta-content h2 { font-size: 48px; font-weight: 800; margin-bottom: 16px; }
.cta-content p { font-size: 20px; margin-bottom: 40px; opacity: 0.95; }

/* Footer */
.footer {
    background: var(--text);
    color: white;
    padding: 60px 0 24px;
}
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-section h4 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.footer-section p { opacity: 0.8; line-height: 1.6; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 12px; }
.footer-section ul li a { color: white; text-decoration: none; opacity: 0.8; transition: opacity 0.2s; }
.footer-section ul li a:hover { opacity: 1; }
.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.9;
}
.footer-bottom a { color: white; text-decoration: underline; }
.footer-bottom a:hover { opacity: 0.9; }

/* Sticky CTA on mobile */
.sticky-cta-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 20px;
    background: var(--primary);
    color: white !important;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 -4px 12px var(--shadow);
}
@media (max-width: 768px) {
    .sticky-cta-mobile { display: block; }
    body { padding-bottom: 56px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 40px; }
    .hero-subtitle { font-size: 18px; }
    .section-title { font-size: 36px; }
    .nav-links { gap: 16px; font-size: 14px; }
    .nav-cta-desktop { display: none; }
    .nav-cta-mobile { display: inline-block; }
    .pricing-grid-three { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
}
