@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700;800&family=Roboto:wght@400;500&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Colors */
  --bg-primary:   #0D0D0D;
  --bg-surface:   #141414;
  --bg-elevated:  #1A1A1A;
  --bg-highest:   #222222;

  --brand-blue:   #42A0ED;
  --brand-purple: #7544EA;

  --text-primary:   #E8E8E8;
  --text-secondary: rgba(255, 255, 255, 0.5);
  --text-tertiary:  rgba(255, 255, 255, 0.25);

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-normal: rgba(255, 255, 255, 0.1);
  --border-active: rgba(255, 255, 255, 0.2);

  --success: #27C93F;
  --error:   #FF4F4F;
  --warning: #FFBD2E;

  /* Radii */
  --r-card: 16px;
  --r-btn:  14px;
  --r-pill: 100px;

  /* Shadows */
  --shadow-card:   0 4px 20px rgba(0,0,0,0.3);
  --shadow-modal:  0 8px 40px rgba(0,0,0,0.5);
  --glow-blue:     0 8px 32px rgba(66,160,237,0.25);
  --glow-purple:   0 8px 32px rgba(117,68,234,0.2);
  --glow-green:    0 4px 16px rgba(39,201,63,0.2);

  /* Brand Gradient */
  --brand-gradient: linear-gradient(135deg, #42A0ED, #7544EA);
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.03em;
}

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

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

/* ============================================================
   UTILITIES
   ============================================================ */
.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.glass {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.no-tap-highlight { -webkit-tap-highlight-color: transparent; }

.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }
.mb-20 { margin-bottom: 80px; }

.hidden-mobile { display: none; }
@media (min-width: 640px) { .hidden-mobile { display: inline; } }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes badge-pulse {
  0%,100% { transform: scale(1); opacity: 0.8; }
  50%      { transform: scale(2); opacity: 0; }
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

@keyframes process-line-grow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

@keyframes slide-up {
  from { opacity:0; transform:translateY(100%); }
  to   { opacity:1; transform:translateY(0); }
}

@keyframes slide-down {
  from { opacity:1; transform:translateY(0); }
  to   { opacity:0; transform:translateY(100%); }
}

/* IntersectionObserver reveals */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

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

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Grain Overlay */
.grain-overlay { position: relative; overflow: hidden; }
.grain-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon { color: var(--brand-blue); }

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
}



/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}

.section-surface {
  background-color: rgba(20,20,20,0.3);
}

.section-surface-light {
  background-color: rgba(20,20,20,0.2);
}

.section-bordered {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-inner { position: relative; z-index: 10; }

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

.section-title {
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(232,232,232,0.8);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================================
   BADGE
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-pill);
  border: 1px solid;
  padding: 6px 12px;
  backdrop-filter: blur(4px);
  font-size: 0;
  mix-blend-mode: screen;
}

.badge-dot-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6px;
  height: 6px;
  margin-right: 8px;
}

.badge-pulse {
  position: absolute;
  display: inline-flex;
  width: 100%; height: 100%;
  border-radius: 50%;
  opacity: 0.75;
  background-color: var(--brand-blue);
  animation: badge-pulse 2s ease-in-out infinite;
}

.badge-dot {
  position: relative;
  display: inline-flex;
  width: 6px; height: 6px;
  border-radius: 50%;
  background-color: var(--brand-blue);
}

.badge span:last-child {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 1px;
}

/* Blue */
.badge-blue {
  background-color: rgba(66,160,237,0.1);
  border-color: rgba(66,160,237,0.2);
}
.badge-blue span:last-child {
  color: var(--brand-blue);
  text-shadow: 0 0 8px rgba(66,160,237,0.5);
}

