/* ============================================================
   HAVASUHEADZ — V1 Landing Page
   ============================================================ */

/* --- Tokens --- */
:root {
  --navy:   #0D0D1F;
  --sand:   #00D4FF;
  --sky:    #8B2BE2;
  --bone:   #FFFFFF;
  --sunset: #FF1F8F;
  --black:  #07070F;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Inter', sans-serif;

  --ease: cubic-bezier(0.25, 0, 0, 1);
  --transition: 200ms var(--ease);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--bone);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

/* Screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  border-radius: 3px;
  transition: transform var(--transition), background var(--transition), opacity var(--transition);
  white-space: nowrap;
  min-height: 48px;
  padding: 0 24px;
}

.btn:hover  { transform: scale(1.02); }
.btn:active { transform: scale(0.98); opacity: 0.9; }
.btn:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }

.btn--nav {
  background: var(--sunset);
  color: var(--bone);
  min-height: 40px;
  padding: 0 20px;
  font-size: 13px;
}

.btn--hero {
  background: var(--sunset);
  color: var(--bone);
  font-size: 16px;
  min-height: 52px;
  padding: 0 32px;
}

.btn--sms {
  background: var(--sunset);
  color: var(--bone);
  min-height: 52px;
  padding: 0 28px;
  border-radius: 0 3px 3px 0;
  flex-shrink: 0;
}

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 32px;
  background: rgba(7, 7, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 57px;
  width: auto;
  display: block;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__icon {
  color: var(--sand);
  display: flex;
  align-items: center;
  transition: color var(--transition);
}
.nav__icon:hover { color: var(--bone); }

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;

  background-image:
    linear-gradient(to top, rgba(7,7,15,0.92) 0%, rgba(139,43,226,0.25) 50%, rgba(7,7,15,0.2) 100%),
    url('https://images.unsplash.com/photo-1531357798645-83b0c0be27c9?q=80&w=1920&auto=format&fit=crop&ixlib=rb-4.1.0');
  background-size: cover;
  background-position: center;
}

.hero__content {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  padding-top: 80px; /* nav offset */
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--bone);
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(255, 31, 143, 0.5), 0 0 60px rgba(255, 31, 143, 0.2);
}

.hero__sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--sand);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.5;
}

.hero__social {
  position: absolute;
  bottom: 32px;
  left: 32px;
  display: flex;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(212, 184, 150, 0.6);
}
.hero__social a { transition: color var(--transition); }
.hero__social a:hover { color: var(--sand); }

/* --- BRAND STATEMENT --- */
.statement {
  background: linear-gradient(135deg, #0D0D1F 0%, #1A0A2E 100%);
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  border-bottom: 1px solid rgba(255, 31, 143, 0.2);
  padding: 80px 32px;
  text-align: center;
}

.statement__text {
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
}

/* --- VIBE GRID --- */
.vibe {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.vibe__panel {
  position: relative;
  height: 420px;
  overflow: hidden;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
}

.vibe__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7,7,15,0.5);
}

/*
  Replace these background-colors with your own photos:
  .vibe__panel--lake   { background-image: url('assets/vibe-lake.jpg'); }
  .vibe__panel--desert { background-image: url('assets/vibe-desert.jpg'); }
  .vibe__panel--grind  { background-image: url('assets/vibe-grind.jpg'); }

  Free options on Unsplash: search "lake havasu", "arizona desert", "mechanic truck"
*/
.vibe__panel--lake   { background-image: url('https://images.pexels.com/photos/88517/pexels-photo-88517.jpeg?auto=compress&cs=tinysrgb&w=1200&fit=crop'); background-size: cover; background-position: center; }
.vibe__panel--desert { background-image: url('https://images.unsplash.com/photo-1547234935-80c7145ec969?w=1200&q=80&auto=format&fit=crop'); background-size: cover; background-position: center; }
.vibe__panel--grind  { background-image: url('https://images.pexels.com/photos/5362681/pexels-photo-5362681.jpeg?auto=compress&cs=tinysrgb&w=1200&fit=crop&h=675'); background-size: cover; background-position: center; }

.vibe__label {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  color: var(--bone);
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 40px rgba(0, 212, 255, 0.4);
}

/* --- SMS CAPTURE --- */
.sms {
  background: linear-gradient(180deg, #07070F 0%, #1A0A2E 50%, #07070F 100%);
  padding: 96px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sms::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,31,143,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.sms__inner {
  max-width: 560px;
  margin: 0 auto;
}

.sms__headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 80px);
  color: var(--bone);
  margin-bottom: 16px;
  line-height: 1;
}

.sms__sub {
  font-size: 17px;
  color: var(--sand);
  line-height: 1.6;
  margin-bottom: 36px;
}

.sms__form { width: 100%; }

.sms__field {
  display: flex;
  width: 100%;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,212,255,0.5), 0 0 20px rgba(0,212,255,0.15);
  margin-bottom: 16px;
}

.sms__input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--navy);
  background: var(--bone);
  border: none;
  outline: none;
  border-radius: 3px 0 0 3px;
}

.sms__input::placeholder { color: rgba(27,42,59,0.45); }

.sms__input:focus {
  box-shadow: 0 0 0 2px var(--sky) inset;
}

.sms__error {
  font-size: 13px;
  color: #e57373;
  min-height: 20px;
  margin-bottom: 12px;
  text-align: left;
}

.sms__legal {
  font-size: 12px;
  color: rgba(212, 184, 150, 0.6);
  line-height: 1.6;
  margin-top: 16px;
}

.sms__legal a {
  text-decoration: underline;
  color: rgba(212, 184, 150, 0.8);
  transition: color var(--transition);
}
.sms__legal a:hover { color: var(--sand); }

/* --- QUOTE / SOCIAL PROOF --- */
.quote {
  background: var(--black);
  padding: 96px 32px;
  text-align: center;
}

.quote__text {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--sand);
  max-width: 680px;
  margin: 0 auto 20px;
  line-height: 1.4;
  font-style: normal;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.quote__cite {
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 212, 255, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-style: normal;
}

/* --- FOOTER --- */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(212, 184, 150, 0.1);
  padding: 40px 32px;
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}

.footer__logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  color: rgba(212, 184, 150, 0.55);
  display: flex;
  transition: color var(--transition);
}
.footer__social a:hover { color: var(--sand); }

.footer__copy {
  font-size: 13px;
  color: rgba(212, 184, 150, 0.45);
  margin-left: auto;
}

.footer__copy a {
  text-decoration: underline;
  transition: color var(--transition);
}
.footer__copy a:hover { color: var(--sand); }

.footer__credit {
  width: 100%;
  font-size: 11px;
  color: rgba(212, 184, 150, 0.3);
}
.footer__credit a { text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav__icon { display: none; }

  .hero__content { padding: 0 20px; padding-top: 80px; }
  .hero__social  { left: 20px; }

  .statement { padding: 64px 20px; }

  .vibe { grid-template-columns: 1fr; }
  .vibe__panel { height: 280px; }

  .sms { padding: 72px 20px; }
  .sms__field { flex-direction: column; box-shadow: none; border-radius: 3px; }
  .sms__input { border-radius: 3px; box-shadow: 0 0 0 1px var(--sand); }
  .btn--sms { border-radius: 3px; margin-top: 12px; width: 100%; }

  .quote { padding: 72px 20px; }

  .footer { padding: 32px 20px; }
  .footer__copy { margin-left: 0; }
}

/* Mobile */
@media (max-width: 480px) {
  .nav__logo { font-size: 20px; }
  .btn--nav { padding: 0 14px; font-size: 12px; min-height: 36px; }
}

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