/* ProDrive 180™ Landing Page */
:root {
  --navy: #051c33;
  --navy-soft: #0a2847;
  --orange: #f07d3e;
  --orange-light: #fde8dc;
  --orange-badge: #fce4d4;
  --bg: #f4f5f7;
  --bg-tab: #eceef1;
  --white: #ffffff;
  --text-muted: #5a6577;
  --text-body: #3d4a5c;
  --border: #d8dde4;
  --green: #22a06b;
  --green-light: #e6f7ef;
  --blue-bar: #1a4a8a;
  --blue-light: #4a90c4;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --max: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(5, 28, 51, 0.08);
  --section-gap: 32px;
  --section-gap-lg: 48px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--navy);
  line-height: 1.55;
  font-size: 15px;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Badge ── */
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--orange-badge);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Header ── */
.hero {
  padding: 52px 0 var(--section-gap);
}

.hero-top {
  margin-bottom: 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.hero-title {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.hero-title .tm {
  font-size: 0.65em;
  vertical-align: super;
  font-weight: 700;
}

.hero-right .hero-sub {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.45;
}

.hero-right .hero-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 42ch;
  line-height: 1.65;
}

/* ── Tabs ── */
.tabs-wrap {
  margin-bottom: var(--section-gap);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--bg-tab);
  border-radius: 999px;
  padding: 6px;
}

.tab {
  flex: 1 1 0;
  min-width: 0;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.tab:hover {
  border-color: #b8c0cc;
}

.tab.active {
  border-color: var(--navy);
  box-shadow: 0 2px 8px rgba(5, 28, 51, 0.1);
}

/* ── Cards Grid ── */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-bottom: var(--section-gap-lg);
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card .badge {
  margin-bottom: 18px;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ── Phone Mockup ── */
.mockup-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.phone {
  width: 220px;
  background: #1a1a1a;
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 12px 40px rgba(5, 28, 51, 0.18);
}

.phone-notch {
  width: 60px;
  height: 6px;
  background: #333;
  border-radius: 99px;
  margin: 0 auto 8px;
}

.phone-screen {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  padding: 14px 12px 16px;
  min-height: 340px;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.phone-stage {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.phone-day {
  font-size: 9px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
}

.phone-scenario-label {
  font-size: 8px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.phone-question {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
}

.phone-diagram {
  background: #eef1f5;
  border-radius: 8px;
  height: 70px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.phone-diagram .road {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  height: 24px;
  background: #c8cdd4;
}

.phone-diagram .road::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, #fff 0, #fff 8px, transparent 8px, transparent 16px);
  transform: translateY(-50%);
}

.phone-diagram .junction {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: #b0b8c4;
  border-radius: 4px;
}

.phone-diagram .rain {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    160deg,
    transparent,
    transparent 6px,
    rgba(100, 140, 180, 0.15) 6px,
    rgba(100, 140, 180, 0.15) 7px
  );
}

.phone-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.phone-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 9px;
  color: var(--text-body);
  line-height: 1.3;
}

.phone-option .radio {
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
}

.phone-option.selected {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.phone-option.selected .radio {
  border-color: var(--white);
  background: var(--white);
  position: relative;
}

.phone-option.selected .radio::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: var(--navy);
  font-weight: 800;
}

.phone-feedback {
  margin-top: 8px;
  padding: 8px 10px;
  background: var(--green-light);
  border-radius: 8px;
  font-size: 9px;
  color: var(--green);
  font-weight: 600;
}

.mockup-caption {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--green-light);
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.04em;
}

.mockup-caption .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.card-summary {
  font-size: 0.85rem;
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.45;
}

.check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Dashboard Mockup ── */
.dashboard {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(5, 28, 51, 0.06);
  width: 100%;
  min-width: 0;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.dashboard-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.dashboard-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
}

.dashboard-live .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.progress-item {
  margin-bottom: 14px;
}

.progress-item:last-of-type {
  margin-bottom: 0;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 6px;
}

.progress-label span:first-child {
  flex: 1;
  min-width: 0;
}

.progress-label span:last-child {
  flex-shrink: 0;
}

.progress-bar {
  height: 8px;
  background: #eef1f5;
  border-radius: 99px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.8s ease;
}

.progress-fill.blue { background: var(--blue-bar); }
.progress-fill.orange { background: var(--orange); }
.progress-fill.light-blue { background: var(--blue-light); }

.dashboard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.dashboard-stat {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
}

.dashboard-change {
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
}

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: var(--section-gap-lg) 0 0;
  margin-top: 8px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding-bottom: var(--section-gap-lg);
}

.footer-headline {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.footer-headline .accent {
  color: var(--orange);
}

.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
}

.footer-contact-info {
  min-width: 0;
}

.qr-box {
  width: 100px;
  height: 100px;
  background: var(--white);
  border-radius: 8px;
  padding: 6px;
  flex-shrink: 0;
}

.qr-box svg,
.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-list li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

.contact-list a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  padding-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 40px;
  align-items: center;
}

