@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Variables ──────────────────────────────────── */
:root {
    --bg:          #ffffff;
    --bg-soft:     #f8fafc;
    --bg-teal:     #f0fafa;
    --border:      #e2e8f0;
    --text:        #0f172a;
    --text-body:   #374151;
    --text-muted:  #6b7280;
    --teal:        #0ea5c0;
    --teal-dark:   #0891a8;
    --teal-light:  #e0f7fa;
    --teal2:       #3bbfbf;
    --radius-sm:   8px;
    --radius-md:   14px;
    --radius-lg:   20px;
    --radius-xl:   28px;
    --shadow-xs:   0 1px 2px rgba(0,0,0,.05);
    --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md:   0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -1px rgba(0,0,0,.04);
    --shadow-lg:   0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -2px rgba(0,0,0,.04);
    --shadow-xl:   0 20px 25px -5px rgba(0,0,0,.08), 0 10px 10px -5px rgba(0,0,0,.03);
    --shadow-2xl:  0 25px 50px -12px rgba(0,0,0,.12);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.bg-glow, .bg-glow-right { display: none; }

img { display: block; max-width: 100%; }

a { text-decoration: none; }

/* ── Layout helpers ────────────────────────────── */
.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ── Buttons ───────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--teal), var(--teal2));
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: .9rem;
    padding: 11px 24px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    letter-spacing: .01em;
    transition: opacity .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover {
    opacity: .9;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(14,165,192,.35);
    color: #fff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: .9rem;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: border-color .2s, color .2s, background .2s;
}
.btn-outline:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: var(--teal-light);
}

.btn-login {
    color: var(--text-body);
    font-weight: 500;
    font-size: .9rem;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    transition: background .2s, color .2s;
}
.btn-login:hover {
    background: var(--bg-soft);
    color: var(--text);
}

/* ── Section helpers ───────────────────────────── */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--teal-light);
    color: var(--teal-dark);
    font-size: .75rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid rgba(14,165,192,.2);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -.03em;
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 540px;
}

/* ── Navbar ────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    height: 68px;
}

.logo img {
    height: 36px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
}
.nav-links a {
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── Hero ──────────────────────────────────────── */
.hero {
    text-align: center;
    padding: 88px 8% 0;
    background: linear-gradient(180deg, #edfafa 0%, #f8fafc 55%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 800px 400px at 50% -10%, rgba(59,191,191,.13) 0%, transparent 70%);
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--teal-light);
    color: var(--teal-dark);
    font-size: .75rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid rgba(14,165,192,.2);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 900;
    color: var(--text);
    letter-spacing: -.04em;
    line-height: 1.08;
    margin-bottom: 20px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--teal), var(--teal2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-actions .btn-primary { padding: 13px 28px; font-size: .95rem; }
.hero-actions .btn-outline  { padding: 12px 28px; font-size: .95rem; }

/* social proof row */
.hero-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 56px;
}

.proof-avatars {
    display: flex;
}

.proof-avatars span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: linear-gradient(135deg, var(--teal), var(--teal2));
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -8px;
}
.proof-avatars span:first-child { margin-left: 0; }

.proof-text {
    font-size: .82rem;
    color: var(--text-muted);
}

.proof-text strong {
    color: var(--text);
    font-weight: 600;
}

.proof-stars { color: #f59e0b; font-size: .8rem; letter-spacing: .05em; }

/* hero image frame */
.hero-image-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
}

.hero-image-wrap::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(135deg, rgba(14,165,192,.2), rgba(59,191,191,.1));
    z-index: 0;
}

.hero-browser-bar {
    background: #f1f5f9;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    border: 1px solid var(--border);
    border-bottom: none;
    height: 36px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.hero-browser-bar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red   { background: #fc5f5a; }
.dot-yellow{ background: #fdbc40; }
.dot-green { background: #33c748; }

.hero-browser-bar .url-bar {
    margin-left: 12px;
    flex: 1;
    background: #e2e8f0;
    border-radius: 4px;
    height: 18px;
    max-width: 280px;
    display: flex;
    align-items: center;
    padding: 0 8px;
}

.url-bar span {
    font-size: .68rem;
    color: #94a3b8;
    font-family: 'Inter', monospace;
}

.hero-image {
    width: 100%;
    display: block;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    border: 1px solid var(--border);
    border-top: none;
    box-shadow: var(--shadow-2xl);
    position: relative;
    z-index: 1;
}

/* ── Trusted logos ─────────────────────────────── */
.trusted {
    padding: 56px 8%;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.trusted-label {
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 28px;
}

.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trusted-logo {
    font-size: .9rem;
    font-weight: 700;
    color: #cbd5e1;
    letter-spacing: -.02em;
    transition: color .2s;
}
.trusted-logo:hover { color: #94a3b8; }

/* ── Features ──────────────────────────────────── */
.features {
    padding: 96px 8%;
    background: var(--bg);
}

.features-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 56px;
}

.features-head-left { max-width: 500px; }

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

@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
    .features-head { flex-direction: column; align-items: flex-start; }
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    display: flex;
    gap: 20px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    box-shadow: var(--shadow-xs);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14,165,192,.25);
}

.feature-card:nth-child(1) { grid-column: 1; grid-row: 1; }
.feature-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.feature-card:nth-child(3) { grid-column: 1 / span 2; grid-row: 2; flex-direction: row; }
.feature-card:nth-child(4) { grid-column: 1; grid-row: 3; }
.feature-card:nth-child(5) { grid-column: 2; grid-row: 3; }

@media (max-width: 768px) {
    .feature-card:nth-child(n) { grid-column: 1; grid-row: auto; flex-direction: column; }
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
}

.feature-body {}
.feature-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.01em;
    margin-bottom: 6px;
}
.feature-body p {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── How it works ──────────────────────────────── */
.how {
    padding: 96px 8%;
    background: var(--bg-soft);
}

.how-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 64px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(16.66% + 24px);
    right: calc(16.66% + 24px);
    height: 1px;
    background: linear-gradient(90deg, var(--teal), var(--teal2));
    opacity: .3;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal2));
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(14,165,192,.3);
}

