/* ============================================================
   ROOTS — BLOOM TEMPLATE
   Font: Plus Jakarta Sans
   Signature: 40px mega-rounded, 140px section padding,
   gradient backgrounds, radial glow blobs, floating pill nav
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: #232323;
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; transition: color .25s; }
ul, ol { list-style: none; }
button, input, textarea, select {
  font-family: inherit; font-size: inherit; border: none; outline: none; background: none;
}

/* ---------- UTILITY ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 860px; }
.container--wide   { max-width: 1400px; }
.text-center { text-align: center; }

/* ---------- SECTION SPACING ---------- */
.section-padding       { padding: 140px 0; }
.section-padding--sm   { padding: 100px 0; }

/* ---------- SECTION LABEL ---------- */
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #58468c;
  margin-bottom: 16px;
}
.section--dark .section-label { color: #6cabdd; }

/* ---------- BACKGROUNDS ---------- */
.section--light {
  background: linear-gradient(180deg, #f5f6ff 0%, #fff 100%);
  position: relative;
}
.section--white {
  background: #fff;
  position: relative;
}
.section--dark {
  background: linear-gradient(180deg, #282461 0%, #110f29 100%);
  color: #fff;
  position: relative;
}
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark p   { color: rgba(255,255,255,.8); }

.section--alt {
  background: linear-gradient(180deg, #fff 0%, #f5f6ff 100%);
  position: relative;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: #282461;
  line-height: 1.2;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 24px; letter-spacing: -.01em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: 12px; }
p  { margin-bottom: 16px; }
.lead {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.7;
  color: #555;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 18px 40px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background .3s, transform .2s, box-shadow .3s;
  text-align: center;
  line-height: 1.3;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: #6cabdd;
  color: #fff;
  box-shadow: 0 8px 30px rgba(108,171,221,.35);
}
.btn--primary:hover { background: #2f87cd; box-shadow: 0 12px 40px rgba(108,171,221,.45); }

.btn--white {
  background: #fff;
  color: #282461;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.btn--white:hover { background: #f5f6ff; }

.btn--outline {
  border: 2px solid #6cabdd;
  color: #6cabdd;
  padding: 16px 38px;
}
.btn--outline:hover { background: #6cabdd; color: #fff; }

.btn--sm { padding: 12px 28px; font-size: .95rem; }

/* ============================================================
   FLOATING PILL NAVBAR
   ============================================================ */
.nav-wrap {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 48px);
  max-width: 1200px;
  box-sizing: border-box;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px;
  border-radius: 100px;
  background: rgba(40, 36, 97, .55);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 8px 32px rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.08);
  transition: background .35s, box-shadow .35s;
}
.navbar.scrolled {
  background: rgba(17, 15, 41, .92);
  box-shadow: 0 8px 40px rgba(0,0,0,.35);
}

.nav-logo img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .25s;
}
.nav-links a:hover { color: #6cabdd; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-actions .btn { padding: 10px 24px; font-size: .82rem; }
.nav-actions .btn--login {
  color: rgba(255,255,255,.85);
  font-weight: 600;
  font-size: .82rem;
  padding: 10px 20px;
  border-radius: 100px;
  transition: color .25s, background .25s;
}
.nav-actions .btn--login:hover { color: #fff; background: rgba(255,255,255,.1); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile full-screen overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(17,15,41,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.mobile-menu a:hover { color: #6cabdd; }
.mobile-menu .btn { margin-top: 8px; }
.mobile-menu-close {
  position: absolute;
  top: 28px; right: 28px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: none; border: none;
  line-height: 1;
}

/* ============================================================
   HERO — full-width centered, video background
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #fff;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(108,171,221,.22) 0%, transparent 55%),
    linear-gradient(180deg,
      rgba(40,36,97,.60) 0%,
      rgba(17,15,41,.78) 55%,
      #110f29 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
}
/* Radial glow behind hero text */
.hero__content::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(108,171,221,.18) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.hero__content h1 {
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 4px 40px rgba(0,0,0,.25);
}
.hero__content p {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 44px;
  opacity: .92;
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}


/* ============================================================
   ABOUT
   ============================================================ */
.about { position: relative; overflow: hidden; }
.about::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(108,171,221,.10) 0%, transparent 70%);
  pointer-events: none;
}
.about .container { position: relative; z-index: 1; }
.about__text {
  max-width: 780px;
  margin: 0 auto 48px;
  font-size: 1.1rem;
  line-height: 1.85;
  color: #555;
}
.about__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.about__author img {
  width: 90px; height: 90px;
  border-radius: 40px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(40,36,97,.1);
}
.about__author-name { font-weight: 700; color: #282461; font-size: 1rem; margin-bottom: 0; }
.about__author-role { font-weight: 500; color: #58468c; font-size: .88rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0; }

/* ============================================================
   FEATURES — 3 large rounded cards
   ============================================================ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 60px;
}
.feature-card {
  background: #fff;
  border-radius: 40px;
  padding: 48px 36px;
  text-align: center;
  box-shadow: 0 12px 48px rgba(40,36,97,.07);
  transition: transform .35s, box-shadow .35s;
  position: relative;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 64px rgba(40,36,97,.13);
}
.feature-card__icon {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #f5f6ff, #e8e6f5);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #58468c;
}
.feature-card h3 { color: #282461; }
.feature-card p  { color: #555; font-size: .97rem; margin-bottom: 0; }

/* ============================================================
   HOW IT WORKS — Bloom-style phone fan
   ============================================================ */
.hiw-section {
  background: linear-gradient(180deg, #282461 0%, #f5f6ff 50%, transparent 100%);
  position: relative;
}
.hiw-section .section-label { color: #6cabdd; }
.hiw-section h2 { color: #fff; }
.hiw__header { margin-bottom: 48px; }

.hiw {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}
.hiw__text {
  flex: 1;
  min-width: 0;
}

/* — Stacked cards (desktop: transparent, no border) — */
.hiw__cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hiw-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  border-radius: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background .3s, box-shadow .3s;
}
.hiw-card:hover {
  background: rgba(255,255,255,.5);
}
.hiw-card.active {
  background: #fff;
  box-shadow: 0 8px 32px rgba(40,36,97,.1);
}
.hiw-card__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #58468c;
}
.hiw-card__body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #282461;
  margin-bottom: 4px;
}
.hiw-card__body p {
  font-size: .9rem;
  color: #666;
  margin: 0;
  line-height: 1.55;
}

/* — Phone stack — */
.hiw__phones {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hiw__phones.reveal.visible {
  margin-top: 0;
}
.hiw__phone-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
}
.hiw__phone {
  position: absolute;
  top: 60%;
  left: 50%;
  width: 76%;
  transform-origin: 100% 100%;
  transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.16, 1, .3, 1), z-index 0s;
}

/* Positions set by JS via data-pos attribute */
/* pos-0 = front (level), pos-1 = middle (15deg), pos-2 = back (30deg) */
.hiw__phone[data-pos="0"] {
  transform: translate(-50%, -70%) rotate(0deg);
  z-index: 10;
  opacity: 1;
}
.hiw__phone[data-pos="1"] {
  transform: translate(-50%, -70%) rotate(15deg);
  z-index: 5;
  opacity: .55;
}
.hiw__phone[data-pos="2"] {
  transform: translate(-50%, -70%) rotate(30deg);
  z-index: 1;
  opacity: .3;
}

/* Phone frame */
.hiw__phone-frame {
  overflow: hidden;
}
.hiw__phone-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* — Navigation arrows + dots — */
.hiw__nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}
.hiw__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(88,70,140,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #282461;
  transition: background .3s, color .3s, border-color .3s;
}
.hiw__arrow:hover {
  background: #282461;
  color: #fff;
  border-color: #282461;
}
.hiw__dots {
  display: flex;
  gap: 8px;
}
.hiw__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(88,70,140,.2);
  transition: background .3s, transform .3s;
}
.hiw__dot.active {
  background: #6cabdd;
  transform: scale(1.2);
}

/* ============================================================
   BENEFITS — alternating split sections
   ============================================================ */
.benefit {
  position: relative;
  overflow: hidden;
}
.benefit:nth-child(odd)  { background: linear-gradient(180deg, #f5f6ff 0%, #fff 100%); }
.benefit:nth-child(even) { background: linear-gradient(180deg, #f5f6ff 0%, #fff 100%); }

.benefit__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.benefit__inner--reverse { flex-direction: row-reverse; }

.benefit__img,
.benefit__text { flex: 1; min-width: 0; }

.benefit__img { position: relative; }
/* Glow blob behind benefit images */
.benefit__img::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 110%; height: 110%;
  background: radial-gradient(circle, rgba(88,70,140,.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.benefit__img img {
  border-radius: 10px;
  width: 100%;
  position: relative;
  z-index: 1;
  box-shadow: 0 16px 56px rgba(40,36,97,.18), 0 4px 16px rgba(0,0,0,.08);
  top: 11px;
}

.benefit__text h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  margin-bottom: 16px;
}
.benefit__text p { color: #555; font-size: 1.05rem; line-height: 1.8; }
section.benefit.section-padding { padding-bottom: 0; }
.benefit .btn--outline {
  background: #6cabdd;
  color: #fff;
  border-color: #6cabdd;
}
.benefit .btn--outline:hover {
  background: #fff;
  color: #6cabdd;
  border-color: #6cabdd;
}

/* ============================================================
   COMMUNITY — Bloom-style testimonial carousel
   ============================================================ */
.testi {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
}
.testi__track {
  display: flex;
  gap: 16px;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}
.testi__slide {
  flex: 1 1 0;
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 32px;
}
.testi__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.testi__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(40,36,97,.35) 0%, rgba(40,36,97,.8) 100%);
  z-index: 1;
}
.testi__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 40px 32px;
}
.testi__quote {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #fff;
  font-weight: 400;
  margin: 0;
}
.testi__quote::before { content: '\201C'; }
.testi__quote::after  { content: '\201D'; }
.testi__name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 24px 0 0;
}

/* Desktop: hide nav when all cards visible */
.testi__arrow,
.testi__dots { display: none; }

/* Arrows — positioned over the cards */
.testi__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  z-index: 5;
  transition: background .3s;
}
.testi__arrow:hover { background: rgba(0,0,0,.55); }
.testi__arrow--prev { left: 20px; }
.testi__arrow--next { right: 20px; }

/* Dots — below carousel */
.testi__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 8px 16px;
}
.testi__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(40,36,97,.2);
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.testi__dot.active {
  background: #6cabdd;
  transform: scale(1.3);
}

/* ============================================================
   STEPS — horizontal row of numbered cards
   ============================================================ */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 60px;
}
.step-card {
  background: linear-gradient(135deg, #f5f6ff 0%, #fff 100%);
  border-radius: 40px;
  padding: 48px 28px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(40,36,97,.06);
  transition: transform .35s, box-shadow .35s;
}
.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 60px rgba(40,36,97,.12);
}
.step-card__number {
  font-size: 3.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #6cabdd, #282461);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}
.step-card h3 { font-size: 1.05rem; color: #282461; }
.step-card p  { color: #555; font-size: .9rem; margin-bottom: 0; }

/* ============================================================
   ZIGZAG STEPS INFOGRAPHIC
   ============================================================ */
.zigzag {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 20px 20px;
}

/* Steps become transparent so children place directly into the grid */
.zigzag__step {
  display: contents;
}

/* Row 1: all circles, Row 2: all descriptions */
.zigzag__circle { grid-row: 1; align-self: end; }
.zigzag__info   { grid-row: 2; align-self: start; }

/* Column assignments */
.zigzag__step:nth-child(1) .zigzag__info,
.zigzag__step:nth-child(1) .zigzag__circle { grid-column: 1; }
.zigzag__step:nth-child(2) .zigzag__info,
.zigzag__step:nth-child(2) .zigzag__circle { grid-column: 2; }
.zigzag__step:nth-child(3) .zigzag__info,
.zigzag__step:nth-child(3) .zigzag__circle { grid-column: 3; }
.zigzag__step:nth-child(4) .zigzag__info,
.zigzag__step:nth-child(4) .zigzag__circle { grid-column: 4; }

/* Circle with bevel + coloured border */
.zigzag__circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #e6e6e6);
  border: 6px solid #6cabdd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-self: center;
  flex-shrink: 0;
  box-shadow:
    inset 3px 3px 6px rgba(255,255,255,.9),
    inset -3px -3px 6px rgba(0,0,0,.08),
    0 6px 20px rgba(108,171,221,.2);
}
.zigzag__label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #999;
}
.zigzag__number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #282461;
  line-height: 1;
}

/* Info block */
.zigzag__info {
  text-align: center;
  justify-self: center;
  max-width: 200px;
}
.zigzag__info i {
  display: none;
}
.zigzag__info h4 {
  font-size: .95rem;
  font-weight: 700;
  color: #282461;
  margin-bottom: 6px;
}
.zigzag__info p {
  font-size: .82rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   PRICING — large centred card with gradient border
   ============================================================ */
.pricing-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 3px;
  border-radius: 43px;
  background: linear-gradient(135deg, #6cabdd, #282461, #6cabdd);
}
.pricing-card {
  background: #fff;
  border-radius: 40px;
  padding: 64px 48px;
  text-align: center;
}
.pricing-card h3 { font-size: 1.6rem; margin-bottom: 32px; }
.pricing-card .price {
  font-size: 3.4rem;
  font-weight: 800;
  color: #282461;
  margin-bottom: 6px;
  line-height: 1;
}
.pricing-card .price-label {
  font-size: 1rem;
  color: #58468c;
  margin-bottom: 28px;
}
.pricing-card .price-detail {
  font-size: 1.5rem;
  font-weight: 700;
  color: #282461;
  margin-bottom: 6px;
}
.pricing-card .price-detail-label {
  color: #58468c;
  font-size: .95rem;
  margin-bottom: 32px;
}
.pricing-card .divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #6cabdd, #282461);
  border-radius: 3px;
  margin: 0 auto 32px;
}
.pricing-card ul {
  text-align: left;
  max-width: 360px;
  margin: 0 auto 40px;
}
.pricing-card ul li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: #555;
  font-size: .97rem;
}
.pricing-card ul li::before {
  content: '\2713';
  position: absolute;
  left: 0; top: 10px;
  color: #6cabdd;
  font-weight: 700;
}

/* ============================================================
   PARTNERS
   ============================================================ */
.partners__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
}
.partners__logos img {
  height: 70px;
  width: auto;
  opacity: .65;
  transition: opacity .3s, filter .3s;
  filter: grayscale(30%);
}
.partners__logos img:hover { opacity: 1; filter: none; }

