/* =============================================
   POKE LANDING PAGE — STYLES
   Dark-first, premium, consumer-grade
   ============================================= */

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

:root {
  --green: #4ade80;
  --green-dim: #22c55e;
  --green-glow: rgba(74, 222, 128, 0.18);
  --green-glow-strong: rgba(74, 222, 128, 0.35);
  --bg: #09090b;
  --bg-surface: #111113;
  --bg-card: #141416;
  --bg-card-hover: #1a1a1e;
  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.12);
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.5), 0 8px 24px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 60px var(--green-glow);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---- UTILITIES ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-nav {
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-nav:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.2);
}

.btn-primary {
  background: var(--green);
  color: #0a0a0a;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  box-shadow: 0 0 30px rgba(74,222,128,0.3), 0 4px 12px rgba(0,0,0,0.4);
}
.btn-primary:hover {
  background: #6ee7a0;
  box-shadow: 0 0 50px rgba(74,222,128,0.45), 0 8px 20px rgba(0,0,0,0.4);
  transform: translateY(-1px);
}

.btn-large {
  font-size: 1.1rem;
  padding: 16px 36px;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(9,9,11,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
}

.palm-icon {
  font-size: 1.3rem;
  line-height: 1;
  filter: saturate(0.9) brightness(1.1);
}

.nav-wordmark {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(74,222,128,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-palms {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.palm-left, .palm-right {
  position: absolute;
  width: 260px;
  height: 520px;
  bottom: 0;
}

.palm-left {
  left: -40px;
  transform: scaleX(-1);
  opacity: 0.7;
}

.palm-right {
  right: -40px;
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(74,222,128,0.3);
  background: rgba(74,222,128,0.08);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.1s forwards;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease infinite;
}

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

.hero-headline {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.25s forwards;
}

.hero-headline em {
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 700;
  background: linear-gradient(135deg, #4ade80 0%, #86efac 50%, #bbf7d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 64px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.55s forwards;
}

.hero-cta-note {
  font-size: 0.82rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* Chat bubbles */
.hero-phones {
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
  width: 100%;
  max-width: 420px;
}

.phone-bubble-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.bubble {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.5;
  font-weight: 450;
  opacity: 0;
}

.bubble-in {
  align-self: flex-start;
  background: rgba(255,255,255,0.07);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
  animation: bubblePop 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

.bubble-out {
  align-self: flex-end;
  background: var(--green);
  color: #0a150d;
  font-weight: 550;
  border-bottom-right-radius: 4px;
  animation: bubblePop 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

.delay-1 { animation-delay: 1.1s; }
.delay-2 { animation-delay: 1.7s; }
.delay-3 { animation-delay: 2.3s; }

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

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

/* ---- SECTION SHARED ---- */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.section-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.65;
}

/* ---- VALUE PROPS ---- */
.value-props {
  padding: 120px 0;
  position: relative;
}

.value-props .container > .section-label,
.value-props .container > .section-headline,
.value-props .container > .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.value-props .section-sub {
  margin-bottom: 72px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74,222,128,0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}

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

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.card h3 em {
  font-style: italic;
  font-family: var(--font-display);
  background: linear-gradient(135deg, #4ade80, #86efac);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.card-example {
  margin-top: auto;
}

.mini-bubble {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  font-style: italic;
}

.integrations-row, .always-on-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.integration-chip, .channel-chip {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
}

.channel-chip {
  background: rgba(74,222,128,0.07);
  border-color: rgba(74,222,128,0.2);
  color: var(--green);
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.how-it-works .container > .section-label,
.how-it-works .container > .section-headline,
.how-it-works .container > .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.how-it-works .section-sub {
  margin-bottom: 72px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.step-number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--green);
  margin-bottom: 20px;
}

.step-connector {
  position: absolute;
  top: 56px;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  height: 1px;
  background: linear-gradient(90deg, rgba(74,222,128,0.4), rgba(74,222,128,0.1));
  z-index: 0;
}

.step-connector-last {
  display: none;
}

.step:last-child .step-connector {
  display: none;
}

.step-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 240px;
}

/* ---- SECOND CTA ---- */
.cta-section {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.cta-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(74,222,128,0.14) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-palm {
  font-size: 3rem;
  margin-bottom: 24px;
  display: block;
  animation: floatPalm 4s ease-in-out infinite;
}

@keyframes floatPalm {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

.cta-headline {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 40px;
}

.cta-note {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--text-tertiary);
  font-weight: 500;
  letter-spacing: 0.03em;
}

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

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-tertiary);
}

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

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-inner {
    padding: 0 20px;
  }

  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 28px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .step-connector {
    display: none;
  }

  .step {
    padding: 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .value-props,
  .how-it-works,
  .cta-section {
    padding: 80px 0;
  }

  .hero-phones {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    letter-spacing: -0.03em;
  }

  .btn-primary {
    font-size: 0.95rem;
    padding: 14px 24px;
  }

  .cta-headline {
    letter-spacing: -0.03em;
  }
}

/* ---- SELECTION ---- */
::selection {
  background: rgba(74,222,128,0.25);
  color: var(--text-primary);
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.2);
}
