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

:root {
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #10b981;
  --primary-glow: rgba(5, 150, 105, 0.25);
  --gold: #d97706;
  --gold-light: #fbbf24;
  --gold-glow: rgba(217, 119, 6, 0.2);
  --red: #dc2626;
  --red-light: #ef4444;
  --blue: #1d4ed8;
  --blue-light: #3b82f6;
  --bg: #f9fafb;
  --bg-dark: #030712;
  --surface: #ffffff;
  --surface-2: #f3f4f6;
  --border: #e5e7eb;
  --text: #111827;
  --text-2: #374151;
  --text-3: #6b7280;
  --text-inv: #ffffff;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .12), 0 2px 4px rgba(0, 0, 0, .08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, .14), 0 4px 12px rgba(0, 0, 0, .08);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, .18);
  --shadow-primary: 0 8px 32px rgba(5, 150, 105, 0.35);
  --font: 'Inter', system-ui, sans-serif;
  --nav-h: 68px;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

/* =========================================
   CONTAINERS
   ========================================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  border: none;
  letter-spacing: -0.01em;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 12px 40px rgba(5, 150, 105, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-xl {
  padding: 20px 40px;
  font-size: 18px;
}

/* =========================================
   NAVBAR
   ========================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav.scrolled .nav-name {
  color: var(--text);
}

.nav.scrolled .btn-ghost {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-primary);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.nav-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #064e3b 0%, #065f46 30%, #047857 60%, #059669 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
}

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

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #d97706 0%, transparent 70%);
  right: -150px;
  top: -150px;
  animation: float1 8s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #1d4ed8 0%, transparent 70%);
  left: -100px;
  bottom: -100px;
  animation: float2 10s ease-in-out infinite;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #10b981 0%, transparent 70%);
  left: 50%;
  top: 20%;
  animation: float3 7s ease-in-out infinite;
}

@keyframes float1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-30px, 30px) scale(1.1);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(20px, -20px);
  }
}

@keyframes float3 {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, -30px);
  }
}

/* Confetti */
.confetti-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  animation: confetti-fall linear infinite;
  opacity: 0;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-20px) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Hero Text */
.hero-text {}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  animation: fadeSlideDown 0.6s var(--ease-out) forwards;
}

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

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(0.8);
  }
}

.hero-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
  animation: fadeSlideUp 0.7s 0.1s var(--ease-out) both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gold-light) 0%, #f59e0b 50%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

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

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

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
  animation: fadeSlideUp 0.7s 0.2s var(--ease-out) both;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeSlideUp 0.7s 0.3s var(--ease-out) both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeSlideUp 0.7s 0.4s var(--ease-out) both;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

/* ============================
   PHONE MOCKUP
   ============================ */
.hero-visual {
  display: flex;
  justify-content: center;
  animation: fadeSlideUp 0.8s 0.3s var(--ease-out) both;
}

.phone-mockup {
  position: relative;
  animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-16px) rotate(1deg);
  }
}

.phone-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(5, 150, 105, 0.4) 0%, transparent 70%);
  filter: blur(30px);
  border-radius: 50%;
  z-index: -1;
}

.phone-frame {
  width: 240px;
  background: #1a1a1a;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 24px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #333;
  border-radius: 3px;
  z-index: 10;
}

.phone-screen {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 470px;
}

.screen-header {
  background: var(--primary);
  padding: 28px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.screen-title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.screen-tabs {
  display: flex;
  gap: 6px;
}

.tab {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s;
}

.tab.active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.screen-body {
  flex: 1;
  padding: 12px 14px 8px;
  overflow: hidden;
}

.screen-group {
  margin-bottom: 12px;
}

.group-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  display: block;
  margin-bottom: 6px;
}

.sticker-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.sticker-cell {
  aspect-ratio: 1;
  border-radius: 4px;
  background: #f3f4f6;
  transition: background 0.3s, transform 0.2s;
  cursor: pointer;
}

.sticker-cell.collected {
  background: var(--primary);
}

