/* =========================
   5MinuteMaths — Modern Futuristic Minimal
   Final cleaned style.css
   ========================= */

/* ---- CSS Variables ---- */
:root {
  --bg: #0b1020;
  --bg2: #0f172a;
  --card: rgba(255, 255, 255, 0.06);
  --card2: rgba(255, 255, 255, 0.08);
  --text: #e5e7eb;
  --muted: #a7b0c0;
  --darkText: #0b1020;

  --accent: #22d3ee;
  --accent2: #8b5cf6;
  --accent3: #14f195;

  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --shadow2: 0 10px 25px rgba(0, 0, 0, 0.25);

  --radius: 18px;
  --radius2: 26px;
}

/* ---- Reset ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 700px at 10% 10%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(1100px 650px at 90% 20%, rgba(34, 211, 238, 0.16), transparent 55%),
    radial-gradient(900px 550px at 50% 100%, rgba(20, 241, 149, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* ---- Layout ---- */
section {
  padding: 84px 0;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 3.7vw, 3.2rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  line-height: 1.2;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
  margin-bottom: 14px;
}

/* ---- Top Nav ---- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  position: relative;
}

nav.nav-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

/* =========================
   MINIMAL / PREMIUM LOGO
   ========================= */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: -0.02em;
}

.logo::before {
  content: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #071018;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(34, 211, 238, 0.25);
  transition: 0.3s ease;
}

.logo-text {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-minute {
  font-weight: 600;
}

.logo:hover .logo-mark {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(139, 92, 246, 0.35);
}

/* ---- Old nav list fallback ---- */
nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav ul li a {
  font-size: 0.95rem;
  color: rgba(229, 231, 235, 0.86);
  padding: 10px 12px;
  border-radius: 999px;
  transition: 180ms ease;
}

nav ul li a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

/* ---- Hero ---- */
.hero {
  padding: 120px 0 92px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(34, 211, 238, 0.22), transparent 60%),
    radial-gradient(900px 420px at 80% 40%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(900px 420px at 20% 60%, rgba(20, 241, 149, 0.10), transparent 60%);
  filter: blur(0px);
  pointer-events: none;
}

/* ---- Subtle moving grid background (Hero) ---- */
.hero::after {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.12;
  transform: translateZ(0);
  pointer-events: none;
  mask-image: radial-gradient(600px 260px at 50% 35%, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  -webkit-mask-image: radial-gradient(600px 260px at 50% 35%, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  animation: gridDrift 18s linear infinite;
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 96px 96px, 96px 96px;
  }
}

.hero .container {
  position: relative;
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.16);
  color: #eaffff;
  border: 1px solid rgba(34, 211, 238, 0.28);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.18);
  margin-bottom: 18px;
}

.hero p {
  max-width: 860px;
  margin: 12px auto 0 auto;
  color: rgba(229, 231, 235, 0.78);
  font-size: 1.05rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, rgba(34, 211, 238, 1), rgba(139, 92, 246, 1));
  color: #071018;
  box-shadow: 0 16px 40px rgba(34, 211, 238, 0.22);
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(139, 92, 246, 0.22);
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(0px);
}

/* ---- Sections ---- */
.section-surface {
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---- Features Grid ---- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.feature-box {
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow2);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(600px 200px at 20% 0%, rgba(34, 211, 238, 0.18), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.feature-box h3,
.feature-box p {
  position: relative;
}

.feature-box p {
  color: rgba(229, 231, 235, 0.75);
}

.feature-box:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.38);
}

/* ---- Forms ---- */
form {
  max-width: 520px;
  margin: 28px auto 0 auto;
  padding: 26px;
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow);
}

input,
select {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 15, 30, 0.35);
  color: var(--text);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input::placeholder {
  color: rgba(229, 231, 235, 0.55);
}