/* Red */
.badge-red {
  background-color: rgba(255,79,79,0.1);
  border-color: rgba(255,79,79,0.2);
}
.badge-red span:last-child {
  color: #FF6464;
  text-shadow: 0 0 8px rgba(255,100,100,0.5);
}
.badge-pulse-red { background-color: #FF6464; }
.badge-dot-red   { background-color: #FF6464; }

/* Green */
.badge-green {
  background-color: rgba(39,201,63,0.1);
  border-color: rgba(39,201,63,0.2);
}
.badge-green span:last-child {
  color: var(--success);
  text-shadow: 0 0 8px rgba(39,201,63,0.5);
}
.badge-pulse-green { background-color: var(--success); }
.badge-dot-green   { background-color: var(--success); }

/* Neutral */
.badge-neutral {
  background-color: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
.badge-neutral span:last-child {
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   BUTTONS
   ============================================================ */
/* Shared button base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  min-height: 52px;
  padding: 14px 36px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn:active { transform: scale(0.96); }

/* ---- Primary: gradient glass with animated shine ---- */
.btn-primary {
  background: linear-gradient(135deg, #42A0ED 0%, #5B6FEA 50%, #7544EA 100%);
  color: white;
  box-shadow:
    0 0 20px rgba(66, 160, 237, 0.3),
    0 0 60px rgba(117, 68, 234, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.01em;
}

/* Shine sweep animation */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 600ms ease;
  z-index: 1;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  box-shadow:
    0 0 30px rgba(66, 160, 237, 0.4),
    0 0 80px rgba(117, 68, 234, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  filter: brightness(1.08);
}

/* ---- Ghost: glassmorphism ---- */
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  min-height: 46px;
  padding: 10px 28px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Ghost top-edge highlight */
.btn-ghost::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
  z-index: 1;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 4px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.btn-arrow {
  margin-left: 10px;
  transition: transform 300ms ease;
}
.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-large {
  padding: 18px 44px;
  font-size: 16px;
  border-radius: 18px;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-blue);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: gap 150ms ease;
}
.btn-link:hover { gap: 12px; }

/* ============================================================
   CARD
   ============================================================ */
.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-card);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
  padding: 24px;
  transition: all 250ms ease-in-out;
}

/* Hairline top */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
  z-index: 10;
}

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

.card-blue:hover   { border-color: rgba(66,160,237,0.3); }
.card-purple:hover { border-color: rgba(117,68,234,0.3); }
.card-green:hover  { border-color: rgba(39,201,63,0.3); }

.card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.card-title-lg {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 700;
  margin-bottom: 16px;
}

.card-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.card-icon {
  width: 24px; height: 24px;
  margin-bottom: 16px;
}

.card-icon-red { color: var(--error); }

.card-icon-wrap {
  width: 40px; height: 40px;
  border-radius: 12px;
  background-color: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* ============================================================
   GRID
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 64px;
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 70px 0 0px;
  overflow: hidden;
}

/* Gradient overlay for smooth transition between sections */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, transparent, #0A0A0A);
  z-index: 20;
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero {
    min-height: 90vh;
    height: auto;
    align-items: flex-start;
    padding: 54px 0 64px;
  }
}

@media (max-width: 767px) {
  .hero {
    height: 800px;
    min-height: unset;
  }
}

.hero-bg-image {
  display: block;
  margin: 15px auto 0;
  width: 280px;
  height: auto;
  aspect-ratio: 9/19;
  object-fit: contain;
  object-position: top center;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  opacity: 0.55;
  position: relative;
}

@media (min-width: 768px) {
  .hero-bg-image {
    width: 380px;
  }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb-blue {
  top: -100px; right: -150px;
  width: 450px; height: 450px;
  background-color: rgba(66,160,237,0.15);
  filter: blur(80px);
  mix-blend-mode: screen;
}

.hero-orb-purple {
  bottom: 0px; left: -100px;
  width: 350px; height: 350px;
  background-color: rgba(117,68,234,0.1);
  filter: blur(80px);
  mix-blend-mode: screen;
}

.pain-chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  display: none;
}
@media (min-width: 1024px) { .pain-chips { display: block; } }

.chip {
  position: absolute;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}
.chip:nth-child(odd)  { transform: rotate(-2deg); }
.chip:nth-child(even) { transform: rotate(2deg); }

/* Floating animation variations */
.chip-1 { animation: float 6s ease-in-out infinite; }
.chip-2 { animation: float 7.5s ease-in-out 1.2s infinite; }
.chip-3 { animation: float 6.5s ease-in-out 0.8s infinite; }
.chip-4 { animation: float 8s ease-in-out 2.1s infinite; }
.chip-5 { animation: float 7s ease-in-out 0.5s infinite; }

.hero-content {
  position: relative;
  z-index: 20;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
}

.hero-title {
  font-size: clamp(36px, 8vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 16px);
  color: rgba(232,232,232,0.8);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 24px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 0px;
}
@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    width: auto;
  }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-section {
  background-color: #0A0A0A;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
  overflow: hidden;
  display: flex;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
}

