/* Base Design System */
:root {
  /* Brand */
  --brand-50:#fff7f0; --brand-100:#ffe7d6; --brand-200:#ffd0ad; --brand-300:#ffb27a; --brand-400:#ff9146; --brand-500:#ff7a1a; --brand-600:#e96d12; --brand-700:#c25a0f; --brand-800:#9a470c; --brand-900:#7d390a;
  --primary: var(--brand-500);
  --primary-strong: var(--brand-600);

  /* Neutrals */
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f2f4f7;
  --border: #e5e7eb;
  --text: #0f172a;
  --muted: #6b7280;
  --muted-2:#475569;

  /* States */
  --success:#22c55e; --warning:#f59e0b; --danger:#ef4444; --info:#0ea5e9;

  /* Effects */
  --radius-sm: 8px; --radius: 12px; --radius-lg: 16px; --radius-xl: 22px;
  --shadow-sm: 0 2px 10px rgba(2,6,23,0.06);
  --shadow: 0 8px 24px rgba(2,6,23,0.08);
  --shadow-lg: 0 18px 36px rgba(2,6,23,0.12);

  /* Deprecated (kept for compatibility) */
  --bg-dark: #0b0f1a;
  --card: #fff6ea;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; color: var(--text); background:var(--bg); }
.container { width: min(1200px, 92%); margin: 0 auto; }
body { font-size: 16px; line-height: 1.6; }

/* Typography */
.h1{font-size: clamp(28px,4.2vw,40px); font-weight:800; letter-spacing: .2px;}
.h2{font-size: clamp(22px,3.4vw,28px); font-weight:800;}
.h3{font-size: 18px; font-weight:700;}
.muted{color:var(--muted);}
.small{font-size:13px;}

/* Navbar */
.navbar { position: fixed; inset: 0 0 auto 0; height: 74px; display: flex; align-items: center; background: rgba(11,15,26,0.55); backdrop-filter: blur(6px); z-index: 20; border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; letter-spacing: 2px; text-decoration: none; }
.brand-logo { height: 28px; width: auto; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { color: rgba(255,255,255,0.9); text-decoration: none; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; font-size: 13.5px; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; gap: 14px; align-items: center; }
.nav-cta .btn.ghost { border-color: transparent; background: transparent; color: #fff; text-transform: uppercase; font-weight: 700; letter-spacing: 0.4px; padding: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: var(--radius); text-decoration: none; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: box-shadow .2s, transform .06s, background .2s, border-color .2s; }
.btn:hover{ box-shadow: var(--shadow); }
.btn:active{ transform: translateY(1px); }
.btn:focus-visible{ outline: none; box-shadow: 0 0 0 3px rgba(255,122,26,.25); }
.btn.primary { background: var(--primary); color: white; box-shadow: 0 6px 16px rgba(255,122,26,0.35); border-color: var(--primary); }
.btn.primary:hover{ background: var(--primary-strong); }
.btn.primary.lg { padding: 14px 22px; border-radius: var(--radius-lg); }
.btn.ghost { color: #0f172a; border-color: var(--border); background: transparent; }
.btn.ghost:hover{ background: #f8fafc; }
.btn.search { width: 56px; height: 56px; border-radius: 16px; background: var(--bg-dark); color: white; }
.btn.search .search-svg { width: 22px; height: 22px; filter: brightness(0) invert(1); }

/* Hero */
.hero { position: relative; padding-top: 74px; padding-bottom: 120px; min-height: 100vh; display: flex; flex-direction: column; z-index: 0; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,12,0.65) 0%, rgba(5,7,12,0.45) 60%, rgba(5,7,12,0.55) 100%); z-index: -1; }
.hero-content { padding: 0; color: white; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(30px, 4.4vw, 46px); margin: 0 0 16px; line-height: 1.18; font-weight: 800; letter-spacing: 0.2px; }
.hero p { color: #dbe1ea; margin: 0 0 22px; font-size: 15px; max-width: 560px; }
.hero .btn.primary.lg { align-self: flex-start; padding: 14px 28px; height: auto; font-size: 15px; border-radius: 28px; max-width: none; width: auto; font-weight: 700; }

/* Search card */
.search-card { display: grid; grid-template-columns: repeat(5, 1fr) 56px; gap: 18px; background: var(--surface-2); border-radius: var(--radius-xl); padding: 18px; box-shadow: var(--shadow-lg); margin-top: 28px; position: relative; z-index: 1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: 0.2px; }
.field input, .contact-form input, .contact-form textarea, .input { padding: 14px 16px; border-radius: var(--radius-lg); border: 2px solid var(--border); outline: none; font-size: 14px; background: var(--surface); transition: border-color .2s, box-shadow .2s, background .2s; }
.field input:hover, .input:hover { background: #fff; }
.field input:focus, .input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,122,26,.15); }

/* About */
.about { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; padding: 120px 0 40px; }
.about-media img { width: 100%; height: auto; border-radius: 28px; }
.about-copy h2 { font-size: 40px; margin: 0 0 12px; }
.about-copy p { color: #4b5563; line-height: 1.8; }
/* Override navbar for search page - light background with black text */
.navbar{background:rgba(255,255,255,0.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--border)}
.navbar .brand{color:#0f172a}
.navbar .nav-links a{color:#374151}
.navbar .nav-cta .btn.ghost{color:#374151;border-color:#d1d5db}
.navbar .nav-links a:hover{color:#0f172a}
/* How */
.how { background: #fff8f0; padding: 80px 0; }
.how h2 { text-align: center; font-size: 40px; margin: 0 0 10px; }
.how-sub { text-align: center; color: #6b7280; margin: 0 auto 32px; width: min(900px, 92%); }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.how-card { background: var(--card); border-radius: var(--radius-lg); padding: 28px; text-align: center; box-shadow: var(--shadow-sm); }
.how-card img { width: 64px; height: 64px; margin-bottom: 12px; }
.how-card h3 { font-size: 18px; line-height: 1.4; }

/* Contact */
.contact { background: linear-gradient(120deg, #0b0f1a, #0b0f1a 60%, #121826 100%); color: white; padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: 40px; margin: 0 0 12px; }
.contact-info p { color: #cbd5e1; }
.contact-info ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; color: #e2e8f0; }
.contact-form { display: grid; gap: 12px; background: rgba(255,255,255,0.06); padding: 20px; border-radius: 16px; }
.contact-form button { align-self: start; }

/* Footer */
.footer { background: #0b0f1a; color: #94a3b8; padding: 18px 0; }
.footer .container { display: flex; justify-content: center; }

/* Components */
.card{ background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.card.elevated{ box-shadow: var(--shadow); }
.card.interactive{ transition: transform .15s ease, box-shadow .2s ease; }
.card.interactive:hover{ transform: translateY(-2px); box-shadow: var(--shadow); }

.badge{ display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:999px; border:1px solid var(--border); background:#fff; color:#334155; font-size:12px; }
.badge.success{ background:#ecfdf5; color:#065f46; border-color:#a7f3d0; }
.badge.warning{ background:#fffbeb; color:#92400e; border-color:#fde68a; }
.badge.danger{ background:#fef2f2; color:#991b1b; border-color:#fecaca; }
.badge.brand{ background:var(--brand-50); color:#7c2d12; border-color:#ffd7b0; }

.breadcrumb{ display:flex; align-items:center; gap:8px; color:var(--muted); }
.breadcrumb a{ color:#007bff; text-decoration:none; }
.breadcrumb .separator{ color:#cbd5e1; }

.input-group{ display:flex; align-items:center; gap:8px; }
.input-icon{ width:18px; height:18px; opacity:.6; }

/* Tables */
.table{ width:100%; border-collapse: collapse; background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-lg); overflow:hidden; }
.table th, .table td{ padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.table thead th{ background: var(--surface-2); color: var(--muted-2); font-weight: 700; letter-spacing: .2px; }
.table tr:hover td{ background: #fcfcfd; }

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Responsive */
@media (max-width: 1000px) {
  .search-card { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .nav-links { display: none; }
  .search-card { grid-template-columns: 1fr; }
}

