/**
 * Perks Landing Page — "Dark Forest Premium"
 * Klickie design system: Satoshi, #1CD987, #0A1F15
 */

/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face {
  font-family: 'Satoshi';
  src: url('/assets/satoshi/Satoshi-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('/assets/satoshi/Satoshi-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('/assets/satoshi/Satoshi-Bold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('/assets/satoshi/Satoshi-Black.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Satoshi", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #FAFAF8;
  color: #141414;
  overflow-x: hidden;
}

/* ==========================================================================
   Header (matches homepage)
   ========================================================================== */

header img {
  height: auto;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 0 120px;
}

/* ==========================================================================
   Hero Bubbles — uses same Tailwind classes as homepage
   CSS only for wrapper-tilt (same as homepage animations.css)
   ========================================================================== */

.wrapper-tilt {
  transform: perspective(1500px);
  transition: transform 0.2s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.wrapper-tilt:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* Contain bubble z-index so they stay behind hero-content (z-index:2) */
.mobile-cards > div {
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(28, 217, 135, 0.08);
  border: 1px solid rgba(28, 217, 135, 0.15);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(28, 217, 135, 0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1CD987;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title-gradient {
  background: linear-gradient(135deg, #1CD987 0%, #4AEEA8 50%, #1CD987 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: #1CD987;
  color: #0A1F15;
  border: none;
  border-radius: 100px;
  font-family: "Satoshi", sans-serif;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 100px;
  background: linear-gradient(135deg, #1CD987, #4AEEA8, #1CD987);
  background-size: 200% 200%;
  z-index: -1;
  animation: gradient-shift 3s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(28, 217, 135, 0.35);
}

.hero-cta:hover::before {
  opacity: 1;
}

.hero-cta:active {
  transform: translateY(0);
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
}

/* ==========================================================================
   Metrics Strip
   ========================================================================== */

.metrics-strip {
  background: #F5F5F3;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0 24px;
}

.metrics-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 32px 0;
}

.metric {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.metric-value {
  font-size: 28px;
  font-weight: 700;
  color: #0A1F15;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 13px;
  color: #929292;
  font-weight: 500;
}

.metric-divider {
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

/* ==========================================================================
   Section Headers (shared)
   ========================================================================== */

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

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #1CD987;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: #0A1F15;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   How It Works — Video + Steps
   ========================================================================== */

.how-section {
  padding: 80px 24px;
  background: #FFFFFF;
}

.how-inner {
  max-width: 860px;
  margin: 0 auto;
}

.how-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.how-video-wrap {
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 14;
  position: sticky;
  top: 24px;
}

.how-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.how-steps {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-top: 8px;
}

.how-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.how-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0A1F15;
  color: #1CD987;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  flex-shrink: 0;
}

.how-step-content {
  flex: 1;
  padding-top: 2px;
}

.how-step-title {
  font-size: 19px;
  font-weight: 700;
  color: #0A1F15;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.how-step-text {
  font-size: 15px;
  color: #929292;
  line-height: 1.6;
}

.how-step-connector {
  width: 2px;
  height: 28px;
  background: linear-gradient(180deg, #1CD987 0%, rgba(28, 217, 135, 0.15) 100%);
  margin-left: 19px;
  border-radius: 1px;
}

/* ==========================================================================
   Mid-page CTA
   ========================================================================== */

.mid-cta-section {
  padding: 0 24px 80px;
  background: #FFFFFF;
}

.mid-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.mid-cta-card {
  position: relative;
  background: #0A1F15;
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  overflow: hidden;
}

.mid-cta-noise {
  position: absolute;
  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='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.mid-cta-label {
  font-size: 13px;
  font-weight: 600;
  color: #1CD987;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.mid-cta-title {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.mid-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: #1CD987;
  color: #0A1F15;
  border: none;
  border-radius: 100px;
  font-family: "Satoshi", sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}

.mid-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(28, 217, 135, 0.3);
}

.mid-cta-btn:active {
  transform: translateY(0);
}

/* ==========================================================================
   Ambassador — Magazine Editorial
   ========================================================================== */

.ambassador-section {
  padding: 80px 24px;
  background: #0A1F15;
  position: relative;
  overflow: hidden;
}

/* Subtle texture overlay */
.ambassador-section::before {
  content: '';
  position: absolute;
  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='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}

.ambassador-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ambassador-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: #1CD987;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 32px;
  padding-left: 2px;
}

.ambassador-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
}

.ambassador-video-wrap {
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 14;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.ambassador-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ambassador-text-col {
  padding: 8px 0;
}

.ambassador-hero-img {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 2px solid rgba(28, 217, 135, 0.2);
}

.ambassador-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ambassador-name {
  font-size: 36px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.ambassador-alias {
  font-size: 18px;
  font-weight: 500;
  color: #1CD987;
  font-style: italic;
  margin-bottom: 24px;
}

.ambassador-quote {
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 400px;
}

.ambassador-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ambassador-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ambassador-link:hover {
  color: #FFFFFF;
}

.ambassador-address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
  font-weight: 400;
}

@media (max-width: 768px) {
  .ambassador-section {
    padding: 56px 20px;
  }

  .ambassador-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ambassador-video-wrap {
    aspect-ratio: 4 / 5;
    max-height: 400px;
    border-radius: 16px;
  }

  .ambassador-name {
    font-size: 28px;
  }

  .ambassador-quote {
    font-size: 17px;
  }

  .ambassador-hero-img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }
}

/* ==========================================================================
   Eligibility
   ========================================================================== */

.eligibility-section {
  padding: 80px 24px;
  background: #FAFAF8;
}

.eligibility-inner {
  max-width: 640px;
  margin: 0 auto;
}

.eligibility-section .section-header {
  text-align: left;
  margin-bottom: 36px;
}

.eligibility-section .section-title {
  font-size: clamp(24px, 3.5vw, 32px);
}

.eligibility-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
}

.eligibility-video-wrap {
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 14;
  position: sticky;
  top: 24px;
}

.eligibility-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eligibility-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eligibility-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.eligibility-item:hover {
  border-color: rgba(28, 217, 135, 0.15);
}

.eligibility-number {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #0A1F15;
  color: #1CD987;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.eligibility-title {
  font-size: 16px;
  font-weight: 700;
  color: #0A1F15;
  margin-bottom: 4px;
}

.eligibility-desc {
  font-size: 14px;
  color: #929292;
  line-height: 1.5;
}

/* ==========================================================================
   Founder Section
   ========================================================================== */

.founder-section {
  padding: 40px 24px 80px;
  background: #FFFFFF;
}

.founder-inner {
  max-width: 840px;
  margin: 0 auto;
}

.founder-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  overflow: hidden;
}

.founder-video-wrap {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 440px;
  overflow: hidden;
  background: #0A1F15;
}

.founder-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-text {
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-photo-name {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.founder-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(28, 217, 135, 0.2);
}

.founder-name {
  font-size: 18px;
  font-weight: 700;
  color: #0A1F15;
  line-height: 1.2;
}

.founder-role {
  font-size: 13px;
  color: #929292;
  font-weight: 500;
}

.founder-quote {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 14px;
}

.founder-quote:last-child {
  margin-bottom: 0;
}

.founder-quiet {
  color: #0A1F15;
  font-weight: 600;
  font-style: italic;
}

@media (max-width: 768px) {
  .founder-card {
    grid-template-columns: 1fr;
  }

  .founder-video-wrap {
    aspect-ratio: 16 / 9;
    max-height: 240px;
  }

  .founder-text {
    padding: 24px 20px;
  }

  .founder-section {
    padding: 40px 20px 60px;
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-section {
  padding: 80px 24px;
  background: #FAFAF8;
}

.faq-inner {
  max-width: 640px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: rgba(28, 217, 135, 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: "Satoshi", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #0A1F15;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #1CD987;
}

.faq-icon {
  font-size: 20px;
  color: #929292;
  transition: transform 0.3s ease, color 0.2s ease;
  flex-shrink: 0;
  font-weight: 300;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: #1CD987;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 24px 20px 24px;
  color: #929292;
  font-size: 14px;
  line-height: 1.7;
}

/* ==========================================================================
   Follow Along — social links strip
   ========================================================================== */

.follow-along-section {
  padding: 48px 24px;
  background: #FAFAF8;
  text-align: center;
}

.follow-along-inner {
  max-width: 640px;
  margin: 0 auto;
}

.follow-along-text {
  font-size: 15px;
  color: #929292;
  margin-bottom: 20px;
  font-style: italic;
}

.follow-along-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.follow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.follow-pill-ig {
  background: #0A1F15;
  color: #FFFFFF;
}

.follow-pill-ig:hover {
  background: #142E20;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 31, 21, 0.2);
}

.follow-pill-x {
  background: #0A1F15;
  color: #FFFFFF;
}

.follow-pill-x:hover {
  background: #142E20;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 31, 21, 0.2);
}

.follow-pill-li {
  background: #FFFFFF;
  color: #0A1F15;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.follow-pill-li:hover {
  border-color: rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Footer (matches homepage)
   ========================================================================== */

/* Footer uses Tailwind classes - minimal custom CSS needed */

/* ==========================================================================
   Phone Overlay & Mockup
   ========================================================================== */

.phone-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 21, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.phone-overlay.visible {
  display: flex;
  opacity: 1;
}

.phone-mockup-container {
  display: flex;
  align-items: center;
  gap: 24px;
}

.phone-close-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.8);
}

.phone-overlay.visible .phone-close-btn {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s ease 0.6s, transform 0.4s ease 0.6s, background 0.2s ease;
}

.phone-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.phone-close-btn svg {
  width: 20px;
  height: 20px;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 606px;
  background: #000000;
  border-radius: 38px;
  padding: 4px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 10px 30px rgba(0, 0, 0, 0.3),
    0 0 60px rgba(28, 217, 135, 0.05);
  opacity: 0;
  transform: scale(0.85) translateY(60px);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-overlay.visible .phone-mockup {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  border-radius: 35px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px 10px 28px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  background: #FFFFFF;
}

.status-time {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.3px;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-icon {
  color: #000;
}

.phone-content {
  flex: 1;
  padding: 12px 8px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
}

.phone-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px 8px 32px;
  background: #FFFFFF;
}

.bottom-icon {
  width: 24px;
  height: 24px;
  color: #1C1B19;
  opacity: 0.6;
}

.phone-home-indicator {
  width: 134px;
  height: 5px;
  background: #1C1B19;
  border-radius: 3px;
  margin: 8px auto 8px auto;
  opacity: 0.2;
}

/* ==========================================================================
   Chat Styles (inside phone)
   ========================================================================== */

.chat-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.chat-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  overflow-y: auto;
  padding: 8px 4px 6px;
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar { width: 3px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: #E0E0E0; border-radius: 2px; }

.chat-message {
  max-width: 95%;
  animation: messageSlideIn 0.3s ease-out;
}

.chat-message.bot { align-self: flex-start; }
.chat-message.user { align-self: flex-end; }

.chat-bubble {
  padding: 8px 12px;
  border-radius: 16px;
  font-family: "Satoshi", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  word-wrap: break-word;
}

.chat-message.bot .chat-bubble {
  background: #F5F5F5;
  color: #141414;
  border-bottom-left-radius: 4px;
}

.chat-message.user .chat-bubble {
  background: #1CD987;
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
}

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

/* Typing indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 18px;
  background: #F5F5F5;
  border-radius: 20px;
  border-bottom-left-radius: 4px;
  width: fit-content;
  max-width: 70px;
}

.typing-dot {
  width: 7px;
  height: 7px;
  background: #999;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
}

/* Chat input area */
.chat-input-area {
  padding: 6px 4px 8px;
  background: #FFFFFF;
  border-top: 1px solid #F0F0F0;
  flex-shrink: 0;
}

.chat-input-wrapper {
  animation: fadeInUp 0.3s ease-out;
}

.chat-input {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #E0E0E0;
  border-radius: 10px;
  font-family: "Satoshi", -apple-system, sans-serif;
  font-size: 14px;
  color: #141414;
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  height: 42px;
}

.chat-input:focus {
  border-color: #1CD987;
  box-shadow: 0 0 0 3px rgba(28, 217, 135, 0.1);
}

.chat-input::placeholder { color: #929292; }
.chat-input.error { border-color: #E53935; }
.chat-input.valid { border-color: #1CD987; }

.chat-input-with-icon { position: relative; }
.chat-input-with-icon .chat-input { padding-right: 44px; }

.chat-input-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.chat-input-icon.valid { color: #1CD987; }
.chat-input-icon.invalid { color: #E53935; }
.chat-input-icon.hidden { display: none; }

.input-error-message {
  color: #E53935;
  font-size: 12px;
  margin-top: 6px;
  padding-left: 4px;
}

.input-error-message.hidden { display: none; }

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

/* Continue / skip buttons */
.chat-continue-btn {
  width: 100%;
  padding: 10px 16px;
  margin-top: 8px;
  background: #141414;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  font-family: "Satoshi", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.chat-continue-btn:hover:not(:disabled) {
  background: #2a2a2a;
  transform: translateY(-1px);
}

.chat-continue-btn:disabled {
  background: #CCCCCC;
  cursor: not-allowed;
}

.chat-continue-btn .arrow {
  transition: transform 0.2s ease;
}

.chat-continue-btn:hover:not(:disabled) .arrow {
  transform: translateX(4px);
}

.chat-skip-btn {
  padding: 10px 16px;
  background: transparent;
  color: #929292;
  border: 2px solid #E0E0E0;
  border-radius: 10px;
  font-family: "Satoshi", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chat-skip-btn:hover {
  border-color: #CCC;
  color: #666;
}

.button-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.button-row .chat-continue-btn {
  flex: 1;
  margin-top: 0;
}

/* Submit button */
.submit-btn {
  width: 100%;
  padding: 12px 16px;
  margin-top: 8px;
  background: #1CD987;
  color: #0A1F15;
  border: none;
  border-radius: 10px;
  font-family: "Satoshi", sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  position: relative;
}

.submit-btn:hover:not(:disabled) {
  background: #17c578;
  transform: translateY(-1px);
}

.submit-btn:disabled {
  background: #CCC;
  color: #fff;
  cursor: not-allowed;
}

.submit-btn.loading { pointer-events: none; opacity: 0.8; }
.submit-btn.loading .btn-text { opacity: 0; }
.submit-btn.loading .btn-spinner { display: block; }

.btn-spinner {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(10, 31, 21, 0.3);
  border-top-color: #0A1F15;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Suggestion pills */
.suggestion-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-bottom: 8px;
}

.suggestion-pill {
  padding: 8px 10px;
  background: #F5F5F5;
  border: 1px solid #E0E0E0;
  border-radius: 14px;
  font-family: "Satoshi", sans-serif;
  font-size: 11px;
  color: #141414;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.suggestion-pill:hover {
  background: #EBEBEB;
  border-color: #CCC;
}

.suggestion-pill.selected {
  background: #1CD987;
  border-color: #1CD987;
  color: #FFFFFF;
}

/* Partner pills (first step) */
.partner-pills {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
}

.partner-pill {
  padding: 10px 14px;
  background: #F5F5F5;
  border: 1.5px solid #E0E0E0;
  border-radius: 12px;
  font-family: "Satoshi", sans-serif;
  font-size: 13px;
  color: #141414;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.partner-pill:hover {
  background: #EBEBEB;
  border-color: #CCC;
}

.partner-pill.selected {
  background: rgba(28, 217, 135, 0.08);
  border-color: #1CD987;
  color: #0A1F15;
}

.partner-pill.suggested::after {
  content: 'Suggested';
  font-size: 10px;
  font-weight: 600;
  color: #1CD987;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Phone input */
.phone-input-group {
  display: flex;
  gap: 6px;
  align-items: center;
}

.country-selector {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 10px 8px;
  background: #F5F5F5;
  border: 2px solid #E0E0E0;
  border-radius: 10px;
  font-family: "Satoshi", sans-serif;
  font-size: 13px;
  color: #141414;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease;
  flex-shrink: 0;
  height: 42px;
}

.country-selector:hover { border-color: #CCC; }
.country-selector:focus { outline: none; border-color: #1CD987; }

.country-selector .chevron {
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}

.country-selector.open .chevron {
  transform: rotate(0deg);
}

.phone-input-group .chat-input {
  flex: 1;
  min-width: 0;
}

.country-dropdown-wrapper {
  position: relative;
}

.phone-input-group .country-selector,
.phone-input-group .country-dropdown-wrapper {
  position: relative !important;
}

.country-dropdown {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 0;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  z-index: 100;
  max-height: 250px;
  overflow-y: auto;
  min-width: 120px;
}

.country-dropdown.hidden { display: none; }

.country-dropdown button {
  display: block;
  width: 100%;
  padding: 12px 16px;
  text-align: left;
  background: none;
  border: none;
  font-family: "Satoshi", sans-serif;
  font-size: 15px;
  color: #141414;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.country-dropdown button:hover { background: #F5F5F5; }
.country-dropdown button:first-child { border-radius: 0 0 12px 12px; }
.country-dropdown button:last-child { border-radius: 12px 12px 0 0; }
.country-dropdown button:only-child { border-radius: 12px; }

/* ==========================================================================
   Success Screen
   ========================================================================== */

.success-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px 24px;
  text-align: center;
  animation: fadeInUp 0.4s ease-out;
}

.success-checkmark {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
}

.success-checkmark svg { width: 100%; height: 100%; }

.success-checkmark .circle {
  stroke: #1CD987;
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: circleAnim 0.6s ease-out 0.2s forwards;
}

.success-checkmark .check {
  stroke: #1CD987;
  stroke-width: 4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: checkAnim 0.4s ease-out 0.6s forwards;
}

@keyframes circleAnim { to { stroke-dashoffset: 0; } }
@keyframes checkAnim { to { stroke-dashoffset: 0; } }

.success-title {
  font-size: 20px;
  font-weight: 700;
  color: #0A1F15;
  margin-bottom: 8px;
}

.success-subtitle {
  font-size: 14px;
  color: #929292;
  line-height: 1.5;
}

/* Confetti */
#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1100;
}

/* ==========================================================================
   Partners Form (inside phone mockup)
   ========================================================================== */

.partners-form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 20px 16px;
  animation: fadeInUp 0.4s ease-out;
}

.partners-form-header {
  text-align: center;
  margin-bottom: 28px;
}

.partners-form-logo {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.partners-form-title {
  font-family: "Satoshi", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0A1F15;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.partners-form-subtitle {
  font-family: "Satoshi", sans-serif;
  font-size: 13px;
  color: #929292;
  line-height: 1.5;
}

.partners-form-body {
  margin-bottom: 20px;
}

.partners-form-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: "Satoshi", sans-serif;
  font-size: 11px;
  color: #929292;
}

/* Success phone number */
.success-phone {
  font-family: "Satoshi", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0A1F15;
  margin: 8px 0 20px;
  letter-spacing: 0.5px;
}

/* WhatsApp button in success screen */
.success-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #25D366;
  color: #FFFFFF;
  border: none;
  border-radius: 100px;
  font-family: "Satoshi", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.success-whatsapp-btn:hover {
  background: #128C7E;
  transform: translateY(-1px);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 1440px) {
  .phone-mockup {
    width: 300px;
    height: 649px;
    border-radius: 40px;
  }
  .phone-screen {
    border-radius: 37px;
  }

}

@media (max-width: 768px) {
  .hero {
    padding: 110px 20px 70px;
    min-height: auto;
  }

  /* Show bubble edges peeking in on mobile */
  .mobile-cards {
    opacity: 0.4;
  }

  .metrics-inner {
    flex-wrap: wrap;
    gap: 0;
  }

  .metric {
    min-width: 100px;
  }

  .how-section {
    padding: 56px 20px 40px;
  }

  .how-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .how-video-wrap {
    aspect-ratio: 4 / 5;
    max-height: 320px;
    border-radius: 16px;
    position: static;
  }

  .how-step-title {
    font-size: 17px;
  }

  .how-step-text {
    font-size: 14px;
  }

  .how-step-num {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .how-step {
    gap: 14px;
  }

  .how-step-connector {
    margin-left: 17px;
    height: 20px;
  }

  .eligibility-section {
    padding: 56px 20px;
  }

  .eligibility-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .eligibility-video-wrap {
    aspect-ratio: 16 / 9;
    max-height: 200px;
    border-radius: 14px;
    position: static;
  }

  .faq-section {
    padding: 56px 20px;
  }

  .mid-cta-section {
    padding: 0 20px 56px;
  }

  .mid-cta-card {
    padding: 36px 24px;
  }

  .founder-section {
    padding: 56px 20px;
  }

  .phone-mockup-container {
    gap: 12px;
    padding: 0 8px;
  }

  .phone-close-btn {
    width: 36px;
    height: 36px;
  }

  .phone-close-btn svg {
    width: 16px;
    height: 16px;
  }

  .phone-close-left {
    display: none;
  }

  .phone-mockup {
    width: calc(100vw - 100px);
    max-width: 320px;
    height: 85vh;
    max-height: 690px;
    border-radius: 38px;
    padding: 3px;
  }

  .phone-screen {
    border-radius: 36px;
  }

  .phone-status-bar {
    padding: 10px 20px 6px 20px;
    font-size: 13px;
  }

  .phone-content {
    padding: 10px 6px;
  }

  .phone-bottom-bar {
    padding: 12px 24px 4px 24px;
  }

  .bottom-icon {
    width: 22px;
    height: 22px;
  }

  .phone-home-indicator {
    width: 100px;
    height: 4px;
    margin: 6px auto;
  }

  .chat-input {
    font-size: 16px; /* Prevents iOS zoom */
  }

  .greeting-mascot {
    font-size: 20px;
    min-height: 24px;
  }

}

@media (max-width: 480px) {
  .hero-badge {
    padding: 6px 14px;
    font-size: 10px;
    margin-bottom: 24px;
  }

  .hero-title {
    font-size: 26px;
  }

  .suggestion-pills {
    grid-template-columns: 1fr;
  }

  .metric-divider {
    display: none;
  }

  .metrics-inner {
    gap: 16px;
  }
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .hero-title-gradient {
    animation: none;
  }

  .hero-badge-dot {
    animation: none;
  }

  .hero-cta::before {
    animation: none;
  }

  .phone-mockup {
    transition: opacity 0.2s ease-out;
    transform: scale(1) translateY(0);
  }

  .phone-overlay.visible .phone-mockup {
    opacity: 1;
  }

  .chat-message,
  .chat-input-wrapper,
  .typing-dot,
  .greeting-mascot.wave {
    animation: none;
  }

  .hero-cta:hover,
  .bento-card:hover,
  .chat-continue-btn:hover:not(:disabled) {
    transform: none;
  }

  .success-checkmark .circle,
  .success-checkmark .check {
    animation: none;
    stroke-dashoffset: 0;
  }
}
