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

/* ============================================================
   FRESHLY SQUEEZED ADS — MASTER STYLESHEET
   Matches supplied concept exactly
   ============================================================ */

:root {
    --orange:     #FF6A00;
    --orange2:    #FF8A00;
    --yellow:     #FFC24B;
    --green:      #19A24A;
    --navy:       #1F2937;
    --navy2:      #111827;
    --text:       #1A1D23;
    --muted:      #6B7280;
    --line:       #E5E9EF;
    --cream:      #FFF7EC;
    --cream2:     #FFF0D9;
    --white:      #FFFFFF;
    --shadow-sm:  0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
    --shadow:     0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
    --shadow-lg:  0 20px 50px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.05);
    --shadow-o:   0 8px 30px rgba(255,106,0,.22);
    --r-sm:  10px;
    --r:     14px;
    --r-lg:  20px;
    --r-xl:  28px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--orange);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: var(--r-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background .18s, transform .12s, box-shadow .18s;
    white-space: nowrap;
}
.btn:hover  { background: #e55a00; transform: translateY(-1px); box-shadow: var(--shadow-o); }
.btn:active { transform: translateY(0); }

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--line);
    font-weight: 600;
}
.btn-outline:hover { background: var(--cream); border-color: var(--orange); color: var(--orange); box-shadow: none; }

.btn-ghost {
    background: rgba(255,106,0,.10);
    color: var(--orange);
    font-weight: 700;
}
.btn-ghost:hover { background: rgba(255,106,0,.18); box-shadow: none; }

.btn-sm { padding: 8px 14px; font-size: 12px; }
.btn-lg { padding: 15px 30px; font-size: 15px; }

.btn-icon { width: 36px; height: 36px; padding: 0; justify-content: center; border-radius: 8px; }

