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

:root {
  /* Primary palette — fresh greens & earthy tones */
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;

  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;

  --lime-400: #a3e635;
  --lime-500: #84cc16;

  /* Accent */
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --orange-400: #fb923c;

  /* Neutrals */
  --gray-50: #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-300: #d4d4d8;
  --gray-400: #a1a1aa;
  --gray-500: #71717a;
  --gray-600: #52525b;
  --gray-700: #3f3f46;
  --gray-800: #27272a;
  --gray-900: #18181b;
  --gray-950: #09090b;

  /* Surfaces */
  --bg-primary: #0a0f0d;
  --bg-secondary: #0f1613;
  --bg-card: rgba(16, 26, 22, 0.7);
  --bg-card-hover: rgba(22, 38, 30, 0.85);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--green-400), var(--emerald-500));
  --gradient-hero: linear-gradient(135deg, var(--green-400), var(--lime-400));
  --gradient-glow: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.05));

  /* Text */
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  /* Borders */
  --border-subtle: rgba(34, 197, 94, 0.12);
  --border-card: rgba(34, 197, 94, 0.08);

  /* Sizing */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-glow: 0 0 40px rgba(34, 197, 94, 0.12);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 15, 13, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
}

.logo-icon {
  font-size: 1.6rem;
}

.logo-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.25), transparent 70%);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2), transparent 70%);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.15), transparent 70%);
  top: 40%;
  left: 50%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-container {
  text-align: center;
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--green-400);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text-primary);
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

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

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(34, 197, 94, 0.3);
  color: var(--green-400);
}

.btn-outline:hover {
  background: rgba(34, 197, 94, 0.08);
  border-color: var(--green-400);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* ============ SECTIONS ============ */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.15);
  color: var(--green-400);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-primary);
}

.section-desc {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 12px auto 0;
  font-size: 1.05rem;
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.about-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.2);
  box-shadow: var(--shadow-glow);
}

.about-card:hover::before {
  opacity: 1;
}

.about-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.about-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ============ HOW IT WORKS ============ */
.how-it-works {
  background: var(--bg-secondary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.step-card {
  position: relative;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  transition: all 0.35s ease;
}

.step-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.step-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  margin-bottom: 12px;
  line-height: 1;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ============ VIDEO ============ */
.video-section {
  background: var(--bg-primary);
}

.video-wrapper {
  max-width: 880px;
  margin: 0 auto;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gray-900);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* — Video "Coming Soon" state — */
.video-coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.coming-soon-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(10, 15, 13, 0.95), rgba(15, 22, 19, 0.9));
  z-index: 2;
}

.coming-soon-icon {
  font-size: 3.5rem;
  margin-bottom: 8px;
  animation: comingSoonBounce 2s ease-in-out infinite;
}

@keyframes comingSoonBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.coming-soon-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.coming-soon-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.6;
}

.coming-soon-pulse {
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: var(--gradient-primary);
  margin-top: 12px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scaleX(0.6); }
  50% { opacity: 1; transform: scaleX(1); }
}

/* ============ PITCH DECK ============ */
.pitch-section {
  background: var(--bg-secondary);
}

.pitch-deck-showcase {
  max-width: 960px;
  margin: 0 auto;
}

.pitch-cta {
  text-align: center;
  margin-top: 32px;
}

/* ============ MVP ============ */
.mvp-section {
  background: var(--bg-primary);
}

.mvp-showcase {
  max-width: 960px;
  margin: 0 auto;
}

.mvp-browser-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.browser-header {
  background: var(--gray-900);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border-card);
}

.browser-dots {
  display: flex;
  gap: 8px;
}

.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #22c55e; }

.browser-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.browser-content {
  height: 500px;
  background: #fff;
}

.browser-content iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.mvp-cta {
  text-align: center;
  margin-top: 32px;
}

.mvp-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 12px;
}

/* ============ RESOURCES ============ */
.resources-section {
  background: var(--bg-secondary);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.resource-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all 0.35s ease;
  cursor: pointer;
}

.resource-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.25);
  box-shadow: var(--shadow-glow);
}

.resource-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.resource-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.resource-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.resource-link {
  color: var(--green-400);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============ CONTACT ============ */
.contact-section {
  background: var(--bg-primary);
}

.contact-card {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(34, 197, 94, 0.2);
}

.contact-icon {
  font-size: 1.8rem;
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-item a,
.contact-item p {
  color: var(--text-primary);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--green-400);
}

/* ============ FOOTER ============ */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-card);
}

.footer-content {
  text-align: center;
}

.footer-content p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-tagline {
  margin-top: 6px;
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 15, 13, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

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

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

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

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .section {
    padding: 60px 0;
  }

  .pitch-actions {
    flex-direction: column;
    text-align: center;
  }

  .pitch-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .browser-content {
    height: 320px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
}
