/* Instacar Landing — clean, dark, Signal Red accent */

:root {
  --bg: #0B0B0B;
  --bg-2: #131313;
  --bg-3: #1B1B1B;
  --text: #F7F7F7;
  --text-mid: #C8C8C8;
  --text-muted: #8A8A8A;
  --accent: #E63946;
  --accent-2: #F4A261;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);
  --radius: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow: 0 20px 60px -20px rgba(0,0,0,0.6), 0 8px 20px -8px rgba(0,0,0,0.4);
  --gutter: clamp(20px, 5vw, 64px);
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body { min-height: 100vh; }

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

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px var(--gutter);
  background: rgba(11,11,11,0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}
.brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(230,57,70,0.15);
}
.brand-name { font-size: 15px; }

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
  color: var(--text);
  background: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #d02f3b; }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-store {
  background: #fff;
  color: #0B0B0B;
  padding: 10px 18px;
  align-items: center;
  gap: 12px;
}
.btn-store:hover { background: #eaeaea; }
.btn-store span { display: flex; flex-direction: column; text-align: left; line-height: 1.1; }
.btn-store small { font-size: 10px; font-weight: 500; opacity: 0.7; }
.btn-store strong { font-size: 15px; font-weight: 800; }
.btn-lg { padding: 14px 22px; }
.btn-lg strong { font-size: 17px; }

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 10vw, 120px) var(--gutter) clamp(60px, 8vw, 120px);
  border-bottom: 1px solid var(--border);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 80% 10%, rgba(230,57,70,0.18), transparent 60%),
    radial-gradient(60% 60% at 10% 90%, rgba(244,162,97,0.10), transparent 60%),
    linear-gradient(180deg, #0B0B0B 0%, #0D0D0D 100%);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(230,57,70,0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 900;
}
h1 .accent { color: var(--accent); }
.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-mid);
  max-width: 540px;
  margin: 0 0 32px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.hint { color: var(--text-muted); font-size: 13px; }

/* HERO VISUAL / PHONE MOCKUP */
.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
}
.glow-a { width: 400px; height: 400px; background: #E63946; top: -40px; right: -40px; }
.glow-b { width: 320px; height: 320px; background: #F4A261; bottom: -40px; left: -20px; opacity: 0.3; }

.phone {
  position: relative;
  width: 300px;
  height: 620px;
  background: #050505;
  border-radius: 44px;
  border: 3px solid #2a2a2a;
  padding: 12px;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
  z-index: 2;
}
.phone-notch {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 22px;
  background: #050505;
  border-radius: 12px;
  z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%;
  background: #0B0B0B;
  border-radius: 32px;
  overflow: hidden;
  color: #fff;
}
.phone-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 16px 12px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1.5px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.phone-logo { color: #fff; }
.phone-icon { opacity: 0.7; }
.phone-post { padding: 12px; }
.phone-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.phone-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #E63946, #F4A261);
}
.phone-name { font-size: 13px; font-weight: 700; }
.phone-handle { font-size: 11px; color: var(--text-muted); }
.phone-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}
.phone-actions {
  display: flex; gap: 14px;
  padding: 10px 2px;
  font-size: 13px;
  color: var(--text-mid);
}
.phone-caption { font-size: 12px; color: var(--text-mid); }
.phone-caption strong { color: #fff; margin-right: 6px; }

/* PROOF STRIP */
.proof {
  padding: 40px var(--gutter);
  border-bottom: 1px solid var(--border);
  text-align: center;
  background: var(--bg-2);
}
.proof-lead {
  color: var(--text-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 16px;
}
.proof-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.proof-tags li {
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-mid);
}

/* SECTION HEAD */
.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 12px 0 12px;
}
.section-head p {
  color: var(--text-mid);
  font-size: 17px;
  margin: 0;
}

/* FEATURES */
.features {
  padding: clamp(64px, 9vw, 120px) var(--gutter);
  max-width: 1200px;
  margin: 0 auto;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature {
  padding: 28px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--bg-3);
}
.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
}
.feature-icon.accent {
  background: rgba(230,57,70,0.12);
}
.feature h3 { margin: 0 0 8px; font-size: 20px; font-weight: 800; }
.feature p { margin: 0; color: var(--text-mid); font-size: 15px; }

