/* ============================================================
   PokiPaw Landing Page — Shared Styles
   Palette: Green (#00B894) + Purple (#6C5CE7) matching the app
   ============================================================ */

/* ── Skip to content ── */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}

.skip-to-content:focus {
  left: 0;
}

/* ── CSS Variables ── */
:root {
  --green: #00B894;
  --green-dark: #00a383;
  --green-light: #e6f9f4;
  --green-glow: rgba(0, 184, 148, 0.25);
  --purple: #6C5CE7;
  --purple-dark: #5a4bd1;
  --purple-light: #f0eefb;
  --purple-glow: rgba(108, 92, 231, 0.25);
  --accent: #FDCB6E;
  --error: #E17055;
  --text-primary: #1a1a2e;
  --text-secondary: #555770;
  --text-tertiary: #8e90a6;
  --bg: #ffffff;
  --bg-alt: #f8f9fc;
  --bg-dark: #0f0f1a;
  --border: #e8e9f0;
  --card-bg: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.10);
  --shadow-glow-green: 0 0 60px rgba(0, 184, 148, 0.15);
  --shadow-glow-purple: 0 0 60px rgba(108, 92, 231, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 100px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Keyframe Animations ── */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.8;
  }
}

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

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes mesh-rotate {
  0% {
    transform: rotate(0deg) scale(1);
  }

  33% {
    transform: rotate(120deg) scale(1.1);
  }

  66% {
    transform: rotate(240deg) scale(0.95);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.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;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

ul,
ol {
  list-style: none;
}

/* ── Typography ── */
h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
}

p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple);
  margin-bottom: 0.75rem;
}

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

section {
  padding: 100px 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* Shimmer effect on hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::after {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 184, 148, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(0, 184, 148, 0.45);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(108, 92, 231, 0.4);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.98);
}

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

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
  background: rgba(0, 184, 148, 0.04);
}

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

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(232, 233, 240, 0.5);
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
  border-bottom-color: var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  transition: transform var(--transition);
}

.nav-logo:hover {
  transform: scale(1.03);
}

.nav-logo-img {
  height: 94px;
  width: auto;
  display: block;
}

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

.nav-links a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  border-radius: 1px;
  transition: width var(--transition);
}

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

.nav-links a:not(.btn):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 var(--transition);
}

/* ── Hero Section ── */
.hero {
  padding: 160px 0 100px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

/* Animated gradient mesh blobs */
.hero-mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-mesh .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero-mesh .blob-1 {
  width: 600px;
  height: 600px;
  background: var(--green-glow);
  top: -15%;
  right: -5%;
  animation: mesh-rotate 20s ease-in-out infinite;
}

.hero-mesh .blob-2 {
  width: 500px;
  height: 500px;
  background: var(--purple-glow);
  bottom: -20%;
  left: -10%;
  animation: mesh-rotate 25s ease-in-out infinite reverse;
}

.hero-mesh .blob-3 {
  width: 350px;
  height: 350px;
  background: rgba(253, 203, 110, 0.15);
  top: 40%;
  left: 30%;
  animation: mesh-rotate 18s ease-in-out infinite 3s;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  max-width: 580px;
  animation: fade-in-up 0.8s ease-out;
}

.hero-text .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 184, 148, 0.1);
  color: var(--green-dark);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 184, 148, 0.2);
  backdrop-filter: blur(8px);
}

.hero-text .badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-glow 2s infinite;
}

.hero-text h1 {
  margin-bottom: 24px;
}

