/* LOOT website — shared styles
   Tokens from docs/design/_guidelines/ui-kit.md (v3.0). No external font loads:
   system stack (SF Pro on Apple devices, Inter if installed locally). */

:root {
  --primary-400: #6478FF;
  --primary-500: #3D5AFE;
  --primary-600: #2D47E6;
  --primary-50: #EEF1FF;
  --primary-100: #DCE2FF;

  --success: #10B981;

  --bg: #F5F6FA;
  --surface: #FFFFFF;
  --surface-2: #F9FAFD;
  --surface-3: #F1F3F9;
  --border: #E6E8F0;
  --border-2: #EEF0F6;
  --text: #0F172A;
  --text-2: #475569;
  --text-3: #94A3B8;
  --on-primary: #FFFFFF;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  --shadow-sm: 0 2px 8px rgba(15,23,42,0.05);
  --shadow-md: 0 8px 24px rgba(15,23,42,0.07);
  --shadow-primary: 0 12px 32px rgba(61,90,254,0.28);

  --grad-primary: linear-gradient(135deg, #6478FF 0%, #3D5AFE 45%, #2D47E6 100%);
  --grad-mesh:
    radial-gradient(120% 80% at 10% 0%, rgba(129,140,248,0.35) 0%, rgba(61,90,254,0) 55%),
    radial-gradient(120% 80% at 100% 100%, rgba(67,56,202,0.55) 0%, rgba(61,90,254,0) 60%),
    linear-gradient(135deg, #3D5AFE 0%, #2D47E6 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", Inter, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-2);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.logo .accent { color: var(--primary-500); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}

.nav-links a:hover { color: var(--primary-500); }

.nav-cta {
  padding: 10px 18px;
  border-radius: var(--r-full);
  background: var(--grad-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language switcher: EN | SR */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
}

.lang-switch a { color: var(--text-2); padding: 4px 2px; }
.lang-switch a:hover { color: var(--primary-500); }
.lang-switch a[aria-current="page"] { color: var(--primary-500); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-500);
}

.btn-flush { padding-left: 0; }

.btn-outline {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--border);
}

/* ---------- Store badges ---------- */

.store-badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Official Apple badge artwork (assets/app-store-badge.svg) */
.appstore-badge { display: inline-block; line-height: 0; }
.appstore-badge img { width: 150px; height: auto; }

/* Not live yet: neutral text pill, no store artwork */
.store-soon {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--r-full);
  background: var(--surface-3);
  color: var(--text-3);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 64px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: var(--primary-50);
  color: var(--primary-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

h1.headline {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 20px;
}

h1.headline .accent { color: var(--primary-500); }

.subhead {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-2);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-contact {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-3);
}

.hero-contact a { color: var(--primary-500); font-weight: 600; }

/* App screenshots (store artwork already includes the phone frame) */

.hero-shot {
  margin: 0 auto;
  width: 340px;
  max-width: 100%;
}

.shot {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md), 0 30px 60px rgba(15,23,42,0.15);
}

.deepdive-shot {
  margin: 0 auto;
  width: 300px;
  max-width: 100%;
}

/* ---------- Sections ---------- */

section { padding: 64px 0; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-500);
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.page-intro { padding-bottom: 32px; }
.page-intro .section-intro { margin-bottom: 0; }

.section-intro.section-intro-tight { margin-bottom: 14px; }
.section-intro.section-intro-last { margin-bottom: 0; }

.section-title.page-title { font-size: 40px; max-width: 760px; }

.section-intro {
  font-size: 16px;
  color: var(--text-2);
  max-width: 640px;
  margin-bottom: 40px;
}

/* Problem */

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px 36px;
  max-width: 760px;
}

.problem-card p {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 14px;
}

.problem-card p:last-child { margin-bottom: 0; }

.problem-card strong { color: var(--text); font-weight: 600; }

/* Solution cards */

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

.solution-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
}

.solution-card .icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-50);
  color: var(--primary-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}

.solution-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.solution-card p {
  font-size: 14px;
  color: var(--text-2);
}

/* Why Serbia */

.whynow-section {
  background: var(--surface);
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
}

/* Product deep-dive (about.html) */

.pipeline {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.pipeline-step {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 8px 16px;
}

.pipeline-arrow {
  color: var(--text-3);
  font-size: 14px;
}

.deepdive-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}

.deepdive-block:last-child { margin-bottom: 0; }

.deepdive-block.reverse { direction: rtl; }
.deepdive-block.reverse > * { direction: ltr; }

.deepdive-block h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.deepdive-block p {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 10px;
}

/* CTA / contact */

.cta-section {
  background: var(--grad-mesh);
  border-radius: var(--r-xl);
  margin: 0 24px;
  max-width: 1032px;
  margin-left: auto;
  margin-right: auto;
  padding: 56px 48px;
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.cta-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 14px;
  max-width: 560px;
}

.cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 28px;
}

.cta-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.cta-section .btn-primary {
  background: #fff;
  color: var(--primary-600);
  box-shadow: none;
}

.cta-section .btn-outline {
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.4);
}

/* Footer */

footer {
  padding: 40px 0 60px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-3);
}

.footer-inner a { color: var(--text-2); font-weight: 600; }

.footer-links { display: flex; gap: 20px; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-shot { width: 280px; }
  h1.headline { font-size: 36px; }
  .card-grid { grid-template-columns: 1fr; }
  .deepdive-block, .deepdive-block.reverse { grid-template-columns: 1fr; direction: ltr; }
  .cta-section { padding: 40px 28px; }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .nav-inner { padding: 14px 18px; }
  .nav-actions { gap: 12px; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
  h1.headline { font-size: 30px; }
  .section-title { font-size: 26px; }
  .section-title.page-title { font-size: 30px; }
}