.marquee-phrase {
  color: var(--text-secondary);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 24px;
}

.marquee-sep {
  color: var(--brand-blue);
  font-size: 10px;
  margin: 0 8px;
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem-orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 350px; height: 350px;
  background-color: rgba(255,79,79,0.15);
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  mix-blend-mode: screen;
}

.problem-quote {
  max-width: 768px;
  margin: 0 auto;
  border-left: 2px solid var(--brand-blue);
  padding-left: 24px;
  font-size: clamp(18px, 3vw, 22px);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  line-height: 1.5;
}

/* ============================================================
   SOLUTION / COMPARE
   ============================================================ */
.solution-compare {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
@media (min-width: 768px) {
  .solution-compare {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }
}

.solution-panel {
  flex: 1;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.solution-panel-after { position: relative; z-index: 10; }

.mockup-wrap {
  width: 75%;
  max-width: 200px;
  margin-bottom: 32px;
}

.mockup-before {
  opacity: 0.6;
  filter: grayscale(0.5);
  transition: transform 500ms ease;
}

.mockup-after {
  filter: drop-shadow(0 8px 32px rgba(66,160,237,0.25));
  transition: transform 500ms ease;
}

.solution-panel:hover .mockup-before,
.solution-panel:hover .mockup-after {
  transform: scale(1.05);
}

.after-glow {
  position: absolute;
  top: 25%; left: 50%;
  transform: translateX(-50%);
  width: 250px; height: 250px;
  background-color: rgba(66,160,237,0.2);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  mix-blend-mode: screen;
}

.compare-list {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 16px;
  padding: 24px;
}

.compare-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.compare-list-after li { color: white; }

.icon-x {
  width: 20px; height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background-color: rgba(255,79,79,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: rgba(255,79,79,0.7);
}

.icon-check {
  width: 20px; height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background-color: rgba(39,201,63,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--success);
}

.compare-list-after {
  border-color: rgba(66,160,237,0.2);
  background-color: rgba(66,160,237,0.04);
  box-shadow: 0 0 30px rgba(66,160,237,0.05);
}

.vs-divider {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
}
@media (min-width: 768px) { .vs-divider { display: flex; } }

.vs-line {
  width: 1px; height: 128px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
}

.vs-badge {
  width: 40px; height: 40px;
  border-radius: 50%;
  background-color: var(--bg-highest);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--text-secondary);
  margin: 16px 0;
}

/* ============================================================
   RESULTS
   ============================================================ */
.results-orb {
  position: absolute;
  top: 50%; right: 0;
  transform: translateY(-50%);
  width: 300px; height: 300px;
  background-color: rgba(39,201,63,0.1);
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  mix-blend-mode: screen;
}

.case-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  margin-bottom: 32px;
  position: relative;
}

/* hairline top */
.case-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
  z-index: 1;
}

@media (min-width: 768px) {
  .case-card { flex-direction: row; }
}

.case-visual {
  position: relative;
  overflow: hidden;
  background-color: #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 200px;
}
@media (min-width: 768px) {
  .case-visual { width: 33.333%; }
}

.case-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
}

.phone-mockup-wrap {
  width: 100%;
  max-width: 140px;
  position: relative;
  z-index: 10;
  transition: transform 500ms ease;
}
.case-card:hover .phone-mockup-wrap { transform: scale(1.05); }

.phone-svg { width: 100%; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5)); }

.case-content {
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px) {
  .case-content { width: 66.666%; }
}

.case-metric {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
@media (min-width: 640px) {
  .case-grid { grid-template-columns: 1fr 1fr; }
}

.case-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
  font-weight: 700;
  margin-bottom: 8px;
}

