/* TorQ-Haus — Homepage styles */

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: 88px 0 80px; }
/* Ambient blue glow for depth behind the headline + phone */
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(28,105,212,0.18), transparent 60%),
    radial-gradient(680px 480px at 6% 92%, rgba(28,105,212,0.07), transparent 60%);
}
.hero .container { position: relative; z-index: 1; }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

.hero-body {
  font-size: 18px; color: var(--text-secondary);
  line-height: 1.7; margin-top: 18px; max-width: 500px;
}

/* ── Store badges ── */
.store-row {
  display: flex; align-items: center;
  flex-wrap: wrap; gap: 12px; margin-top: 32px;
}

.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 11px 20px 11px 14px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none; box-shadow: var(--shadow-card);
}
.store-badge:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.store-badge--dim  { opacity: 0.4; pointer-events: none; }

.store-icon {
  width: 26px; height: 26px; flex-shrink: 0;
  display: block; /* override nothing — inline SVG */
}

.store-text         { display: flex; flex-direction: column; gap: 1px; }
.store-eyebrow      { font-size: 10px; font-weight: 600; color: var(--text-tertiary); line-height: 1; }
.store-name         { font-size: 17px; font-weight: 800; color: var(--text-primary); line-height: 1.2; }

/* ── Phone frame ── */
.hero-phone { display: flex; justify-content: center; }

.phone-frame {
  width: 240px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 38px;
  padding: 12px;
  position: relative;
  box-shadow: 0 32px 72px rgba(0,0,0,0.65), 0 0 48px rgba(28,105,212,0.07);
}

.phone-frame::before {
  content: ''; position: absolute;
  top: 13px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 5px;
  background: var(--raised); border-radius: 999px;
}

.phone-screen {
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
  line-height: 0;             /* no inline gap under the image */
}
/* Real garage screenshot — height follows its aspect ratio */
.phone-shot {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Stats bar ── */
.stats-bar { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-inner { display: flex; align-items: stretch; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.stat-item   { flex: 1; padding: 20px 12px; text-align: center; }
.stat-val    { font-family: var(--font-display); font-size: 23px; font-weight: 800; color: var(--blue-light); letter-spacing: 0.2px; }
.stat-lbl    { font-size: 10px; color: var(--text-tertiary); margin-top: 2px; }
.stat-div    { width: 1px; background: var(--border); margin: 10px 0; }

/* ── Features grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feat-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift), var(--glow-blue);
}

.feat-icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; flex-shrink: 0;
}
/* Force SVG inside icon to stay small */
.feat-icon svg { width: 22px; height: 22px; display: block; flex-shrink: 0; }

.feat-card h3  { font-size: 15px; font-weight: 700; margin-bottom: 7px; }
.feat-card p   { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ── Community ── */
.comm-section { background: linear-gradient(180deg, transparent, rgba(28,105,212,0.04)); }

.comm-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

.comm-list { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.comm-list li { display: flex; align-items: flex-start; gap: 12px; }
.comm-emoji   { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.comm-list strong { display: block; font-size: 14px; font-weight: 700; }
.comm-list span   { font-size: 13px; color: var(--text-tertiary); }

/* Feed preview cards */
.feed-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.feed-card + .feed-card { margin-top: 10px; opacity: 0.65; }

.fc-head { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.fc-av   { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-faint); border: 1px solid rgba(28,105,212,0.3); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--blue-light); flex-shrink: 0; }
.fc-user { font-size: 12px; font-weight: 700; color: var(--blue-light); }
.fc-car  { font-size: 10px; color: var(--text-tertiary); }
.fc-time { margin-left: auto; font-size: 10px; color: var(--text-tertiary); }
.fc-type { font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.fc-body { background: var(--bg); border: 1px solid var(--border); border-radius: 9px; padding: 10px; margin-bottom: 10px; }
.fc-mod  { font-size: 13px; font-weight: 700; }
.fc-meta { font-size: 11px; color: var(--text-tertiary); margin-top: 2px; }
.fc-sv   { font-size: 15px; font-weight: 800; }
.fc-sl   { font-size: 9px; color: var(--text-tertiary); }
.fc-foot { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--text-tertiary); border-top: 1px solid var(--border); padding-top: 9px; }
.fc-view { color: var(--blue-light); }

/* ── Pricing ── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; align-items: start;
}
.price-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.price-card--hot {
  border-color: var(--blue);
  background: linear-gradient(145deg, var(--card), rgba(28,105,212,0.06));
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift), var(--glow-blue);
}
.price-card--hot:hover { transform: translateY(-12px); }
.price-tier   { font-size: 11px; font-weight: 700; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 6px; }
.price-amount { font-family: var(--font-display); font-size: 52px; font-weight: 800; letter-spacing: -0.5px; line-height: 1; }
.price-period { font-size: 12px; color: var(--text-tertiary); margin: 5px 0 22px; }
.price-feats  { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.price-feats li { font-size: 13px; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 8px; }
.price-feats li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }

/* ── CTA section ── */
.cta-band {
  padding: 64px 0;
  background: linear-gradient(135deg, rgba(28,105,212,0.08), transparent);
  border-top: 1px solid var(--border);
  text-align: center;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */

@media (max-width: 960px) {
  .section    { padding: 72px 0; }
  .hero       { padding: 56px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  /* Keep the mockup — just center it below the copy so mobile users see the
     actual app, scaled to fit. */
  .hero-phone { order: 2; }
  .hero-body  { max-width: 100%; }
  .comm-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 680px) {
  .section       { padding: 60px 0; }
  .hero          { padding: 40px 0 48px; }
  .features-grid { grid-template-columns: 1fr; }
  .price-grid    { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .price-card--hot { transform: none; }
  .price-card--hot:hover { transform: translateY(-4px); }
  .stats-inner   { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .stat-item     { min-width: 96px; }
  .store-row     { gap: 10px; }
}

@media (max-width: 480px) {
  .hero-body { font-size: 15px; }
  /* Slightly smaller mockup so it never crowds a narrow screen */
  .phone-frame { width: 210px; }
}
