/* KasiAds - Modern Minimalistic Green Theme */
:root {
    --green-50: #ecfdf5;
    --green-100: #d1fae5;
    --green-200: #a7f3d0;
    --green-300: #6ee7b7;
    --green-400: #34d399;
    --green-500: #10b981;
    --green-600: #059669;
    --green-700: #047857;
    --green-800: #065f46;
    --green-900: #064e3b;

    --ink-900: #0a0f0d;
    --ink-800: #141c18;
    --ink-700: #1f2a24;
    --ink-600: #4b5650;
    --ink-500: #6b766f;
    --ink-400: #9ca69f;
    --ink-300: #cfd6d1;
    --ink-200: #e5eae7;
    --ink-100: #f2f5f3;
    --ink-50:  #f8faf9;

    --white: #ffffff;
    --red: #ef4444;
    --amber: #f59e0b;

    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(6, 78, 59, 0.04);
    --shadow: 0 4px 16px -4px rgba(6, 78, 59, 0.08);
    --shadow-lg: 0 12px 32px -8px rgba(6, 78, 59, 0.12);

    --font: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', system-ui, sans-serif;
}

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

html, body {
    font-family: var(--font);
    background: var(--ink-50);
    color: var(--ink-900);
    -webkit-font-smoothing: antialiased;
    font-size: 15px;
    line-height: 1.5;
    min-height: 100vh;
}

a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-800); }

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ========== LAYOUT ========== */
.app-shell {
    max-width: 520px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--white);
    position: relative;
    padding-bottom: 88px;
}

.admin-shell {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

@media (max-width: 900px) {
    .admin-shell { grid-template-columns: 1fr; padding-bottom: 88px; }
    .admin-sidebar { display: none; }
}

/* ========== TOP BAR ========== */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--ink-100);
}

.topbar h1 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.topbar .sub {
    font-size: 13px;
    color: var(--ink-500);
    margin-top: 2px;
}

.brand-dot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
}
.brand-dot::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--green-500);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--green-100);
}

.avatar-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--green-100);
    color: var(--green-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

/* ========== CONTENT ========== */
.content { padding: 20px; }
.content-lg { padding: 32px; }

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

.section-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

/* ========== HERO CARD ========== */
.hero-card {
    background: linear-gradient(135deg, var(--green-700) 0%, var(--green-900) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    overflow: hidden;
}
.hero-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--green-400) 0%, transparent 70%);
    opacity: 0.3;
}
.hero-card .label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.75;
    margin-bottom: 6px;
}
.hero-card .amount {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}
.hero-card .meta {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.15);
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}
.hero-card .meta strong { display: block; font-size: 15px; font-weight: 600; margin-top: 2px; }

/* ========== STAT GRID ========== */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.stat-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) { .stat-grid-4 { grid-template-columns: repeat(2, 1fr); } }

.stat-card {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    padding: 16px;
}
.stat-card .label {
    font-size: 12px;
    color: var(--ink-500);
    font-weight: 500;
    margin-bottom: 6px;
}
.stat-card .value {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink-900);
}
.stat-card .trend {
    font-size: 12px;
    color: var(--green-600);
    margin-top: 4px;
    font-weight: 500;
}

/* ========== CARDS ========== */
.card {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    padding: 16px;
}
.card-lg { padding: 24px; }
.card-hover:hover { border-color: var(--green-300); box-shadow: var(--shadow); }
.card-clean { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--ink-100); }

/* ========== WALL CARD ========== */
.wall-card {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.15s;
}
.wall-card:hover { border-color: var(--green-300); transform: translateY(-1px); }
.wall-card .photo {
    aspect-ratio: 16/9;
    background: var(--ink-100);
    position: relative;
    overflow: hidden;
}
.wall-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.wall-card .body { padding: 14px 16px; }
.wall-card .addr { font-weight: 600; font-size: 15px; }
.wall-card .meta { color: var(--ink-500); font-size: 13px; margin-top: 2px; }
.wall-card .row-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }

/* ========== BADGES ========== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-available { background: var(--green-100); color: var(--green-800); }
.badge-contracted { background: #dbeafe; color: #1e40af; }
.badge-rejected { background: #fee2e2; color: #991b1b; }
.badge-approved { background: var(--green-100); color: var(--green-800); }
.badge-non-compliant { background: #fee2e2; color: #991b1b; }

.grade-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
}
.grade-A { background: var(--green-600); color: white; }
.grade-B { background: var(--green-300); color: var(--green-900); }
.grade-C { background: var(--ink-200); color: var(--ink-700); }
.grade-ungraded { background: var(--ink-100); color: var(--ink-500); }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.15s;
    white-space: nowrap;
    text-decoration: none;
    border: 1px solid transparent;
}
.btn-primary { background: var(--green-600); color: var(--white); }
.btn-primary:hover { background: var(--green-700); color: var(--white); }
.btn-dark { background: var(--ink-900); color: var(--white); }
.btn-dark:hover { background: var(--ink-800); color: var(--white); }
.btn-outline { background: var(--white); color: var(--ink-900); border-color: var(--ink-200); }
.btn-outline:hover { border-color: var(--green-500); color: var(--green-700); }
.btn-ghost { background: transparent; color: var(--ink-700); }
.btn-ghost:hover { background: var(--ink-100); }
.btn-danger { background: #fee2e2; color: #991b1b; }
.btn-danger:hover { background: #fecaca; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 16px 24px; font-size: 15px; }
.btn-block { display: flex; width: 100%; }
.btn-icon { padding: 10px; }

/* ========== FORMS ========== */
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-700);
    margin-bottom: 6px;
}
.form-group .hint { font-size: 12px; color: var(--ink-500); margin-top: 4px; }

.input, .select, .textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    background: var(--white);
    color: var(--ink-900);
    transition: border-color 0.15s;
}
.input:focus, .select:focus, .textarea:focus {
    outline: none;
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px var(--green-100);
}
.textarea { resize: vertical; min-height: 90px; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .form-grid-2 { grid-template-columns: 1fr; } }

/* ========== PHOTO UPLOAD ========== */
.photo-upload {
    border: 2px dashed var(--ink-200);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    background: var(--ink-50);
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
    overflow: hidden;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.photo-upload:hover { border-color: var(--green-500); background: var(--green-50); }
.photo-upload.has-image { padding: 0; border-style: solid; }
.photo-upload input { display: none; }
.photo-upload .icon { font-size: 32px; margin-bottom: 8px; }
.photo-upload .title { font-weight: 600; font-size: 14px; color: var(--ink-900); }
.photo-upload .hint { font-size: 12px; color: var(--ink-500); margin-top: 4px; }
.photo-upload img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.photo-upload.has-image .check {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--green-600);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: var(--shadow);
}

/* ========== BOTTOM NAV (mobile) ========== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 520px;
    background: var(--white);
    border-top: 1px solid var(--ink-100);
    display: flex;
    justify-content: space-around;
    padding: 10px 10px 20px;
    z-index: 100;
}
.bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px;
    color: var(--ink-500);
    font-size: 11px;
    font-weight: 500;
    border-radius: var(--radius-sm);
}
.bottom-nav a.active { color: var(--green-700); }
.bottom-nav a svg { width: 22px; height: 22px; }

/* ========== ADMIN SIDEBAR ========== */
.admin-sidebar {
    background: var(--ink-900);
    color: var(--white);
    padding: 24px 16px;
    position: sticky;
    top: 0;
    height: 100vh;
}
.admin-sidebar .logo {
    font-size: 20px;
    font-weight: 700;
    color: white;
    padding: 0 12px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.admin-sidebar .logo::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--green-400);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(16,185,129,0.2);
}
.admin-sidebar nav { display: flex; flex-direction: column; gap: 2px; }
.admin-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: var(--radius-sm);
    color: var(--ink-300);
    font-size: 14px;
    font-weight: 500;
}
.admin-sidebar nav a:hover { background: rgba(255,255,255,0.05); color: white; }
.admin-sidebar nav a.active { background: var(--green-600); color: white; }
.admin-sidebar nav a svg { width: 18px; height: 18px; }

.admin-main { padding: 32px 40px; min-width: 0; }
@media (max-width: 900px) { .admin-main { padding: 20px; } }

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.admin-header h1 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.admin-header .sub { color: var(--ink-500); font-size: 14px; margin-top: 2px; }