.sticker-cell:hover {
  transform: scale(1.1);
}

.screen-progress {
  padding: 0 14px 10px;
}

.progress-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-3);
  display: block;
  margin-bottom: 4px;
}

.progress-bar-outer {
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
  transition: width 1.5s ease;
}

.screen-nav {
  display: flex;
  border-top: 1px solid var(--border);
  padding: 8px 0 4px;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-3);
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-item.active {
  color: var(--primary);
}

/* Float cards */
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  min-width: 150px;
}

.float-icon {
  font-size: 22px;
}

.float-title {
  font-size: 10px;
  color: var(--text-3);
  font-weight: 500;
}

.float-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.float-card-1 {
  top: 20px;
  right: -60px;
  animation: floatCard1 5s ease-in-out infinite;
}

.float-card-2 {
  bottom: 60px;
  left: -60px;
  animation: floatCard2 7s ease-in-out infinite;
}

@keyframes floatCard1 {

  0%,
  100% {
    transform: translateY(0) rotate(2deg);
  }

  50% {
    transform: translateY(-10px) rotate(-1deg);
  }
}

@keyframes floatCard2 {

  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(8px) rotate(1deg);
  }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 500;
  z-index: 2;
  animation: scrollHint 2s ease-in-out infinite;
}

@keyframes scrollHint {

  0%,
  100% {
    opacity: 0.5;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(6px);
  }
}

/* =========================================
   SECTION COMMON
   ========================================= */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: rgba(5, 150, 105, 0.1);
  color: var(--primary);
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-3);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Animations */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* =========================================
   FEATURES
   ========================================= */
.features {
  padding: 100px 0;
  background: var(--bg);
}

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

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, border-color 0.3s;
  position: relative;
  overflow: hidden;
  min-width: 0;
  /* prevents grid blowout */
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.feature-card--large {
  grid-column: span 2;
}

@media (min-width: 1025px) {

  /* Row 1: large(col 1-2) + small(col 3) */
  .features-grid>.feature-card:nth-child(1) {
    grid-column: span 2;
  }

  .features-grid>.feature-card:nth-child(2) {
    grid-column: span 1;
  }

  .features-grid>.feature-card:nth-child(3) {
    grid-column: span 1;
  }

  /* Row 2: small + small + large(col 2-3) */
  .features-grid>.feature-card:nth-child(4) {
    grid-column: span 1;
  }

  .features-grid>.feature-card:nth-child(5) {
    grid-column: span 2;
  }

  .features-grid>.feature-card:nth-child(6) {
    grid-column: span 1;
  }
}

.feature-card:nth-child(1)::before {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.04) 0%, rgba(16, 185, 129, 0.02) 100%);
}

.feature-card:nth-child(4)::before {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.04) 0%, rgba(59, 130, 246, 0.02) 100%);
}

.feature-card:nth-child(5)::before {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.04) 0%, transparent 100%);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon--green {
  background: rgba(5, 150, 105, 0.12);
  color: var(--primary);
}

.feature-icon--red {
  background: rgba(220, 38, 38, 0.1);
  color: var(--red);
}

.feature-icon--gold {
  background: rgba(217, 119, 6, 0.1);
  color: var(--gold);
}

.feature-icon--blue {
  background: rgba(29, 78, 216, 0.1);
  color: var(--blue);
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-desc {
  font-size: 15px;
  color: var(--text-3);
  line-height: 1.65;
}

/* Demo Grid inside feature card */
.feature-demo {
  margin-top: 24px;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 120px;
}

.demo-cell {
  aspect-ratio: 1;
  border-radius: 6px;
  background: #f3f4f6;
  transition: background 0.3s;
}

.demo-cell.c {
  background: var(--primary);
}

/* Share preview */
.share-preview {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.share-bubble {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px 12px 12px 4px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  gap: 6px;
  align-items: center;
  max-width: 240px;
}

.share-bubble--sent {
  background: #dcfce7;
  border-color: var(--primary);
  border-radius: 12px 12px 4px 12px;
  align-self: flex-end;
  color: var(--primary-dark);
  font-weight: 600;
}

.share-bubble-label {
  font-weight: 700;
  color: var(--primary);
}

/* =========================================
   PROGRESS SECTION
   ========================================= */
.progress-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f0fdf4 0%, var(--bg) 100%);
}

