/* ============================================================
   AdsVine public website (marketing) styles
   ============================================================ */

body.public-site { background: #fff; }

/* ---------------- Header ---------------- */
.site-header {
    position: sticky; top: 0; z-index: 70; background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
}
.site-header .inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand .fallback { font-weight: 800; font-size: 21px; color: var(--navy); letter-spacing: -.02em; }
.brand .fallback em { color: var(--green); font-style: normal; }
.main-nav { display: flex; gap: 4px; flex: 1; }
.main-nav a { padding: 8px 13px; border-radius: 9px; color: var(--text); font-size: 14px; font-weight: 550; text-decoration: none; }
.main-nav a:hover { color: var(--blue); background: rgba(22,119,210,.07); text-decoration: none; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--navy); padding: 6px; }
@media (max-width: 920px) {
    .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
    .main-nav.open { display: flex; }
    .header-cta .btn-apply-label { display: none; }
    .nav-toggle { display: block; margin-left: auto; }
    .header-cta { order: 3; }
}

/* ---------------- Hero ---------------- */
.hero { background: linear-gradient(180deg, #0E2E5C 0%, var(--navy) 70%, #123B72 100%); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(closest-side, rgba(22,119,210,.35), transparent); top: -220px; right: -140px; }
.hero::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(53,201,107,.18), transparent); bottom: -180px; left: -120px; }
.hero .inner { max-width: 1180px; margin: 0 auto; padding: 84px 24px 92px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: 44px; line-height: 1.14; letter-spacing: -.015em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--green-bright); }
.hero p { color: #B9CCE4; font-size: 17px; max-width: 520px; margin-bottom: 28px; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .meta { margin-top: 26px; display: flex; gap: 18px; flex-wrap: wrap; color: #8FA9CC; font-size: 13px; }
.hero .meta span { display: inline-flex; gap: 6px; align-items: center; }

/* Dashboard preview mock */
.dash-mock { background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--text); border: 1px solid rgba(255,255,255,.25); }
.dash-mock .dm-top { background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px; display: flex; align-items: center; gap: 8px; }
.dash-mock .dm-dots { display: flex; gap: 5px; }
.dash-mock .dm-dots i { width: 9px; height: 9px; border-radius: 50%; background: #E1E9F2; }
.dash-mock .dm-dots i:first-child { background: #F0B6B6; }
.dash-mock .dm-dots i:nth-child(2) { background: #F3DCA8; }
.dash-mock .dm-dots i:last-child { background: #B8E6C9; }
.dash-mock .dm-url { flex: 1; background: var(--bg); border-radius: 7px; font-size: 11px; color: var(--muted); padding: 5px 10px; font-family: var(--mono); }
.dash-mock .dm-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.dash-mock .dm-kpis > div { background: #fff; padding: 14px 16px; }
.dash-mock .k { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.dash-mock .v { font-size: 17px; font-weight: 750; color: var(--navy); margin-top: 2px; }
.dash-mock .v.green { color: #0E9F6E; }
.dash-mock .dm-chart { padding: 16px 16px 8px; background: #fff; }
.dash-mock .dm-note { font-size: 10.5px; color: var(--muted); text-align: center; padding: 6px 10px 12px; background: #fff; }
@media (max-width: 920px) {
    .hero .inner { grid-template-columns: 1fr; padding: 56px 20px 64px; }
    .hero h1 { font-size: 33px; }
}

/* ---------------- Generic sections ---------------- */
.section { padding: 84px 24px; }
.section.alt { background: var(--bg); }
.section-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.section-head .eyebrow { color: var(--green); font-weight: 700; font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 10px; }
.section-head h2 { font-size: 32px; letter-spacing: -.01em; }
.section-head p { color: var(--muted); font-size: 16px; margin: 12px auto 0; }

/* Trust bar */
.trust-bar { padding: 34px 24px; border-bottom: 1px solid var(--line); }
.trust-bar .inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.trust-bar .t { font-size: 27px; font-weight: 800; color: var(--navy); }
.trust-bar .l { font-size: 13px; color: var(--muted); margin-top: 3px; }
@media (max-width: 720px) { .trust-bar .inner { grid-template-columns: repeat(2, 1fr); } }

/* Feature cards */
.feat-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; transition: transform .15s, box-shadow .15s; }
.feat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feat-ico { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(22,119,210,.12), rgba(24,184,120,.14)); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.feat-card h3 { font-size: 16px; margin-bottom: 7px; }
.feat-card p { color: var(--muted); font-size: 13.8px; margin: 0; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .feat-grid { grid-template-columns: 1fr; } }

/* Split showcase */
.split { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split h2 { font-size: 28px; }
.split p.lead { color: var(--muted); font-size: 15.5px; }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; }
.check-list li { display: flex; gap: 10px; padding: 7px 0; font-size: 14.5px; }
.check-list li::before { content: "✓"; color: var(--green); font-weight: 800; flex-shrink: 0; }
.split .visual { background: linear-gradient(160deg, #0E2E5C, var(--navy)); border-radius: 18px; min-height: 300px; display: flex; align-items: center; justify-content: center; padding: 30px; color: #C7D6EA; box-shadow: var(--shadow-lg); }
.split .visual img { border-radius: 10px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 30px; } }

/* Steps */
.steps-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 20px; position: relative; counter-increment: step; }
.step-card::before { content: counter(step); position: absolute; top: -14px; left: 20px; background: var(--green); color: #fff; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; box-shadow: 0 4px 10px rgba(24,184,120,.4); }
.step-card h3 { font-size: 15.5px; margin: 8px 0 6px; }
.step-card p { color: var(--muted); font-size: 13.5px; margin: 0; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }

/* Revenue share example */
.rev-example { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.rev-row { display: flex; justify-content: space-between; gap: 14px; padding: 16px 24px; border-bottom: 1px solid var(--line); align-items: center; }
.rev-row:last-child { border-bottom: 0; }
.rev-row .lab { font-size: 14px; color: var(--muted); font-weight: 600; }
.rev-row .val { font-size: 20px; font-weight: 750; color: var(--navy); font-variant-numeric: tabular-nums; }
.rev-row.hl { background: var(--ok-bg); }
.rev-row.hl .val { color: #0B7A4E; }

/* FAQ */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 16px 20px; font-weight: 650; font-size: 15px; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--green); font-weight: 400; transition: transform .15s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 20px 18px; color: var(--muted); font-size: 14px; }

/* CTA */
.cta-band { background: linear-gradient(120deg, var(--navy), #0E2E5C); border-radius: 22px; max-width: 1040px; margin: 0 auto; padding: 64px 40px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(53,201,107,.22), transparent); right: -110px; top: -140px; }
.cta-band h2 { color: #fff; font-size: 32px; }
.cta-band p { color: #B9CCE4; font-size: 16px; max-width: 560px; margin: 12px auto 28px; }

/* ---------------- Footer ---------------- */
.site-footer { background: #0B2447; color: #92A9C9; padding: 56px 24px 30px; margin-top: 0; }
.site-footer .inner { max-width: 1180px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,.09); }
.site-footer img { height: 30px; background: #fff; border-radius: 7px; padding: 3px 7px; }
.site-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 14px; }
.site-footer a { color: #92A9C9; font-size: 13.5px; display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer .about { font-size: 13.5px; line-height: 1.7; margin-top: 14px; max-width: 320px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; padding-top: 24px; font-size: 12.5px; flex-wrap: wrap; }
.social-links { display: flex; gap: 8px; margin-top: 16px; }
.social-links a { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.08); display: inline-flex !important; align-items: center; justify-content: center; padding: 0 !important; font-size: 14px; }
.social-links a:hover { background: var(--blue); color: #fff; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------------- Auth pages ---------------- */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #0E2E5C, var(--navy)); padding: 28px 16px; }
.auth-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); width: 100%; max-width: 420px; padding: 36px; }
.auth-card .auth-logo { display: flex; justify-content: center; margin-bottom: 20px; }
.auth-card .auth-logo img { height: 38px; }
.auth-card h1 { text-align: center; font-size: 21px; }
.auth-card .sub { text-align: center; color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }
.auth-foot { text-align: center; margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ---------------- Public form pages (apply/contact) ---------------- */
.form-page { max-width: 860px; margin: 0 auto; padding: 54px 20px 90px; }
.form-page .form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: var(--shadow-sm); }
.form-page h1 { font-size: 28px; }
.form-section-title { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--green); font-weight: 750; margin: 26px 0 4px; }

/* Static page */
.static-page { max-width: 780px; margin: 0 auto; padding: 54px 20px 90px; }
.static-page .content { font-size: 15px; color: var(--text); line-height: 1.75; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 340px 1fr; gap: 26px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card { display: flex; gap: 13px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-info-card:last-child { border-bottom: 0; }
.contact-info-card .ci-ico { width: 38px; height: 38px; border-radius: 10px; background: rgba(22,119,210,.1); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.contact-info-card .ci-l { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.contact-info-card .ci-v { font-size: 14.5px; color: var(--text); font-weight: 550; margin-top: 1px; }

/* Success page */
.success-hero { text-align: center; max-width: 560px; margin: 70px auto 90px; padding: 0 20px; }
.success-hero .big { width: 74px; height: 74px; margin: 0 auto 22px; border-radius: 50%; background: var(--ok-bg); color: var(--green); font-size: 34px; display: flex; align-items: center; justify-content: center; }
