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

:root {
    --primary: #039d55;
    --primary-rgb: 3, 157, 85;
    --primary-dark: #028a4a;
    --primary-light: #04f485;
    --primary-bg: rgba(3, 157, 85, 0.06);
    --primary-bg-strong: rgba(3, 157, 85, 0.12);
    --dark: #1a1f2e;
    --dark-soft: #2d3348;
    --text: #4a5568;
    --text-light: #718096;
    --text-muted: #a0aec0;
    --bg: #ffffff;
    --bg-soft: #f7f8fc;
    --bg-muted: #edf2f7;
    --border: #e2e8f0;
    --border-light: #edf2f7;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    --shadow: 0 4px 6px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.06), 0 4px 10px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.08), 0 8px 20px rgba(0,0,0,0.04);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body.kobi-landing {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

body.kobi-landing img { max-width: 100%; height: auto; }

body.kobi-landing h1, body.kobi-landing h2, body.kobi-landing h3,
body.kobi-landing h4, body.kobi-landing h5, body.kobi-landing h6 {
    font-family: var(--font);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

body.kobi-landing a { text-decoration: none; color: inherit; transition: var(--transition); }
body.kobi-landing a.kobi-btn-primary,
body.kobi-landing a.kobi-btn-primary:hover,
body.kobi-landing a.kobi-btn-primary:focus,
body.kobi-landing a.kobi-btn-primary:visited { color: #fff !important; }
body.kobi-landing a.kobi-btn-outline { color: var(--primary) !important; }
body.kobi-landing a.kobi-btn-outline:hover { color: #fff !important; }
body.kobi-landing ul { list-style: none; margin: 0; padding: 0; }

.kobi-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ BUTTONS ============ */
.kobi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    line-height: 1.4;
}

.kobi-btn-primary {
    background: var(--primary);
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}
.kobi-btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.4);
    transform: translateY(-1px);
    color: #fff !important;
}

.kobi-btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.kobi-btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}

.kobi-btn-white {
    background: #fff;
    color: var(--dark);
    border: 1px solid var(--border);
}
.kobi-btn-white:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow);
}

.kobi-btn-lg {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: var(--radius);
}

.kobi-btn-sm {
    padding: 8px 20px;
    font-size: 13px;
}

/* ============ HEADER ============ */
.kobi-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    padding: 0;
}
.kobi-header.scrolled {
    border-bottom-color: var(--border-light);
    box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}

.kobi-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 32px;
}

.kobi-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    max-width: 160px;
    overflow: hidden;
}
body.kobi-landing .kobi-logo img,
.kobi-header .kobi-logo img {
    height: 36px !important;
    width: auto !important;
    max-width: 160px !important;
    max-height: 40px !important;
    object-fit: contain !important;
}

.kobi-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.kobi-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 4px 0;
}
.kobi-nav a:hover,
.kobi-nav a.active {
    color: var(--primary);
}
.kobi-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: var(--transition);
}
.kobi-nav a:hover::after,
.kobi-nav a.active::after {
    width: 100%;
}

.kobi-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile Toggle */
.kobi-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}
.kobi-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 1px;
    transition: var(--transition);
}

/* Mobile Menu */
.kobi-mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 24px;
    z-index: 999;
}
.kobi-mobile-menu.active { display: block; }
.kobi-mobile-menu a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
}
.kobi-mobile-menu a:last-child { border: none; }
.kobi-mobile-menu a:hover { color: var(--primary); }
.kobi-mobile-menu .kobi-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.kobi-mobile-cta-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 14px 20px !important;
    font-size: 15px !important;
    border-radius: 12px !important;
}
.kobi-mobile-cta-btn.kobi-btn-outline {
    background: #fff;
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
}
.kobi-mobile-cta-btn.kobi-btn-primary {
    color: #fff !important;
}

/* ============ HERO ============ */
.kobi-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f7faf8 0%, #f0fdf4 30%, var(--bg-soft) 100%);
    position: relative;
    overflow: hidden;
}
.kobi-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.kobi-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.kobi-hero-content { position: relative; z-index: 2; }

