/* ==========================================================================
   Roam & Ride — by Luit & Lore
   Minimalist Dark Aesthetic Design System
   Palette: Cinematic Dark, Warm Signature Yellow, Rich Black & Ivory
   ========================================================================== */

:root {
  /* Dark Tone Theme */
  --bg-deep: #07090b;
  --bg-card: rgba(18, 22, 26, 0.85);
  --bg-card-border: rgba(255, 255, 255, 0.12);
  --bg-card-hover: rgba(26, 32, 38, 0.95);
  
  /* Signature Brand Yellow */
  --brand-yellow: #ffcc00;
  --brand-yellow-glow: rgba(255, 204, 0, 0.3);
  --brand-yellow-hover: #e6b800;
  --brand-yellow-soft: rgba(255, 204, 0, 0.12);

  /* Typography & Accents */
  --text-primary: #ffffff;
  --text-secondary: #c2c9cf;
  --text-muted: #8b959e;
  --text-dark: #07090b;

  --color-teal: #0e8a94;
  --color-sage: #95a59c;

  /* UI Tokens */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-glow: 0 12px 40px -10px rgba(255, 204, 0, 0.35);
  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.6);
}

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

html {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-deep);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* ==========================================================================
   Full Bleed Cinematic Dark Road Background
   ========================================================================== */
.cinematic-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: 
    linear-gradient(to bottom, rgba(7, 9, 11, 0.65) 0%, rgba(7, 9, 11, 0.85) 60%, rgba(7, 9, 11, 0.98) 100%),
    radial-gradient(circle at 50% 20%, rgba(255, 204, 0, 0.08), transparent 60%),
    url("../assets/images/aesthetic-dark-road.jpg");
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  filter: contrast(1.05) brightness(0.9);
  pointer-events: none;
}

/* Page Frame & Container */
.page-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

.content-container {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* ==========================================================================
   Minimal Top Header
   ========================================================================== */
.site-header {
  padding-top: clamp(1rem, 3vw, 1.75rem);
  padding-bottom: 0.75rem;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.parent-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
}

.parent-logo-img {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #ffffff;
  object-fit: cover;
}

.parent-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.header-btn:hover, .header-btn:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero Centerpiece — The Signature Yellow Card with Black Logo
   ========================================================================== */
.hero-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-block: clamp(1.5rem, 4vh, 3.5rem);
}

/* The Yellow Card holding the Roam & Ride logo in black */
.yellow-brand-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--brand-yellow);
  padding: clamp(1rem, 3.2vw, 1.6rem) clamp(1.4rem, 4.5vw, 2.5rem);
  border-radius: clamp(18px, 4vw, 26px);
  box-shadow: var(--shadow-glow);
  margin-bottom: clamp(1.5rem, 3.5vh, 2.25rem);
  position: relative;
  transition: var(--transition);
  max-width: 100%;
}

.yellow-brand-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 16px 50px -8px rgba(255, 204, 0, 0.5);
}

/* Black Logo inside the Yellow Card */
.roam-logo-black {
  width: clamp(240px, 60vw, 380px);
  height: auto;
  display: block;
  object-fit: contain;
}

/* Announcement Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.1rem;
  background: rgba(18, 22, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 204, 0, 0.45);
  border-radius: var(--radius-pill);
  color: var(--brand-yellow);
  font-size: clamp(0.78rem, 1.8vw, 0.88rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.pulse-amber {
  width: 8px;
  height: 8px;
  background: var(--brand-yellow);
  border-radius: 50%;
  position: relative;
}

.pulse-amber::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--brand-yellow);
  animation: pulse-ring 2s infinite ease-out;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Headline */
.hero-headline {
  font-size: clamp(2.2rem, 5.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.hero-headline .highlight {
  color: var(--brand-yellow);
  text-shadow: 0 0 30px rgba(255, 204, 0, 0.3);
}

/* Service Area & Introduction Text */
.hero-subtext {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.6;
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

.hero-subtext strong {
  color: #ffffff;
  font-weight: 600;
}

/* Quick Feature Highlights */
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: clamp(1.75rem, 4vh, 2.75rem);
}

.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.tag-item svg {
  color: var(--brand-yellow);
}

/* ==========================================================================
   Coming Soon Feature Card
   ========================================================================== */
.coming-soon-card {
  width: 100%;
  max-width: 580px;
  margin-inline: auto;
  background: rgba(15, 18, 22, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 204, 0, 0.28);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4.5vw, 2.75rem) clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 204, 0, 0.08);
  margin-bottom: clamp(1.75rem, 3.5vh, 2.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.coming-soon-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-yellow), transparent);
}

.coming-soon-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 204, 0, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(255, 204, 0, 0.15);
}

.coming-soon-title {
  font-size: clamp(2rem, 4.8vw, 2.85rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.15;
  text-transform: uppercase;
  display: inline-block;
}

.coming-soon-title .title-accent {
  color: var(--brand-yellow);
  text-shadow: 0 0 20px rgba(255, 204, 0, 0.65);
}

.coming-soon-tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 540px;
  margin-inline: auto;
  letter-spacing: 0.015em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.65rem;
}

