/* ── Color Variables ─────────────────────────────────────────────
   Option 1: Deep Navy + Teal
   --brand:    #1E3A8A  Royal Blue
   --accent:   #0F766E  Deep Teal
   --bg-dark:  #0F172A  Deep Navy
   --success:  #10B981  Emerald
   --warning:  #F59E0B  Amber
   --danger:   #EF4444  Red
   --bg-light: #F0F9FF  Ice Blue
──────────────────────────────────────────────────────────────── */

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #111827; }

/* ── NAV ─────────────────────────────────────────────────────── */
.navbar-custom {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 12px 0;
}
.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    text-decoration: none;
}
.brand-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #1E3A8A, #0F766E);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-icon i { color: #fff; font-size: 16px; }
.brand-text span { color: #1E3A8A; }

.nav-link-custom {
    color: #374151;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.15s;
    text-decoration: none;
}
.nav-link-custom:hover { background: #EFF6FF; color: #1E3A8A; text-decoration: none; }

.btn-nav-cta {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #fff;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 10px;
    border: none;
    font-size: 14px;
    transition: all 0.2s;
}
.btn-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245,158,11,0.4); color: #fff; }

/* ── HERO ────────────────────────────────────────────────────── */
.hero-new {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 60%, #0F766E 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero-new::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    padding: 8px 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 16px;
}
.hero-title span { color: #F59E0B; }
.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.82);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* ── SCAN BOX ────────────────────────────────────────────────── */
.scan-box {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    max-width: 500px;
    margin: 0 auto;
}
.scan-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}
.scan-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
    transition: border 0.15s;
}
.scan-input:focus { border-color: #1E3A8A; box-shadow: 0 0 0 3px rgba(30,58,138,0.08); }
.scan-input::placeholder { text-transform: none; font-family: -apple-system, sans-serif; font-weight: 400; }

.btn-scan {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-scan:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245,158,11,0.4); }

