*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1a1a2e;
    background: #f8fafc;
    line-height: 1.6;
    padding-top: 64px;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Nav --- */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
}
nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
nav .logo { font-weight: 800; font-size: 1.3rem; color: #0f766e; letter-spacing: -.02em; }
nav .logo span { color: #14b8a6; }
nav a { text-decoration: none; color: inherit; }
nav .nav-links { display: flex; gap: 32px; align-items: center; }
nav .nav-links a { font-size: .9rem; font-weight: 500; color: #475569; transition: color .2s; }
nav .nav-links a:hover { color: #0f766e; }
.nav-toggle { display: none; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 24px; border-radius: 8px; font-weight: 600;
    font-size: .9rem; border: none; cursor: pointer; text-decoration: none;
    transition: all .2s;
}
.btn-primary { background: #0f766e; color: #fff; }
.btn-primary:hover { background: #115e59; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15,118,110,.3); }
.btn-outline { background: transparent; color: #0f766e; border: 2px solid #0f766e; }
.btn-outline:hover { background: #f0fdfa; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* --- Hero --- */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 40%, #f8fafc 100%);
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero h1 {
    font-size: clamp(1.6rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.03em;
    color: #0f172a;
}
.hero h1 span { color: #0f766e; }
.hero p {
    font-size: 1.1rem; color: #475569; margin-top: 20px;
    max-width: 520px;
}
.hero .ctas { display: flex; gap: 16px; margin-top: 32px; }
.hero .stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px;
}
.hero .stat { text-align: center; }
.hero .stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: #0f766e; }
.hero .stat span { font-size: .85rem; color: #64748b; }
.hero-visual {
    background: #fff; border-radius: 20px; padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,.08);
    position: relative;
}
.hero-visual .mock-dashboard {
    display: grid; grid-template-columns: 1fr; gap: 16px;
}
.hero-visual .mock-card {
    background: #f8fafc; border-radius: 12px; padding: 16px;
    border: 1px solid #e2e8f0;
}
.hero-visual .mock-card .label { font-size: .75rem; color: #94a3b8; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.hero-visual .mock-card .value { font-size: 1.5rem; font-weight: 700; color: #0f172a; margin-top: 4px; }
.hero-visual .mock-card .sub { font-size: .8rem; color: #64748b; margin-top: 2px; }
.hero-visual .mock-chart {
    margin-top: 16px; height: 80px;
    background: linear-gradient(90deg, #14b8a6 0%, #0f766e 100%);
    border-radius: 8px; opacity: .15;
}
.hero-visual .pill {
    display: inline-block; padding: 4px 12px; border-radius: 20px;
    font-size: .75rem; font-weight: 600; background: #f0fdfa; color: #0f766e;
    margin-top: 12px;
}
.hero-visual img { max-width: 100%; height: auto; display: block; }
.hero .pill {
    display: inline-block; padding: 6px 16px; border-radius: 20px;
    font-size: .85rem; font-weight: 600; background: #f0fdfa; color: #0f766e;
    margin-top: 20px;
}

/* --- Sections --- */
section { padding: 100px 0; }
section h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700; text-align: center;
    margin-bottom: 16px; color: #0f172a;
}
section .subtitle {
    text-align: center; color: #64748b;
    max-width: 600px; margin: 0 auto 60px; font-size: 1.05rem;
}

/* --- Features --- */
.features { background: #fff; }
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}
.feature-card {
    padding: 32px; border-radius: 16px;
    border: 1px solid #e2e8f0; transition: all .25s;
}
.feature-card:hover { border-color: #14b8a6; box-shadow: 0 8px 24px rgba(15,118,110,.08); transform: translateY(-2px); }
.feature-card .icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: .9rem; color: #64748b; line-height: 1.7; }

/* --- How it Works --- */
.how-it-works { background: #f8fafc; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step {
    text-align: center; padding: 32px 20px;
}
.step .number {
    width: 48px; height: 48px; border-radius: 50%;
    background: #0f766e; color: #fff; font-weight: 700; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: .88rem; color: #64748b; }

/* --- Pricing --- */
.pricing { background: #fff; }
.pricing-slider-wrap {
    max-width: 600px; margin: 0 auto 40px;
    text-align: center;
}
.pricing-slider-wrap input[type=range] {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 6px; border-radius: 3px;
    background: linear-gradient(90deg, #14b8a6 0%, #0f766e 50%, #0d9488 100%);
    outline: none;
}
.pricing-slider-wrap input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 28px; height: 28px; border-radius: 50%;
    background: #fff; border: 3px solid #0f766e;
    cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15);
    transition: .15s;
}
.pricing-slider-wrap input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.pricing-slider-wrap input[type=range]::-moz-range-thumb {
    width: 28px; height: 28px; border-radius: 50%;
    background: #fff; border: 3px solid #0f766e;
    cursor: pointer;
}
.slider-marks {
    display: flex; justify-content: space-between;
    margin-top: 8px; padding: 0 10px;
}
.slider-mark {
    font-size: .8rem; color: #94a3b8; font-weight: 500;
    transition: color .2s;
}
.slider-mark.active { color: #0f766e; font-weight: 700; }
.currency-toggle {
    display: inline-flex; border-radius: 10px; overflow: hidden;
    border: 1px solid #e2e8f0; background: #fff;
}
.currency-btn {
    padding: 10px 20px; border: none; cursor: pointer;
    font-size: .85rem; font-weight: 600; font-family: inherit;
    background: #fff; color: #64748b; transition: all .2s;
}
.currency-btn:not(:last-child) { border-right: 1px solid #e2e8f0; }
.currency-btn:hover { background: #f8fafc; color: #0f766e; }
.currency-btn.active { background: #0f766e; color: #fff; }
.pricing-display {
    text-align: center; padding: 32px;
    background: linear-gradient(135deg, #f0fdfa, #ecfdf5);
    border-radius: 20px; border: 1px solid #a7f3d0;
    max-width: 400px; margin: 0 auto;
}
.pricing-display .tier-label { font-size: .85rem; color: #64748b; font-weight: 500; }
.pricing-display .price { font-size: 3rem; font-weight: 800; color: #0f172a; margin: 8px 0; }
.pricing-display .price span { font-size: 1.2rem; color: #64748b; font-weight: 500; }
.pricing-display .subscribers { font-size: .9rem; color: #0f766e; font-weight: 600; }
.pricing-display .perks { margin-top: 20px; list-style: none; text-align: left; }
.pricing-display .perks li {
    padding: 6px 0; font-size: .9rem; color: #475569;
    display: flex; align-items: center; gap: 8px;
}
.pricing-display .perks li::before { content: "\2713"; color: #0f766e; font-weight: 700; }
.pricing-tiers { display: flex; gap: 24px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pricing-tier {
    flex: 1; min-width: 240px; max-width: 320px;
    padding: 32px 24px; border-radius: 16px;
    border: 1px solid #e2e8f0; text-align: center;
    transition: all .25s;
    display: flex; flex-direction: column;
}
.pricing-tier:hover { border-color: #14b8a6; }
.pricing-tier.popular {
    border-color: #0f766e; background: #f0fdfa;
    position: relative; box-shadow: 0 8px 24px rgba(15,118,110,.12);
}
.pricing-tier.popular::before {
    content: "Most Popular"; position: absolute; top: -12px; left: 50%;
    transform: translateX(-50%);
    background: #0f766e; color: #fff; padding: 4px 16px;
    border-radius: 20px; font-size: .75rem; font-weight: 600;
}
.pricing-tier .tier-name { font-size: 1rem; font-weight: 600; color: #0f172a; }
.pricing-tier .tier-price { font-size: 2.2rem; font-weight: 800; color: #0f172a; margin: 12px 0 4px; }
.pricing-tier .tier-price span { font-size: 1rem; color: #64748b; font-weight: 500; }
.pricing-tier .tier-range { font-size: .85rem; color: #64748b; margin-bottom: 20px; }
.pricing-tier ul { list-style: none; text-align: left; margin-bottom: 24px; flex: 1 0 auto; }
.pricing-tier ul li { padding: 5px 0; font-size: .85rem; color: #475569; display: flex; align-items: center; gap: 8px; }
.pricing-tier ul li::before { content: "\2713"; color: #0f766e; font-weight: 700; }

/* --- Contact Form --- */
.contact-form-wrap { max-width: 600px; margin: 0 auto; padding: 0 24px; }
.contact-form-title {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 700; color: #0f172a; margin-bottom: 20px;
    text-align: center;
}
.form-field { margin-bottom: 20px; }
.form-field label {
    display: block; font-size: .88rem; font-weight: 600;
    color: #1a1a2e; margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
    width: 100%; padding: 12px 14px;
    font-family: inherit; font-size: .95rem;
    border: 1px solid #d1d5db; border-radius: 8px;
    background: #fff; color: #1a1a2e;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}
.form-field input:focus,
.form-field textarea:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20,184,166,.15);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.contact-form .btn-primary { width: 100%; justify-content: center; }
.form-field.has-error input,
.form-field.has-error textarea { border-color: #f87171; }
.form-field.has-error input:focus,
.form-field.has-error textarea:focus { box-shadow: 0 0 0 3px rgba(248,113,113,.2); border-color: #ef4444; }
.field-error { display: block; font-size: 0.8rem; color: #dc2626; margin-top: 4px; }
.flash-contact {
    padding: 12px 16px; border-radius: 8px; font-size: 0.9rem;
    margin-bottom: 16px; text-align: center;
}
.flash-contact-success { background: #f0fdfa; border: 1px solid #a7f3d0; color: #065f46; }
.flash-contact-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.pow-progress { text-align: center; padding: 0.5rem 0; }
.pow-progress-bar {
    height: 6px; background: #e2e8f0; border-radius: 3px;
    overflow: hidden; margin-bottom: 8px; position: relative;
}
.pow-progress-bar::after {
    content: ''; display: block; height: 100%; width: 30%;
    background: linear-gradient(90deg, #14b8a6, #0f766e);
    border-radius: 3px; position: absolute;
    animation: pow-indeterminate 1.5s ease-in-out infinite;
}
@keyframes pow-indeterminate {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(430%); }
}
.pow-progress-text { font-size: 0.85rem; color: #64748b; }
.contact-success {
    padding: 24px; border-radius: 12px;
    background: #f0fdfa; border: 1px solid #a7f3d0;
    color: #065f46; font-size: .95rem; text-align: center;
}

/* --- CTA --- */
.cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #134e4a 100%);
    color: #fff; text-align: center;
}
.cta-section h2 { color: #fff; }
.cta-section p { color: #94a3b8; max-width: 500px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-section .btn-primary { background: #14b8a6; color: #fff; }
.cta-section .btn-primary:hover { background: #0d9488; box-shadow: 0 4px 16px rgba(20,184,166,.4); }

/* --- Footer --- */
footer { padding: 48px 0; text-align: center; color: #94a3b8; font-size: .85rem; border-top: 1px solid #e2e8f0; }
.render-time { font-size:0.75rem; color:#94a3b8; }

@media (max-width: 768px) {
    nav .container { position: relative; }
    .nav-toggle {
        display: flex; flex-direction: column; gap: 5px;
        background: none; border: none; cursor: pointer;
        padding: 4px; z-index: 101;
    }
    .nav-toggle span {
        display: block; width: 24px; height: 2px;
        background: #475569; border-radius: 2px;
        transition: transform .2s, opacity .2s;
    }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    nav .nav-links {
        display: none; flex-direction: column;
        position: absolute; top: 64px; left: 0; right: 0;
        background: #fff; padding: 8px 0;
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 4px 16px rgba(0,0,0,.08);
        gap: 0;
    }
    nav .nav-links a {
        padding: 14px 24px; font-size: 1rem;
        border-left: 3px solid transparent;
        transition: background .15s, border-color .15s, color .15s;
    }
    nav .nav-links a:hover,
    nav .nav-links a:active {
        background: #f0fdfa;
        border-left-color: #0f766e;
        color: #0f766e;
    }
    nav .nav-links.open { display: flex; }
    .hero .container { grid-template-columns: 1fr; }
    .hero h1 { font-size: clamp(1.4rem, 6vw, 2rem); overflow-wrap: break-word; hyphens: auto; }
    .hero p { font-size: 0.9rem; line-height: 1.5; overflow-wrap: break-word; }
    .hero .ctas { flex-wrap: wrap; }
    .hero .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .hero .stat strong { font-size: 1.2rem; }
    .hero-visual { padding: 20px; max-width: 100%; overflow: hidden; }
    .hero-visual .mock-dashboard { grid-template-columns: 1fr; }
    .hero-visual .mock-chart { height: 40px; }
    .pricing-tiers { flex-direction: column; align-items: center; }
}