.hero-text h1 .highlight-green {
  background: linear-gradient(135deg, var(--green), #00d2a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text h1 .highlight-purple {
  background: linear-gradient(135deg, var(--purple), #a29bfe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stats .stat {
  text-align: center;
}

.hero-stats .stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stats .stat-label {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

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

.hero-phone {
  width: 300px;
  height: 600px;
  background: linear-gradient(145deg, var(--green-light), var(--purple-light));
  border-radius: 40px;
  border: 1.5px solid #1a1a1a;
  box-shadow: var(--shadow-lg), var(--shadow-glow-green), inset 0 0 0 1px #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

/* Dynamic Island */
.hero-phone::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 18px;
  background: #1a1a1a;
  border-radius: 14px;
  z-index: 3;
}

/* Side button (power) */
.hero-phone::after {
  content: '';
  position: absolute;
  top: 100px;
  right: -4px;
  width: 3px;
  height: 40px;
  background: #2a2a2a;
  border-radius: 0 2px 2px 0;
  z-index: 3;
}

/* Decorative rings behind hero phone */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border: 2px dashed rgba(0, 184, 148, 0.2);
  border-radius: 50%;
  animation: mesh-rotate 30s linear infinite;
}

.hero-visual::after {
  content: '';
  position: absolute;
  width: 440px;
  height: 440px;
  border: 1px dashed rgba(108, 92, 231, 0.15);
  border-radius: 50%;
  animation: mesh-rotate 40s linear infinite reverse;
}

.store-badges {
  display: flex;
  gap: 16px;
  align-items: center;
}

.store-badge-link {
  display: inline-flex;
  transition: transform var(--transition);
}

.store-badge-link:hover {
  transform: translateY(-2px) scale(1.02);
}

/* Base styles for CSS-based badges */
.store-button-css {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: left;
  user-select: none;
  text-decoration: none;
}

.store-button-css.play-store {
  background: #000;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.store-button-css.coming-soon {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  cursor: default;
}

.store-button-css svg,
.store-button-css img {
  flex-shrink: 0;
  object-fit: contain;
}

.store-button-css .texts {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.store-button-css .label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.8;
}

.store-button-css.coming-soon .label {
  color: rgba(255, 255, 255, 0.5);
}

.store-button-css .brand {
  font-size: 1.05rem;
  font-weight: 700;
}

.coming-soon-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.coming-soon-store {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

/* ── Mobile Nav ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

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

  .nav-toggle {
    display: flex;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-phone {
    width: 240px;
    height: 480px;
    border-width: 1.5px;
    font-size: 3rem;
  }

  .hero-phone::before {
    width: 72px;
    height: 15px;
    top: 10px;
  }
}

/* ── Features Section ── */
.features {
  background: var(--bg-alt);
}

.features-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--purple));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.feature-icon.green {
  background: var(--green-light);
}

.feature-icon.purple {
  background: var(--purple-light);
}

.feature-icon.accent {
  background: rgba(253, 203, 110, 0.15);
}

.feature-icon.red {
  background: rgba(225, 112, 85, 0.12);
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-card--owl .feature-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.feature-card--owl .feature-card__top h3 {
  margin-bottom: 0;
  line-height: 1.3;
}

.feature-card-owl {
  width: 160px;
  height: 160px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: -8px;
  margin-right: -8px;
}

.feature-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--green-light);
  color: var(--green-dark);
}

.feature-tag.premium {
  background: var(--purple-light);
  color: var(--purple);
}

/* ── Screenshots Section ── */
.screenshots {
  background: var(--bg);
  overflow: hidden;
}

.screenshots-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.screenshots-track {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.screenshot-item {
  width: 260px;
  height: 520px;
  background: linear-gradient(145deg, var(--green-light), var(--purple-light));
  border-radius: 28px;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-tertiary);
  font-weight: 500;
  transition: transform var(--transition);
  overflow: hidden;
  position: relative;
}

.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
}

.screenshot-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.screenshot-label {
  text-align: center;
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ── Feature Spotlights (alternating text+image) ── */
.spotlights {
  background: var(--bg);
}

.spotlight {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 40px 0;
}

.spotlight:nth-child(even) {
  flex-direction: row-reverse;
}

.spotlight+.spotlight {
  margin-top: 60px;
}

.spotlight-text {
  flex: 1;
}

.spotlight-text .section-label {
  margin-bottom: 12px;
}

.spotlight-text h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.spotlight-text p {
  margin-bottom: 24px;
  max-width: 440px;
}

.spotlight-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spotlight-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.spotlight-features li .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.spotlight-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.spotlight-phone {
  width: 255px;
  height: 520px;
  background: linear-gradient(145deg, var(--green-light), var(--purple-light));
  border-radius: 24px;
  border: 1.5px solid #1a1a1a;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-tertiary);
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-slow);
}

/* Dynamic Island */
.spotlight-phone::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 13px;
  background: #1a1a1a;
  border-radius: 10px;
  z-index: 3;
}

.spotlight-phone:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow-purple);
}

.spotlight-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 19px;
}

.spotlight-phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 19px;
}

/* ── How It Works ── */
.how-it-works {
  background: var(--bg-alt);
}