/* ============================================================
   BADGES / PILLS
   ============================================================ */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2px;
}
.badge-orange  { background: #FFF0DE; color: var(--orange); }
.badge-green   { background: #E6F7ED; color: var(--green); }
.badge-navy    { background: #EEF0F4; color: var(--navy); }
.badge-yellow  { background: #FFF8E1; color: #B07800; }
.badge-red     { background: #FFE8E8; color: #C0392B; }
.badge-blue    { background: #E8F3FF; color: #1A6CC4; }

/* Status badges as in concept */
.status-active    { background: #E6F7ED; color: var(--green); }
.status-paused    { background: #FFF8E1; color: #B07800; }
.status-pending   { background: #FFF0DE; color: var(--orange); }
.status-completed { background: #EEF0F4; color: var(--muted); }
.status-rejected  { background: #FFE8E8; color: #C0392B; }

/* ============================================================
   FORMS
   ============================================================ */

.form-row { margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: .1px;
}

input, select, textarea {
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: var(--text);
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    padding: 11px 14px;
    transition: border-color .15s, box-shadow .15s;
    outline: none;
    -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,106,0,.10);
}
input::placeholder, textarea::placeholder { color: #B0B7C3; }
textarea { resize: vertical; min-height: 80px; line-height: 1.5; }

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

.notice {
    background: var(--cream);
    border-left: 4px solid var(--orange);
    border-radius: var(--r-sm);
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}
.error-msg {
    background: #FFF0F0;
    border-left: 4px solid #E53E3E;
    border-radius: var(--r-sm);
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #C53030;
    margin-bottom: 18px;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

.flex        { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

.text-muted  { color: var(--muted); }
.text-orange { color: var(--orange); }
.text-green  { color: var(--green); }
.text-navy   { color: var(--navy); }
.text-sm     { font-size: 12px; }
.text-xs     { font-size: 11px; }
.fw-700      { font-weight: 700; }
.fw-800      { font-weight: 800; }
.fw-900      { font-weight: 900; }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* ============================================================
   CARD
   ============================================================ */

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 22px 24px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}
.card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.card-muted { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* ============================================================
   ORANGE SLICE — CSS GRAPHIC
   Used throughout as brand decoration
   ============================================================ */

.slice {
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, #FFFBE0 0 11%, transparent 12%),
        conic-gradient(
            #FFB020 0deg   30deg,
            #FF8500 30deg  60deg,
            #FFB020 60deg  90deg,
            #FF8500 90deg  120deg,
            #FFB020 120deg 150deg,
            #FF8500 150deg 180deg,
            #FFB020 180deg 210deg,
            #FF8500 210deg 240deg,
            #FFB020 240deg 270deg,
            #FF8500 270deg 300deg,
            #FFB020 300deg 330deg,
            #FF8500 330deg 360deg
        );
    border: solid #F5841F;
    flex-shrink: 0;
}
.slice-xs  { width:24px;  height:24px;  border-width:3px; }
.slice-sm  { width:36px;  height:36px;  border-width:4px; }
.slice-md  { width:64px;  height:64px;  border-width:6px; }
.slice-lg  { width:140px; height:140px; border-width:10px; }
.slice-xl  { width:210px; height:210px; border-width:14px; }
.slice-2xl { width:280px; height:280px; border-width:18px; }

/* ============================================================
   ICON CIRCLES — as seen in concept feature row
   ============================================================ */

.icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--cream2);
    border: 2px solid rgba(255,106,0,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.icon-circle svg, .icon-circle .ic { color: var(--orange); }
.icon-circle-sm { width: 36px; height: 36px; }
.icon-circle-lg { width: 64px; height: 64px; }

/* ============================================================
   PUBLIC PAGES — HOMEPAGE
   ============================================================ */

.page-home { background: #fff; }

/* NAV */
.pub-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    padding: 0 48px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.pub-nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.pub-nav-brand-text { line-height: 1.15; white-space: nowrap; }
.pub-nav-brand-text .t1 { font-size: 15px; font-weight: 900; color: var(--navy); }
.pub-nav-brand-text .t2 { font-size: 15px; font-weight: 900; color: var(--orange); }
.pub-nav-brand-text .t3 { font-size: 15px; font-weight: 900; color: var(--green); }
.pub-nav-links { display: flex; align-items: center; gap: 36px; flex: 1; justify-content: center; }
.pub-nav-links a { font-size: 14px; font-weight: 600; color: var(--muted); transition: color .15s; text-decoration: none; white-space: nowrap; }
.pub-nav-links a:hover { color: var(--orange); }
.pub-nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* ===== HERO ===== */
.lp-hero {
    min-height: 580px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    display: flex;
    align-items: stretch;
}

.lp-hero-inner {
    flex: 1;
    min-width: 0;
    padding: 80px 64px 72px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cream);
    border: 1px solid rgba(255,106,0,.18);
    border-radius: 999px;
    padding: 6px 14px 6px 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 24px;
    width: fit-content;
}

.lp-hero-heading {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: -2.5px;
    line-height: 1.02;
    color: var(--navy);
    margin: 0 0 20px;
}
.lp-hero-orange { color: var(--orange); }

.lp-hero-sub {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 0 36px;
    font-weight: 400;
}

.lp-hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* Proof bar */
.lp-proof {
    display: inline-flex;
    align-items: center;
    background: var(--cream);
    border: 1px solid rgba(255,106,0,.14);
    border-radius: var(--r-lg);
    padding: 16px 24px;
}
.lp-proof-item {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}
.lp-proof-item:first-child { padding-left: 0; }
.lp-proof-num {
    font-size: 24px;
    font-weight: 900;
    color: var(--navy);
    letter-spacing: -1px;
    line-height: 1;
}
.lp-proof-plus { color: var(--orange); }
.lp-proof-label { font-size: 11px; font-weight: 600; color: var(--muted); margin-top: 3px; }
.lp-proof-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,106,0,.18);
    flex-shrink: 0;
}

/* Hero right — feature pills stacked */
.lp-hero-right {
    width: 400px;
    min-width: 400px;
    background: linear-gradient(160deg, #FFF4E8 0%, #FFF8F2 100%);
    border-left: 1px solid var(--line);
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.lp-hero-slice {
    position: absolute;
    bottom: -70px;
    right: -70px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(
        #FFB020 0deg 30deg, #FF8500 30deg 60deg,
        #FFB020 60deg 90deg, #FF8500 90deg 120deg,
        #FFB020 120deg 150deg, #FF8500 150deg 180deg,
        #FFB020 180deg 210deg, #FF8500 210deg 240deg,
        #FFB020 240deg 270deg, #FF8500 270deg 300deg,
        #FFB020 300deg 330deg, #FF8500 330deg 360deg
    );
    border: 12px solid #F5841F;
    opacity: .15;
    pointer-events: none;
}

.lp-pill {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: transform .18s, box-shadow .18s;
}
.lp-pill:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.lp-pill-icon {
    width: 42px;
    height: 42px;
    background: var(--cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.lp-pill strong { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.lp-pill span   { font-size: 12px; color: var(--muted); }

/* Stagger pills with slight offset */
.lp-pill-1 { margin-left: 0; }
.lp-pill-2 { margin-left: 12px; }
.lp-pill-3 { margin-left: 24px; }
.lp-pill-4 { margin-left: 12px; }
.lp-pill-5 { margin-left: 0; }

/* ===== SECTION SHARED ===== */
.lp-section { padding: 80px 56px; }
.lp-section-cream { background: var(--cream); }
.lp-section-inner { max-width: 1160px; margin: 0 auto; }

.lp-section-header {
    max-width: 600px;
    margin-bottom: 48px;
}
.lp-section-header.center {
    margin: 0 auto 48px;
    text-align: center;
}
.lp-eyebrow {
    font-size: 12px;
    font-weight: 800;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 10px;
}
.lp-section-header h2 {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -1.2px;
    line-height: 1.08;
    color: var(--navy);
    margin: 0 0 14px;
}
.lp-section-header p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.65;
}

/* ===== HOW IT WORKS STEPS ===== */
.lp-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
}
.lp-step {
    flex: 1;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    position: relative;
}
.lp-step-num {
    font-size: 11px;
    font-weight: 900;
    color: var(--orange);
    letter-spacing: .6px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.lp-step-icon {
    font-size: 28px;
    margin-bottom: 12px;
}
.lp-step h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--navy);
}
.lp-step p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}
.lp-step-arrow {
    font-size: 22px;
    color: var(--orange);
    font-weight: 900;
    padding: 0 12px;
    margin-top: 48px;
    flex-shrink: 0;
}

/* ===== TWO PATHS ===== */
.lp-two-paths {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
}
.lp-path {
    padding: 48px 44px;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: #fff;
    box-shadow: var(--shadow);
}
.lp-path-publisher { border-top: 4px solid var(--orange); }
.lp-path-advertiser { border-top: 4px solid var(--navy); }

.lp-path-badge {
    display: inline-block;
    background: var(--cream);
    color: var(--orange);
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 20px;
}
.lp-path-badge-dark { background: #EEF0F4; color: var(--navy); }
.lp-path h2 {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -.8px;
    line-height: 1.15;
    color: var(--navy);
    margin: 0 0 14px;
}
.lp-path > p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 24px;
}
.lp-path-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lp-path-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
}
.lp-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #E6F7ED;
    color: var(--green);
    font-size: 11px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lp-path-divider {
    width: 1px;
    background: var(--line);
    margin: 0 40px;
    align-self: stretch;
}

/* ===== FEATURES GRID ===== */
.lp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.lp-feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
}
.lp-feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.lp-feature-icon { font-size: 28px; margin-bottom: 14px; }
.lp-feature-card h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.lp-feature-card p  { font-size: 13px; color: var(--muted); line-height: 1.65; margin: 0; }

/* ===== CTA BANNER ===== */
.lp-cta {
    background: linear-gradient(135deg, #FF6A00 0%, #FF8A00 55%, #FFC24B 100%);
    padding: 72px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.lp-cta-deco-l {
    position: absolute;
    left: -80px; top: -80px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: conic-gradient(
        #FFB020 0deg 30deg, #FF8500 30deg 60deg, #FFB020 60deg 90deg, #FF8500 90deg 120deg,
        #FFB020 120deg 150deg, #FF8500 150deg 180deg, #FFB020 180deg 210deg, #FF8500 210deg 240deg,
        #FFB020 240deg 270deg, #FF8500 270deg 300deg, #FFB020 300deg 330deg, #FF8500 330deg 360deg
    );
    border: 16px solid #F5841F;
    opacity: .2;
    pointer-events: none;
}
.lp-cta-deco-r {
    position: absolute;
    right: -60px; bottom: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: conic-gradient(
        #FFB020 0deg 30deg, #FF8500 30deg 60deg, #FFB020 60deg 90deg, #FF8500 90deg 120deg,
        #FFB020 120deg 150deg, #FF8500 150deg 180deg, #FFB020 180deg 210deg, #FF8500 210deg 240deg,
        #FFB020 240deg 270deg, #FF8500 270deg 300deg, #FFB020 300deg 330deg, #FF8500 330deg 360deg
    );
    border: 12px solid #F5841F;
    opacity: .18;
    pointer-events: none;
}
.lp-cta-inner { position: relative; z-index: 2; }
.lp-cta h2 {
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1.5px;
    margin: 0 0 12px;
}
.lp-cta p {
    font-size: 17px;
    color: rgba(255,255,255,.82);
    margin: 0 0 36px;
    line-height: 1.5;
}
.lp-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.pub-footer {
    background: var(--navy);
    padding: 56px 56px 28px;
    color: rgba(255,255,255,.6);
}
.pub-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.pub-footer p { font-size: 13px; line-height: 1.7; }
.pub-footer-col h5 { color: #fff; font-size: 13px; font-weight: 700; margin: 0 0 14px; }
.pub-footer-col a {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,.5);
    margin-bottom: 9px;
    transition: color .15s;
    text-decoration: none;
}
.pub-footer-col a:hover { color: var(--orange); }
.pub-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

/* ============================================================
   AUTH PAGES — LOGIN / REGISTER
   ============================================================ */

.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(255,106,0,.14) 0%, transparent 40%),
        radial-gradient(ellipse at 100% 0%, rgba(255,194,75,.18) 0%, transparent 35%),
        #FFF9F3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}
.auth-shell {
    width: 100%;
    max-width: 1000px;
    background: #fff;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 440px;
}
.auth-panel-left {
    background: linear-gradient(145deg, #FF6A00 0%, #FF8A00 55%, #FFC24B 100%);
    padding: 56px 50px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.auth-panel-left .deco-br {
    position: absolute;
    right: -50px; bottom: -50px;
    opacity: .35;
    pointer-events: none;
}
.auth-panel-left .deco-tl {
    position: absolute;
    left: -30px; top: -30px;
    opacity: .2;
    pointer-events: none;
}
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.auth-brand-text { color: #fff; }
.auth-brand-text .abn1 { font-size: 18px; font-weight: 900; line-height: 1; }
.auth-brand-text .abn2 { font-size: 12px; opacity: .8; font-weight: 600; }
.auth-headline {
    color: #fff;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -1.2px;
    line-height: 1.1;
    margin-bottom: 16px;
}
.auth-subline {
    color: rgba(255,255,255,.82);
    font-size: 14px;
    line-height: 1.65;
    max-width: 300px;
    margin-bottom: 36px;
}
.auth-bullets { display: flex; flex-direction: column; gap: 12px; }
.auth-bullet { display: flex; align-items: center; gap: 10px; }
.auth-bullet-icon {
    width: 28px; height: 28px;
    background: rgba(255,255,255,.22);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.auth-bullet span { font-size: 13px; color: rgba(255,255,255,.88); font-weight: 600; }

.auth-panel-right { padding: 52px 48px; }
.auth-panel-right h2 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.5px;
    margin-bottom: 6px;
}
.auth-panel-right .auth-sub {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 28px;
}
.auth-switch { font-size: 13px; color: var(--muted); margin-top: 20px; }
.auth-switch a { color: var(--orange); font-weight: 700; }

/* Account type selector */
.account-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 6px; }
.account-type-opt { position: relative; }
.account-type-opt input { position: absolute; opacity: 0; pointer-events: none; }
.account-type-card {
    border: 2px solid var(--line);
    border-radius: var(--r);
    padding: 14px 16px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.account-type-opt input:checked ~ .account-type-card {
    border-color: var(--orange);
    background: #FFF6EE;
}
.account-type-card .act-icon { font-size: 22px; }
.account-type-card .act-label { font-size: 13px; font-weight: 700; }
.account-type-card .act-desc  { font-size: 11px; color: var(--muted); }

/* ============================================================
   APP SHELL — DASHBOARD LAYOUT
   ============================================================ */

.app-shell {
    display: flex;
    min-height: 100vh;
    background: #F5F7FA;
}

/* SIDEBAR */
.sidebar {
    width: 240px;
    min-width: 240px;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; bottom: 0; left: 0;
    overflow-y: auto;
    z-index: 50;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); }

.sidebar-brand {
    padding: 20px 18px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    flex-shrink: 0;
}
.sidebar-brand-icon {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: rgba(255,106,0,.18);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.sidebar-brand-name { line-height: 1.1; }
.sidebar-brand-name .sbn1 { font-size: 13px; font-weight: 800; color: #fff; }
.sidebar-brand-name .sbn2 { font-size: 11px; color: rgba(255,155,60,.85); font-weight: 700; }

.sidebar-section-label {
    padding: 18px 18px 6px;
    font-size: 10px;
    font-weight: 800;
    color: rgba(255,255,255,.28);
    text-transform: uppercase;
    letter-spacing: .8px;
}

.sidebar-nav { padding: 8px 10px; flex: 1; }

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: background .15s, color .15s;
    margin-bottom: 2px;
    cursor: pointer;
}
.nav-item:hover { background: rgba(255,255,255,.07); color: rgba(255,255,255,.9); }
.nav-item.active {
    background: var(--orange);
    color: #fff;
    font-weight: 700;
}
.nav-item.active:hover { background: #e55a00; }
.nav-item-icon {
    width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    opacity: .8;
}
.nav-item.active .nav-item-icon { opacity: 1; }

.sidebar-footer {
    padding: 12px 10px;
    border-top: 1px solid rgba(255,255,255,.07);
    flex-shrink: 0;
}

/* MAIN AREA */
.main-area {
    flex: 1;
    margin-left: 240px;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* TOP BAR */
.topbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 40;
}
.topbar-left h1 {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.3px;
    margin-bottom: 0;
}
.topbar-left p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 1px;
}
.topbar-right { display: flex; align-items: center; gap: 10px; }
.topbar-user {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 14px 6px 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
}
.topbar-avatar {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}

/* CONTENT AREA */
.content-area { padding: 28px 32px 48px; flex: 1; }

/* WELCOME BANNER */
.welcome-banner {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.welcome-banner .wb-deco {
    position: absolute;
    right: -30px; top: -30px;
    opacity: .12;
    pointer-events: none;
}
.welcome-banner h2 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.4px;
    margin-bottom: 4px;
}
.welcome-banner p { font-size: 13px; color: var(--muted); }
.welcome-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* STAT CARDS (as in publisher dashboard concept) */
.stat-cards { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; margin-bottom: 24px; }
.stat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 18px 20px;
    box-shadow: var(--shadow);
    position: relative;
}
.stat-card-label { font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .3px; }
.stat-card-value { font-size: 26px; font-weight: 900; letter-spacing: -1px; color: var(--text); line-height: 1; margin-bottom: 6px; }
.stat-card-delta { font-size: 11px; font-weight: 700; }
.stat-card-delta.up   { color: var(--green); }
.stat-card-delta.down { color: #E53E3E; }
.stat-card-delta.neutral { color: var(--muted); }

/* CHART CARD */
.chart-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: 22px 24px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}
.chart-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.chart-card-head h3 { font-size: 15px; font-weight: 700; }
.chart-canvas { height: 200px; position: relative; }
.chart-canvas svg { width: 100%; height: 100%; }

/* DASHBOARD GRID */
.dash-grid { display: grid; grid-template-columns: 1fr 320px; gap: 20px; margin-bottom: 20px; }
.dash-grid-full { grid-column: 1 / -1; }

/* TOP SITES LIST */
.top-sites-list {}
.top-sites-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}
.top-sites-row:last-child { border-bottom: none; }
.top-sites-name { font-weight: 700; }
.top-sites-val  { font-weight: 700; color: var(--text); }

/* DATA TABLE */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.data-table th {
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: 10px 14px;
    background: #F8FAFC;
    border-bottom: 1px solid var(--line);
}
.data-table th:first-child { border-radius: var(--r-sm) 0 0 0; }
.data-table th:last-child  { border-radius: 0 var(--r-sm) 0 0; }
.data-table td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #FAFBFC; }

/* MARKETPLACE CARDS — concept style */
.marketplace-filters {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    flex-wrap: wrap;
}
.marketplace-filters label { margin-bottom: 0; font-size: 12px; }
.mf-search {
    flex: 1;
    min-width: 200px;
    border-radius: 8px;
    background: var(--cream);
    border: 1.5px solid var(--line);
    padding: 9px 14px;
    font-size: 13px;
}
.mf-search:focus { border-color: var(--orange); }

.market-table-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.market-table-head {
    display: grid;
    grid-template-columns: 2fr 1fr 80px 80px 100px 100px;
    gap: 8px;
    padding: 10px 20px;
    background: #F8FAFC;
    border-bottom: 1px solid var(--line);
}
.market-table-head span {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .4px;
}
.market-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 80px 80px 100px 100px;
    gap: 8px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
    align-items: center;
    transition: background .12s;
}
.market-table-row:last-child { border-bottom: none; }
.market-table-row:hover { background: #FAFBFC; }
.mtr-site { display: flex; align-items: center; gap: 10px; }
.mtr-thumb {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--cream2);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    overflow: hidden;
}
.mtr-name { font-size: 13px; font-weight: 700; }
.mtr-url  { font-size: 11px; color: var(--muted); }
.mtr-val  { font-size: 13px; font-weight: 600; }
.mtr-cpm  { font-size: 13px; font-weight: 700; color: var(--text); }

/* SITE / ZONE cards */
.site-grid, .zone-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }

.site-card, .zone-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: box-shadow .2s, transform .2s;
}
.site-card:hover, .zone-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.sc-name  { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.sc-url   { font-size: 12px; color: var(--muted); margin-bottom: 12px; word-break: break-all; }
.sc-meta  { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.sc-stat  { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.sc-stat strong { color: var(--text); font-weight: 700; }
.sc-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* EMBED CODE */
.code-block {
    background: var(--navy);
    color: #E8F0FE;
    border-radius: var(--r);
    padding: 14px 16px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 12px;
    line-height: 1.6;
    overflow-x: auto;
    position: relative;
}
.code-copy-btn {
    position: absolute;
    top: 10px; right: 10px;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.7);
    border: none;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 11px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: background .15s;
}
.code-copy-btn:hover { background: rgba(255,255,255,.22); color: #fff; box-shadow: none; }

/* PAGE HEADER (inside content area) */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.page-header h2 { font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.page-header p  { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ============================================================
   MOBILE NAV — BURGER MENU
   ============================================================ */

.burger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    color: var(--text);
    flex-shrink: 0;
    margin-right: 8px;
    transition: background .15s;
}
.burger-btn:hover { background: var(--cream); }

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 49;
    backdrop-filter: blur(2px);
}
.sidebar-overlay.active { display: block; }

.topbar-email { display: inline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1200px) {
    .stat-cards { grid-template-columns: repeat(3, 1fr); }
    .lp-hero-right { width: 340px; min-width: 340px; }
    .lp-hero-heading { font-size: 46px; }
}

@media (max-width: 1024px) {
    /* Show burger, hide sidebar by default */
    .burger-btn { display: flex; align-items: center; justify-content: center; }
    .sidebar {
        transform: translateX(-100%);
        transition: transform .25s cubic-bezier(.4,0,.2,1);
    }
    .sidebar.open { transform: translateX(0); }
    .main-area { margin-left: 0; }
    .topbar-email { display: none; }
}

@media (max-width: 960px) {
    .lp-hero { flex-direction: column; min-height: auto; }
    .lp-hero-right { display: none; }
    .lp-hero-inner { padding: 60px 32px 52px; }
    .lp-hero-heading { font-size: 42px; }
    .pub-nav { padding: 0 24px; }
    .lp-section { padding: 56px 24px; }
    .lp-steps { flex-direction: column; gap: 12px; }
    .lp-step-arrow { display: none; }
    .lp-two-paths { grid-template-columns: 1fr; }
    .lp-path-divider { display: none; }
    .lp-features { grid-template-columns: repeat(2, 1fr); }
    .lp-cta { padding: 56px 24px; }
    .lp-cta h2 { font-size: 28px; }
    .pub-footer { padding: 48px 24px 28px; }
    .pub-footer-grid { grid-template-columns: 1fr 1fr; }
    .how-steps { grid-template-columns: repeat(2,1fr); }
    .how-steps::before { display: none; }
    .feature-grid { grid-template-columns: repeat(2,1fr); }
    .stats-bar { grid-template-columns: repeat(2,1fr); padding: 32px 24px; }
    .dash-grid { grid-template-columns: 1fr; }
    .sidebar { transform: translateX(-100%); }
    .main-area { margin-left: 0; }
    .market-table-head, .market-table-row { grid-template-columns: 1fr 80px 80px; }
    .market-table-head span:nth-child(n+4), .market-table-row > *:nth-child(n+4) { display: none; }
    .pub-footer-grid { grid-template-columns: 1fr 1fr; }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-panel-left { display: none; }
}

@media (max-width: 768px) {
    .section { padding: 48px 24px; }
    .cta-banner { margin: 0 24px 48px; padding: 36px 28px; flex-direction: column; text-align: center; }
    .section-title { font-size: 26px; }
    .feature-grid { grid-template-columns: 1fr; }
    .stat-cards { grid-template-columns: repeat(2,1fr); }
    .content-area { padding: 20px 16px 40px; }
    .topbar { padding: 0 16px; }
    .grid-2, .grid-3, .grid-4, .form-grid, .form-grid-3 { grid-template-columns: 1fr; }
    .site-grid, .zone-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-wordmark { font-size: 44px; }
    .stat-cards { grid-template-columns: 1fr 1fr; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
}
