/* ═══════════════════════════════════════════
   MOTR — Shared Styles
   The Axis of Vehicle Care
   ═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --orange: #EA6621;
  --orange-light: #FF8A50;
  --orange-dark: #C44E10;
  --orange-pale: #FFF4ED;
  --orange-mist: #FEF0E7;

  --bg: #FFFFFF;
  --bg-2: #FAFAFA;
  --bg-3: #F3F3F5;

  --text: #0A0A0B;
  --text-2: #555;
  --text-3: #888;

  --border: rgba(0,0,0,0.06);
  --border-2: rgba(0,0,0,0.1);

  --glow: rgba(234,102,33,0.15);
  --glow-strong: rgba(234,102,33,0.3);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-glow: 0 8px 32px rgba(234,102,33,0.25);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-pill: 50px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-3); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ── Brand ── */
.brand-motr { color: var(--orange); font-weight: 900; -webkit-text-fill-color: var(--orange); }
.brand-axis { color: var(--text); font-weight: 300; -webkit-text-fill-color: var(--text); }
.gradient {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 50%, #FFB380 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-animate {
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── Scroll Progress ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  z-index: 1002;
  width: 0%;
  pointer-events: none;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 2px; left: 0; right: 0;
  z-index: 1000;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, box-shadow 0.4s, border-color 0.4s;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
nav.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.nav-logo svg { width: 32px; height: 32px; }

.nav-links { display: flex; gap: 1.4rem; align-items: center; }
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--orange); }

.nav-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: all 0.3s;
}
.nav-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-menu-btn.open span:nth-child(2) { opacity: 0; }
.nav-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.btn:hover::after { transform: translateX(100%); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 16px var(--glow);
}
.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-2);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-pale);
}
.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
}

/* ── Google Play Button ── */
.gplay-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: #000;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1.5px solid #333;
  font-family: 'Poppins', sans-serif;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s;
  box-shadow: 0 2px 8px rgba(234,102,33,0.15);
}
.gplay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234,102,33,0.25);
}
.gplay-btn .gplay-coming-soon {
  display: none;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}
.gplay-btn.show-coming-soon svg,
.gplay-btn.show-coming-soon .gplay-text { display: none; }
.gplay-btn.show-coming-soon .gplay-coming-soon { display: block; }
.gplay-text { display: flex; flex-direction: column; line-height: 1; }
.gplay-sub { font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; color: #ccc; }
.gplay-main { font-size: 0.95rem; font-weight: 600; color: #fff; margin-top: 1px; }

/* ── Sections ── */
section { padding: 6rem 2rem; }
section.section-gray { background: var(--bg-2); }
section.section-warm { background: linear-gradient(180deg, var(--bg) 0%, var(--orange-pale) 100%); }
section.section-mist { background: var(--orange-mist); }

.section-inner { max-width: 1140px; margin: 0 auto; }
.section-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.section-desc {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.7;
  font-weight: 300;
}

/* ── Stats Strip ── */
.proof {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.proof-stats {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}
.proof-stat { text-align: center; max-width: 180px; }
.trust-icon { margin-bottom: 0.5rem; }
.proof-stat .number {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.proof-stat .label {
  font-size: 0.75rem;
  font-weight: 300;
  margin-top: 0.25rem;
  color: var(--text-2);
  line-height: 1.4;
}

/* ── Feature Check List ── */
.feature-list { list-style: none; margin-top: 2rem; }
.feature-list li {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.feature-list li:last-child { border: none; }
.feature-check {
  width: 24px; height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--orange-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 0.6rem;
  margin-top: 2px;
}
.feature-list li strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.feature-list li span {
  font-size: 0.78rem;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.5;
}

/* ── Light Card ── */
.light-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.light-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(234,102,33,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.light-card:hover::before { opacity: 1; }
.light-card:hover {
  border-color: rgba(234,102,33,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ── Icon Box ── */
.icon-box {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.icon-box-orange { background: var(--orange-pale); }

/* ── Ticker ── */
.ticker-section {
  padding: 1.25rem 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.ticker-track {
  display: flex;
  animation: ticker 40s linear infinite;
  width: max-content;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 2rem;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-3);
}
.ticker-item .sep {
  width: 4px; height: 4px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0.6;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Footer ── */
footer {
  padding: 3rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  color: var(--text);
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
}
.footer-brand .logo svg { width: 26px; height: 26px; }
.footer-brand .tagline {
  font-size: 0.78rem;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.8rem;
  color: var(--text-2);
  padding: 0.3rem 0;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom .copy {
  font-size: 0.7rem;
  color: var(--text-3);
}

/* ── Cursor Glow ── */
.cursor-glow {
  position: fixed;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234,102,33,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: left 0.12s ease-out, top 0.12s ease-out;
}

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  filter: blur(3px);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.5); }
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes card-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 0.75rem;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.35rem 0; font-size: 0.9rem; }
  .nav-menu-btn { display: flex; }

  .proof-stats { gap: 2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

@media (max-width: 600px) {
  section { padding: 3rem 1.1rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Tap targets ── */
.btn, .nav-links a, .nav-menu-btn, .gplay-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}