.kobi-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 24px;
    border: 1px solid rgba(var(--primary-rgb), 0.15);
}
.kobi-hero-badge svg { width: 16px; height: 16px; }

.kobi-hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.kobi-hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.kobi-hero-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 36px;
    max-width: 520px;
}

.kobi-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
}

.kobi-hero-stores {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 8px;
}
.kobi-hero-stores-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
.kobi-hero-stores-links {
    display: flex;
    gap: 10px;
}
.kobi-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    color: var(--dark);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--border);
}
.kobi-store-badge:hover {
    background: var(--primary-bg);
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
    color: var(--dark);
}
.kobi-store-badge svg { width: 18px; height: 18px; fill: currentColor; }
.kobi-store-badge-text { display: flex; flex-direction: column; line-height: 1.2; }
.kobi-store-badge-text small { font-size: 9px; opacity: 0.8; font-weight: 400; }
.kobi-store-badge-text strong { font-size: 13px; }

/* Hero Visual */
.kobi-hero-visual {
    position: relative;
    z-index: 1;
}

.kobi-dashboard-mockup {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    position: relative;
    border: 1px solid var(--border-light);
}

.kobi-mockup-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}
.kobi-mockup-dots {
    display: flex;
    gap: 6px;
}
.kobi-mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-muted);
}
.kobi-mockup-dots span:first-child { background: #ff6b6b; }
.kobi-mockup-dots span:nth-child(2) { background: #ffd93d; }
.kobi-mockup-dots span:nth-child(3) { background: #6bcb77; }
.kobi-mockup-url {
    flex: 1;
    background: var(--bg-soft);
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 12px;
    color: var(--text-muted);
}

.kobi-mockup-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.kobi-mockup-card {
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: 18px;
    border: 1px solid var(--border-light);
}
.kobi-mockup-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.kobi-mockup-card-header span {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.kobi-mockup-card-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.kobi-mockup-card-icon svg { width: 14px; height: 14px; }
.kobi-mockup-card-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}
.kobi-mockup-card-sub {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

.kobi-mockup-card.accent {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: transparent;
}
.kobi-mockup-card.accent .kobi-mockup-card-header span { color: rgba(255,255,255,0.7); }
.kobi-mockup-card.accent .kobi-mockup-card-value { color: #fff; }
.kobi-mockup-card.accent .kobi-mockup-card-sub { color: rgba(255,255,255,0.6); }
.kobi-mockup-card.accent .kobi-mockup-card-icon { background: rgba(255,255,255,0.15); }
.kobi-mockup-card.accent .kobi-mockup-card-icon svg { color: #fff; }

.kobi-mockup-chart {
    grid-column: 1 / -1;
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: 18px;
    border: 1px solid var(--border-light);
}
.kobi-mockup-chart-header {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}
.kobi-mockup-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 60px;
}
.kobi-mockup-chart-bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: rgba(var(--primary-rgb), 0.2);
    transition: var(--transition);
}
.kobi-mockup-chart-bar.active { background: var(--primary); }

/* Float badge on mockup */
.kobi-float-badge {
    position: absolute;
    background: #fff;
    border-radius: var(--radius);
    padding: 12px 18px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border-light);
    animation: floatBadge 3s ease-in-out infinite;
    z-index: 3;
}
.kobi-float-badge.top-right { top: -10px; right: -10px; animation-delay: 0s; }
.kobi-float-badge.bottom-left { bottom: 10px; left: -10px; animation-delay: 1.5s; }

.kobi-float-badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.kobi-float-badge-icon.green { background: var(--primary-bg); color: var(--primary); }
.kobi-float-badge-icon.blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ============ SECTION COMMON ============ */
.kobi-section {
    padding: 90px 0;
}
.kobi-section-alt {
    background: var(--bg-soft);
}

.kobi-section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}
.kobi-section-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.kobi-section-header p {
    font-size: 17px;
    color: var(--text);
    line-height: 1.7;
}
.kobi-section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============ VALUE PROPS ============ */
.kobi-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.kobi-value-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.kobi-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition);
}
.kobi-value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--primary-rgb), 0.2);
}
.kobi-value-card:hover::before { opacity: 1; }

