/* ============================================================
   MethodIA — Homepage Styles
   ============================================================ */

/* ── Hero ── */
.hero {
  position: relative;
  background: var(--gradient-hero);
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(42, 86, 232, 0.28) 0%, transparent 70%);
  top: -180px; right: -80px;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232, 149, 21, 0.14) 0%, transparent 70%);
  bottom: -80px; left: 8%;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-16) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content { color: white; }

.hero-eyebrow { margin-bottom: var(--space-6); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  color: white;
}
.hero-title .accent { color: var(--saffron-300); }

.hero-subtitle {
  font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: var(--space-10);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-8);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
}
.stars { color: var(--saffron-300); letter-spacing: 2px; }

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

.hero-frida {
  width: clamp(240px, 32vw, 360px);
  height: auto;
  position: relative;
  z-index: 2;
}

/* Floating hint cards */
.hero-card-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  color: white;
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  animation: frida-float-slow 4s ease-in-out infinite;
}
.hero-card-float svg { flex-shrink: 0; }
.hero-card-float-1 { top: 12%; left: -8%; animation-delay: 0s; }
.hero-card-float-2 { bottom: 18%; right: -4%; animation-delay: -2s; }

/* ── Réassurance ── */
.reassurance {
  background: var(--surface-default);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-16) 0;
}
.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.reassurance-item {
  padding: var(--space-10) var(--space-8);
  text-align: center;
}
.reassurance-number {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-5xl));
  font-weight: 800;
  color: var(--action-accent);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.reassurance-label {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}
.reassurance-source {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 220px;
  margin: 0 auto;
}

/* ── Problem / Solution ── */
.problem-solution { background: var(--surface-canvas); }

.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.ps-column-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.ps-before .ps-column-title { color: var(--text-muted); }
.ps-after  .ps-column-title { color: var(--action-primary); }

.ps-items { display: flex; flex-direction: column; gap: var(--space-3); }

.ps-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  line-height: 1.5;
}
.ps-before .ps-item {
  background: var(--ink-100);
  color: var(--text-muted);
}
.ps-after .ps-item {
  background: rgba(42, 86, 232, 0.05);
  border: 1px solid rgba(42, 86, 232, 0.12);
  color: var(--text-primary);
  font-weight: 500;
}
.ps-icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

/* ── How it works ── */
.how-it-works { background: var(--surface-default); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--action-primary), var(--action-accent));
  opacity: 0.25;
}

.step-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-2xl);
  background: var(--surface-canvas);
  border: 1px solid var(--border-default);
  transition: box-shadow var(--duration-normal) var(--ease-standard),
              transform  var(--duration-normal) var(--ease-standard);
}
.step-card:hover {
  box-shadow: var(--shadow-brand);
  transform: translateY(-4px);
}

.step-number {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--action-accent);
  line-height: 1;
  margin-bottom: var(--space-4);
  display: block;
}

.step-icon {
  width: 56px; height: 56px;
  background: rgba(42, 86, 232, 0.10);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: var(--action-primary);
}

.step-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}
.step-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

.section-cta {
  text-align: center;
  margin-top: var(--space-10);
}

/* ── Features grid ── */
.features-section { background: var(--surface-canvas); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-12);
}

.feature-card {
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  transition: box-shadow      var(--duration-normal) var(--ease-standard),
              transform       var(--duration-normal) var(--ease-standard),
              border-color    var(--duration-normal) var(--ease-standard);
}
.feature-card:hover {
  box-shadow: var(--shadow-3);
  transform: translateY(-3px);
  border-color: rgba(42, 86, 232, 0.18);
}

.feature-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.feature-card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}
.feature-card-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

/* Feature icon colours */
.fc-cobalt  .feature-card-icon { background: rgba(42, 86, 232, 0.10); color: #2A56E8; }
.fc-saffron .feature-card-icon { background: rgba(232, 149, 21, 0.10); color: #E89515; }
.fc-violet  .feature-card-icon { background: rgba(102, 103, 171, 0.10); color: #6667AB; }
.fc-teal    .feature-card-icon { background: rgba(20, 184, 166, 0.10); color: #14B8A6; }
.fc-success .feature-card-icon { background: rgba(74, 144, 217, 0.10); color: #4A90D9; }
.fc-rose    .feature-card-icon { background: rgba(244, 63, 94, 0.10); color: #F43F5E; }

/* Bento grid spans */
.feature-card.fc-saffron { grid-column: span 2; }
.feature-card.fc-rose {
  grid-column: span 3;
  display: flex;
  align-items: center;
  gap: var(--space-10);
  padding: var(--space-8) var(--space-10);
}
.feature-frida-img {
  width: 160px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(244, 63, 94, 0.18));
}
.fc-rose-body { flex: 1; }

/* ── Gamification ── */
.gamification {
  background: var(--gradient-gamification);
  clip-path: inset(0);   /* clips blobs sans casser backdrop-filter des cards */
  position: relative;
}

.gamif-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.gamif-blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(42, 86, 232, 0.3) 0%, transparent 70%);
  top: -150px; right: -100px;
}
.gamif-blob-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(232, 149, 21, 0.2) 0%, transparent 70%);
  bottom: -80px; left: 5%;
}

.gamif-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.gamif-content { color: white; }

.gamif-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-5);
  color: white;
}
.gamif-title .accent { color: var(--saffron-300); }