.step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -.01em;
}

.step p {
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.65;
}

@media (max-width: 768px) {
    .steps { grid-template-columns: 1fr; }
    .steps::before { display: none; }
}

/* ── Testimonials ──────────────────────────────── */
.testimonials {
    padding: 96px 8%;
    background: var(--bg);
}

.testimonials-head {
    text-align: center;
    margin-bottom: 56px;
}

.testimonials-head .section-sub {
    margin: 0 auto;
}

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

@media (max-width: 900px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

.testimonial-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform .25s, box-shadow .25s;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars { color: #f59e0b; font-size: .85rem; letter-spacing: .05em; }

.testimonial-text {
    font-size: .9rem;
    color: var(--text-body);
    line-height: 1.7;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal2));
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-info strong {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: var(--text);
}

.testimonial-info span {
    font-size: .8rem;
    color: var(--text-muted);
}

/* ── Pricing ───────────────────────────────────── */
.pricing {
    padding: 96px 8%;
    background: var(--bg-soft);
}

.pricing-head {
    text-align: center;
    margin-bottom: 56px;
}

.pricing-head .section-sub { margin: 0 auto; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
    border-color: var(--teal);
    box-shadow: 0 0 0 1px var(--teal), var(--shadow-lg);
}

.popular-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--teal), var(--teal2));
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.pricing-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.pricing-card .price {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -.04em;
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
    line-height: 1;
}

.pricing-card .price span {
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0;
}

.pricing-card .duration {
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.pricing-features {
    list-style: none;
    flex: 1;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .875rem;
    color: var(--text-body);
}

.pricing-features li svg { color: var(--teal); flex-shrink: 0; }

/* ── CTA Banner ────────────────────────────────── */
.cta-banner {
    margin: 0 8% 80px;
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, var(--teal2) 100%);
    border-radius: var(--radius-xl);
    padding: 64px 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
    top: -150px;
    right: -100px;
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.1);
    bottom: -80px;
    left: 60px;
    pointer-events: none;
}

.cta-banner-text { position: relative; z-index: 1; }

.cta-banner-text h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.03em;
    margin-bottom: 8px;
}

.cta-banner-text p {
    font-size: .95rem;
    color: rgba(255,255,255,.8);
    line-height: 1.6;
}

.cta-banner-action { position: relative; z-index: 1; flex-shrink: 0; }

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--teal-dark);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    color: var(--teal-dark);
}

@media (max-width: 768px) {
    .cta-banner {
        flex-direction: column;
        padding: 48px 32px;
        margin: 0 5% 60px;
        text-align: center;
    }
}

/* ── Footer ────────────────────────────────────── */
.footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    padding: 64px 8% 36px;
}

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

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand img {
    height: 32px;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 240px;
}

.footer-col h4 {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text);
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
    font-size: .875rem;
    color: var(--text-muted);
    transition: color .2s;
}

.footer-col ul li a:hover { color: var(--teal); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: .8rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: .8rem;
    color: var(--text-muted);
    transition: color .2s;
}

.footer-bottom-links a:hover { color: var(--teal); }

/* ── Responsive navbar ─────────────────────────── */
@media (max-width: 768px) {
    .navbar { padding: 0 5%; }
    .nav-links { display: none; }
    .hero { padding: 64px 5% 0; }
    .trusted, .features, .how, .testimonials, .pricing { padding-left: 5%; padding-right: 5%; }
    .footer { padding-left: 5%; padding-right: 5%; }
    .section-title { font-size: 1.7rem; }
    .steps { gap: 16px; }
}
