/* ============================================================
   POKE LANDING PAGE — STYLES
   ============================================================ */

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

:root {
  --bg: #09090b;
  --bg-2: #111113;
  --bg-3: #18181b;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #fafafa;
  --text-2: #a1a1aa;
  --text-3: #71717a;
  --accent: #7c3aed;
  --accent-2: #a855f7;
  --accent-glow: rgba(124,58,237,0.35);
  --accent-gradient: linear-gradient(135deg, #7c3aed, #a855f7, #ec4899);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.2s cubic-bezier(0.4,0,0.2,1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
strong { font-weight: 600; }

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

/* ---- LAYOUT ---- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 64px;
}

.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

/* For sections where container is column */
.section .container,
.section-dark .container {
  flex-direction: column;
  align-items: stretch;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.125rem;
  color: var(--text-2);
  max-width: 520px;
  margin: 0 auto;
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: opacity var(--transition);
}
.logo:hover { opacity: 0.8; }

.logo-mark {
  width: 28px;
  height: 28px;
  color: var(--accent-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  font-size: 0.875rem;
  color: var(--text-2);
  font-weight: 500;
  transition: color var(--transition);
}
.nav-link:hover { color: var(--text); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--accent-glow);
}
.btn-primary:active { transform: translateY(0); }

.btn-large {
  padding: 16px 36px;
  font-size: 1.0625rem;
  border-radius: 14px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  background: var(--accent-gradient);
  color: #fff;
  transition: all var(--transition);
  box-shadow: 0 2px 12px var(--accent-glow);
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

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

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

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  top: -200px;
  left: -100px;
}
.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #ec4899 0%, transparent 70%);
  top: -100px;
  right: -100px;
  opacity: 0.2;
}

.hero .container {
  flex-direction: row;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--accent-2);
  font-weight: 500;
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-headline {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.05;
}

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

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--text-3);
  font-weight: 500;
}

/* ---- PHONE FRAME ---- */
.hero-visual {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.phone-frame {
  width: 320px;
  background: #1a1a1f;
  border-radius: 36px;
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.05),
    inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.phone-status-bar {
  padding: 12px 20px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1a1a1f;
}

.phone-time {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.phone-icons {
  display: flex;
  gap: 6px;
  color: var(--text);
}

.phone-header {
  padding: 8px 16px 12px;
  background: #1a1a1f;
  border-bottom: 1px solid var(--border);
}

.phone-contact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.contact-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.contact-status {
  font-size: 0.75rem;
  color: #22c55e;
  font-weight: 500;
}

.phone-messages {
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
  min-height: 280px;
}

.msg {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 82%;
}

.msg-poke { align-self: flex-start; }
.msg-user { align-self: flex-end; align-items: flex-end; }

.msg-bubble {
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.msg-poke .msg-bubble {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.msg-user .msg-bubble {
  background: var(--accent-gradient);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.msg-time {
  font-size: 0.6875rem;
  color: var(--text-3);
  padding: 0 4px;
}

.animate-msg {
  opacity: 0;
  transform: translateY(8px);
  animation: fadeSlideUp 0.4s ease forwards;
  animation-delay: calc(var(--delay) + 0.5s);
}

@keyframes fadeSlideUp {
  to { opacity: 1; transform: translateY(0); }
}

.phone-input-bar {
  padding: 10px 14px;
  background: #1a1a1f;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-input-field {
  flex: 1;
  padding: 8px 14px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.8125rem;
  color: var(--text-3);
}

.phone-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.platform-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.chip {
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-2);
}

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

.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.card-featured {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: flex-start;
  gap: 48px;
}

.card-featured .card-icon { flex-shrink: 0; }
.card-featured .card-body { max-width: 380px; }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  flex-shrink: 0;
}

.card-icon svg { width: 20px; height: 20px; }

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.card-body {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.65;
}

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

.mini-msg {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  flex-shrink: 0;
}

.mini-bubble {
  padding: 9px 13px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 0.8125rem;
  color: var(--text);
  font-style: italic;
}

.integration-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.integration-pills span {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  font-size: 0.75rem;
  color: var(--accent-2);
  font-weight: 500;
}

.platform-row {
  display: flex;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
}

.platform-tag {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.platform-tag.imessage {
  background: rgba(52,199,89,0.1);
  border: 1px solid rgba(52,199,89,0.25);
  color: #34c759;
}

.platform-tag.whatsapp {
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.25);
  color: #25d366;
}

.platform-tag.sms {
  background: rgba(161,161,170,0.1);
  border: 1px solid rgba(161,161,170,0.2);
  color: var(--text-2);
}

/* ---- INTEGRATIONS SECTION ---- */
.integrations-layout {
  display: flex;
  align-items: center;
  gap: 80px;
}

.integrations-text {
  flex: 1;
  max-width: 480px;
}

.integrations-text .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.integrations-text .section-sub {
  text-align: left;
  margin: 0 0 32px;
}

.integration-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.integration-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-2);
}

.integration-list svg { color: #22c55e; flex-shrink: 0; }

.integrations-grid-wrap {
  flex: 0 0 auto;
  width: 360px;
  height: 360px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.integrations-orb {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.2) 0%, transparent 70%);
  filter: blur(30px);
}

.int-grid {
  position: relative;
  width: 100%;
  height: 100%;
}

.int-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translate(-50%, -50%);
}

