/* Sessions Landing — Redesign */

:root {
  --bg: #050505;
  --bg-card: #0e0e0e;
  --border: #1a1a1a;
  --green: #00BC7D;
  --green-glow: rgba(0, 188, 125, 0.12);
  --orange: #F97316;
  --text: #ffffff;
  --text-muted: #9ca3af;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Subtle grain texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* Hero glow — smaller, subtler */
.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, var(--green-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Hero phones */

.hero-phone {
  flex-shrink: 0;
  background: #0a0a0a;
  border: 2px solid #1f1f1f;
  border-radius: 32px;
  padding: 10px;
  overflow: hidden;
}

.hero-phone img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
}

.hero-phone-front {
  width: 320px;
  z-index: 2;
}

.hero-phone-back {
  width: 280px;
  opacity: 0.6;
  margin-top: 80px;
}

/* Legacy phone mockup (used nowhere now, kept for safety) */
.phone-mockup {
  width: 280px;
  height: 560px;
  background: #0a0a0a;
  border: 2px solid #1f1f1f;
  border-radius: 36px;
  padding: 12px;
  overflow: hidden;
}

.phone-mockup img {
  display: block;
}

/* Phone screenshots — shown inside feature cards */
.phone-screenshot {
  width: 200px;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid #1f1f1f;
}

.phone-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-screenshot-sm {
  width: 160px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #1f1f1f;
}

.phone-screenshot-sm img {
  width: 100%;
  height: auto;
  display: block;
}

/* Feature cards */
.card-feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.card-feature:hover {
  border-color: #2a2a2a;
}

.card-feature img {
  display: block;
}

/* Accent border variant — left green stripe */
.card-accent-green {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: 12px;
  transition: border-color 0.3s ease;
}

.card-accent-green img {
  display: block;
}

/* Reward cards */
.reward-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  transition: border-color 0.3s ease;
}

.reward-card:hover {
  border-color: rgba(249, 115, 22, 0.3);
}

.reward-card-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

/* Green button */
.btn-green {
  background: var(--green);
  color: #050505;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.btn-green:hover {
  opacity: 0.85;
}

/* Waitlist form */
.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}

.waitlist-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #222;
  background: var(--bg-card);
  color: var(--text);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s ease;
}

.waitlist-form input[type="email"]:focus {
  border-color: var(--green);
}

.waitlist-form input[type="email"]::placeholder {
  color: #444;
}

/* Form states */
.form-success {
  display: none;
  color: var(--green);
  font-weight: 600;
  font-size: 16px;
  padding: 12px;
}

.form-success.show { display: block; }

.form-error {
  display: none;
  color: #ef4444;
  font-size: 14px;
  margin-top: 8px;
}

.form-error.show { display: block; }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.97);
  backdrop-filter: blur(20px);
  z-index: 100;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 22px;
  font-weight: 600;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 101;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) { opacity: 0; }

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.5s ease-out forwards;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-phone-front { width: 260px; }
  .hero-phone-back { width: 220px; }
}

@media (max-width: 640px) {
  .hamburger { display: flex; }

  .hero-phone-front { width: 200px; }

  .phone-screenshot { width: 160px; border-radius: 16px; }
  .phone-screenshot-sm { width: 130px; border-radius: 12px; }

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

@media (max-width: 480px) {
  .hero-phone-front { width: 180px; }

  .phone-screenshot { width: 140px; }
  .phone-screenshot-sm { width: 110px; }
}