/* ========== TABLE ========== */
.table-wrap {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    overflow: hidden;
    overflow-x: auto;
}
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
    text-align: left;
    padding: 14px 16px;
    background: var(--ink-50);
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-600);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--ink-100);
    white-space: nowrap;
}
.table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--ink-100);
    vertical-align: middle;
}
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--ink-50); }
.table .thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--ink-100);
}
.table input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--green-600); }

/* ========== ALERTS ========== */
.alert {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 16px;
    border: 1px solid;
}
.alert-success { background: var(--green-50); color: var(--green-800); border-color: var(--green-200); }
.alert-error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.alert-info { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.alert-warn { background: #fffbeb; color: #92400e; border-color: #fde68a; }

/* ========== LOGIN PAGE ========== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(180deg, var(--ink-50) 0%, var(--green-50) 100%);
}
.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--ink-100);
}
.auth-card .brand { font-size: 24px; font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.auth-card .brand::before { content: ''; width: 12px; height: 12px; background: var(--green-500); border-radius: 50%; box-shadow: 0 0 0 5px var(--green-100); }
.auth-card .tagline { color: var(--ink-500); font-size: 14px; margin-bottom: 24px; }
.auth-card .switch { text-align: center; margin-top: 20px; font-size: 14px; color: var(--ink-500); }

/* ========== LANDING ========== */
.landing { background: var(--white); }
.landing-nav {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ink-100);
    z-index: 50;
}
.landing-nav .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.landing-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    text-align: center;
}
.landing-hero .tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--green-100);
    color: var(--green-800);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}
.landing-hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 20px;
}
.landing-hero h1 em { font-style: normal; color: var(--green-600); }
.landing-hero p {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--ink-500);
    max-width: 640px;
    margin: 0 auto 32px;
}
.landing-hero .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.landing-features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 800px) { .landing-features { grid-template-columns: 1fr; } }
.feature {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg);
}
.feature .ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--green-100);
    color: var(--green-700);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.feature p { color: var(--ink-500); font-size: 14px; line-height: 1.6; }

.landing-cta {
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 48px 24px;
    background: var(--ink-900);
    border-radius: var(--radius-lg);
    text-align: center;
    color: white;
}
.landing-cta h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
.landing-cta p { color: var(--ink-400); margin-bottom: 24px; }

.footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
    border-top: 1px solid var(--ink-100);
    color: var(--ink-500);
    font-size: 13px;
    text-align: center;
}

/* ========== SWIPE VERIFY ========== */
.swipe-stage {
    max-width: 440px;
    margin: 0 auto;
    position: relative;
    height: 620px;
}
.swipe-card {
    position: absolute;
    inset: 0;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--ink-100);
    overflow: hidden;
    cursor: grab;
    user-select: none;
    transition: transform 0.3s;
}
.swipe-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    background: var(--ink-100);
}
.swipe-card .info { padding: 20px; }
.swipe-card .info h3 { font-size: 18px; font-weight: 700; }
.swipe-card .info .meta { color: var(--ink-500); font-size: 13px; margin-top: 4px; }
.swipe-actions { display: flex; justify-content: center; gap: 20px; margin-top: 24px; }
.swipe-actions button {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: var(--shadow);
    border: 1px solid var(--ink-100);
    background: white;
    transition: transform 0.15s;
}
.swipe-actions button:hover { transform: scale(1.1); }
.swipe-actions .reject { color: var(--red); }
.swipe-actions .approve { color: var(--green-600); }

/* ========== EMPTY STATE ========== */
.empty {
    padding: 48px 20px;
    text-align: center;
    color: var(--ink-500);
}
.empty .ico {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--ink-100);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.empty h3 { font-size: 16px; font-weight: 600; color: var(--ink-900); margin-bottom: 6px; }
.empty p { font-size: 14px; }