/* HOW */
.how {
  padding: clamp(64px, 9vw, 120px) var(--gutter);
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.steps li {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 16px;
}
.steps h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.steps p { margin: 0; color: var(--text-mid); font-size: 15px; }

/* GALLERY */
.gallery {
  padding: clamp(64px, 9vw, 120px) var(--gutter);
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* GET / DOWNLOAD */
.get {
  padding: clamp(64px, 9vw, 120px) var(--gutter);
  background: linear-gradient(135deg, rgba(230,57,70,0.10), rgba(244,162,97,0.06));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.get-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.get-inner h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; margin: 12px 0; }
.get-inner p { color: var(--text-mid); font-size: 17px; margin: 0 0 40px; }
.get-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: center;
  margin-bottom: 48px;
}
.qr-card {
  background: #fff;
  color: #111;
  padding: 20px 22px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
  text-align: left;
}
.qr-placeholder {
  width: 96px; height: 96px;
  background: repeating-conic-gradient(#000 0 25%, #fff 0 50%) 50% / 12px 12px;
  border-radius: 8px;
  border: 4px solid #fff;
  outline: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 800;
  font-size: 11px;
}
.qr-card p { margin: 0; font-size: 14px; color: #111; }
.qr-card small { color: #555; }
.get-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* NOTIFY FORM */
.notify {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}
.notify label {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}
.notify-row {
  display: flex;
  gap: 8px;
}
.notify input {
  flex: 1;
  padding: 14px 18px;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s;
}
.notify input:focus { border-color: var(--accent); }
.notify-status {
  margin: 12px 0 0;
  text-align: center;
  color: var(--accent-2);
  font-size: 14px;
  min-height: 18px;
}

/* FAQ */
.faq {
  padding: clamp(64px, 9vw, 120px) var(--gutter);
  max-width: 800px;
  margin: 0 auto;
}
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color 0.2s;
}
.faq-list details[open] { border-color: var(--border-strong); }
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  color: var(--accent);
  font-size: 20px;
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: 12px 0 0; color: var(--text-mid); font-size: 15px; }

/* FOOTER */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 32px var(--gutter);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
}
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 2px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.footer-links a { color: var(--text-muted); font-size: 14px; transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--text-muted); font-size: 13px; margin: 0; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 500px; margin-top: 24px; }
  .phone { transform: rotate(-2deg) scale(0.92); }
}
@media (max-width: 560px) {
  h1 { font-size: 38px; }
  .btn-store { padding: 10px 14px; }
  .btn-store strong { font-size: 14px; }
  .qr-card { flex-direction: column; text-align: center; }
}

/* ===== Legal / long-form pages ===== */
.page {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px var(--gutter);
}
.page h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  margin: 0 0 8px;
}
.page .updated {
  color: var(--text-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 32px;
}
.page h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 40px 0 12px;
  color: var(--text);
}
.page h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 8px;
  color: var(--text);
}
.page p,
.page li {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.7;
}
.page ul,
.page ol {
  padding-left: 20px;
  margin: 12px 0 20px;
}
.page li { margin-bottom: 8px; }
.page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page a:hover { color: #ff6470; }
.page strong { color: var(--text); font-weight: 700; }

.page table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 16px 0 24px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;
}
.page th,
.page td {
  text-align: left;
  padding: 14px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
}
.page th {
  background: var(--bg-3);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.page tr:last-child td { border-bottom: none; }

.page .callout {
  padding: 16px 20px;
  background: rgba(230,57,70,0.08);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  color: var(--text-mid);
  margin: 20px 0;
  font-size: 15px;
  line-height: 1.6;
}
.page .contact-box {
  padding: 20px 24px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 12px 0 32px;
}
.page .contact-box p { margin: 4px 0; }

@media (max-width: 560px) {
  .page table { font-size: 13px; }
  .page th, .page td { padding: 10px 12px; }
}