.int-node span {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.int-center {
  top: 50%;
  left: 50%;
  color: var(--accent-2);
  padding: 16px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 16px;
}

.int-node:not(.int-center) {
  top: calc(50% + var(--r) * sin(var(--angle) * 3.14159 / 180));
  left: calc(50% + var(--r) * cos(var(--angle) * 3.14159 / 180));
  width: 60px;
  height: 60px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text-2);
  justify-content: center;
  transition: border-color var(--transition);
}

.int-node:not(.int-center):hover {
  border-color: rgba(124,58,237,0.4);
  color: var(--accent-2);
}

/* Fallback positioning for browsers that don't support CSS trig */
.int-node:nth-child(2)  { top: 12%;  left: 50%; }
.int-node:nth-child(3)  { top: 22%;  left: 82%; }
.int-node:nth-child(4)  { top: 55%;  left: 90%; }
.int-node:nth-child(5)  { top: 85%;  left: 73%; }
.int-node:nth-child(6)  { top: 85%;  left: 27%; }
.int-node:nth-child(7)  { top: 55%;  left: 10%; }
.int-node:nth-child(8)  { top: 22%;  left: 18%; }

.int-node:not(.int-center) span { display: none; }

/* ---- CREDIBILITY ---- */
.credibility-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.backed-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 28px;
}

.backer-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.backer {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.backer:first-child { border-top: 1px solid var(--border); }

.backer-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.backer-title {
  font-size: 0.8125rem;
  color: var(--text-3);
}

.about-interaction {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.interaction-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 1rem;
}

.interaction-desc {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.65;
}

.stat-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 4px;
}

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

.stat-value {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ---- CTA SECTION ---- */
.section-cta {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.section-cta .container {
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-content {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-headline {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
}

.cta-sub {
  font-size: 1.0625rem;
  color: var(--text-2);
  max-width: 480px;
}

.cta-platforms {
  font-size: 0.875rem;
  color: var(--text-3);
}

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

.footer .container {
  flex-direction: column;
  align-items: stretch;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-logo { opacity: 0.7; }
.footer-logo:hover { opacity: 1; }

.footer-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-3);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text-2); }

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-3);
  width: 100%;
  margin-top: 8px;
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

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

/* ---- MOBILE ---- */
@media (max-width: 900px) {
  .hero .container {
    flex-direction: column;
    gap: 60px;
    padding-top: 100px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-badge { margin: 0 auto 28px; }
  .hero-sub { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }

  .hero-visual { width: 100%; }
  .phone-frame { width: 300px; }

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

  .card-featured {
    flex-direction: column;
    gap: 24px;
  }

  .integrations-layout {
    flex-direction: column;
    gap: 48px;
  }

  .integrations-text .section-title,
  .integrations-text .section-sub { text-align: center; }

  .integrations-text { max-width: 100%; text-align: center; }
  .integration-list { align-items: flex-start; }
  .integrations-grid-wrap { width: 300px; height: 300px; }

  .credibility-layout {
    grid-template-columns: 1fr;
  }

  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { margin-left: 0; }
}

@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .hero { padding: 140px 0 80px; }
  .phone-frame { width: 280px; }
  .about-interaction { padding: 28px; }
  .stat-value { font-size: 1.125rem; }
}