.kobi-value-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    transition: var(--transition);
}
.kobi-value-card:hover .kobi-value-icon {
    background: var(--primary);
    color: #fff;
}
.kobi-value-icon svg { width: 24px; height: 24px; }

.kobi-value-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
.kobi-value-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============ HOW IT WORKS ============ */
.kobi-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}
.kobi-steps-grid::before {
    content: '';
    position: absolute;
    top: 52px;
    left: calc(16.66% + 32px);
    right: calc(16.66% + 32px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), rgba(var(--primary-rgb), 0.2));
    z-index: 0;
}

.kobi-step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.kobi-step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.3);
    position: relative;
}
.kobi-step-number::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px dashed rgba(var(--primary-rgb), 0.2);
}

.kobi-step-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}
.kobi-step-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

.kobi-steps-cta {
    text-align: center;
    margin-top: 48px;
}

/* ============ APP SECTION ============ */
.kobi-app-section {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.kobi-app-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.kobi-app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.kobi-app-content { position: relative; z-index: 2; }
.kobi-app-content .kobi-section-label { color: var(--primary-light); }
.kobi-app-content h2,
.kobi-app-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: #fff !important;
    margin-bottom: 20px;
}
.kobi-app-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 32px;
}

.kobi-app-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}
.kobi-app-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}
.kobi-app-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(var(--primary-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-light);
}
.kobi-app-feature-icon svg { width: 16px; height: 16px; }

.kobi-app-stores {
    display: flex;
    gap: 12px;
}

/* Store badges on dark backgrounds (app section) */
.kobi-app-stores .kobi-store-badge {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}
.kobi-app-stores .kobi-store-badge:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
}
.kobi-app-stores .kobi-store-badge svg {
    fill: #fff;
}

/* Phone Mockup */
.kobi-phone-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 1;
}
.kobi-phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(180deg, #2d3348, #1a1f2e);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    position: relative;
}
.kobi-phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}
.kobi-phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1a1f2e;
    border-radius: 0 0 16px 16px;
    z-index: 2;
}
.kobi-phone-screen-content {
    padding: 40px 18px 18px;
}
.kobi-phone-screen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.kobi-phone-screen-header h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}
.kobi-phone-screen-header .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}
.kobi-phone-order-card {
    background: var(--bg-soft);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px;
    border: 1px solid var(--border-light);
}
.kobi-phone-order-card .order-id {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}
.kobi-phone-order-card .order-info {
    font-size: 10px;
    color: var(--text-light);
}
.kobi-phone-order-card .order-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 600;
    margin-top: 6px;
}
.kobi-phone-order-card .order-status.active { background: var(--primary-bg); color: var(--primary); }
.kobi-phone-order-card .order-status.pending { background: #fff7ed; color: #ea580c; }
.kobi-phone-order-card .order-status.done { background: #f0fdf4; color: #16a34a; }

/* ============ TRUST BAND ============ */
.kobi-trust-band {
    padding: 60px 0;
    background: var(--bg);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.kobi-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.kobi-trust-item {
    text-align: center;
    padding: 24px 16px;
}
.kobi-trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--primary);
}
.kobi-trust-icon svg { width: 22px; height: 22px; }
.kobi-trust-item h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}
.kobi-trust-item p {
    font-size: 13px;
    color: var(--text-light);
}

/* ============ FAQ ============ */
.kobi-faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kobi-faq-item {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition);
}
.kobi-faq-item:hover { border-color: rgba(var(--primary-rgb), 0.2); }
.kobi-faq-item.active { border-color: rgba(var(--primary-rgb), 0.3); }

.kobi-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    gap: 16px;
    user-select: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font);
    transition: var(--transition);
}
.kobi-faq-question:hover { color: var(--primary); }
.kobi-faq-question svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: var(--transition);
    color: var(--text-muted);
}
.kobi-faq-item.active .kobi-faq-question svg {
    transform: rotate(180deg);
    color: var(--primary);
}

.kobi-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.kobi-faq-item.active .kobi-faq-answer { max-height: 200px; }
.kobi-faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
}

/* ============ FOOTER ============ */
.kobi-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}

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

.kobi-footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 14px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.5);
    max-width: 300px;
}

