/* =========================
   CarPrice / Carolina look
   v=2025-11-05_4
   ========================= */

/* ===== CSS VARIABLES (light/dark) ===== */
:root {
  --bg: #0b1020;
  --bg-soft: #0f1630;
  --text: #e7eefc;
  --muted: #b8c3dd;
  --primary: #3154ff;
  --primary-700: #2a49e5;
  --surface: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.11);
  --shadow: rgba(0,0,0,0.55);
  --tick: #31d37b;
}
body[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-soft: #ffffff;
  --text: #0f172a;
  --muted: #667189;
  --primary: #2856ff;
  --primary-700: #2148d3;
  --surface: rgba(0,0,0,0.04);
  --border: rgba(0,0,0,0.10);
  --shadow: rgba(0,0,0,0.12);
  --tick: #19a75d;
}

/* ===== RESET / BASE ===== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font: 16px/1.55 system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  color: var(--text);
  background: radial-gradient(80% 100% at 0% 0%, #111940 0%, var(--bg) 50%) fixed;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: var(--text); text-decoration: none; }
.container { width: min(1160px, 92vw); margin: 0 auto; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.2), transparent);
  backdrop-filter: blur(10px);
}
.header-inner { display:flex; align-items:center; gap:16px; padding: 12px 0; }
.brand { display:flex; align-items:center; gap:12px; }
.brand-logo { width: 36px; height: 36px; border-radius: 8px; object-fit: contain; }
.brand-name { font-weight: 800; letter-spacing: .2px; font-size: 18px; }

.main-nav { display:flex; gap:22px; margin-left:auto; }
.main-nav a { opacity:.9; transition: opacity .15s ease; }
.main-nav a:hover { opacity:1; }

.header-cta { display:flex; align-items:center; gap:10px; margin-left: 8px; }
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 10px 14px; border-radius: 999px; font-weight: 700; border:0; cursor:pointer;
}
.btn-primary{ background: var(--primary); color:#fff; box-shadow: 0 6px 20px rgba(49,84,255,.35); }
.btn-primary:hover{ background: var(--primary-700); }

.theme-toggle{
  background: var(--surface); border:1px solid var(--border); color: var(--text);
  border-radius: 12px; padding: 6px 10px; cursor: pointer;
}
.theme-toggle .sun{display:none}
body[data-theme="light"] .theme-toggle .sun{display:inline}
body[data-theme="light"] .theme-toggle .moon{display:none}

/* ===== HERO – Carolina look ===== */
.hero{
  position:relative; isolation:isolate;
  padding: 96px 0 64px;
  overflow:hidden;
}
.hero::before{
  /* široký modrý oblouk přes pravou část */
  content:"";
  position:absolute; inset:-12% -24% auto -10%;
  height: 600px;
  background:
    radial-gradient(1200px 420px at 82% 0%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(140deg, #2a44d8 0%, #2336b0 45%, #12205e 100%);
  border-bottom-left-radius: 120px;
  z-index:-1;
  box-shadow: 0 40px 120px rgba(0,0,0,.35) inset;
}
.hero .container{ position:relative; }
.hero-grid{
  display:grid; grid-template-columns: 1.1fr 0.9fr; gap:48px; align-items:center;
}
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero::before{ height:680px; border-bottom-left-radius:80px; inset:-18% -18% auto -18%; }
}

.eyebrow{
  color:#cfe0ff; letter-spacing:.18em; font-weight:800; font-size:13px; margin:0 0 12px;
  text-transform:uppercase;
}
h1{
  margin:0 0 16px; font-size: clamp(38px, 4.4vw, 56px); line-height:1.06; letter-spacing:.1px;
}
.lead{ color:#d9e2ff; max-width: 680px; margin: 0 0 18px; }

/* QR / store pilulky (sklo efekt) */
.store-row{ display:flex; gap:18px; flex-wrap:wrap; margin:18px 0 10px; }
.store{
  width:184px; background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18);
  border-radius:16px; padding:12px; backdrop-filter: blur(10px);
  transition: transform .15s ease, box-shadow .15s ease;
}
.store:hover{ transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.store-title{ font-weight:700; font-size:13px; margin-bottom:8px; opacity:.95; }
.store img{ width:100%; aspect-ratio:1/1; object-fit:contain; background:#fff; border-radius:12px; }

/* Telefon vpravo – větší, přes okraj, s robustním stínem */
.hero-visual{ display:flex; justify-content:center; }
.phone{
  width:440px; max-width:44vw; aspect-ratio:9/19.5;
  border-radius:38px;
  background:linear-gradient(165deg,#0b0f2a 0%, #0a133b 100%);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:
    0 30px 80px rgba(0,0,0,.6),
    0 0 0 8px rgba(0,0,0,.15) inset;
  position:relative; right:-28px;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
@media (max-width:980px){ .phone{ right:0; width:360px; } }
.phone img#appScreen{
  width:92%; height:92%; object-fit:cover; border-radius:28px; box-shadow: 0 2px 18px rgba(0,0,0,.35);
}

/* Fallback UI uvnitř telefonu (když chybí app_screen.png) */
.phone-ui{
  width:88%; height:92%; background:#f6f7fb; color:#0f172a;
  border-radius:28px; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
  padding:14px; display:flex; flex-direction:column; gap:10px;
}
.phone-ui .title{ font-weight:700; font-size:18px; padding:2px 2px 6px; color:#111827; }
.btn-ui{ border-radius:22px; padding:10px 14px; font-weight:700; text-align:center; }
.btn-ui.dark{ background:#0b0b0b; color:#fff; }
.btn-ui.blue{ background:#2856ff; color:#fff; }
.btn-ui.green{ background:#1a9f45; color:#fff; }
.input-ui{ height:36px; border-radius:10px; background:#eef0f5; border:1px solid #e4e7ee; color:#6b7280; display:flex; align-items:center; padding:0 12px; }
.row-2{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }

/* ===== ODHAD / FORM ===== */
.price-card-wrap{ padding:54px 0 72px; }
.price-card{
  background:var(--bg-soft); border:1px solid var(--border); border-radius:20px;
  padding:24px; box-shadow:0 16px 60px var(--shadow);
}
.price-card h2{ margin:0 0 8px; font-size:30px; }
.price-card .sub{ color:var(--muted); margin:0 0 16px; }

.est-form .grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:760px){ .est-form .grid{ grid-template-columns:1fr; } }
.form-group{ display:flex; flex-direction:column; gap:6px; }
.form-group label{ font-weight:700; font-size:13px; color: var(--muted); }
.form-group input, .form-group select{
  background: var(--surface); border:1px solid var(--border); color: var(--text);
  border-radius: 12px; padding: 12px; outline: none;
}
.form-group input::placeholder{ color: var(--muted); }

.row-between{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:14px; }
.found-pill{ background: var(--surface); border:1px solid var(--border); border-radius: 14px; padding: 8px 12px; color: var(--muted); }

.est-out{ display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }
.pill{ background:var(--surface); border:1px solid var(--border); padding:10px 12px; border-radius:14px; }
.pill-strong{ box-shadow: 0 0 0 1px var(--primary) inset; }
.note{ color: var(--muted); margin-top: 12px; }

/* ===== PRICING & FOOTER ===== */
.pricing { padding: 42px 0 60px; }
.site-footer { border-top: 1px solid var(--border); }
.footer-inner { display:flex; align-items:center; justify-content:space-between; gap:10px; padding: 20px 0; }
.footer-links a { color: var(--muted); margin-left: 14px; }

/* ===== Utility drobnosti ===== */
.ticks { list-style:none; margin:18px 0 0; padding:0; color: #e7f0ff; }
.ticks li{ margin:6px 0; }
.ticks li::before { content:"✔"; color: var(--tick); margin-right:8px; }

/* ===== COOKIE BANNER (nové) ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(15,22,48,0.96);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
  padding: 12px 0;
  font-size: 14px;
  z-index: 1000;
}
.cookie-inner {
  width: min(1080px, 94vw);
  margin: 0 auto;
  display: flex; align-items: center; justify-content:space-between;
  gap: 20px; flex-wrap: wrap;
}
.cookie-inner p { margin: 0; line-height: 1.5; }
.cookie-inner a { color: #9db9ff; text-decoration: underline; }
.cookie-inner button {
  background: var(--primary);
  border: none;
  border-radius: 8px;
  color: #fff;
  padding: 8px 16px;
  font-weight: 700;
  cursor: pointer;
}
.cookie-inner button:hover { background: var(--primary-700); }

/* === Smooth scroll + aktivní odkaz v menu === */
html {
  scroll-behavior: smooth;
}

/* Kotva sekce "Funkce" – kvůli sticky headeru */
#funkce {
  scroll-margin-top: 96px; /* přizpůsob výšce hlavičky */
}

/* Zvýraznění aktivní položky */
.main-nav a.active {
  color: #fff;
  text-shadow: 0 0 12px rgba(49,84,255,.55);
}
/* ===== FUNKCE APLIKACE (rozbalovací sekce) ===== */
.app-features {
  padding: 50px 0 70px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  transition: all 0.4s ease;
}
.app-features h2 {
  text-align: center;
  margin: 0 0 24px;
  font-size: 28px;
}
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 760px;
  margin-inline: auto;
}
.feature-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.55;
}