/* ========== UTILITIES ========== */
.text-muted { color: var(--ink-500); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.text-lg { font-size: 18px; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.flex-1 { flex: 1; }
.hidden { display: none !important; }

/* ========== EXPANDED LANDING PAGE ========== */
.landing { background: var(--white); scroll-behavior: smooth; }
.landing .wrap, .landing-hero, .landing-gallery, .landing-how, .landing-why, .landing-faq, .landing-contact { padding-left: 24px; padding-right: 24px; }

/* Nav enhancement */
.landing-nav .wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}
.landing-nav-links {
    display: flex;
    gap: 28px;
    margin-left: 20px;
    flex: 1;
}
.landing-nav-links .nav-link {
    color: var(--ink-700);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}
.landing-nav-links .nav-link:hover { color: var(--green-700); }
.landing-nav-links .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    background: var(--green-500);
    transform: scaleX(0);
    transition: transform 0.2s;
}
.landing-nav-links .nav-link:hover::after { transform: scaleX(1); }

@media (max-width: 860px) {
    .landing-nav-links { display: none; }
    .landing-login { display: none; }
}

/* Hero */
.landing-hero {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 72px;
    padding-bottom: 80px;
    text-align: center;
}
.landing-hero .tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: var(--green-100);
    color: var(--green-800);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}
.landing-hero h1 {
    font-size: clamp(36px, 6.5vw, 68px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.03;
    margin-bottom: 22px;
    color: var(--ink-900);
}
.landing-hero h1 em {
    font-style: normal;
    color: var(--green-600);
    position: relative;
    display: inline-block;
}
.landing-hero h1 em::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 10px;
    background: var(--green-200);
    z-index: -1;
    border-radius: 4px;
}
.landing-hero p {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--ink-500);
    max-width: 680px;
    margin: 0 auto 36px;
    line-height: 1.6;
}
.landing-hero .cta-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.hero-proof {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid var(--ink-100);
    max-width: 720px;
    margin: 0 auto;
}
.hero-proof-item { text-align: center; }
.hero-proof-num {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--green-700);
}
.hero-proof-label {
    font-size: 13px;
    color: var(--ink-500);
    margin-top: 2px;
    font-weight: 500;
}

/* Section heads */
.section-head {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}
.section-head .eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--green-600);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}
.section-head h2 {
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 14px;
    color: var(--ink-900);
}
.section-head p {
    font-size: 17px;
    color: var(--ink-500);
    line-height: 1.6;
}

/* Gallery */
.landing-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 80px;
    padding-bottom: 80px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--ink-100);
    aspect-ratio: 4/3;
    grid-column: span 3;
    margin: 0;
}
.gallery-item-lg { grid-column: span 3; }
@media (min-width: 900px) {
    .gallery-item-lg { grid-column: span 4; }
    .gallery-item:not(.gallery-item-lg) { grid-column: span 2; }
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(6,78,59,0.85) 100%);
    color: white;
}
.gallery-brand {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.gallery-caption {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 2px;
}
@media (max-width: 700px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item, .gallery-item-lg { grid-column: span 1; }
}

/* How it works */
.landing-how {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 80px;
    padding-bottom: 80px;
    background: var(--ink-50);
    border-radius: var(--radius-lg);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}
.step-card {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    position: relative;
    transition: all 0.2s;
}
.step-card:hover {
    border-color: var(--green-300);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.step-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--green-600);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.step-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--green-100);
    color: var(--green-700);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.step-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
    color: var(--ink-900);
}
.step-card p {
    font-size: 14px;
    color: var(--ink-500);
    line-height: 1.55;
}
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps-grid { grid-template-columns: 1fr; } }

/* Why KasiAds */
.landing-why {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 100px;
    padding-bottom: 100px;
}
.why-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.why-text .eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--green-600);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}
.why-text h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--ink-900);
}
.why-text > p {
    font-size: 16px;
    color: var(--ink-500);
    line-height: 1.65;
    margin-bottom: 28px;
}
.why-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.why-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-700);
}
.why-item strong {
    color: var(--ink-900);
    display: block;
    margin-bottom: 2px;
}
.why-check {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--green-600);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}
.why-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--ink-100);
}
.why-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.why-visual-stat {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: white;
    padding: 18px 22px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.why-stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--green-700);
    letter-spacing: -0.02em;
    line-height: 1;
}
.why-stat-label {
    font-size: 12px;
    color: var(--ink-500);
    margin-top: 4px;
    font-weight: 500;
}
@media (max-width: 900px) {
    .why-wrap { grid-template-columns: 1fr; gap: 40px; }
    .why-visual { aspect-ratio: 16/10; }
}