input:focus,
select:focus {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

select option {
  color: #111;
}

/* ---- Footer ---- */
footer {
  text-align: center;
  padding: 34px 0;
  margin-top: 12px;
  color: rgba(229, 231, 235, 0.55);
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

/* ---- Initial subtle entrance animation ---- */
@media (prefers-reduced-motion: no-preference) {

  .hero .launch-badge,
  .hero h1,
  .hero p,
  .hero .btn,
  .features .feature-box,
  form {
    animation: fadeUp 650ms ease both;
  }

  .hero h1 {
    animation-delay: 80ms;
  }

  .hero p {
    animation-delay: 140ms;
  }

  .hero .btn {
    animation-delay: 220ms;
  }

  .features .feature-box:nth-child(1) {
    animation-delay: 120ms;
  }

  .features .feature-box:nth-child(2) {
    animation-delay: 180ms;
  }

  .features .feature-box:nth-child(3) {
    animation-delay: 240ms;
  }

  .features .feature-box:nth-child(4) {
    animation-delay: 300ms;
  }

  form {
    animation-delay: 180ms;
  }

  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ---- Mobile ---- */
@media (max-width: 820px) {
  section {
    padding: 72px 0;
  }

  .hero {
    padding: 106px 0 76px 0;
  }

  nav ul {
    gap: 10px;
  }

  nav ul li a {
    padding: 9px 10px;
  }
}

/* =========================
   MENU BUTTON + DROPDOWN
   ========================= */
.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: relative;
  padding: 18px 0;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(229, 231, 235, 0.92);
  cursor: pointer;
  user-select: none;
  transition: 180ms ease;
}

.menu-btn:hover {
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.10);
}

.burger {
  width: 18px;
  height: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger span {
  height: 2px;
  width: 100%;
  background: rgba(229, 231, 235, 0.9);
  border-radius: 999px;
}

/* Dropdown panel */
.nav-menu {
  position: absolute;
  right: 0;
  top: 58px;
  width: 260px;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  z-index: 999;
}

.nav-menu.open {
  display: block;
}

.nav-menu a {
  display: block;
  padding: 12px 12px;
  border-radius: 14px;
  color: rgba(229, 231, 235, 0.92);
  transition: 160ms ease;
  font-weight: 650;
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

/* Hide old UL nav if it still exists */
nav ul {
  display: none;
}

@media (min-width: 821px) {
  .nav-menu {
    width: 280px;
  }
}

/* =========================
   HERO + GUARANTEE IMAGES
   ========================= */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-media img,
.hero-img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  filter: brightness(0.95) contrast(1.02);
}

.guarantee-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
}

.guarantee-media img,
.guarantee-img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  filter: brightness(0.95) contrast(1.02);
}

@media (max-width: 820px) {

  .hero-grid,
  .guarantee-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: center;
  }

  .hero-media {
    order: 2;
  }
}

/* =========================
   SCROLL REVEAL ANIMATIONS
   ========================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease, transform 600ms ease;
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 80ms;
}

.delay-2 {
  transition-delay: 160ms;
}

.delay-3 {
  transition-delay: 240ms;
}

.delay-4 {
  transition-delay: 320ms;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================
   TESTIMONIALS
   ========================= */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.testimonial-card {
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow2);
}

.testimonial-quote {
  color: rgba(229, 231, 235, 0.82);
  margin-bottom: 14px;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: rgba(229, 231, 235, 0.60);
  font-size: 0.92rem;
}

.testimonial-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.10);
  border: 1px solid rgba(34, 211, 238, 0.22);
  color: rgba(229, 231, 235, 0.80);
  font-size: 0.82rem;
  font-weight: 650;
}

/* =========================
   LOGIN COUNTDOWN PAGE
   ========================= */