.footer-bottom p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  max-width: 100%;
  margin: 0;
}

.footer-copyright {
  min-width: 0;
}

.footer-keywords {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  text-align: right;
  white-space: nowrap;
}

/* ── Responsive ── */

/* Tablet & small laptop */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-right .hero-desc {
    max-width: none;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: flex-start;
  }

  .footer-contact {
    width: 100%;
  }

  .dashboard {
    padding: 20px 22px;
  }

  .dashboard-title {
    font-size: 12px;
  }

  .dashboard-live {
    font-size: 11px;
  }

  .progress-label {
    font-size: 12px;
  }

  .progress-bar {
    height: 10px;
  }

  .dashboard-stat,
  .dashboard-change {
    font-size: 12px;
  }

  .footer-bottom {
    padding: 16px;
  }
}

/* Tablet portrait */
@media (max-width: 768px) {
  .container {
    padding: 0 22px;
  }

  .tabs {
    border-radius: 20px;
  }

  .tab {
    flex: 1 1 calc(50% - 3px);
    white-space: normal;
    font-size: 0.78rem;
    padding: 11px 14px;
  }

  .card {
    padding: 26px 22px 22px;
  }

  .card-title {
    font-size: 1.25rem;
  }

  .dashboard {
    padding: 18px 16px;
    border-radius: 10px;
  }

  .dashboard-header {
    margin-bottom: 16px;
  }

  .progress-item {
    margin-bottom: 16px;
  }

  .site-footer {
    padding: 40px 0 0;
  }

  .footer-main {
    gap: 32px;
    padding-bottom: 36px;
  }

  .footer-headline {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
  }

  .footer-contact {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .qr-box {
    width: 92px;
    height: 92px;
  }

  .contact-list li {
    font-size: 0.85rem;
    word-break: break-word;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .footer-keywords {
    text-align: left;
    white-space: normal;
  }
}

/* Mobile */
@media (max-width: 540px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 32px 0 24px;
  }

  .hero-top {
    margin-bottom: 20px;
  }

  .tabs-wrap {
    margin-bottom: 20px;
  }

  .tabs {
    border-radius: 16px;
    padding: 5px;
    gap: 5px;
  }

  .tab {
    flex: 1 1 100%;
    font-size: 0.76rem;
    padding: 10px 12px;
  }

  .cards {
    padding-bottom: 32px;
    gap: 16px;
  }

  .card {
    padding: 22px 16px 18px;
    border-radius: 14px;
  }

  .card-title {
    font-size: 1.15rem;
  }

  .card-desc,
  .card-summary {
    font-size: 0.84rem;
  }

  .phone {
    width: min(220px, 100%);
  }

  .dashboard {
    padding: 16px 14px;
    margin-bottom: 16px;
  }

  .dashboard-title {
    font-size: 11px;
  }

  .dashboard-live {
    font-size: 10px;
  }

  .progress-label {
    font-size: 11px;
    gap: 8px;
  }

  .progress-bar {
    height: 9px;
  }

  .dashboard-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 16px;
    padding-top: 12px;
  }

  .dashboard-stat,
  .dashboard-change {
    font-size: 11px;
  }

  .site-footer {
    padding: 32px 0 0;
  }

  .footer-main {
    gap: 28px;
    padding-bottom: 28px;
  }

  .footer-headline {
    font-size: 1.65rem;
  }

  .footer-contact {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .qr-box {
    width: 80px;
    height: 80px;
    padding: 5px;
    border-radius: 6px;
  }

  .qr-label {
    font-size: 8px;
    margin-bottom: 8px;
  }

  .contact-list {
    gap: 5px;
  }

  .contact-list li {
    font-size: 0.8rem;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .footer-bottom p {
    font-size: 10px;
    line-height: 1.65;
  }

  .footer-keywords {
    font-size: 9px;
    line-height: 1.55;
    letter-spacing: 0.04em;
    text-align: left;
    white-space: normal;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-header {
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