.how-it-works-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

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

/* Connecting line between steps */
.steps::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--purple));
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step:nth-child(1) .step-number {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  box-shadow: 0 4px 20px var(--green-glow);
}

.step:nth-child(2) .step-number {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  box-shadow: 0 4px 20px var(--purple-glow);
}

.step:nth-child(3) .step-number {
  background: linear-gradient(135deg, var(--accent), #f0b429);
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(253, 203, 110, 0.3);
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.92rem;
  max-width: 280px;
  margin: 0 auto;
}

/* ── Social Proof / Testimonials ── */
.social-proof {
  background: var(--bg);
  overflow: hidden;
}

.social-proof-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 1.1rem;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-light), var(--purple-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
  flex-shrink: 0;
}

cite.testimonial-info {
  font-style: normal;
}

.testimonial-info .name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-info .role {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* ── FAQ Accordion ── */
.faq {
  background: var(--bg-alt);
}

.faq-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: rgba(0, 184, 148, 0.3);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--green);
}

.faq-question:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
  border-radius: 12px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--text-tertiary);
  transition: all var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--green-light);
  color: var(--green);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ── Premium Section ── */
.premium {
  background: linear-gradient(170deg, var(--purple-light) 0%, var(--bg) 50%, var(--green-light) 100%);
  position: relative;
  overflow: hidden;
}

.premium::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--purple-glow);
  filter: blur(100px);
  opacity: 0.3;
  pointer-events: none;
}

.premium-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  position: relative;
}

.pricing-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.pricing-card {
  flex: 1;
  max-width: 340px;
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  border: 2px solid var(--border);
  text-align: center;
  position: relative;
  transition: all var(--transition);
  /* Flexbox for button alignment */
  display: flex;
  flex-direction: column;
}

.pricing-card .btn {
  margin-top: auto;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.pricing-card.popular {
  border-color: var(--purple);
  box-shadow: 0 8px 40px rgba(108, 92, 231, 0.15);
  transform: scale(1.03);
}

.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 12px 48px rgba(108, 92, 231, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 20px;
  background: var(--purple);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card .plan-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-tertiary);
}

.pricing-card .price-note {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}

.pricing-features {
  text-align: left;
  margin: 24px 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '\2713';
  font-weight: 700;
  color: var(--green);
  font-size: 1rem;
}

/* ── CTA Section ── */
.cta {
  background: linear-gradient(135deg, var(--green) 0%, var(--purple) 100%);
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 480px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
}

.cta .btn-primary {
  background: #fff;
  color: var(--green-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta .btn-primary:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px) scale(1.03);
}

/* ── Footer ── */
.footer {
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 32px;
}

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

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.footer-brand h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-social-icon {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer-social-icon:hover {
  color: var(--green);
}

.footer-social-icon svg {
  width: 22px;
  height: 22px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--green);
}

/* ── Legal Pages (shared) ── */
.legal-page {
  padding: 120px 0 80px;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.legal-page .last-updated {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-page p,
.legal-page li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.legal-page ul {
  padding-left: 24px;
  margin: 12px 0;
}

.legal-page ul li {
  list-style: disc;
  padding: 4px 0;
}

.legal-page a {
  color: var(--green);
  text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spotlight {
    gap: 48px;
  }

  .testimonials {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

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

  .nav-toggle {
    display: flex;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

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

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-phone {
    width: 240px;
    height: 480px;
    font-size: 3rem;
  }

  .hero-visual::before {
    width: 280px;
    height: 280px;
  }

  .hero-visual::after {
    width: 360px;
    height: 360px;
  }

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

  .spotlight {
    flex-direction: column !important;
    gap: 32px;
    text-align: center;
  }

  .spotlight-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .spotlight-features {
    align-items: center;
  }

  .spotlight-phone {
    width: 230px;
    height: 470px;
    border-width: 1.5px;
  }

  .spotlight-phone::before {
    width: 52px;
    height: 11px;
    top: 7px;
  }

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

  .steps::before {
    display: none;
  }

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

  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    max-width: 100%;
  }

  .pricing-card.popular {
    transform: none;
  }

  .pricing-card.popular:hover {
    transform: translateY(-6px);
  }

  .screenshots-track {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 24px 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .screenshot-item {
    flex-shrink: 0;
    scroll-snap-align: center;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}