.kobi-footer-logo img {
    height: 32px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.kobi-footer-social {
    display: flex;
    gap: 10px;
}
.kobi-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.kobi-footer-social a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}
.kobi-footer-social a img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(0.85);
    opacity: 0.7;
}
.kobi-footer-social a:hover img { opacity: 1; filter: brightness(0) invert(1); }

.kobi-footer h5 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kobi-footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.kobi-footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}
.kobi-footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.kobi-footer-stores {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

/* Store badges on dark footer background */
.kobi-footer-stores .kobi-store-badge {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}
.kobi-footer-stores .kobi-store-badge:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
}
.kobi-footer-stores .kobi-store-badge svg {
    fill: #fff;
}

.kobi-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}


/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .kobi-hero h1 { font-size: 40px; }
    .kobi-hero-grid { gap: 40px; }
    .kobi-values-grid { grid-template-columns: repeat(2, 1fr); }
    .kobi-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .kobi-nav { display: none; }
    .kobi-header-actions .kobi-btn { display: none; }
    .kobi-mobile-toggle { display: flex; }

    .kobi-hero { padding: 110px 0 60px; }
    .kobi-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .kobi-hero h1 { font-size: 34px; }
    .kobi-hero-desc { font-size: 16px; }
    .kobi-hero-visual { order: -1; }

    .kobi-hero-stores { flex-direction: column; align-items: flex-start; gap: 10px; }

    .kobi-section { padding: 60px 0; }
    .kobi-section-header h2 { font-size: 28px; }
    .kobi-section-header { margin-bottom: 40px; }

    .kobi-values-grid { grid-template-columns: 1fr; gap: 16px; }
    .kobi-value-card { padding: 24px 22px; }

    .kobi-steps-grid { grid-template-columns: 1fr; gap: 40px; }
    .kobi-steps-grid::before { display: none; }

    .kobi-app-grid { grid-template-columns: 1fr; gap: 48px; }
    .kobi-phone-mockup { order: -1; }

    .kobi-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    .kobi-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .kobi-hero h1 { font-size: 28px; }
    .kobi-hero-cta { flex-direction: column; }
    .kobi-hero-cta .kobi-btn { width: 100%; }
    .kobi-hero-stores-links { flex-direction: column; width: 100%; }
    .kobi-store-badge { justify-content: center; }
    .kobi-trust-grid { grid-template-columns: 1fr; }
    .kobi-section-header h2 { font-size: 24px; }
    .kobi-app-stores { flex-direction: column; }
    .kobi-app-stores .kobi-store-badge { justify-content: center; }
}

/* ============ PRELOADER ============ */
#kobi-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s, visibility 0.4s;
}
#kobi-loader.loaded {
    opacity: 0;
    visibility: hidden;
}
.kobi-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============ LEGACY PAGE COMPAT ============ */
/* Ensure non-home pages (policy, contact, register etc) have proper spacing below fixed header */
body.kobi-landing .about-section,
body.kobi-landing .contact-section,
body.kobi-landing .vendor-reg-section,
body.kobi-landing section:first-of-type {
    padding-top: 100px;
}
/* Override for hero which has its own padding */
body.kobi-landing .kobi-hero {
    padding-top: 140px;
}
/* Ensure old navbar-bottom doesn't interfere since we have kobi-header now */
body.kobi-landing .navbar-bottom { display: none; }
/* Fix: old main.css header.active::after creates an overlay that blocks clicks */
body.kobi-landing header::after,
body.kobi-landing header.active::after {
    display: none !important;
    pointer-events: none !important;
}
/* Hide old footer styles from main.css */
body.kobi-landing footer.kobi-footer .newsletter-section { display: none; }

/* ============ SCROLL ANIMATIONS ============ */
.kobi-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.kobi-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ CONTACT PAGE ============ */
.kobi-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}
.kobi-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.kobi-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--primary-bg);
    border-radius: 14px;
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    transition: var(--transition);
}
.kobi-contact-card:hover {
    border-color: rgba(var(--primary-rgb), 0.2);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.08);
}
.kobi-contact-card-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.kobi-contact-card-icon svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
}
.kobi-contact-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 4px;
}
.kobi-contact-card a,
.kobi-contact-card span {
    font-size: 14px;
    color: var(--text);
    display: block;
    line-height: 1.5;
}
.kobi-contact-card a:hover {
    color: var(--primary);
}