.gamif-desc {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
  margin-bottom: var(--space-8);
}

.gamif-perks {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.perk-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.82);
}
.perk-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: rgba(232, 149, 21, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--saffron-300);
}

/* Gamification UI mockup */
.gamif-ui {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.ui-card-glass {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  color: white;
}

.xp-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
}
.xp-level { font-weight: 700; font-size: var(--text-base); }

.xp-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.xp-fill {
  height: 100%;
  background: var(--gradient-saffron);
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 1.4s var(--ease-decelerate);
}

.streak-display {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}
.streak-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--saffron-300);
  line-height: 1;
}
.streak-text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
}

.badges-row {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.badge-pill {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: white;
}

/* ── Pricing teaser ── */
.pricing-teaser { background: var(--surface-default); }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  border: 1.5px solid var(--border-default);
  background: var(--surface-canvas);
  position: relative;
  transition: box-shadow var(--duration-normal) var(--ease-standard);
}
.pricing-card-premium {
  border-color: var(--action-primary);
  background: linear-gradient(135deg, rgba(42,86,232,0.04) 0%, rgba(255,255,255,1) 60%);
  box-shadow: var(--shadow-brand);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-cobalt);
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.375rem 1.125rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-plan-name {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.pricing-card-premium .pricing-plan-name { color: var(--action-primary); }

.pricing-amount {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: var(--space-1);
  display: flex;
  align-items: flex-start;
  gap: var(--space-1);
}
.pricing-amount .currency {
  font-size: var(--text-xl);
  font-weight: 600;
  padding-top: 6px;
}

.pricing-period {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.5;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}
.pricing-feature svg { flex-shrink: 0; margin-top: 1px; }

.check-cobalt { color: var(--action-primary); }
.check-muted  { color: var(--ink-300); }

.pricing-frida {
  position: absolute;
  width: 90px;
  right: -12px;
  top: -32px;
  pointer-events: none;
}

/* ── CTA Final ── */
.cta-final {
  background: var(--gradient-hero);
  padding: clamp(var(--space-16), 8vw, 8rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(42,86,232,0.28) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  color: white;
}
.cta-frida {
  width: clamp(100px, 14vw, 160px);
  margin: 0 auto var(--space-6);
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-4);
  color: white;
}
.cta-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.68);
  margin-bottom: var(--space-8);
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.cta-microcopy {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ── Footer ── */
.footer {
  background: var(--ink-950);
  padding: var(--space-16) 0 var(--space-10);
  color: rgba(255,255,255,0.55);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}
.footer-logo { height: 28px; width: auto; opacity: 0.85; }
.footer-tagline {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: rgba(255,255,255,0.45);
  margin-top: var(--space-4);
  max-width: 240px;
}
.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-4);
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.48);
  transition: color var(--duration-fast);
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
}

/* ── Product Showcase ── */
.product-showcase {
  background: var(--gradient-gamification);
  clip-path: inset(0);
  position: relative;
  overflow: visible;
}
.showcase-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.showcase-blob-1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(42, 86, 232, 0.22) 0%, transparent 70%);
  top: -200px; left: -120px;
}
.showcase-blob-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(232, 149, 21, 0.12) 0%, transparent 70%);
  bottom: -80px; right: 5%;
}
.showcase-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
  margin-top: var(--space-16);
  position: relative;
  z-index: 1;
}

