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

/* === Layout === */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 720px; }

/* === Typography === */
h1 { font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }

/* === Buttons === */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 8px;
    font-weight: 600; font-size: 0.95rem;
    background: #2563EB; color: #fff;
    transition: all 0.2s;
    border: 2px solid transparent;
    cursor: pointer;
}
.btn:hover { background: #1D4ED8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.25); }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; border-radius: 8px; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; border-radius: 12px; }
.btn-outline { background: transparent; color: #2563EB; border-color: #2563EB; }
.btn-outline:hover { background: #EFF6FF; }
.btn-white { background: #fff; color: #111827; }
.btn-white:hover { background: #F9FAFB; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn-icon { width: 20px; height: 20px; }

/* === Nav === */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 16px 0;
    transition: all 0.3s;
}
.nav.scrolled {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; gap: 32px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; }
.nav-logo { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: #4B5563; transition: color 0.2s; }
.nav-links a:hover { color: #111827; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #111827; margin: 4px 0; transition: 0.3s; }

/* === Hero === */
.hero {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, #EFF6FF 0%, #fff 100%);
}
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(37,99,235,0.1);
    color: #2563EB;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero-sub {
    font-size: 1.2rem;
    color: #66737d;
    max-width: 560px;
    margin: 20px auto 0;
    line-height: 1.7;
    font-weight: 300;
}
.hero-cta {
    display: flex; gap: 16px;
    justify-content: center;
    margin-top: 36px;
    flex-wrap: wrap;
}

/* Hero visual — phone + mac mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    margin-top: 64px;
    perspective: 1000px;
}

/* Phone mockup */
.phone-frame {
    width: 260px;
    background: #111827;
    border-radius: 32px;
    padding: 12px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.1) inset;
    transform: rotateY(-5deg) rotateX(2deg);
}
.phone-notch {
    width: 100px; height: 24px;
    background: #111827;
    border-radius: 0 0 16px 16px;
    margin: 0 auto 8px;
}
.phone-screen {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}
.chat-header {
    padding: 16px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    border-bottom: 1px solid #F3F4F6;
}
.chat-messages {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.chat-bubble {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.8rem;
    line-height: 1.4;
    max-width: 85%;
    text-align: left;
}
.chat-user {
    background: #2563EB;
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.chat-ai {
    background: #F3F4F6;
    color: #111827;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.chat-input {
    padding: 12px 16px;
    border-top: 1px solid #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #9CA3AF;
}
.chat-send {
    width: 28px; height: 28px;
    background: #2563EB;
    border-radius: 50%;
}

/* Mac mockup */
.mac-frame {
    width: 380px;
    background: #1F2937;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0,0,0,0.15);
    transform: rotateY(5deg) rotateX(2deg);
}
.mac-toolbar {
    padding: 10px 14px;
    display: flex;
    gap: 6px;
    background: #374151;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #EF4444; }
.dot.yellow { background: #F59E0B; }
.dot.green { background: #10B981; }
.mac-screen {
    padding: 48px 32px;
    text-align: center;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.mac-shield {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #10B981, #059669);
    border-radius: 14px;
    position: relative;
}
.mac-shield::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 12px; height: 20px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
    margin-top: -4px;
}
.mac-status { color: #10B981; font-weight: 600; font-size: 1.1rem; }
.mac-sub { color: #9CA3AF; font-size: 0.85rem; max-width: 280px; }

/* === Proof bar === */
.proof {
    padding: 48px 0;
    border-bottom: 1px solid #F3F4F6;
}
.proof-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.proof-item { text-align: center; }
.proof-item strong { display: block; font-size: 1rem; }
.proof-item span { font-size: 0.85rem; color: #6B7280; }
.proof-divider { width: 1px; height: 36px; background: #E5E7EB; }

/* === Features === */
.features { padding: 100px 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.section-header p { color: #66737d; margin-top: 16px; font-size: 1.1rem; font-weight: 300; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.feature-card {
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    background: #fff;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.feature-card:hover {
    border-color: #D1D5DB;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}
.feature-icon {
    width: 44px; height: 44px;
    background: #EFF6FF;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    color: #2563EB;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-icon.icon-red { background: #FEF2F2; color: #DC2626; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: #6B7280; font-size: 0.95rem; line-height: 1.6; }

/* === How it works === */
.how-it-works {
    padding: 100px 0;
    background: #F9FAFB;
}
.steps { max-width: 600px; margin: 0 auto; }
.step {
    display: flex;
    gap: 24px;
    padding: 32px 0;
    position: relative;
}
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 72px;
    bottom: 0;
    width: 2px;
    background: #E5E7EB;
}
.step-num {
    width: 48px; height: 48px;
    background: #2563EB;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.step-content h3 { margin-bottom: 8px; }
.step-content p { color: #6B7280; font-size: 0.95rem; }

/* === Privacy === */
.privacy { padding: 100px 0; }
.privacy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.privacy-text p { color: #4B5563; margin-bottom: 16px; font-size: 1rem; line-height: 1.7; }
.privacy-text ul { margin-top: 16px; }
.privacy-text li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: #4B5563;
    font-size: 0.95rem;
}
.privacy-text li::before {
    content: '';
    position: absolute;
    left: 0; top: 14px;
    width: 16px; height: 16px;
    background: #10B981;
    border-radius: 50%;
}
.privacy-text li::after {
    content: '';
    position: absolute;
    left: 4px; top: 19px;
    width: 8px; height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}
.privacy-text li strong { color: #111827; }

.privacy-card {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 20px;
}
.privacy-card.dark {
    background: #111827;
    border-color: #1F2937;
    color: #fff;
}
.privacy-card-header {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E5E7EB;
}
.privacy-card.dark .privacy-card-header { border-color: #374151; }
.privacy-card-item {
    padding: 8px 0 8px 28px;
    font-size: 0.9rem;
    position: relative;
}
.privacy-card-item.good::before {
    content: '';
    position: absolute;
    left: 0; top: 12px;
    width: 16px; height: 16px;
    background: #10B981;
    border-radius: 50%;
}
.privacy-card-item.good::after {
    content: '';
    position: absolute;
    left: 4px; top: 17px;
    width: 8px; height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}
.privacy-card-item.bad::before {
    content: '';
    position: absolute;
    left: 0; top: 12px;
    width: 16px; height: 16px;
    background: #EF4444;
    border-radius: 50%;
}
.privacy-card-item.bad::after {
    content: '';
    position: absolute;
    left: 4px; top: 16px;
    width: 8px; height: 8px;
}
.privacy-card-item.bad::after {
    content: '\00d7';
    position: absolute;
    left: 3px; top: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    width: auto; height: auto;
    border: none;
    transform: none;
}

/* === Pricing === */
.pricing {
    padding: 100px 0;
    background: #F9FAFB;
}
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}
.pricing-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.pricing-card.featured {
    border-color: #2563EB;
    box-shadow: 0 8px 24px rgba(37,99,235,0.12);
}
.pricing-badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: #2563EB;
    color: #fff;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}
.pricing-label { font-weight: 600; color: #6B7280; font-size: 0.9rem; margin-bottom: 8px; }
.pricing-price { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; }
.pricing-period { color: #9CA3AF; font-size: 0.9rem; margin-bottom: 28px; }
.pricing-features { margin-bottom: 32px; }
.pricing-features li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 0.95rem;
    color: #374151;
}
.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0; top: 13px;
    width: 14px; height: 14px;
    background: #10B981;
    border-radius: 50%;
}
.pricing-features li::after {
    content: '';
    position: absolute;
    left: 3px; top: 18px;
    width: 8px; height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

/* === FAQ === */
.faq { padding: 100px 0; }
.faq-list { margin-top: 16px; }
.faq-item {
    border-bottom: 1px solid #E5E7EB;
}
.faq-item summary {
    padding: 20px 0;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 400;
    color: #9CA3AF;
    transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p {
    padding-bottom: 20px;
    color: #6B7280;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* === CTA === */
.cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #3B82F6 100%);
    color: #fff;
}
.cta p { color: rgba(255,255,255,0.75); margin: 16px 0 36px; font-size: 1.1rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === Footer === */
.footer {
    padding: 40px 0;
    border-top: 1px solid #F3F4F6;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.footer-logo { width: 22px; height: 22px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.875rem; color: #6B7280; }
.footer-links a:hover { color: #111827; }
.footer-copy { font-size: 0.8rem; color: #9CA3AF; }

/* === Responsive === */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid #E5E7EB;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
    .nav-links.open { display: flex; }
    .nav > .container > .btn { display: none; }
    .nav-toggle { display: block; margin-left: auto; }

    .hero { padding: 120px 0 60px; }
    .hero-visual { flex-direction: column; align-items: center; gap: 24px; }
    .phone-frame { width: 240px; transform: none; }
    .phone-screen { min-height: 360px; }
    .mac-frame { width: 300px; transform: none; }

    .feature-grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-card { padding: 24px; }

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

    .pricing-cards { grid-template-columns: 1fr; max-width: 400px; }

    .proof-divider { display: none; }
    .proof-items { gap: 24px; }

    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
    .hero-cta { flex-direction: column; align-items: center; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn-lg { width: 100%; justify-content: center; }
}