.scan-options {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.btn-scan-opt {
    flex: 1;
    padding: 10px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.btn-scan-opt:hover { border-color: #1E3A8A; color: #1E3A8A; background: #EFF6FF; }

.privacy-note {
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.privacy-note i { color: #10B981; }

/* ── TRUST BADGES ────────────────────────────────────────────── */
.trust-badges {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.88);
    font-size: 14px;
    font-weight: 500;
}
.trust-badge i { font-size: 20px; color: #F59E0B; }

/* ── HOW IT WORKS ────────────────────────────────────────────── */
.how-section {
    padding: 80px 0;
    background: #fff;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-label {
    font-size: 13px;
    font-weight: 700;
    color: #0F766E;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    color: #0F172A;
    margin-bottom: 12px;
}
.section-subtitle {
    font-size: 17px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* ── STEPS ───────────────────────────────────────────────────── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    position: relative;
}
.step-card {
    text-align: center;
    position: relative;
}
.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 8px 24px rgba(245,158,11,0.3);
}
.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1E3A8A, #0F766E);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(30,58,138,0.25);
}
.step-title {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 10px;
}
.step-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}
.step-arrow {
    position: absolute;
    top: 35px;
    right: -20px;
    color: #d1d5db;
    font-size: 24px;
}
@media(max-width: 768px) { .step-arrow { display: none; } }

/* ── FEATURE CARDS ───────────────────────────────────────────── */
.feature-card { transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(15,23,42,0.12); }

/* ── DROPDOWN ────────────────────────────────────────────────── */
.dropdown-item { border-radius: 8px; padding: 10px 14px; font-size: 14px; }
.dropdown-item:hover { background: #EFF6FF; color: #1E3A8A; }
.dropdown-menu { animation: fadeInDown 0.15s ease; border: none; border-radius: 14px; box-shadow: 0 8px 32px rgba(15,23,42,0.12); }
@keyframes fadeInDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }

@media(min-width:992px) {
    .nav-item.dropdown:hover .dropdown-menu { display: block; }
    .dropdown-toggle::after { border:none; content:"\f107"; font-family:"Font Awesome 6 Free"; font-weight:900; font-size:11px; margin-left:4px; vertical-align:middle; }
}
@media(max-width:991px) {
    .navbar-collapse { padding: 16px 0; border-top: 1px solid #f3f4f6; margin-top: 12px; }
    .navbar-nav { gap: 4px; }
    .nav-link-custom { display: block; padding: 10px 16px; }
    .d-flex.gap-2 { flex-direction: column; padding-top: 12px; border-top: 1px solid #f3f4f6; margin-top: 8px; }
    .btn-nav-cta { text-align: center; display: block; }
    .dropdown-menu { box-shadow: none!important; background: #F0F9FF; margin: 4px 0 8px 16px!important; }
    .dropdown-toggle::after { float: right; margin-top: 4px; }
}

@media(max-width: 768px) {
    .hero-new { padding: 48px 0 60px; }
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 16px; }
    .scan-box { padding: 24px 20px; }
    .trust-badges { gap: 16px; justify-content: flex-start; margin-top: 28px; }
    .trust-badge { font-size: 13px; }
    .how-section { padding: 56px 0; }
    .section-header { margin-bottom: 40px; }
}
@media(max-width: 576px) {
    .steps-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .scan-input-group { flex-direction: column; }
    .btn-scan { width: 100%; }
}

/* ── QR DRAWER ───────────────────────────────────────────────── */
.qr-drawer-overlay { position:fixed;inset:0;background:rgba(15,23,42,0.6);z-index:10000;display:none;align-items:flex-end;justify-content:center; }
.qr-drawer-overlay.open { display:flex;animation:fadeIn 0.2s ease; }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
.qr-drawer { background:#fff;border-radius:24px 24px 0 0;width:100%;max-width:480px;padding:28px 24px 32px;animation:slideUp 0.3s ease;max-height:90vh;overflow-y:auto; }
@keyframes slideUp { from{transform:translateY(100%)} to{transform:translateY(0)} }
.drawer-handle { width:40px;height:4px;background:#e5e7eb;border-radius:4px;margin:0 auto 20px; }
.drawer-logo { display:flex;align-items:center;gap:8px;margin-bottom:20px; }
.drawer-logo-icon { width:32px;height:32px;background:linear-gradient(135deg,#1E3A8A,#0F766E);border-radius:8px;display:flex;align-items:center;justify-content:center; }
.drawer-logo-icon i { color:#fff;font-size:14px; }
.drawer-logo-text { font-size:18px;font-weight:800;color:#0F172A; }
.drawer-logo-text span { color:#1E3A8A; }
.drawer-step { display:none; }
.drawer-step.active { display:block; }
.drawer-title { font-size:18px;font-weight:800;color:#0F172A;margin-bottom:6px; }
.drawer-sub { font-size:13px;color:#6b7280;margin-bottom:20px;line-height:1.5; }
.drawer-input { width:100%;padding:13px 16px;border:2px solid #e5e7eb;border-radius:12px;font-size:16px;outline:none;transition:border 0.15s;font-family:inherit; }
.drawer-input:focus { border-color:#1E3A8A;box-shadow:0 0 0 3px rgba(30,58,138,0.08); }
.drawer-btn { width:100%;padding:13px;background:linear-gradient(135deg,#1E3A8A,#0F766E);color:#fff;border:none;border-radius:12px;font-size:15px;font-weight:700;cursor:pointer;margin-top:12px;display:flex;align-items:center;justify-content:center;gap:8px;transition:all 0.15s; }
.drawer-btn:hover { opacity:0.92;transform:translateY(-1px); }
.drawer-btn:disabled { opacity:0.5;cursor:not-allowed;transform:none; }
.drawer-btn.green { background:#10B981; }
.drawer-btn.green:hover { background:#059669; }
.drawer-error { font-size:12px;color:#EF4444;margin-top:6px;display:none; }
.drawer-error.show { display:block; }
.otp-boxes { display:flex;gap:8px;margin-bottom:4px; }
.otp-box { flex:1;padding:12px 0;border:2px solid #e5e7eb;border-radius:10px;font-size:20px;font-weight:700;text-align:center;outline:none;transition:border 0.15s; }
.otp-box:focus { border-color:#1E3A8A; }
.type-cards { display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px; }
.type-card-d { border:2px solid #e5e7eb;border-radius:12px;padding:16px 12px;cursor:pointer;text-align:center;transition:all 0.15s; }
.type-card-d:hover { border-color:#1E3A8A;background:#EFF6FF; }
.type-card-d.selected { border-color:#1E3A8A;background:#EFF6FF; }
.type-card-d .tc-icon { width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin:0 auto 10px;font-size:20px; }
.type-card-d .tc-title { font-size:13px;font-weight:700;color:#0F172A;margin-bottom:3px; }
.type-card-d .tc-desc { font-size:11px;color:#6b7280;line-height:1.3; }
.dev-otp-box { background:#fef9c3;border:1px solid #fde68a;border-radius:8px;padding:10px 14px;font-size:13px;color:#92400e;margin-bottom:12px;display:none; }
.dev-otp-box.show { display:block; }

@keyframes loading { 0%,100%{width:40px} 50%{width:80px} }