.kobi-contact-form-wrap {
    background: #fff;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
}
.kobi-contact-form-wrap h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 6px;
}
.kobi-contact-form-wrap > p {
    font-size: 14px;
    color: var(--text);
    margin: 0 0 28px;
}
.kobi-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.kobi-form-group {
    margin-bottom: 18px;
}
.kobi-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}
.kobi-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--bg);
    transition: var(--transition);
    outline: none;
    resize: vertical;
}
.kobi-form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}
.kobi-form-input::placeholder {
    color: #adb5bd;
}
textarea.kobi-form-input {
    min-height: 120px;
}
.kobi-captcha-img {
    border-radius: 10px;
    height: 46px;
    object-fit: contain;
}

/* ============ CONTACT V2 ============ */
.kobi-contact-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--primary-bg) 0%, #fff 100%);
    text-align: center;
}
.kobi-contact-hero-inner h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin: 12px 0 16px;
    line-height: 1.2;
}
.kobi-contact-hero-inner p {
    font-size: 16px;
    color: var(--text);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}
.kobi-contact-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 56px;
}
.kobi-contact-card-v2 {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}
.kobi-contact-card-v2:hover {
    border-color: rgba(var(--primary-rgb), 0.2);
    box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.08);
    transform: translateY(-2px);
}
.kobi-contact-card-v2-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.kobi-contact-card-v2-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}
.kobi-contact-card-v2 h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 8px;
}
.kobi-contact-card-v2 a,
.kobi-contact-card-v2 span {
    font-size: 14px;
    color: var(--text);
    display: block;
    line-height: 1.6;
}
.kobi-contact-card-v2 a:hover {
    color: var(--primary);
}
.kobi-contact-form-section {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 44px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
}
.kobi-contact-form-header {
    text-align: center;
    margin-bottom: 32px;
}
.kobi-contact-form-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 8px;
}
.kobi-contact-form-header p {
    font-size: 14px;
    color: var(--text);
    margin: 0;
}

/* ============ POLICY / CONTENT PAGES ============ */
.kobi-content-page {
    padding-top: 120px;
    padding-bottom: 80px;
}
.kobi-content-page .kobi-content-body {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 40px 48px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.04);
    border: 1px solid var(--border);
}
.kobi-content-page .kobi-content-body h1,
.kobi-content-page .kobi-content-body h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin: 28px 0 12px;
}
.kobi-content-page .kobi-content-body h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
    margin: 20px 0 8px;
}
.kobi-content-page .kobi-content-body p,
.kobi-content-page .kobi-content-body li,
.kobi-content-page .kobi-content-body td {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text);
}
.kobi-content-page .kobi-content-body ul,
.kobi-content-page .kobi-content-body ol {
    padding-left: 20px;
    margin: 8px 0;
}
.kobi-content-page .kobi-content-body a {
    color: var(--primary);
}
.kobi-content-page .kobi-content-body a:hover {
    text-decoration: underline;
}
.kobi-content-page .kobi-content-title {
    text-align: center;
    margin-bottom: 32px;
}
.kobi-content-page .kobi-content-title h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 8px;
}
.kobi-content-page .kobi-content-title p {
    font-size: 15px;
    color: var(--text);
    margin: 0;
}

/* ============ CONTACT RESPONSIVE ============ */
@media (max-width: 768px) {
    .kobi-contact-hero-inner h1 {
        font-size: 26px;
    }
    .kobi-contact-cards-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .kobi-contact-card-v2 {
        padding: 20px 16px;
    }
    .kobi-contact-form-section {
        padding: 28px 20px;
    }
    .kobi-contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .kobi-contact-form-wrap {
        padding: 24px;
    }
    .kobi-form-row {
        grid-template-columns: 1fr;
    }
    .kobi-content-page .kobi-content-body {
        padding: 24px 20px;
        border-radius: 14px;
    }
    .kobi-content-page .kobi-content-title h1 {
        font-size: 22px;
    }
}