/* ── iPhone frame ── */
.showcase-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  /* padding accomodates the floating badges that hang outside */
  padding: 20px 90px;
}
.showcase-iphone {
  position: relative;
  width: 280px;
  height: 580px;
  border-radius: 48px;
  background-color: #111;
  box-shadow:
    inset 0 0 0 2px #52525B,
    inset 0 0 0 7px #000,
    0 40px 80px -15px rgba(0,0,0,0.9),
    0 15px 25px -5px rgba(0,0,0,0.7),
    0 0 60px rgba(42,86,232,0.18);
  transform-style: preserve-3d;
  will-change: transform;
  flex-shrink: 0;
}
/* Physical side buttons */
.si-btn {
  position: absolute;
  background: linear-gradient(90deg, #404040 0%, #171717 100%);
  box-shadow: -2px 0 5px rgba(0,0,0,0.8), inset -1px 0 1px rgba(255,255,255,0.15), inset 1px 0 2px rgba(0,0,0,0.8);
  border-left: 1px solid rgba(255,255,255,0.05);
  border-radius: 2px 0 0 2px;
  width: 3px;
  pointer-events: none;
  z-index: 0;
}
.si-btn-l1 { left: -3px; top: 120px; height: 25px; }
.si-btn-l2 { left: -3px; top: 160px; height: 45px; }
.si-btn-l3 { left: -3px; top: 220px; height: 45px; }
.si-btn-r  {
  position: absolute; right: -3px; top: 170px; height: 70px; width: 3px;
  background: linear-gradient(90deg, #171717, #404040);
  box-shadow: 2px 0 5px rgba(0,0,0,0.8), inset -1px 0 1px rgba(255,255,255,0.15);
  border-radius: 0 2px 2px 0;
  pointer-events: none;
  z-index: 0;
}
/* Screen — absolute fill, exactly like the React component */
.si-screen {
  position: absolute;
  inset: 7px;
  border-radius: 42px;
  overflow: hidden;
  background: #050914;
  z-index: 10;
  box-shadow: inset 0 0 15px rgba(0,0,0,1);
}
.si-glare {
  position: absolute; inset: 0; border-radius: inherit; z-index: 40;
  background: linear-gradient(110deg, rgba(255,255,255,0.08) 0%, transparent 45%);
  pointer-events: none;
}
.si-island {
  position: absolute; top: 6px;
  left: 50%; transform: translateX(-50%);
  width: 98px; height: 27px;
  background: #000; border-radius: 20px;
  z-index: 50; display: flex; align-items: center;
  justify-content: flex-end; padding-right: 10px;
}
.si-island-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #E89515;
  box-shadow: 0 0 8px rgba(232,149,21,0.9);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(0.8); }
}
.si-content {
  position: relative;
  width: 100%; height: 100%;
  padding: 48px 20px 32px;
  color: white;
  display: flex; flex-direction: column; gap: 12px;
  overflow: hidden;
}
/* App header */
.si-header { display:flex; justify-content:space-between; align-items:center; }
.si-header-label {
  font-family: var(--font-body); font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.38); font-weight: 700; display: block; margin-bottom: 2px;
}
.si-header-title {
  font-family: var(--font-display); font-size: 20px;
  font-weight: 700; color: white; line-height:1;
}
.si-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #2A56E8, #1936A6);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: 12px; font-weight: 700; color: white;
  border: 1px solid rgba(255,255,255,0.1);
}
/* Mastery ring */
.si-ring-wrap {
  width: 138px; height: 138px;
  margin: 0 auto; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.si-ring-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.si-ring-bg  { fill: none; stroke: rgba(255,255,255,0.05); stroke-width: 11; }
.si-ring-fill {
  fill: none; stroke: #E89515; stroke-width: 11; stroke-linecap: round;
  stroke-dasharray: 345; stroke-dashoffset: 345;
  transition: stroke-dashoffset 1.5s cubic-bezier(0, 0, 0.2, 1) 0.4s;
}
.si-ring-wrap.is-visible .si-ring-fill { stroke-dashoffset: 107; }
.si-ring-inner { text-align: center; z-index: 1; }
.si-ring-val {
  font-family: var(--font-display); font-size: 30px;
  font-weight: 800; color: white; line-height: 1; display: block;
}
.si-ring-unit {
  font-family: var(--font-body); font-size: 8px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(232,149,21,0.55); font-weight: 700;
}
/* Flashcard */
.si-flashcard {
  background: linear-gradient(135deg, rgba(42,86,232,0.15) 0%, rgba(7,16,58,0.28) 100%);
  border: 1px solid rgba(138,164,255,0.15); border-radius: 12px;
  padding: 10px 12px;
}
.si-fc-tag {
  font-family: var(--font-body); font-size: 8px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(42,86,232,0.55); font-weight: 700; margin-bottom: 5px;
}
.si-fc-q {
  font-family: var(--font-body); font-size: 11px;
  color: rgba(255,255,255,0.85); line-height: 1.5;
}
/* Widgets */
.si-widget {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3), inset 0 1px 1px rgba(255,255,255,0.05), inset 0 -1px 1px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 16px; padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
}
.si-widget-icon {
  width: 32px; height: 32px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.si-wi-cobalt  { background: linear-gradient(135deg, rgba(42,86,232,0.25), rgba(42,86,232,0.05)); border: 1px solid rgba(42,86,232,0.28); }
.si-wi-saffron { background: linear-gradient(135deg, rgba(232,149,21,0.2), rgba(232,149,21,0.04)); border: 1px solid rgba(232,149,21,0.25); }
.si-widget-lines { flex: 1; }
.si-wl-1 { height: 7px; width: 75px; background: rgba(255,255,255,0.18); border-radius: 4px; margin-bottom: 5px; }
.si-wl-2 { height: 5px; width: 48px; background: rgba(255,255,255,0.09); border-radius: 4px; }
.si-widget-xp { font-family: var(--font-body); font-size: 9px; font-weight: 700; color: rgba(232,149,21,0.8); }
.si-home-bar {
  width: 112px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.18); margin: 4px auto 0;
}
/* Floating badges */
.showcase-badge {
  position: absolute;
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.01) 100%);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1),
    0 25px 50px -12px rgba(0,0,0,0.8),
    inset 0 1px 1px rgba(255,255,255,0.2),
    inset 0 -1px 1px rgba(0,0,0,0.5);
  white-space: nowrap; z-index: 20;
}
/* Positioned relative to .showcase-phone-wrap which now has padding: 20px 90px */
.sb-streak { top: 15%; left: 4px;  animation: frida-float-slow 4s ease-in-out infinite; }
.sb-exam   { bottom: 18%; right: 4px; animation: frida-float-slow 4s ease-in-out infinite; animation-delay: -2s; }
.sb-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.sb-streak .sb-icon {
  background: linear-gradient(180deg, rgba(232,149,21,0.22), rgba(232,149,21,0.06));
  border: 1px solid rgba(232,149,21,0.3);
}
.sb-exam .sb-icon {
  background: linear-gradient(180deg, rgba(42,86,232,0.22), rgba(42,86,232,0.06));
  border: 1px solid rgba(42,86,232,0.3);
}
.sb-text p:first-child { font-family: var(--font-body); font-size: 12px; font-weight: 700; color: white; }
.sb-text p:last-child  { font-family: var(--font-body); font-size: 10px; margin-top: 2px; }
.sb-streak .sb-text p:last-child { color: rgba(232,149,21,0.55); }
.sb-exam   .sb-text p:last-child { color: rgba(138,164,255,0.55); }
/* Right features */
.showcase-features { color: white; }
.showcase-feat-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em; color: white;
  margin-bottom: var(--space-8);
}
.showcase-feat-title .accent { color: var(--saffron-300); }
.showcase-feat-list { display: flex; flex-direction: column; gap: var(--space-4); }
.sf-item {
  display: flex; align-items: flex-start; gap: var(--space-4);
  padding: var(--space-5);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  transition: background var(--duration-normal), border-color var(--duration-normal);
}
.sf-item:hover { background: rgba(42,86,232,0.14); border-color: rgba(42,86,232,0.28); }
.sf-icon {
  width: 46px; height: 46px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sfi-cobalt  { background: rgba(42,86,232,0.22);  color: #7D9AF2; }
.sfi-saffron { background: rgba(232,149,21,0.22); color: #F5C24C; }
.sfi-violet  { background: rgba(102,103,171,0.22); color: #8B8EC4; }
.sfi-teal    { background: rgba(20,184,166,0.22);  color: #2DD4BF; }
.sf-body h4  { font-family: var(--font-body); font-size: var(--text-base); font-weight: 700; color: white; margin-bottom: var(--space-1); }
.sf-body p   { font-family: var(--font-body); font-size: var(--text-sm); color: rgba(255,255,255,0.52); line-height: 1.55; }
/* Section heading on dark bg */
.product-showcase .section-title { color: white; }
.product-showcase .section-subtitle { color: rgba(255,255,255,0.62); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .features-grid  { grid-template-columns: repeat(2, 1fr); }
  .feature-card.fc-rose { grid-column: span 2; }
  .footer-inner   { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .showcase-layout { grid-template-columns: 1fr; }
  .showcase-phone-wrap { margin-bottom: var(--space-8); }
  .sb-streak { left: 8%; }
  .sb-exam   { right: 8%; }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-10);
    padding-top: var(--space-10);
    padding-bottom: var(--space-12);
  }
  .hero-visual      { order: -1; }
  .hero-actions,
  .hero-social-proof { justify-content: center; }
  .hero-subtitle    { margin-inline: auto; }
  .hero-card-float  { display: none; }

  .reassurance-grid { grid-template-columns: 1fr; gap: 0; }
  .reassurance-item { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .reassurance-item:last-child { border-bottom: none; }

  .ps-grid          { grid-template-columns: 1fr; }
  .steps-grid       { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .features-grid    { grid-template-columns: 1fr; }
  .feature-card.fc-saffron,
  .feature-card.fc-rose { grid-column: span 1; }
  .feature-card.fc-rose { flex-direction: column; padding: var(--space-6); gap: var(--space-4); }
  .feature-frida-img { width: 120px; }
  .gamif-inner      { grid-template-columns: 1fr; }
  .pricing-grid     { grid-template-columns: 1fr; }

  .footer-inner     { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bottom    { flex-direction: column; gap: var(--space-2); text-align: center; }

  .section,
  .section-lg       { padding: var(--space-16) 0; }
}