.coming-soon-tagline span {
  white-space: nowrap;
}

/* ==========================================================================
   Clean Mobile-First Interest Form (Archived / Optional)
   ========================================================================== */
.form-box {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  background: rgba(15, 18, 22, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3.5vw, 2rem);
  box-shadow: var(--shadow-card);
  margin-bottom: clamp(1.5rem, 3.5vh, 2.5rem);
  text-align: left;
}

.form-header-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-header-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.minimal-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

/* Form Inputs */
.input-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.input-field {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.95rem;
  transition: var(--transition);
}

.input-field::placeholder {
  color: var(--text-muted);
}

.input-field:focus {
  outline: none;
  border-color: var(--brand-yellow);
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.2);
  background: rgba(0, 0, 0, 0.65);
}

.input-field.is-invalid {
  border-color: #ff5252;
  background: rgba(255, 82, 82, 0.08);
}

.error-text {
  font-size: 0.78rem;
  color: #ff6b6b;
  display: none;
}

.error-text.visible {
  display: block;
}

/* Method Toggle Pill */
.method-toggle {
  display: flex;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.2rem;
  border-radius: var(--radius-sm);
  gap: 0.2rem;
  margin-bottom: 0.2rem;
}

.toggle-btn {
  flex: 1;
  padding: 0.4rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  border: none;
  background: transparent;
  transition: var(--transition);
  text-align: center;
}

.toggle-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* Consent Checkbox */
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.consent-checkbox {
  width: 17px;
  height: 17px;
  accent-color: var(--brand-yellow);
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.consent-text {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
  cursor: pointer;
}

/* Yellow Primary Button */
.btn-submit {
  width: 100%;
  padding: 0.9rem 1.4rem;
  background: var(--brand-yellow);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 18px rgba(255, 204, 0, 0.35);
}

.btn-submit:hover, .btn-submit:focus-visible {
  background: var(--brand-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 204, 0, 0.5);
}

/* Status Alert Banners */
.status-msg {
  display: none;
  border-radius: var(--radius-md);
  padding: 1rem;
  font-size: 0.84rem;
  line-height: 1.5;
  margin-top: 0.5rem;
}

.status-msg.visible {
  display: block;
  animation: fadeIn 0.25s ease;
}

.status-msg.preview {
  background: rgba(255, 204, 0, 0.1);
  border: 1.5px solid rgba(255, 204, 0, 0.5);
  color: #ffdd55;
}

.status-msg.preview strong {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffe680;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.status-msg.success {
  background: rgba(72, 187, 120, 0.12);
  border: 1.5px solid rgba(72, 187, 120, 0.5);
  color: #68d391;
}

.status-msg.error {
  background: rgba(245, 101, 101, 0.12);
  border: 1.5px solid rgba(245, 101, 101, 0.5);
  color: #fc8181;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Quick Actions Row (WhatsApp, Share, Socials)
   ========================================================================== */
.action-buttons-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}

.action-pill {
  flex: 1 1 auto;
  min-width: 140px;
  padding: 0.75rem 1.1rem;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.action-pill:hover, .action-pill:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.action-pill.wa {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.35);
  color: #48e684;
}

.action-pill.wa:hover {
  background: rgba(37, 211, 102, 0.25);
  border-color: rgba(37, 211, 102, 0.6);
}

.action-pill.share {
  background: rgba(255, 204, 0, 0.12);
  border-color: rgba(255, 204, 0, 0.35);
  color: var(--brand-yellow);
}

.action-pill.share:hover {
  background: rgba(255, 204, 0, 0.22);
  border-color: rgba(255, 204, 0, 0.6);
}

.mini-placeholder {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* ==========================================================================
   Minimal Footer
   ========================================================================== */
.site-footer {
  padding-block: clamp(1.5rem, 3.5vh, 2.5rem);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 11, 0.7);
  backdrop-filter: blur(12px);
  width: 100%;
}

.footer-required-string {
  font-size: clamp(0.88rem, 2vw, 1rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.footer-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--brand-yellow);
  color: var(--text-dark);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Mobile-Specific Optimizations
   ========================================================================== */
@media (max-width: 600px) {
  .site-header {
    padding-top: 0.75rem;
  }

  .yellow-brand-card {
    padding: 0.9rem 1.25rem;
    border-radius: 18px;
    margin-bottom: 1.25rem;
  }

  .roam-logo-black {
    width: 240px;
  }

  .hero-headline {
    font-size: 2.1rem;
    margin-bottom: 0.65rem;
  }

  .hero-subtext {
    font-size: 0.96rem;
    margin-bottom: 1.25rem;
  }

  .form-box {
    padding: 1.25rem 1rem;
    border-radius: 16px;
    margin-bottom: 1.25rem;
  }

  .action-buttons-row {
    flex-direction: column;
    gap: 0.6rem;
  }

  .action-pill {
    width: 100%;
  }

  .site-footer {
    padding-block: 1.25rem;
  }
}