.progress-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.progress-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.progress-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.5;
}

.progress-bullet {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.progress-bullet--green {
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.progress-bullet--red {
  background: var(--red);
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
}

.progress-bullet--gold {
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

/* Stats Card */
.stats-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.stats-card-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--bg);
}

.stats-label {
  font-size: 14px;
  color: var(--text-3);
  font-weight: 500;
}

.stats-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.stats-value--green {
  color: var(--primary);
}

.stats-value--red {
  color: var(--red);
}

.stats-value--gold {
  color: var(--gold);
}

.stats-progress-group {
  margin-top: 20px;
}

.stats-prog-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.stats-prog-pct {
  font-weight: 700;
  font-size: 14px;
}

.prog-pct--green {
  color: var(--primary);
}

.prog-pct--red {
  color: var(--red);
}

.prog-pct--gold {
  color: var(--gold);
}

.stats-prog-bar {
  height: 10px;
  background: var(--surface-2);
  border-radius: 5px;
  overflow: hidden;
}

.stats-prog-fill {
  height: 100%;
  border-radius: 5px;
  width: 0;
  transition: width 1.5s var(--ease-out) 0.3s;
}

.stats-prog-fill--green {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-light));
}

.stats-prog-fill--red {
  background: linear-gradient(90deg, #b91c1c, var(--red-light));
}

.stats-prog-fill--gold {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

/* =========================================
   HOW IT WORKS (STEPS)
   ========================================= */
.steps-section {
  padding: 120px 0;
  background: var(--bg);
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.step-card {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 40px 32px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.step-icon {
  font-size: 44px;
  margin-bottom: 16px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 15px;
  color: var(--text-3);
  line-height: 1.65;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
  padding: 0 -12px;
  flex-shrink: 0;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #022c22 0%, #064e3b 40%, #059669 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

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

.cta-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}

.cta-shape-1 {
  width: 500px;
  height: 500px;
  background: var(--gold);
  top: -200px;
  right: -150px;
}

.cta-shape-2 {
  width: 400px;
  height: 400px;
  background: var(--blue);
  bottom: -150px;
  left: -100px;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.cta-app-icon {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s var(--ease-spring);
}

.cta-app-icon:hover {
  transform: scale(1.08) rotate(-3deg);
}

.cta-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.15;
}

.cta-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-subtitle strong {
  color: var(--gold-light);
}

.play-badge {
  height: 60px;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
  transition: filter 0.2s, transform 0.2s;
}

.play-badge:hover {
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
  transform: translateY(-2px);
}

.cta-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin-top: 24px;
  font-weight: 500;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--bg-dark);
  padding: 48px 0 32px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

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

.footer-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-brand-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

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

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-dev {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-dev strong {
  color: rgba(255, 255, 255, 0.6);
}

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

  .feature-card--large {
    grid-column: span 2;
  }

  .progress-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin: 0 auto 36px;
  }

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

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

  .hero-visual {
    order: -1;
  }

  .float-card-1 {
    right: -40px;
  }

  .float-card-2 {
    left: -40px;
  }
}

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

  .feature-card--large {
    grid-column: span 1;
  }

  .steps-grid {
    flex-direction: column;
    gap: 20px;
  }

  .step-connector {
    transform: rotate(90deg);
  }

  .footer-top {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

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

  .hero-content {
    padding: 40px 24px 60px;
    gap: 40px;
  }

  .phone-frame {
    width: 210px;
  }

  .float-card-1 {
    display: none;
  }

  .float-card-2 {
    display: none;
  }
}

@media (max-width: 480px) {
  .btn-lg {
    padding: 14px 24px;
    font-size: 15px;
  }

  .hero-ctas {
    flex-direction: column;
  }
}