/* css/style.css */

/* ========================================
   TREAD OS Landing Page
   Dark premium theme with circuit motifs
   ======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #0D1117;
  color: #F0F0F0;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Circuit board background pattern */
.circuit-bg {
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  background-attachment: fixed;
}

/* Glow effects */
.glow-cyan {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3), 0 0 60px rgba(0, 212, 255, 0.1);
}

.glow-amber {
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.4), 0 0 60px rgba(255, 140, 0, 0.15);
}

.glow-cyan-text {
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* Section spacing */
section {
  padding: 120px 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Waitlist input */
.waitlist-input {
  background: rgba(22, 27, 34, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: #F0F0F0;
  transition: all 0.3s ease;
}

.waitlist-input:focus {
  outline: none;
  border-color: #FF8C00;
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
}

.waitlist-btn {
  background: linear-gradient(135deg, #FF8C00, #FF6B00);
  color: #0D1117;
  font-weight: 600;
  transition: all 0.3s ease;
}

.waitlist-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 140, 0, 0.5);
}

/* Card styles */
.feature-card {
  background: rgba(22, 27, 34, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
}

/* Tier card styles */
.tier-card {
  background: rgba(22, 27, 34, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.15);
  transition: all 0.3s ease;
}

.tier-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.15);
}

.tier-card.featured {
  border-color: rgba(255, 140, 0, 0.4);
}

.tier-card.featured:hover {
  box-shadow: 0 0 40px rgba(255, 140, 0, 0.2);
}

/* Divider line */
.circuit-divider {
  width: 2px;
  background: linear-gradient(to bottom, transparent, #00D4FF, transparent);
}

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

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hero-logo img {
    width: 200px;
  }

  #what .flex-col {
    gap: 2rem;
  }

  .circuit-divider-vertical {
    display: none;
  }

  .device-frame {
    width: 160px;
    height: 260px;
  }

  .tier-card {
    max-width: 360px;
    margin: 0 auto;
  }

  .step-connector {
    display: none;
  }
}

@media (max-width: 480px) {
  section {
    padding: 60px 16px;
  }

  .waitlist-form {
    flex-direction: column;
  }
}

/* ========================================
   HERO
   ======================================== */

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-content {
  opacity: 0; /* animated in by GSAP */
}

.circuit-lines {
  overflow: visible;
}

.circuit-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

/* ========================================
   WHAT IS TREAD OS — DIVIDER
   ======================================== */

.circuit-divider-line {
  transform: scaleY(0);
  transform-origin: center;
}

/* ========================================
   DENVER — TOPO PATTERN
   ======================================== */

.topo-bg {
  background-image:
    repeating-radial-gradient(
      ellipse at 50% 50%,
      transparent 0,
      transparent 40px,
      rgba(0, 212, 255, 0.03) 40px,
      rgba(0, 212, 255, 0.03) 41px
    );
}
