:root {
  /* Backgrounds */
  --bg-deep: #08080a;
  --bg-surface: #0e0e12;
  --bg-elevated: #16161c;
  
  /* Brand Colors */
  --primary: #22c55e;
  --primary-glow: rgba(34, 197, 94, 0.15);
  --accent: #0ea5e9;
  --accent-glow: rgba(14, 165, 233, 0.15);
  
  /* Text */
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  
  /* Borders */
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(34, 197, 94, 0.3);
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  margin: 0;
}

/* Glassmorphism Classes */
.glass-card {
  background: rgba(14, 14, 18, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 24px var(--primary-glow);
  transition: all 0.3s ease;
}

.glass-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 32px rgba(34, 197, 94, 0.1);
}

/* Common Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

/* Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: rgba(8, 8, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 24px;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-deep);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  background-color: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

/* App Store Buttons */
.store-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  background: #000;
  color: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 20px;
  text-decoration: none;
  transition: all 0.2s ease;
  height: 60px;
  box-sizing: border-box;
}

.store-badge:hover {
  border-color: #fff;
  background: #111;
}

.store-badge img {
  height: 32px;
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.15) 0%, transparent 40%),
              radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.1) 0%, transparent 30%);
  animation: rotateBlobs 30s linear infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes rotateBlobs {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  z-index: -2;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(34, 197, 94, 0.1);
  color: var(--primary);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero p {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 320px;
  height: 650px;
  background: #000;
  border-radius: 40px;
  border: 12px solid #222;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 2px #333, inset 0 0 0 4px #000;
  position: relative;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

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

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 24px;
  background: #222;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Social Proof Bar */
.social-proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 32px 0;
}

.proof-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.proof-icon {
  font-size: 24px;
}

.proof-text {
  font-weight: 600;
  color: var(--text-secondary);
}

/* Section Titles */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* How It Works */
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.step-card {
  text-align: center;
  padding: 40px 24px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--bg-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 20px;
  margin: 0 auto 24px;
  box-shadow: 0 0 20px var(--primary-glow);
}

.step-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.step-card p {
  color: var(--text-secondary);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.feature-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--text-secondary);
  flex-grow: 1;
}

.feature-image-container {
  margin-top: 32px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 200px;
}

.feature-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Screenshots Carousel */
.screenshots-section {
  background: var(--bg-surface);
  overflow: hidden;
  padding: 100px 0;
}

.carousel-container {
  display: flex;
  gap: 32px;
  padding: 40px 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  scroll-snap-align: center;
  flex: 0 0 auto;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
}

.comparison-table th,
.comparison-table td {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
}

.comparison-table th {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.comparison-table th.highlight {
  color: var(--primary);
  background: rgba(34, 197, 94, 0.05);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.comparison-table td.highlight {
  background: rgba(34, 197, 94, 0.05);
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 120px 0;
  position: relative;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(34,197,94,0.1) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.final-cta .store-badges {
  justify-content: center;
  margin-top: 40px;
}

/* Footer */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  margin-bottom: 16px;
  display: block;
  text-decoration: none;
}

.footer-desc {
  color: var(--text-secondary);
  max-width: 300px;
}

.footer-links h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 16px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  color: var(--text-tertiary);
  font-size: 14px;
}

/* Waitlist Form */
.waitlist-form {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  max-width: 480px;
}

.centered-form {
  margin: 0 auto;
  justify-content: center;
}

.waitlist-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 20px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.waitlist-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.waitlist-input::placeholder {
  color: var(--text-tertiary);
}

.waitlist-submit {
  flex-shrink: 0;
  cursor: pointer;
  white-space: nowrap;
}

.waitlist-subtext {
  font-size: 13px !important;
  color: var(--text-tertiary) !important;
  margin-bottom: 0 !important;
}

/* Video Hero Styles */
.phone-mockup video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 28px;
}

/* Interactive Skill Tree (Zero JS) */
.interactive-tree {
  margin-top: 32px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.interactive-tree input[type="radio"] {
  display: none;
}

.tree-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.tree-tabs label {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.tree-tabs label:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

#tab-push:checked ~ .tree-tabs label[for="tab-push"],
#tab-pull:checked ~ .tree-tabs label[for="tab-pull"],
#tab-core:checked ~ .tree-tabs label[for="tab-core"] {
  background: rgba(34, 197, 94, 0.15);
  color: var(--primary);
}

.tree-content {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

#tab-push:checked ~ .content-push,
#tab-pull:checked ~ .content-pull,
#tab-core:checked ~ .content-core {
  display: flex;
  animation: fadeIn 0.4s ease forwards;
}

.tree-node {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  width: 100%;
  max-width: 240px;
}

.tree-node.unlocked {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.1);
}

.tree-node.locked {
  color: var(--text-tertiary);
}

.tree-line {
  width: 2px;
  height: 20px;
  background: var(--border);
}

.tree-node.unlocked + .tree-line {
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

/* FAQ Accordion (Zero JS) */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  padding: 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--primary);
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-content {
  padding: 24px;
  color: var(--text-secondary);
  animation: slideDown 0.3s ease-out;
}

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

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.2s; }
.reveal-delay-2 { transition-delay: 0.4s; }

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 700px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  z-index: 2000;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-banner.show {
  bottom: 32px;
  opacity: 1;
}

.cookie-content p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.cookie-content a {
  color: var(--primary);
  text-decoration: none;
}

.cookie-content a:hover {
  text-decoration: underline;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* Mobile Nav Checkbox Hack */
.nav-toggle, .hamburger {
  display: none;
}

/* Carousel */
.carousel-container {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0;
  scrollbar-width: none; /* Firefox */
}

.carousel-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.carousel-track {
  display: flex;
  gap: 24px;
  padding: 0 5%;
  width: max-content;
}

.carousel-item {
  scroll-snap-align: center;
  flex: 0 0 auto;
  width: 280px;
  height: 560px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid var(--border);
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stars {
  color: var(--primary);
  font-size: 20px;
  letter-spacing: 2px;
}

.quote {
  font-style: italic;
  color: var(--text-primary);
  flex-grow: 1;
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  color: var(--text-primary);
}

.author-info span {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 40px auto 0;
}

.pricing-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}

.pricing-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 48px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.pricing-price span {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  flex-grow: 1;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 15px;
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding-top: 60px;
  }
  
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .waitlist-form {
    margin: 0 auto 12px;
  }
  
  .steps-container {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 48px;
  }
  
  /* Mobile Navigation Overlay */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 32px;
    width: 32px;
    cursor: pointer;
    z-index: 200;
  }
  
  .hamburger-lines {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 18px;
    width: 24px;
    margin-left: auto;
  }
  
  .hamburger .line {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 10px;
    background: var(--text-primary);
    transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out;
  }
  
  .nav-toggle:checked ~ .hamburger .line1 {
    transform: translateY(8px) rotate(45deg);
  }
  
  .nav-toggle:checked ~ .hamburger .line2 {
    opacity: 0;
  }
  
  .nav-toggle:checked ~ .hamburger .line3 {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-deep);
    z-index: 150;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    padding: 24px;
  }
  
  .nav-toggle:checked ~ .nav-overlay {
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  
  .nav-links a {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
  }
  
  .nav-cta {
    width: 100%;
    text-align: center;
  }
  
  .section-header h2 {
    font-size: 32px;
  }
  
  .comparison-table {
    display: block;
    overflow-x: auto;
  }
  
  .waitlist-form {
    flex-direction: column;
  }
  
  .waitlist-submit {
    width: 100%;
  }
}
