/* =========================================================
   Spots Landing Page — Main Stylesheet
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=JetBrains+Mono:wght@700&display=swap');

/* ---------------------------------------------------------
   Design Tokens
   --------------------------------------------------------- */
:root {
  --background: #F2F3F0;
  --foreground: #111111;
  --muted-foreground: #666666;
  --primary: #FF8400;
  --secondary: #E7E8E5;
  --border: #CBCCC9;
  --card: #FFFFFF;
  --white: #FFFFFF;
  --black: #000000;

  --font-heading: 'JetBrains Mono', monospace;
  --font-body: 'Geist', sans-serif;

  --max-width: 1440px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------------------------------------------------------
   Utility
   --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hide-mobile { display: inline; }

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header scroll state */
.header.scrolled {
  background-color: rgba(242, 243, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

/* Mobile menu toggle button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 110;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--foreground);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

@media (max-width: 768px) {
  .hide-mobile { display: none; }

  .menu-toggle { display: flex; }

  .header-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 105;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .header-nav.menu-open {
    display: flex;
  }

  .header-nav-links {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
  }

  .header-nav-link {
    display: block;
    padding: 12px 0;
    font-size: 16px;
  }

  .header-cta {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }
}

/* ---------------------------------------------------------
   1. Header
   --------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  padding: 0 80px;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.header-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--foreground);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color var(--transition);
}

.header-nav-link:hover {
  color: var(--foreground);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: background-color var(--transition), transform var(--transition);
}

.header-cta:hover {
  background-color: #e67700;
  transform: translateY(-1px);
}

.header-cta:active {
  transform: translateY(0);
}

/* ---------------------------------------------------------
   2. Hero Section
   --------------------------------------------------------- */
.hero {
  padding: 80px 80px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

/* Badge pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background-color: var(--white);
  border-radius: 9999px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  font-size: 14px;
  font-weight: 500;
  color: var(--foreground);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  flex-shrink: 0;
}

/* Title */
.hero-title {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15;
  max-width: 900px;
  color: var(--foreground);
}

/* Subtitle */
.hero-subtitle {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted-foreground);
  max-width: 700px;
}

/* Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  transition: background-color var(--transition), transform var(--transition),
    box-shadow var(--transition);
}

.btn-primary:hover {
  background-color: #e67700;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 132, 0, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background-color: transparent;
  color: var(--foreground);
  font-size: 16px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  transition: border-color var(--transition), background-color var(--transition),
    transform var(--transition);
}

.btn-secondary:hover {
  border-color: var(--foreground);
  background-color: var(--secondary);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* Phone mockups */
.hero-mockups {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.hero-mockup {
  width: 260px;
  height: 520px;
  border-radius: 32px;
  background-color: var(--white);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  flex-shrink: 0;
  max-width: 100%;
}

.hero-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-mockup--side {
  transform: scale(0.92);
  opacity: 0.85;
}

/* ---------------------------------------------------------
   3. Features Section
   --------------------------------------------------------- */
.features {
  background-color: var(--white);
  padding: 80px;
}

.features-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.features-title {
  font-size: 36px;
  line-height: 1.2;
  color: var(--foreground);
  margin-bottom: 16px;
}

.features-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background-color: var(--background);
  border-radius: 16px;
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.feature-icon svg,
.feature-icon img {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.feature-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 10px;
}

.feature-card-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* ---------------------------------------------------------
   4. How It Works
   --------------------------------------------------------- */
.how-it-works {
  padding: 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.how-it-works-header {
  text-align: center;
  margin-bottom: 56px;
}

.how-it-works-title {
  font-size: 36px;
  line-height: 1.2;
  color: var(--foreground);
  margin-bottom: 16px;
}

.how-it-works-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

.steps {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 320px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.step-mockup {
  width: 220px;
  height: 400px;
  border-radius: 24px;
  border: 1.5px solid var(--border);
  background-color: var(--white);
  overflow: hidden;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.step-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 8px;
}

.step-description {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted-foreground);
  max-width: 220px;
}

/* ---------------------------------------------------------
   5. Final CTA
   --------------------------------------------------------- */
.final-cta {
  background-color: var(--primary);
  padding: 80px;
}

.final-cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.final-cta-title {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  max-width: 700px;
}

.final-cta-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 550px;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background-color: var(--white);
  color: var(--primary);
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  transition: background-color var(--transition), transform var(--transition),
    box-shadow var(--transition);
}

.btn-cta-white:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-cta-white:active {
  transform: translateY(0);
  box-shadow: none;
}

.final-cta-url {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
}

/* ---------------------------------------------------------
   6. Footer
   --------------------------------------------------------- */
.footer {
  background-color: #111111;
  padding: 48px 80px;
  color: var(--white);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 32px;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo-icon {
  width: 28px;
  height: 28px;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

.footer-columns {
  display: flex;
  gap: 80px;
}

.footer-column-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

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

.footer-column-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer-column-link:hover {
  color: var(--white);
}

.footer-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 32px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

.footer-bottom-link:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* =========================================================
   Responsive — Tablet (< 1024px)
   ========================================================= */
@media (max-width: 1024px) {
  .header-nav-links {
    display: none;
  }

  .hero-mockups {
    flex-wrap: wrap;
  }

  .hero-mockup--side {
    transform: scale(0.88);
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
}

/* =========================================================
   Responsive — Mobile (< 768px)
   ========================================================= */
@media (max-width: 768px) {
  .header {
    padding: 0 24px;
  }

  .hero {
    padding: 40px 24px 60px;
    gap: 32px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-mockups {
    gap: 16px;
  }

  .hero-mockup {
    width: 220px;
    height: 440px;
  }

  .hero-mockup--side {
    display: none;
  }

  .features {
    padding: 40px 24px;
  }

  .features-title {
    font-size: 28px;
  }

  .how-it-works {
    padding: 40px 24px;
  }

  .how-it-works-title {
    font-size: 28px;
  }

  .step-mockup {
    width: 180px;
    height: 340px;
  }

  .final-cta {
    padding: 60px 24px;
  }

  .final-cta-title {
    font-size: 32px;
  }

  .final-cta-subtitle {
    font-size: 16px;
  }

  .footer {
    padding: 40px 24px;
  }

  .footer-columns {
    gap: 40px;
  }

  .footer-column-link {
    padding: 4px 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* =========================================================
   Responsive — Small Mobile (< 480px)
   ========================================================= */
@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 14px;
  }

  .hero-mockup {
    width: 200px;
    height: 400px;
    border-radius: 24px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .features-title,
  .how-it-works-title {
    font-size: 24px;
  }

  .feature-card {
    padding: 24px;
  }

  .final-cta-title {
    font-size: 26px;
  }

  .final-cta-subtitle {
    font-size: 15px;
  }

  .btn-cta-white {
    padding: 14px 28px;
    font-size: 15px;
  }

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

  .step-mockup {
    width: 160px;
    height: 300px;
  }

  .step-description {
    max-width: 180px;
  }
}
