/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #0a0a0a;
  --dark: #1a1a2e;
  --darker: #12121f;
  --accent: #ff4d4d;
  --accent-glow: #ff6b6b;
  --accent-dark: #cc3333;
  --white: #ffffff;
  --gray: #a0a0b8;
  --light-gray: #e0e0e8;
  --card-bg: #1e1e36;
  --card-border: #2a2a48;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

/* ========================================
   SPLASH SCREEN
   ======================================== */
.splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  text-align: center;
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.splash-text {
  opacity: 0;
  position: absolute;
  white-space: nowrap;
}

#splash-teamsnap {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  color: var(--gray);
  letter-spacing: 0.05em;
}

#splash-dots {
  font-size: 3rem;
  color: var(--gray);
  letter-spacing: 0.5em;
}

#splash-morelike {
  font-family: 'Inter', sans-serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--gray);
  font-style: italic;
}

#splash-teamwhack {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 7rem;
  color: var(--accent);
  text-shadow: 0 0 40px rgba(255, 77, 77, 0.5), 0 0 80px rgba(255, 77, 77, 0.2);
  letter-spacing: 0.05em;
}

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

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

/* ========================================
   MAIN SITE (hidden until splash done)
   ======================================== */
.main-site {
  opacity: 0;
  transition: opacity 1s ease;
}

.main-site.visible {
  opacity: 1;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.05em;
}

.logo-team {
  color: var(--white);
}

.logo-whack {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--accent-glow) !important;
  transform: translateY(-1px);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 77, 77, 0.08) 0%, transparent 60%),
              var(--black);
}

.hero-content {
  max-width: 700px;
  z-index: 2;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 6rem;
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.hero-team {
  color: var(--white);
  display: block;
}

.hero-whack {
  color: var(--accent);
  display: block;
  font-size: 8rem;
  text-shadow: 0 0 60px rgba(255, 77, 77, 0.3);
}

.hero-motto {
  font-size: 1.25rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-coming-soon {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 0.5rem;
  font-style: italic;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255, 77, 77, 0.3);
}

.btn-primary:hover {
  background: var(--accent-glow);
  box-shadow: 0 6px 30px rgba(255, 77, 77, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--card-border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.apple-icon {
  width: 20px;
  height: 20px;
}

/* Phone Mockup */
.hero-phone-mockup {
  margin-top: 4rem;
  z-index: 2;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: var(--dark);
  border-radius: 36px;
  padding: 12px;
  border: 2px solid var(--card-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 77, 77, 0.08);
  margin: 0 auto;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--darker);
  border-radius: 26px;
  overflow: hidden;
}

.mock-app {
  padding: 1.5rem 1rem;
}

.mock-header {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
  text-align: center;
  letter-spacing: 0.03em;
}

.mock-star {
  color: var(--accent);
}

.mock-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.75rem;
}

.mock-card-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.mock-stars {
  color: #ffc107;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  letter-spacing: 2px;
}

.mock-card-text {
  font-size: 0.75rem;
  color: var(--gray);
}

/* ========================================
   FEATURES
   ======================================== */
.features {
  padding: 6rem 2rem;
  background: var(--darker);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 0.03em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  padding: 6rem 2rem;
  background: var(--black);
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-content strong {
  color: var(--accent);
}

.about-tagline {
  font-size: 1.3rem !important;
  font-weight: 600;
  color: var(--white) !important;
  font-style: italic;
}

/* ========================================
   DOWNLOAD / CTA
   ======================================== */
.download {
  padding: 6rem 2rem;
  background: var(--darker);
  text-align: center;
}

.download-content {
  max-width: 500px;
  margin: 0 auto;
}

.download-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.download-content p {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.email-signup {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.email-input {
  padding: 0.85rem 1.2rem;
  border-radius: 12px;
  border: 1.5px solid var(--card-border);
  background: var(--card-bg);
  color: var(--white);
  font-size: 1rem;
  width: 280px;
  outline: none;
  transition: border-color 0.2s;
}

.email-input:focus {
  border-color: var(--accent);
}

.email-input::placeholder {
  color: var(--gray);
}

.btn-notify {
  white-space: nowrap;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 3rem 2rem;
  background: var(--black);
  border-top: 1px solid var(--card-border);
  text-align: center;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.footer-motto {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.footer-copy {
  font-size: 0.75rem;
  color: #555;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.5rem;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero-title {
    font-size: 4rem;
  }

  .hero-whack {
    font-size: 5.5rem;
  }

  #splash-teamsnap {
    font-size: 3rem;
  }

  #splash-teamwhack {
    font-size: 4.5rem;
  }

  #splash-morelike {
    font-size: 1.3rem;
  }

  #splash-dots {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2.3rem;
  }

  .phone-frame {
    width: 240px;
    height: 480px;
  }
}