.countdown-card,
.contact-card {
  padding: 26px;
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.countdown-box {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(10, 15, 30, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.10);
  text-align: center;
}

.countdown-num {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.countdown-label {
  color: rgba(229, 231, 235, 0.60);
  margin-top: 6px;
  font-size: 0.9rem;
}

.countdown-note {
  margin-top: 14px;
  color: rgba(229, 231, 235, 0.65);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  align-items: center;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(229, 231, 235, 0.90);
  transition: 180ms ease;
}

.ghost-btn:hover {
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.10);
}

@media (max-width: 820px) {
  .countdown-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
}

/* =========================
   5-STEP FLOW COMPONENT
   ========================= */
.flow-wrap {
  margin-top: 10px;
}

.flow-title {
  text-align: center;
  margin-bottom: 28px;
}

.flow-diagram {
  position: relative;
  min-height: 760px;
  border-radius: 28px;
  padding: 30px;
  background:
    radial-gradient(700px 300px at 50% 50%, rgba(34, 211, 238, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.flow-diagram::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.18;
  pointer-events: none;
}

.flow-step {
  position: absolute;
  width: 240px;
  min-height: 120px;
  padding: 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
  color: var(--text);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
  z-index: 2;
}

.flow-step:hover,
.flow-step.active {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(34, 211, 238, 0.40);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.13), rgba(139, 92, 246, 0.08));
}

.flow-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.flow-step-text {
  font-weight: 700;
  line-height: 1.35;
  color: #eef6ff;
}

.flow-step-num {
  color: var(--accent);
}

.step-1 {
  top: 30px;
  left: 40px;
}

.step-2 {
  top: 85px;
  right: 45px;
}

.step-3 {
  top: 320px;
  right: 20px;
}

.step-4 {
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
}

.step-4:hover,
.step-4.active {
  transform: translateX(-50%) translateY(-4px) scale(1.02);
}

.step-5 {
  top: 330px;
  left: 20px;
}

.flow-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(34, 211, 238, 0.18), rgba(139, 92, 246, 0.12)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 35px rgba(34, 211, 238, 0.15);
  z-index: 2;
}

.flow-center-hand {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #071018;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(34, 211, 238, 0.20);
  margin-bottom: 12px;
}

.flow-center-brand {
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.flow-line {
  position: absolute;
  height: 3px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.75), rgba(139, 92, 246, 0.55));
  border-radius: 999px;
  z-index: 1;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.18);
  opacity: 0.9;
}

.line-1 {
  width: 180px;
  top: 165px;
  left: 245px;
  transform: rotate(18deg);
}

.line-2 {
  width: 170px;
  top: 205px;
  right: 255px;
  transform: rotate(-25deg);
}

.line-3 {
  width: 170px;
  top: 430px;
  right: 250px;
  transform: rotate(25deg);
}

.line-4 {
  width: 165px;
  bottom: 185px;
  left: 250px;
  transform: rotate(-25deg);
}

.line-5 {
  width: 180px;
  top: 290px;
  left: 190px;
  transform: rotate(-18deg);
}

.flow-detail-card {
  margin-top: 22px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow2);
}

.flow-detail-card h3 {
  margin-bottom: 10px;
}

/* subtle floating motion */
@keyframes floatSoft {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -4px;
  }
}

.flow-step {
  animation: floatSoft 5s ease-in-out infinite;
}

.step-1 {
  animation-delay: 0s;
}

.step-2 {
  animation-delay: 0.7s;
}

.step-3 {
  animation-delay: 1.4s;
}

.step-4 {
  animation-delay: 2.1s;
}

.step-5 {
  animation-delay: 2.8s;
}

@media (max-width: 980px) {
  .flow-diagram {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .flow-step,
  .flow-center,
  .flow-line {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    transform: none !important;
  }

  .flow-center {
    width: 100%;
    height: auto;
    border-radius: 22px;
    padding: 24px 16px;
    order: -1;
  }

  .flow-line {
    display: none;
  }

  .flow-step {
    min-height: auto;
    animation: none;
  }
}
/* =========================
   HOW IT WORKS DIAGRAM IMAGE
   ========================= */

.system-flow-image {
  width: 100%;
  max-width: 900px;
  margin-top: 10px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.45),
    0 0 30px rgba(34, 211, 238, 0.10),
    0 0 60px rgba(139, 92, 246, 0.08);
  filter: brightness(0.97) contrast(1.03);
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.system-flow-image:hover {
  transform: translateY(-4px);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.50),
    0 0 35px rgba(34, 211, 238, 0.14),
    0 0 70px rgba(139, 92, 246, 0.10);
  filter: brightness(1) contrast(1.04);
}
.system-flow-frame {
  display: inline-block;
  padding: 10px;
  border-radius: 28px;
  background: linear-gradient(135deg,
      rgba(34, 211, 238, 0.10),
      rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.30);
}