/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a2e;
    line-height: 1.6;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === Layout === */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-dark { background: #f8f9fc; }
.section-light { background: #f0f4f8; }
.section-blue { background: linear-gradient(135deg, #1a3a5c 0%, #0d2137 100%); color: #fff; }
.section-cta { background: linear-gradient(135deg, #1a3a5c 0%, #0f2a45 100%); color: #fff; }

/* === Typography === */
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 700; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-header p { margin-top: 16px; font-size: 1.125rem; color: #5a6578; }
.section-header.light p { color: rgba(255,255,255,0.7); }
.highlight { color: #e8722a; }

/* === Buttons === */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 600; border-radius: 8px; cursor: pointer;
    transition: all 0.2s ease; border: 2px solid transparent;
    font-size: 0.95rem; padding: 10px 24px; font-family: inherit;
}
.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: #e8722a; color: #fff; border-color: #e8722a; }
.btn-primary:hover { background: #d4631f; border-color: #d4631f; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,114,42,0.3); }
.btn-outline { border-color: #d0d5dd; color: #1a1a2e; background: #fff; }
.btn-outline:hover { border-color: #1a3a5c; color: #1a3a5c; }
.section-blue .btn-outline, .section-cta .btn-outline { border-color: rgba(255,255,255,0.3); color: #fff; background: transparent; }
.section-blue .btn-outline:hover, .section-cta .btn-outline:hover { border-color: #fff; }

/* === Nav === */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 16px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 1.4rem; font-weight: 900; color: #1a3a5c; }
.logo span { color: #e8722a; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: #5a6578; transition: color 0.2s; }
.nav-links a:hover { color: #1a3a5c; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; position: relative; }
.mobile-toggle span { display: block; width: 100%; height: 2px; background: #1a1a2e; position: absolute; left: 0; transition: 0.3s; }
.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 9px; }
.mobile-toggle span:nth-child(3) { top: 18px; }

/* === Hero === */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, #f0f6ff 0%, #fff 100%);
    text-align: center;
}
.hero-content { max-width: 780px; margin: 0 auto; }
.badge {
    display: inline-block; padding: 8px 20px; border-radius: 100px;
    background: rgba(232,114,42,0.1); color: #e8722a;
    font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
}
.hero-sub { font-size: 1.2rem; color: #5a6578; margin: 24px 0 36px; max-width: 620px; margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 0.85rem; color: #8a94a6; }

/* === Proof Bar === */
.proof-bar { padding: 40px 0; background: #fff; border-bottom: 1px solid #eef0f4; }
.proof-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.proof-item strong { display: block; font-size: 1.8rem; font-weight: 800; color: #1a3a5c; }
.proof-item span { font-size: 0.85rem; color: #8a94a6; font-weight: 500; }

/* === Steps === */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step {
    text-align: center; padding: 40px 28px;
    background: #fff; border-radius: 16px;
    border: 1px solid #eef0f4;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.step-num {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
    width: 32px; height: 32px; border-radius: 50%;
    background: #e8722a; color: #fff; font-weight: 700; font-size: 0.85rem;
    display: flex; align-items: center; justify-content: center;
}
.step-icon { font-size: 2.5rem; margin-bottom: 16px; }
.step h3 { margin-bottom: 12px; }
.step p { font-size: 0.95rem; color: #5a6578; }

/* === Before / After === */
.before-after { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: start; }
.ba-arrow { font-size: 2rem; color: #e8722a; font-weight: 800; align-self: center; padding-top: 60px; }
.ba-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.ba-label { padding: 16px 24px; font-weight: 700; font-size: 0.95rem; background: #f8f9fc; }
.ba-before .ba-label { color: #c0392b; }
.ba-after .ba-label { color: #27ae60; }
.ba-preview { height: 300px; overflow: hidden; position: relative; background: #e8ecf1; }
.ba-preview iframe { width: 200%; height: 200%; border: none; transform: scale(0.5); transform-origin: top left; pointer-events: none; }
.ba-list { padding: 20px 24px; }
.ba-list li { padding: 6px 0; font-size: 0.9rem; color: #5a6578; }
.ba-cta { text-align: center; margin-top: 48px; }

/* Old site placeholder */
.ba-oldsite { padding: 24px; }
.old-header { width: 60%; height: 24px; background: #c8cdd5; border-radius: 4px; margin-bottom: 20px; }
.old-text { width: 100%; height: 12px; background: #d5dae2; border-radius: 3px; margin-bottom: 10px; }
.old-text.short { width: 40%; }
.old-text.medium { width: 70%; }
.old-block { width: 100%; height: 80px; background: #d0d5dd; border-radius: 6px; margin: 16px 0; }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price-card {
    background: #fff; border-radius: 16px; padding: 40px 32px;
    border: 2px solid #eef0f4; text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.price-card.featured { border-color: #e8722a; transform: scale(1.03); }
.price-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.price-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: #e8722a; color: #fff; font-size: 0.8rem; font-weight: 700;
    padding: 6px 20px; border-radius: 100px;
}
.price-tier { font-size: 1.1rem; font-weight: 700; color: #1a3a5c; margin-bottom: 4px; }
.price-desc { font-size: 0.85rem; color: #8a94a6; margin-bottom: 20px; }
.price-amount { font-size: 3rem; font-weight: 900; color: #1a1a2e; line-height: 1; }
.dollar { font-size: 1.5rem; vertical-align: super; }
.once { font-size: 1rem; font-weight: 500; color: #8a94a6; }
.price-monthly { font-size: 1rem; color: #e8722a; font-weight: 600; margin: 8px 0 24px; }
.price-features { text-align: left; margin-bottom: 28px; }
.price-features li { padding: 8px 0; font-size: 0.9rem; color: #5a6578; border-bottom: 1px solid #f4f5f7; }
.price-features li:last-child { border: none; }

/* === Why Us === */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px; padding: 32px 24px; text-align: center;
    transition: background 0.2s;
}
.why-card:hover { background: rgba(255,255,255,0.14); }
.why-icon { font-size: 2rem; margin-bottom: 16px; }
.why-card h3 { margin-bottom: 10px; }
.why-card p { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* === Testimonials === */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
    background: #f8f9fc; border-radius: 16px; padding: 32px;
    border: 1px solid #eef0f4;
}
.stars { color: #f5a623; font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial p { font-size: 1rem; color: #3a4256; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.8rem; color: #8a94a6; }

/* === FAQ === */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e0e4ea; }
.faq-q {
    width: 100%; text-align: left; padding: 20px 0; background: none; border: none;
    font-size: 1.05rem; font-weight: 600; color: #1a1a2e; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-family: inherit;
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: #8a94a6; transition: transform 0.2s; font-weight: 400; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 0 20px; font-size: 0.95rem; color: #5a6578; line-height: 1.7; }

/* === Contact Form === */
.cta-content { max-width: 640px; margin: 0 auto; text-align: center; }
.cta-content h2 { margin-bottom: 16px; }
.cta-content > p { color: rgba(255,255,255,0.7); margin-bottom: 36px; font-size: 1.1rem; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 14px 18px; border: 2px solid rgba(255,255,255,0.15);
    border-radius: 10px; background: rgba(255,255,255,0.08); color: #fff;
    font-size: 0.95rem; font-family: inherit; transition: border-color 0.2s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #e8722a; }
.form-note { margin-top: 20px; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.form-note a { color: #e8722a; text-decoration: underline; }

/* === Footer === */
.footer { background: #0a1628; color: rgba(255,255,255,0.6); padding: 64px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 12px; display: inline-block; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-links h4 { color: #fff; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-links a { display: block; font-size: 0.9rem; padding: 4px 0; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-links p { font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; font-size: 0.8rem; }

/* === Mock Browser === */
.ba-mock-browser { border-radius: 8px; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.mock-browser-bar { background: #e8ecf1; padding: 10px 14px; display: flex; align-items: center; gap: 8px; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #c8cdd5; display: inline-block; }
.mock-url { font-size: 0.7rem; color: #8a94a6; background: #fff; padding: 4px 12px; border-radius: 4px; flex: 1; margin-left: 8px; }
.mock-browser-body { flex: 1; padding: 20px; overflow: hidden; }
.mock-google { background: #fff; text-align: center; }
.mock-google-logo { font-size: 2rem; font-weight: 700; color: #4285F4; margin-bottom: 20px; }
.mock-search-result { text-align: left; padding: 12px; border: 1px solid #eee; border-radius: 8px; margin-bottom: 12px; }
.mock-result-url { font-size: 0.7rem; color: #5a6578; }
.mock-result-title { font-size: 1rem; color: #1a0dab; font-weight: 500; margin: 4px 0; }
.mock-result-desc { font-size: 0.8rem; color: #5a6578; }
.mock-no-site-box { background: #fff3e0; color: #e65100; font-size: 0.8rem; padding: 10px 14px; border-radius: 6px; font-weight: 600; }
.mock-newsite { background: linear-gradient(135deg, #1a3a5c 0%, #0d2137 100%); padding: 0; }
.mock-site-hero { padding: 20px; text-align: center; color: #fff; }
.mock-site-nav { font-size: 0.8rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.mock-site-hero h4 { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.mock-site-hero p { font-size: 0.75rem; color: rgba(255,255,255,0.7); margin-bottom: 12px; }
.mock-site-btn { display: inline-block; background: #e8722a; color: #fff; font-size: 0.75rem; font-weight: 700; padding: 8px 20px; border-radius: 6px; }
.mock-site-features { display: flex; justify-content: center; gap: 16px; padding: 12px; background: rgba(255,255,255,0.06); }
.mock-site-features span { font-size: 0.65rem; color: rgba(255,255,255,0.8); }

/* === Two-column pricing === */
.pricing-two { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
.price-note { font-size: 0.8rem; color: #8a94a6; margin-top: 12px; }

/* === Early Access === */
.early-access-box { max-width: 680px; margin: 0 auto; background: linear-gradient(135deg, #fff8f0 0%, #fff 100%); border: 2px solid #e8722a; border-radius: 20px; padding: 48px 40px; text-align: center; }
.early-access-content h3 { font-size: 1.4rem; color: #1a1a2e; margin-bottom: 12px; }
.early-access-content p { font-size: 1rem; color: #5a6578; margin-bottom: 24px; }
.early-access-perks { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; text-align: left; max-width: 380px; margin-left: auto; margin-right: auto; }
.early-access-perks li { font-size: 1rem; color: #1a1a2e; font-weight: 500; }

/* === Mobile === */
@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex; flex-direction: column; position: absolute;
        top: 100%; left: 0; right: 0; background: #fff;
        padding: 24px; gap: 16px; border-bottom: 1px solid #eef0f4;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }
    .mobile-toggle { display: block; }
    .hero { padding: 120px 0 64px; }
    .proof-items { grid-template-columns: repeat(2, 1fr); }
    .steps, .pricing-grid, .why-grid, .testimonials { grid-template-columns: 1fr; }
    .price-card.featured { transform: none; }
    .price-card.featured:hover { transform: translateY(-4px); }
    .before-after { grid-template-columns: 1fr; }
    .ba-arrow { text-align: center; padding: 0; font-size: 1.5rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .hero-ctas { flex-direction: column; align-items: center; }
}

/* Tooltip for form fields */
.form-tooltip {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}
.form-tooltip:hover, .form-tooltip:focus {
    background: rgba(249,115,22,0.4);
    color: #fff;
    outline: none;
}
.form-tooltip-text {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    right: -10px;
    width: 280px;
    background: #1e293b;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: 100;
}
.form-tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 16px;
    border: 8px solid transparent;
    border-top-color: #1e293b;
}
.form-tooltip:hover .form-tooltip-text,
.form-tooltip:focus .form-tooltip-text {
    display: block;
}