/* ============================================================
   CONTACT FORM (dark section)
   ============================================================ */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group--full { grid-column: 1 / -1; }
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: .88rem;
}

/* Dark form inputs */
.form--dark label { color: rgba(255,255,255,.9); }
.form--dark input,
.form--dark textarea,
.form--dark select {
  width: 100%;
  padding: 16px 24px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.07);
  color: #fff;
  font-size: 1rem;
  transition: border-color .3s, background .3s;
}
.form--dark input::placeholder,
.form--dark textarea::placeholder { color: rgba(255,255,255,.4); }
.form--dark input:focus,
.form--dark textarea:focus,
.form--dark select:focus {
  border-color: #6cabdd;
  background: rgba(255,255,255,.12);
}
.form--dark textarea {
  border-radius: 24px;
  min-height: 130px;
  resize: vertical;
}
.form--dark select option { color: #232323; background: #fff; }

/* Light form inputs */
.form--light label { color: #282461; }
.form--light input,
.form--light textarea,
.form--light select {
  width: 100%;
  padding: 16px 24px;
  border-radius: 40px;
  border: 2px solid #e8e6f5;
  background: #fafafe;
  color: #232323;
  font-size: 1rem;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.form--light input::placeholder,
.form--light textarea::placeholder { color: #aaa; }
.form--light input:focus,
.form--light textarea:focus,
.form--light select:focus {
  border-color: #6cabdd;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(108,171,221,.1);
}
.form--light textarea {
  border-radius: 24px;
  min-height: 130px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
}
.form-checkbox input[type="checkbox"] {
  width: 20px; height: 20px;
  min-width: 20px;
  accent-color: #6cabdd;
  margin-top: 3px;
}
.form-checkbox label {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  margin-bottom: 0;
}
.form--light .form-checkbox label { color: #666; }
.form-checkbox label a { color: #6cabdd; text-decoration: underline; }

.form-note {
  font-size: .8rem;
  margin-top: 20px;
  line-height: 1.6;
  opacity: .6;
}
.form-note a { color: #6cabdd; }

.form-alert {
  padding: 16px 24px;
  border-radius: 20px;
  font-size: .92rem;
  margin-bottom: 20px;
  display: none;
}
.form-alert.error   { background: rgba(204,51,51,.1); color: #cc3333; border: 1px solid rgba(204,51,51,.2); }
.form-alert.success { background: rgba(51,153,51,.1); color: #339933; border: 1px solid rgba(51,153,51,.2); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(180deg, #282461 0%, #110f29 100%);
  color: rgba(255,255,255,.7);
  padding: 80px 0 40px;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand img { height: 60px; margin-bottom: 16px; }
.footer__brand p   { max-width: 300px; font-size: .9rem; }

.footer__col h4 {
  color: #fff;
  font-size: .92rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer__col a {
  display: block;
  padding: 4px 0;
  color: rgba(255,255,255,.55);
  font-size: .9rem;
  transition: color .25s;
}
.footer__col a:hover { color: #6cabdd; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  text-align: center;
  font-size: .85rem;
  color: rgba(255,255,255,.4);
}

/* Centered simple footer variant */
.footer--simple .footer__center {
  text-align: center;
  margin-bottom: 40px;
}
.footer--simple .footer__center img { margin: 0 auto 20px; height: 60px; }
.footer--simple .footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 28px;
}
.footer--simple .footer__links a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
}
.footer--simple .footer__links a:hover { color: #6cabdd; }
.footer--simple .footer__contact {
  margin-bottom: 28px;
  text-align: center;
}
.footer--simple .footer__contact p {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 4px;
}
.footer--simple .footer__contact a { color: rgba(255,255,255,.6); }
.footer--simple .footer__contact a:hover { color: #6cabdd; }

/* ============================================================
   PAGE HERO (smaller, for sub-pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 180px 0 100px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.page-hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(108,171,221,.15) 0%, transparent 55%),
    linear-gradient(180deg, rgba(40,36,97,.75) 0%, rgba(17,15,41,.90) 60%, #110f29 100%);
}
.page-hero__content {
  position: relative;
  z-index: 2;
}
.page-hero__content h1 { color: #fff; margin-bottom: 16px; }
.page-hero__content p  { font-size: 1.15rem; opacity: .85; max-width: 640px; margin: 0 auto 40px; }

/* ============================================================
   AUTH FORM PAGE (createaccount)
   ============================================================ */
.auth-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 24px 80px;
}
.auth-section__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.auth-section__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(108,171,221,.12) 0%, transparent 50%),
    linear-gradient(180deg, rgba(40,36,97,.78) 0%, rgba(17,15,41,.92) 100%);
}
.auth-card {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 40px;
  padding: 56px 48px;
  width: 100%;
  max-width: 660px;
  color: #fff;
}
.auth-card h2 { color: #fff; text-align: center; margin-bottom: 8px; }
.auth-card .subtitle { text-align: center; color: rgba(255,255,255,.7); margin-bottom: 36px; font-size: 1.1rem; }

/* ============================================================
   TABS (stripepayments)
   ============================================================ */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  background: #f5f6ff;
  color: #282461;
  border: 2px solid transparent;
  transition: all .3s;
}
.tab-btn:hover { border-color: #6cabdd; }
.tab-btn.active {
  background: #6cabdd;
  color: #fff;
  border-color: #6cabdd;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-card {
  background: #fff;
  border-radius: 40px;
  padding: 48px;
  box-shadow: 0 12px 48px rgba(40,36,97,.07);
}
.tab-card h3 { font-size: 1.4rem; margin-bottom: 16px; color: #282461; }
.tab-card p  { color: #555; line-height: 1.8; font-size: 1rem; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item {
  background: #fff;
  border-radius: 40px;
  margin-bottom: 16px;
  box-shadow: 0 4px 24px rgba(40,36,97,.05);
  overflow: hidden;
  transition: box-shadow .3s;
}
.accordion-item:hover { box-shadow: 0 8px 32px rgba(40,36,97,.10); }
.accordion-header {
  width: 100%;
  padding: 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: #282461;
  background: transparent;
  border: none;
  text-align: left;
  gap: 16px;
}
.accordion-icon {
  width: 32px; height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: #f5f6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #6cabdd;
  transition: transform .3s, background .3s;
}
.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  background: #6cabdd;
  color: #fff;
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.accordion-item.open .accordion-body {
  max-height: 500px;
}
.accordion-body__inner {
  padding: 0 36px 28px;
  font-size: .97rem;
  color: #555;
  line-height: 1.8;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  text-align: center;
}
.cta-section p {
  max-width: 600px;
  margin: 0 auto 40px;
}

/* ============================================================
   DECORATIVE BLOBS
   ============================================================ */
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.blob--blue-tr {
  width: 500px; height: 500px;
  top: -200px; right: -150px;
  background: radial-gradient(circle, rgba(108,171,221,.12) 0%, transparent 70%);
}
.blob--purple-bl {
  width: 400px; height: 400px;
  bottom: -150px; left: -100px;
  background: radial-gradient(circle, rgba(40,36,97,.10) 0%, transparent 70%);
}
.blob--center {
  width: 600px; height: 600px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(108,171,221,.08) 0%, transparent 70%);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal-box {
  background: #fff;
  border-radius: 40px;
  max-width: 700px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 48px;
  box-shadow: 0 40px 100px rgba(0,0,0,.2);
}
.modal-box--wide { max-width: 900px; }
.modal-box h2 { font-size: 1.5rem; color: #282461; margin-bottom: 20px; }
.modal-box p  { font-size: .95rem; color: #555; line-height: 1.7; margin-bottom: 12px; }
.modal-close {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 100px;
  background: #6cabdd;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: background .3s;
}
.modal-close:hover { background: #2f87cd; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all .8s cubic-bezier(.16, 1, .3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
h2.reveal.visible {
  margin: 0px 40px;
  padding: 30px;
}
#why-choose-roots h2.reveal.visible {
  margin-bottom: 100px;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .25s; }
.reveal-delay-4 { transition-delay: .3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features__grid      { grid-template-columns: repeat(2, 1fr); }
  .steps__grid          { grid-template-columns: repeat(2, 1fr); }
  .benefit__inner,
  .benefit__inner--reverse { flex-direction: column; gap: 40px; }
  .section-padding { padding: 100px 0; }

  .hiw { gap: 40px; }
  .hiw__phone-stack { max-width: 340px; }
  .hiw__phone { width: 52%; }

  .zigzag__circle { width: 100px; height: 100px; border-width: 5px; }
  .zigzag__number { font-size: 1.8rem; }
  .zigzag__info { max-width: 160px; }
  .zigzag__info h4 { font-size: .85rem; }
  .zigzag__info p { font-size: .78rem; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .nav-wrap { width: calc(100% - 32px); top: 16px; }
  .navbar { padding: 10px 20px; }

  h2.reveal.visible { margin: 0 20px; padding: 20px; }

  .features__grid { grid-template-columns: 1fr; }
  .steps__grid     { grid-template-columns: 1fr 1fr; }

  .section-padding    { padding: 80px 0; }
  .section-padding--sm { padding: 60px 0; }
  .form-row { grid-template-columns: 1fr; }

  .hero__content h1 { font-size: 2.4rem; }
  .hero__content p  { font-size: 1.05rem; margin-bottom: 32px; }

  .pricing-card { padding: 44px 28px; }
  .auth-card    { padding: 40px 24px; }

  .footer__inner { flex-direction: column; gap: 32px; }

  .tab-card { padding: 32px 24px; }

  .page-hero { padding: 140px 0 70px; }
  .page-hero__content h1 { font-size: 2rem; }
  .page-hero__content p  { font-size: 1rem; margin-bottom: 28px; }

  .hero__content::before { width: 400px; height: 350px; }

  .blob--blue-tr   { width: 280px; height: 280px; }
  .blob--purple-bl  { width: 220px; height: 220px; }
  .blob--center     { width: 320px; height: 320px; }

  /* Testimonial carousel — 1 card at a time on mobile */
  .testi__track { gap: 0; }
  .testi__slide { flex: 0 0 100%; min-height: 340px; }
  .testi__content { padding: 32px 24px; }
  .testi__quote { font-size: 1.05rem; }
  .testi__arrow { display: flex; width: 38px; height: 38px; }
  .testi__arrow--prev { left: 12px; }
  .testi__arrow--next { right: 12px; }
  .testi__dots { display: flex; }

  .accordion-header { padding: 22px 28px; font-size: 1rem; }
  .accordion-body__inner { padding: 0 28px 24px; }

  .partners__logos { gap: 32px; }
  .partners__logos img { height: 55px; }

  .footer { padding: 60px 0 32px; }
  .footer--simple .footer__center { margin-bottom: 28px; }
  .footer--simple .footer__links { gap: 20px; }

  .auth-section { padding: 100px 16px 60px; }

  .cta-section p { margin: 0 auto 28px; }

  .modal-box { padding: 36px 28px; border-radius: 28px; }

  .hiw__header { margin-bottom: 25px; }

  /* How It Works — stack vertically, phones above cards */
  .hiw { flex-direction: column; gap: 10px; align-items: stretch; }
  .hiw__text { text-align: center; order: 2; overflow: hidden; }
  .hiw__phones { order: 1; align-self: stretch; width: 100%; }
  .hiw__phone-stack { max-width: 100%; aspect-ratio: 1; }
  .hiw__phone { width: 55%; }

  /* Zigzag — list layout on mobile */
  .zigzag {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .zigzag__step {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 16px;
    padding: 20px 24px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(40,36,97,.06);
  }
  /* Reset grid placements */
  .zigzag__step .zigzag__circle,
  .zigzag__step .zigzag__info {
    grid-row: auto;
    grid-column: auto;
    align-self: auto;
    justify-self: auto;
  }
  /* Circle: smaller, always on left */
  .zigzag__step .zigzag__circle {
    width: 48px;
    height: 48px;
    border-width: 4px;
    flex-shrink: 0;
    order: -1;
  }
  .zigzag__label { display: none; }
  .zigzag__number { font-size: 1.2rem; }
  .zigzag__info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    max-width: none;
    flex: 1;
  }
  .zigzag__info i { display: none; }
  /* Left side: title */
  .zigzag__info h4 {
    width: 35%;
    flex-shrink: 0;
    font-size: .95rem;
    margin-bottom: 0;
  }
  /* Right side: description */
  .zigzag__info p {
    flex: 1;
    font-size: .85rem;
    border-left: 2px solid rgba(40,36,97,.12);
    padding-left: 16px;
    margin: 0;
  }

  /* Horizontal scroll cards */
  .hiw__cards {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    margin: 24px 0 0;
    padding: 8px 0 16px;
    scrollbar-width: none;
  }
  .hiw__cards::-webkit-scrollbar { display: none; }
  .hiw-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid rgba(88,70,140,.08);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(40,36,97,.06);
  }
  .hiw-card.active {
    border-color: rgba(108,171,221,.35);
  }

  .hiw__phone-frame { border-radius: 18px; }
  .hiw__phone-frame img { border-radius: 15px; }
}

@media (max-width: 480px) {
  .steps__grid { grid-template-columns: 1fr; }
  .tabs-nav { flex-direction: column; align-items: stretch; }
  .tab-btn  { width: 100%; text-align: center; padding: 12px 24px; }
  .navbar   { padding: 10px 14px; }
  .nav-wrap { width: calc(100% - 24px); top: 10px; }

  h2.reveal.visible { margin: 0 12px; padding: 16px; }
  .container { padding: 0 16px; }

  .section-padding    { padding: 60px 0; }
  .section-padding--sm { padding: 48px 0; }

  .feature-card, .step-card { padding: 32px 20px; border-radius: 28px; }
  .feature-card__icon { width: 60px; height: 60px; border-radius: 18px; font-size: 1.5rem; margin-bottom: 20px; }
  .features__grid { gap: 24px; margin-top: 40px; }

  .hero__content h1 { font-size: 2rem; margin-bottom: 16px; }
  .hero__content p  { font-size: 1rem; margin-bottom: 28px; }
  .hero__content::before { width: 280px; height: 250px; }
  .hero .btn { padding: 16px 32px; font-size: .95rem; }

  .page-hero { padding: 110px 0 50px; }
  .page-hero__content { padding: 0 16px; }
  .page-hero__content h1 { font-size: 1.75rem; }
  .page-hero__content p  { font-size: .95rem; margin-bottom: 24px; }

  .benefit__inner,
  .benefit__inner--reverse { gap: 28px; }
  .benefit__text h3 { font-size: 1.3rem; }
  .benefit__text p  { font-size: .97rem; }
  .benefit__img img { border-radius: 16px; }

  .step-card__number { font-size: 2.6rem; }
  .steps__grid { gap: 20px; margin-top: 40px; }

  .testi { border-radius: 24px; }
  .testi__slide { min-height: 300px; border-radius: 24px; }
  .testi__content { padding: 28px 20px; }
  .testi__quote { font-size: .95rem; }
  .testi__name { font-size: .9rem; }
  .testi__arrow { width: 34px; height: 34px; }
  .testi__arrow--prev { left: 8px; }
  .testi__arrow--next { right: 8px; }
  .testi__dots { margin-top: 20px; }
  .testi__dot { width: 7px; height: 7px; }

  .pricing-card { padding: 36px 24px; }
  .pricing-card h3 { font-size: 1.35rem; margin-bottom: 24px; }
  .pricing-card .price { font-size: 2.8rem; }
  .pricing-wrap { border-radius: 31px; }
  .pricing-card { border-radius: 28px; }

  .auth-card { padding: 32px 20px; border-radius: 28px; }
  .auth-card h2 { font-size: 1.5rem; }
  .auth-card .subtitle { font-size: 1rem; margin-bottom: 28px; }

  .accordion-item { border-radius: 24px; margin-bottom: 12px; }
  .accordion-header { padding: 20px 20px; font-size: .95rem; gap: 12px; }
  .accordion-icon { width: 28px; height: 28px; min-width: 28px; font-size: 1.1rem; }
  .accordion-body__inner { padding: 0 20px 20px; font-size: .93rem; }

  .tab-card { padding: 28px 20px; border-radius: 28px; }
  .tab-card h3 { font-size: 1.2rem; }

  .blob--blue-tr   { width: 180px; height: 180px; }
  .blob--purple-bl  { width: 140px; height: 140px; }
  .blob--center     { width: 200px; height: 200px; }

  .partners__logos { gap: 24px; margin-top: 28px; }
  .partners__logos img { height: 48px; }

  .footer { padding: 48px 0 24px; }
  .footer--simple .footer__center { margin-bottom: 24px; }
  .footer--simple .footer__center img { height: 48px; }
  .footer--simple .footer__links { gap: 16px; font-size: .85rem; }
  .footer--simple .footer__contact p { font-size: .85rem; }
  .footer__bottom { padding-top: 20px; font-size: .8rem; }

  .modal-box { width: 95%; padding: 28px 20px; max-height: 90vh; border-radius: 24px; }
  .modal-box h2 { font-size: 1.3rem; }

  .cta-section h2 { font-size: 1.6rem; }
  .cta-section p  { font-size: .95rem; margin: 0 auto 24px; }

  /* Prevent iOS zoom on input focus */
  .form--dark input,
  .form--dark textarea,
  .form--dark select,
  .form--light input,
  .form--light textarea,
  .form--light select { font-size: 16px; padding: 14px 20px; }
  .form--dark textarea,
  .form--light textarea { min-height: 110px; }
  .form-group label { font-size: .9rem; }
  .form-checkbox label { font-size: .82rem; }
  .form-note { font-size: .75rem; }

  .mobile-menu { gap: 22px; }
  .mobile-menu a { font-size: 1.05rem; }
  .mobile-menu .btn { padding: 16px 36px; }
  .mobile-menu-close { top: 20px; right: 20px; }

  .about__text { font-size: 1rem; line-height: 1.75; margin-bottom: 36px; }
  .about__author img { width: 72px; height: 72px; border-radius: 28px; }

  .lead { font-size: 1.05rem; }

  h2 { margin-bottom: 16px; }
  .section-label { font-size: .75rem; margin-bottom: 12px; }

  /* How It Works — tighter mobile */
  .hiw__cards { margin: 24px 0 0; padding: 8px 0 16px; }
  .hiw-card { flex: 0 0 100%; padding: 20px; gap: 14px; border-radius: 16px; }
  .hiw-card__icon { width: 40px; height: 40px; min-width: 40px; border-radius: 12px; font-size: 1rem; }
  .hiw-card__body h4 { font-size: .93rem; }
  .hiw-card__body p  { font-size: .83rem; }
  .hiw__phone { width: 75%; }
  .hiw__phone-frame { border-radius: 14px; border-width: 2px; }
  .hiw__phone-frame img { border-radius: 12px; }
  .hiw__arrow { width: 38px; height: 38px; }
  .hiw__dot { width: 8px; height: 8px; }
  .hiw__nav { margin-top: 24px; gap: 14px; }
}

/* ========== CLUB TESTIMONIALS CAROUSEL ========== */
.club-testi__slides {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}
.club-testi__slide {
  display: none;
  flex-direction: column;
  align-items: center;
  animation: clubTestiFadeIn .5s ease;
}
.club-testi__slide.active {
  display: flex;
}
@keyframes clubTestiFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.club-testi__emblem-wrap {
  position: relative;
  z-index: 2;
  margin-bottom: -45px;
}
.club-testi__emblem {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid #6cabdd;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(40, 36, 97, .3);
  overflow: hidden;
}
.club-testi__emblem img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.club-testi__card {
  background:
    radial-gradient(ellipse at 30% 0%, rgba(108, 171, 221, .18) 0%, transparent 55%),
    linear-gradient(145deg, #2e2a6e 0%, #282461 40%, #1e1b52 100%);
  border-radius: 20px;
  padding: 65px 40px 40px;
  text-align: center;
  width: 100%;
  box-shadow: 0 8px 30px rgba(40, 36, 97, .25);
}
.club-testi__club {
  color: #6cabdd;
  font-size: .85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.club-testi__quote {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.club-testi__name {
  color: rgba(255, 255, 255, .75);
  font-size: .95rem;
  font-weight: 400;
}
.club-testi__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, .9);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #282461;
  transition: all .3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}
.club-testi__arrow:hover {
  background: #282461;
  color: #fff;
}
.club-testi__arrow--prev { left: -60px; }
.club-testi__arrow--next { right: -60px; }
.club-testi__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.5rem;
}
.club-testi__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c8c5e2;
  border: none;
  cursor: pointer;
  transition: background .3s ease;
  padding: 0;
}
.club-testi__dot.active {
  background: #282461;
}
@media (max-width: 992px) {
  .club-testi__arrow--prev { left: -10px; }
  .club-testi__arrow--next { right: -10px; }
  .club-testi__arrow { width: 38px; height: 38px; }
  .club-testi__card { padding: 60px 24px 30px; }
  .club-testi__quote { font-size: 1rem; }
}
@media (max-width: 576px) {
  .club-testi__arrow--prev { left: -5px; }
  .club-testi__arrow--next { right: -5px; }
  .club-testi__arrow { width: 34px; height: 34px; }
  .club-testi__card { padding: 55px 18px 25px; }
  .club-testi__quote { font-size: .95rem; }
}