/* FAQ */
.landing-faq {
    max-width: 820px;
    margin: 0 auto;
    padding-top: 80px;
    padding-bottom: 80px;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--green-300); }
.faq-item[open] { border-color: var(--green-400); background: var(--green-50); }
.faq-item summary {
    padding: 20px 56px 20px 22px;
    font-weight: 600;
    font-size: 16px;
    color: var(--ink-900);
    cursor: pointer;
    list-style: none;
    position: relative;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    font-weight: 300;
    color: var(--green-600);
    transition: transform 0.2s;
    line-height: 1;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-body {
    padding: 0 22px 22px;
    color: var(--ink-600);
    line-height: 1.65;
    font-size: 15px;
}

/* Contact */
.landing-contact {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 80px;
    padding-bottom: 100px;
}
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    background: var(--ink-900);
    color: white;
    border-radius: var(--radius-lg);
    padding: 56px;
    position: relative;
    overflow: hidden;
}
.contact-wrap::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--green-600) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}
.contact-info { position: relative; z-index: 1; }
.contact-info .eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--green-400);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}
.contact-info h2 {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 14px;
    color: white;
}
.contact-info > p {
    color: var(--ink-300);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 36px;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.contact-detail {
    display: flex;
    gap: 14px;
    align-items: center;
}
.contact-detail-ico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--green-400);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-detail-label {
    font-size: 12px;
    color: var(--ink-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}
.contact-detail a {
    color: white;
    font-weight: 600;
    font-size: 15px;
}
.contact-detail a:hover { color: var(--green-300); }
.contact-detail-text { color: white; font-weight: 600; font-size: 15px; }

.contact-form-wrap {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    z-index: 1;
    color: var(--ink-900);
}
.contact-form .form-group label { color: var(--ink-700); }
.contact-form .form-fine {
    font-size: 12px;
    color: var(--ink-500);
    text-align: center;
    margin-top: 14px;
}
.contact-success { text-align: center; padding: 20px 0; }
.contact-success-ico {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--green-100);
    color: var(--green-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
}
.contact-success h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--ink-900);
    letter-spacing: -0.01em;
}
.contact-success p {
    color: var(--ink-500);
    line-height: 1.6;
    font-size: 15px;
}

@media (max-width: 900px) {
    .contact-wrap { grid-template-columns: 1fr; padding: 36px 24px; gap: 32px; }
}
@media (max-width: 520px) {
    .contact-form-wrap { padding: 24px; }
}

/* Footer */
.landing-footer {
    background: var(--ink-50);
    border-top: 1px solid var(--ink-100);
    padding: 56px 24px 24px;
}
.footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--ink-100);
}
.footer-brand p {
    color: var(--ink-500);
    font-size: 14px;
    margin-top: 12px;
    max-width: 320px;
    line-height: 1.6;
}
.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-900);
    margin-bottom: 14px;
}
.footer-col a {
    display: block;
    color: var(--ink-600);
    font-size: 14px;
    margin-bottom: 8px;
}
.footer-col a:hover { color: var(--green-700); }
.footer-base {
    max-width: 1200px;
    margin: 24px auto 0;
    text-align: center;
    font-size: 13px;
    color: var(--ink-500);
}
@media (max-width: 760px) {
    .footer-wrap { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: span 2; }
}

/* Signup CTA strip (host-focused) */
.landing-signup-cta {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}
.signup-cta-wrap {
    background: linear-gradient(135deg, var(--green-600) 0%, var(--green-800) 100%);
    color: white;
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    overflow: hidden;
}
.signup-cta-wrap::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--green-400) 0%, transparent 70%);
    opacity: 0.35;
    pointer-events: none;
}
.signup-cta-wrap h2 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 6px;
    color: white;
    position: relative;
}
.signup-cta-wrap p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    position: relative;
}
.signup-cta-wrap .btn {
    position: relative;
    background: white;
    color: var(--green-800);
    flex-shrink: 0;
}
.signup-cta-wrap .btn:hover {
    background: var(--ink-50);
    color: var(--green-900);
}
@media (max-width: 700px) {
    .signup-cta-wrap {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 28px;
    }
    .signup-cta-wrap .btn { width: 100%; justify-content: center; }
}