.case-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.case-desc-bright {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.case-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 640px) {
  .case-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.case-quote {
  font-size: 14px;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 4px;
}

.case-author {
  font-size: 11px;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* ============================================================
   FEATURES / BENTO
   ============================================================ */
.features-orb {
  position: absolute;
  top: 50%; right: 25%;
  transform: translateY(-50%);
  width: 500px; height: 500px;
  background-color: rgba(66,160,237,0.1);
  border-radius: 50%;
  filter: blur(180px);
  pointer-events: none;
  mix-blend-mode: screen;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-full { grid-column: span 2; }
}

.bento-full {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px;
  background-color: var(--bg-surface);
  gap: 40px;
}
@media (min-width: 768px) {
  .bento-full { flex-direction: row; }
}

.bento-text { flex: 1; }

.bento-mockup {
  flex: 1;
  width: 100%;
  max-width: 280px;
  background-color: #080808;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-subtle);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.5);
}

.mini-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.mini-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand-gradient);
}

.mini-name {
  width: 96px; height: 8px;
  border-radius: 4px;
  background-color: rgba(255,255,255,0.2);
}

.mini-btn {
  width: 100%; height: 40px;
  border-radius: 12px;
}

.mini-btn-primary {
  background-color: rgba(66,160,237,0.1);
  border: 1px solid rgba(66,160,237,0.2);
}

.mini-btn-outline {
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.chart-wrap {
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.chart-svg { width: 100%; height: auto; padding: 0 16px; }

.pix-wrap {
  display: flex;
  justify-content: center;
  margin-top: auto;
}

.pix-svg {
  width: 48px; height: 48px;
  color: var(--success);
  filter: drop-shadow(0 0 8px rgba(39,201,63,0.3));
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-wrap {
  position: relative;
}

.process-line-bg {
  position: absolute;
  left: 19px; top: 19px; bottom: 0;
  width: 1px;
  background-color: var(--border-subtle);
  z-index: 0;
}

.process-line-animated {
  position: absolute;
  left: 19px; top: 19px; bottom: 0;
  width: 1px;
  background: var(--brand-gradient);
  transform-origin: top;
  transform: scaleY(0);
  z-index: 0;
  transition: transform 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.process-line-animated.active { transform: scaleY(1); }

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-bottom: 32px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  z-index: 10;
}

.step-circle {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--bg-primary);
  z-index: 10;
}

.step-body { padding-top: 8px; }

.step-tag {
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-pill);
  background-color: rgba(66,160,237,0.1);
  border: 1px solid rgba(66,160,237,0.2);
  padding: 2px 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 12px;
}

.step-title {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  background-color: rgba(20,20,20,0.5);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  margin-top: 12px;
}

.process-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-tertiary);
  font-style: italic;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

/* ============================================================
   COST
   ============================================================ */
.cost-card {
  position: relative;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.cost-accent {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background-color: rgba(255,79,79,0.3);
}

.cost-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 8px;
  color: rgba(255,255,255,0.9);
}

.cost-note {
  text-align: center;
  font-size: clamp(18px, 2vw, 20px);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-section {
  padding: 128px 0;
  text-align: center;
}

.cta-orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background-color: rgba(117,68,234,0.2);
  border-radius: 50%;
  filter: blur(180px);
  pointer-events: none;
  mix-blend-mode: screen;
}

.cta-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(30,30,35,0.8) 0%, #0D0D0D 100%);
  z-index: -1;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-title {
  font-size: clamp(32px, 7vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 32px;
}

.cta-subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: rgba(232,232,232,0.7);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-trust {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.trust-col {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.trust-big {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2px;
}

.trust-small {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Override for cta trust-bar */
.cta-trust .trust-bar {
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.trust-sep {
  width: 1px; height: 32px;
  background-color: rgba(255,255,255,0.1);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: #080808;
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  margin-top: auto;
  position: relative;
  z-index: 10;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-tertiary);
  transition: color 150ms;
  -webkit-tap-highlight-color: transparent;
}
.footer-links a:hover { color: var(--text-secondary); }

.footer-copy {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 8px;
}

/* ============================================================
   STICKY CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: rgba(13,13,13,0.9);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
  transition: transform 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 400ms ease;
  opacity: 0;
}

.sticky-cta.visible {
  transform: translateY(0);
  opacity: 1;
}

/* Only show on mobile */
@media (min-width: 640px) { .sticky-cta { display: none; } }

.sticky-cta-btn {
  display: block;
  width: 100%;
  background: var(--brand-gradient);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  border-radius: var(--r-btn);
  padding: 12px;
  box-shadow: var(--glow-blue);
  transition: transform 150ms, filter 150ms;
}
.sticky-cta-btn:active { transform: scale(0.97); }
