/* ============================
   NomadPaws — Custom Landing Page
   ============================ */

/* --- Variables --- */
:root {
  --amber: #e8873a;
  --amber-light: #f5a86a;
  --amber-dark: #b86d2a;
  --charcoal: #11111c;
  --charcoal-mid: #1e1e2e;
  --charcoal-light: #2a2a3e;
  --cream: #faf8f4;
  --cream-dark: #f0ece4;
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --purple: #c084fc;
  --red: #ef4444;
  --orange: #f59e0b;
  --cyan: #06b6d4;
  --text-primary: #f0ece4;
  --text-secondary: #9b9bad;
  --text-body: rgba(240, 236, 228, 0.75);
  --radius: 16px;
  --radius-sm: 8px;
  --section-pad: 96px 24px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--charcoal);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 24px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, #0d0d18 0%, #11111c 60%, #1a1208 100%);
}

.hero-road {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(to top, #1a1520 0%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(232, 135, 58, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(232, 135, 58, 0.12);
  border: 1px solid rgba(232, 135, 58, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
}

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-body);
  max-width: 560px;
  line-height: 1.65;
  font-weight: 300;
}

/* --- Hero Art: Truck Scene --- */
.hero-art {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 45%;
  max-width: 480px;
  display: none;
}

.truck-scene {
  position: relative;
  width: 100%;
  padding-bottom: 65%;
}

.cab-window {
  position: absolute;
  top: 10%;
  left: 30%;
  width: 55%;
  height: 50%;
  background: linear-gradient(135deg, #1a1520 0%, #252038 100%);
  border-radius: 30% 30% 20% 20% / 40% 40% 20% 20%;
  border: 2px solid rgba(232, 135, 58, 0.2);
  overflow: hidden;
}

.cab-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 50%, rgba(232, 135, 58, 0.15) 0%, transparent 60%);
}

.dog-shape {
  position: absolute;
  bottom: 20%;
  right: 25%;
  width: 35%;
  height: 40%;
  background: radial-gradient(ellipse, rgba(232, 135, 58, 0.4) 0%, transparent 70%);
  border-radius: 50% 50% 40% 40%;
}

.cab-body {
  position: absolute;
  bottom: 18%;
  left: 15%;
  width: 70%;
  height: 25%;
  background: linear-gradient(to bottom, #2a2535, #1e1a2a);
  border-radius: 4px;
  border-top: 3px solid rgba(232, 135, 58, 0.3);
}

.cab-wheel {
  position: absolute;
  bottom: -12%;
  width: 18%;
  height: 0;
  padding-bottom: 18%;
  background: #111;
  border-radius: 50%;
  border: 3px solid #333;
}

.cab-wheel.front { left: 10%; }
.cab-wheel.rear { right: 10%; }

.highway-lines {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 18%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.highway-lines span {
  display: block;
  width: 40px;
  height: 4px;
  background: rgba(232, 135, 58, 0.3);
  border-radius: 2px;
}

/* ============================
   PROOF STATS
   ============================ */
.proof {
  padding: 64px 24px;
  background: var(--charcoal-mid);
  border-top: 1px solid rgba(232, 135, 58, 0.1);
  border-bottom: 1px solid rgba(232, 135, 58, 0.1);
}

.proof-inner { max-width: 960px; margin: 0 auto; }

.proof-label {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.proof-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 32px;
  background: var(--charcoal-light);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.04);
}

.stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

.stat-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
}

.stat-divider {
  display: none;
}

/* ============================
   FEATURES
   ============================ */
.features {
  padding: 96px 24px;
  background: var(--charcoal);
}

.features-inner { max-width: 1100px; margin: 0 auto; }

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--cream);
  text-align: center;
  margin-bottom: 64px;
  line-height: 1.2;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature-card {
  padding: 32px 28px;
  background: var(--charcoal-mid);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 135, 58, 0.2);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.925rem;
  color: var(--text-body);
  line-height: 1.65;
  font-weight: 300;
}

/* ============================
   HOW IT WORKS
   ============================ */
.how-it-works {
  padding: 96px 24px;
  background: linear-gradient(160deg, var(--charcoal-mid) 0%, var(--charcoal) 100%);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.hiw-inner { max-width: 900px; margin: 0 auto; }

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.step {
  padding: 32px 28px;
  background: var(--charcoal-light);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
}

.step + .step {
  margin-top: 0;
}

.step-connector {
  width: 2px;
  height: 32px;
  background: linear-gradient(to bottom, var(--amber), var(--teal));
  margin: 0 auto;
  border-radius: 1px;
}

.step-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 12px;
  line-height: 1;
}

.step h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  font-weight: 300;
}

/* ============================
   COMMUNITY / QUOTE
   ============================ */
.community {
  padding: 80px 24px;
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.community-inner { max-width: 720px; margin: 0 auto; }

.community-quote {
  text-align: center;
}

.community-quote blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--cream);
  line-height: 1.55;
  margin-bottom: 24px;
  position: relative;
}

.community-quote blockquote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--amber);
  opacity: 0.4;
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: Georgia, serif;
}

.community-quote cite {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-style: normal;
}

/* ============================
   CLOSING
   ============================ */
.closing {
  padding: 96px 24px;
  background: linear-gradient(160deg, #1a1208 0%, var(--charcoal) 50%, #0d111c 100%);
  text-align: center;
}

.closing-inner { max-width: 640px; margin: 0 auto; }

.closing-art {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.paw-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 135, 58, 0.2) 0%, transparent 70%);
  border: 1px solid rgba(232, 135, 58, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.paw {
  width: 40px;
  height: 40px;
  background: var(--amber);
  border-radius: 50% 50% 40% 40%;
  opacity: 0.6;
}

.closing h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 16px;
  line-height: 1.2;
}

.closing p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.65;
  font-weight: 300;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  padding: 48px 24px 32px;
  background: var(--charcoal-mid);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 12px;
}

.footer-logo-mark {
  width: 28px;
  height: 28px;
  background: var(--amber);
  border-radius: 50% 50% 40% 40%;
  opacity: 0.8;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-body);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--amber); }

.footer-bottom {
  max-width: 960px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (min-width: 640px) {
  .proof-stats { grid-template-columns: 1fr 1fr; }
  .stat-divider { display: block; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: row; align-items: start; }
  .step { flex: 1; }
  .step-connector { width: 32px; height: auto; min-height: 32px; }
  .footer-inner { flex-direction: row; justify-content: space-between; }
  .footer-links { flex-direction: row; gap: 48px; }
}

@media (min-width: 900px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .proof-stats { grid-template-columns: 1fr 1.5fr 1fr; }
  .hero-art { display: block; }
  .hero-inner { max-width: 600px; }
}

/* ============================
   UTILITY
   ============================ */
a { color: inherit; }
