/* ------------------------------
   Variables & base
------------------------------ */
:root {
  /* Fond clair harmonisé avec le logo blanc */
  --bg-body: #ffffff;
  --bg-elevated: #f8fafc;
  --bg-elevated-softer: #f1f5f9;
  --bg-elevated-soft: #f8fafc;
  --bg-alt: #f8fafc;
  --border-subtle: rgba(30, 64, 175, 0.15);
  --border-strong: rgba(30, 64, 175, 0.25);
  /* Couleurs harmonisées avec le logo EcolePay */
  --primary: #1e40af; /* Bleu foncé du logo (ECOLE) */
  --primary-soft: rgba(30, 64, 175, 0.1);
  --primary-strong: #2563eb; /* Bleu moyen pour accents */
  --primary-medium: #3b82f6; /* Bleu moyen de la flèche du logo */
  --primary-gradient: linear-gradient(135deg, #1e40af, #10b981);
  --accent: #10b981; /* Vert vif du logo (PAY) */
  --accent-soft: rgba(16, 185, 129, 0.1);
  --text-main: #1e293b;
  --text-soft: #475569;
  --text-muted: #64748b;
  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.1);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 18px 45px rgba(30, 64, 175, 0.12);
  --transition-fast: 150ms ease-out;
  --transition-med: 220ms ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 3rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.06), transparent 55%),
    radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.08), transparent 55%);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.section-header h2 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.section-header p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.accent {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------
   Header & navigation
------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
  border-bottom: 1px solid rgba(30, 64, 175, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  object-fit: contain;
  background: radial-gradient(circle at 30% 10%, rgba(30, 64, 175, 0.1), transparent 55%),
    radial-gradient(circle at bottom, rgba(16, 185, 129, 0.15), transparent 60%);
}

.brand-name {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1.3rem;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--text-soft);
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--primary-gradient);
  transition: width var(--transition-med);
}

.nav-link:hover {
  color: #1e293b;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(30, 64, 175, 0.2);
  background: radial-gradient(circle at 30% 10%, rgba(30, 64, 175, 0.08), transparent 55%),
    rgba(255, 255, 255, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  display: block;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle span + span {
  margin-top: 3px;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(2.5px) rotate(40deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-2.5px) rotate(-40deg);
}

/* ------------------------------
   Buttons
------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition-med), color var(--transition-med),
    border-color var(--transition-med), box-shadow var(--transition-med), transform var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-image: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(30, 64, 175, 0.32);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(30, 64, 175, 0.15);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(30, 64, 175, 0.2);
  color: var(--text-main);
}

.btn-ghost:hover {
  border-color: rgba(30, 64, 175, 0.3);
  background: rgba(255, 255, 255, 0.95);
}

.btn-outline {
  border-color: rgba(30, 64, 175, 0.25);
  background: transparent;
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary-strong);
  background: var(--primary-soft);
}

.full-width {
  width: 100%;
}

.header-cta {
  font-size: 0.86rem;
  padding-inline: 1.15rem;
}

/* ------------------------------
   Hero
------------------------------ */
.hero-section {
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-logo {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease-out;
}

.hero-logo-img {
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(30, 64, 175, 0.2));
  transition: transform var(--transition-med);
}

.hero-logo-img:hover {
  transform: scale(1.05);
}

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

.hero-content h1 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 2.6rem;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
}

.hero-subtitle {
  margin: 0 0 1.6rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 64, 175, 0.15);
  background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.98);
  font-size: 0.78rem;
  color: var(--text-soft);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at center, #10b981, #059669);
}

.badge-dot.green {
  background: radial-gradient(circle at center, #38bdf8, #0284c7);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 260px;
  border-radius: 32px;
  padding: 10px;
  background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.08), rgba(16, 185, 129, 0.05));
  box-shadow: var(--shadow-soft);
  position: relative;
}

.phone-screen {
  border-radius: 26px;
  background: radial-gradient(circle at top, #ffffff, #f8fafc 68%);
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  overflow: hidden;
}

.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-soft);
  margin-bottom: 0.9rem;
}

.screen-status {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  color: #bbf7d0;
}

.screen-balance {
  background: radial-gradient(circle at top left, #10b981, #059669);
  border-radius: 18px;
  padding: 0.8rem;
  margin-bottom: 0.9rem;
  color: #ecfdf5;
  box-shadow: 0 16px 36px rgba(5, 150, 105, 0.55);
}

.screen-balance p {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  opacity: 0.9;
}

.screen-balance h2 {
  margin: 0 0 0.2rem;
  font-size: 1.35rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}

.tag-success {
  background: rgba(16, 185, 129, 0.16);
  color: #bbf7d0;
}

.tag-soon {
  background: rgba(249, 115, 22, 0.12);
  color: #fed7aa;
}

.tag-curriculum {
  background: rgba(30, 64, 175, 0.16);
  color: #93c5fd;
}

.screen-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.screen-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(30, 64, 175, 0.15);
}

.screen-item p {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
}

.screen-item span {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.amount {
  font-size: 0.72rem;
  font-weight: 600;
}

.amount.pending {
  color: #facc15;
}

.float {
  animation: float 6s ease-in-out infinite;
}

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

/* Phone 3D */
.phone-3d-container {
  perspective: 1200px;
  perspective-origin: center center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.phone-3d {
  transform-style: preserve-3d;
  animation: phone-3d-rotate 8s ease-in-out infinite;
  position: relative;
}

@keyframes phone-3d-rotate {
  0%,
  100% {
    transform: rotateY(-15deg) rotateX(5deg);
  }
  50% {
    transform: rotateY(15deg) rotateX(-5deg);
  }
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.3),
    0 0 0 2px rgba(30, 64, 175, 0.1),
    inset 0 0 20px rgba(0, 0, 0, 0.2);
  position: relative;
  transform-style: preserve-3d;
}

.phone-screen-3d {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 24px;
  background: #0f172a;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.phone-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  z-index: 10;
}

.screen-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0;
  gap: 0;
  overflow: hidden;
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
}

.phone-platforms {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-med);
  color: #ffffff;
}

.platform-badge svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-med);
}

.platform-android {
  background: linear-gradient(135deg, #3ddc84, #2ecc71);
}

.platform-ios {
  background: linear-gradient(135deg, #007aff, #0051d5);
}

.platform-badge:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.platform-badge:hover svg {
  transform: rotate(5deg) scale(1.1);
}

.typing-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.typing-text {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1e40af, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  min-height: 3.5rem;
  display: inline-block;
}

.typing-cursor {
  font-size: 3rem;
  font-weight: 300;
  color: #1e40af;
  animation: cursor-blink 1s ease-in-out infinite;
  display: inline-block;
  margin-left: 4px;
}

@keyframes cursor-blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

/* Responsive phone 3D */
@media (max-width: 768px) {
  .phone-3d-container {
    min-height: 400px;
  }

  .phone-frame {
    width: 240px;
    height: 480px;
    border-radius: 32px;
    padding: 10px;
  }

  .phone-screen-3d {
    border-radius: 26px;
    padding: 0;
  }

  .typing-text {
    font-size: 2.2rem;
    min-height: 2.8rem;
  }

  .typing-cursor {
    font-size: 2.2rem;
  }

  .phone-notch {
    width: 100px;
    height: 20px;
  }

  .platform-badge {
    font-size: 0.65rem;
    padding: 0.4rem 0.8rem;
    gap: 0.4rem;
  }

  .platform-badge svg {
    width: 18px;
    height: 18px;
  }

  .screen-content {
    gap: 1rem;
    padding: 30px 16px;
  }
}

@media (max-width: 560px) {
  .phone-frame {
    width: 200px;
    height: 400px;
  }

  .typing-text {
    font-size: 1.8rem;
    min-height: 2.2rem;
  }

  .typing-cursor {
    font-size: 1.8rem;
  }

  .platform-badge {
    font-size: 0.6rem;
    padding: 0.35rem 0.7rem;
    gap: 0.35rem;
  }

  .platform-badge svg {
    width: 16px;
    height: 16px;
  }

  .phone-platforms {
    gap: 0.5rem;
  }

  .screen-content {
    gap: 0.75rem;
    padding: 25px 12px;
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* ------------------------------
   Cards & grids
------------------------------ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.info-card {
  padding: 2rem 1.8rem;
  min-height: 200px;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.08), transparent 55%),
    rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(30, 64, 175, 0.15);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.08);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-med);
}

.info-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-med);
  pointer-events: none;
}

.info-card:hover::before {
  opacity: 1;
  animation: shimmer 2s ease-in-out infinite;
}

.info-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-main);
  transition: color var(--transition-med);
  position: relative;
  z-index: 1;
}

.info-card:hover h3 {
  color: var(--primary);
}

.info-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  transition: color var(--transition-med);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(16, 185, 129, 0.1));
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.15);
  position: relative;
  z-index: 1;
  transition: all var(--transition-med);
  transform: scale(1);
}

.info-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 28px rgba(30, 64, 175, 0.25);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.2), rgba(16, 185, 129, 0.2));
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem 1.8rem;
  min-height: 180px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(30, 64, 175, 0.15);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-med);
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.15), transparent);
  transition: left 0.6s ease;
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(30, 64, 175, 0.2);
  border-color: rgba(30, 64, 175, 0.35);
}

.feature-card:hover::after {
  left: 100%;
}

.feature-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-main);
  transition: color var(--transition-med);
  position: relative;
  z-index: 1;
}

.feature-card:hover h3 {
  color: var(--primary);
}

.feature-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  transition: color var(--transition-med);
}

.hover-lift {
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(30, 64, 175, 0.12);
  border-color: rgba(129, 140, 248, 0.9);
}

.hover-border {
  transition: all var(--transition-med);
}

.hover-border:hover {
  border-color: rgba(30, 64, 175, 0.4);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(30, 64, 175, 0.18);
}

.hover-lift-sm {
  transition: all var(--transition-med);
}

.hover-lift-sm:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 45px rgba(30, 64, 175, 0.18);
  border-color: rgba(30, 64, 175, 0.35);
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.step-item {
  position: relative;
  padding: 2rem 1.8rem;
  min-height: 200px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(30, 64, 175, 0.15);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.08);
  transition: all var(--transition-med);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.step-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.08), transparent);
  transition: left 0.6s ease;
}

.step-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(30, 64, 175, 0.2);
  border-color: rgba(30, 64, 175, 0.35);
}

.step-item:hover::before {
  left: 100%;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--primary-gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
  transition: all var(--transition-med);
  position: relative;
  z-index: 1;
}

.step-item:hover .step-number {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 12px 28px rgba(30, 64, 175, 0.4);
}

.step-content {
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

.step-content h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-main);
  transition: color var(--transition-med);
}

.step-item:hover .step-content h3 {
  color: var(--primary);
}

.step-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-soft);
  transition: color var(--transition-med);
}

/* Stats */
.stats-section {
  position: relative;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(30, 64, 175, 0.42), transparent 60%);
  opacity: 0.25;
  pointer-events: none;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.stat-card {
  padding: 1.2rem 1.1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(30, 64, 175, 0.25);
  box-shadow: 0 18px 45px rgba(30, 64, 175, 0.15);
}

.stat-label {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.stat-value {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.testimonial-card {
  padding: 2.2rem 2rem;
  min-height: 280px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(30, 64, 175, 0.15);
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.08);
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: rgba(30, 64, 175, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
  transition: all var(--transition-med);
  z-index: 0;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 55px rgba(30, 64, 175, 0.2);
  border-color: rgba(30, 64, 175, 0.35);
}

.testimonial-card:hover::before {
  color: rgba(30, 64, 175, 0.2);
  transform: scale(1.15) rotate(-2deg);
}

.testimonial-stars {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
  transition: transform var(--transition-med);
}

.testimonial-card:hover .testimonial-stars {
  transform: scale(1.1);
}

.testimonial-text {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-main);
  font-style: italic;
  position: relative;
  z-index: 1;
  flex-grow: 1;
  transition: color var(--transition-med);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(30, 64, 175, 0.1);
  position: relative;
  z-index: 1;
  transition: border-color var(--transition-med);
}

.testimonial-card:hover .testimonial-author {
  border-top-color: rgba(30, 64, 175, 0.25);
}

.testimonial-author strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* Schools preview & page */
.schools-preview-grid,
.schools-list-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.school-card {
  padding: 1.5rem 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(30, 64, 175, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-med);
}

.school-logo {
  width: 100%;
  max-width: 120px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
  transition: transform var(--transition-med);
  filter: drop-shadow(0 4px 8px rgba(30, 64, 175, 0.1));
}

.school-card:hover .school-logo {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 12px rgba(30, 64, 175, 0.2));
}

.school-icon-default {
  width: 100%;
  max-width: 100px;
  height: auto;
  max-height: 80px;
  margin-bottom: 1rem;
  transition: transform var(--transition-med), opacity var(--transition-med);
  opacity: 0.8;
}

.school-card:hover .school-icon-default {
  transform: scale(1.1);
  opacity: 1;
}

.school-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-main);
}

.school-card p {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.school-description {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.section-actions {
  margin-top: 1.5rem;
  text-align: center;
}

.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: flex-end;
  margin-bottom: 2rem;
}

.search-field,
.filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.search-field label,
.filter-field label {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.search-input-wrapper {
  min-width: 220px;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(30, 64, 175, 0.2);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-main);
  font: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition-med), box-shadow var(--transition-med),
    background var(--transition-med), transform var(--transition-fast);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(59, 130, 246, 0.95);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.65);
  background: rgba(255, 255, 255, 0.99);
}

.schools-empty {
  margin-top: 1.5rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.hidden {
  display: none !important;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid rgba(30, 64, 175, 0.15);
  background: rgba(255, 255, 255, 0.98);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.faq-question span:first-child {
  text-align: left;
  font-size: 0.9rem;
}

.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(30, 64, 175, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-soft);
  flex-shrink: 0;
  transition: transform var(--transition-fast), background var(--transition-fast),
    color var(--transition-fast), border-color var(--transition-fast);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  transition: max-height 260ms ease-out, padding-bottom 220ms ease-out;
}

.faq-answer p {
  margin: 0.7rem 0 1rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.faq-item.is-open .faq-answer {
  max-height: 220px;
  padding-bottom: 0.5rem;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: rgba(30, 64, 175, 0.18);
  border-color: rgba(129, 140, 248, 0.9);
  color: #1e293b;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--text-main);
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-soft);
  margin: 0 0 2rem;
  line-height: 1.6;
}

.cta-download-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.qr-code-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.qr-code {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(30, 64, 175, 0.15);
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.12);
  transition: all var(--transition-med);
}

.qr-code:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(30, 64, 175, 0.18);
  border-color: rgba(30, 64, 175, 0.25);
}

.qr-label {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  font-weight: 500;
  text-align: center;
}

.store-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(30, 64, 175, 0.2);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.1);
  transition: all var(--transition-med);
  text-decoration: none;
  color: var(--text-main);
  min-width: 180px;
}

.store-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(30, 64, 175, 0.2);
  border-color: rgba(30, 64, 175, 0.4);
  background: rgba(255, 255, 255, 1);
}

.store-button svg {
  flex-shrink: 0;
  color: var(--primary);
  transition: transform var(--transition-med);
}

.store-button:hover svg {
  transform: scale(1.1);
}

.store-button div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.store-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.2;
  margin-bottom: 0.1rem;
}

.store-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
}

.store-google:hover {
  border-color: rgba(52, 211, 153, 0.4);
}

.store-google:hover svg {
  color: #10b981;
}

.store-apple:hover {
  border-color: rgba(30, 64, 175, 0.4);
}

.store-apple:hover svg {
  color: var(--primary);
}

/* Page intros */
.page-hero {
  padding-top: 4rem;
  padding-bottom: 0.5rem;
}

.page-hero h1 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 2.2rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.8rem;
}

.page-hero .hero-subtitle {
  max-width: 640px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: 2.25rem;
  align-items: flex-start;
}

.contact-panel {
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
}

.contact-panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.contact-panel p {
  margin: 0 0 1.2rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
}

.field-error {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: var(--danger);
  min-height: 0.95em;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-feedback {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--accent);
}

.contact-sidebar {
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.08), transparent 55%),
    rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(30, 64, 175, 0.15);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.08);
}

.contact-sidebar h2 {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
}

.contact-infos {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
}

.contact-infos li + li {
  margin-top: 0.7rem;
}

.contact-infos h3 {
  margin: 0 0 0.1rem;
  font-size: 0.9rem;
}

.contact-infos p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.contact-infos a {
  color: var(--primary);
  transition: color var(--transition-fast);
}

.contact-infos a:hover {
  color: var(--primary-strong);
}

.contact-map {
  margin: 1.5rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(30, 64, 175, 0.1);
}

.contact-map h3 {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.map-container {
  width: 100%;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

.map-link {
  margin: 0;
  text-align: center;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.reassurance-card h3 {
  margin: 0.4rem 0 0.15rem;
  font-size: 0.9rem;
}

.reassurance-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.reassurance-card h3:first-of-type {
  margin-top: 0;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(30, 64, 175, 0.15);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 1));
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2.5rem 1.25rem 1.8rem;
  align-items: flex-start;
}

.footer-brand {
  flex: 1;
  min-width: 220px;
}

.footer-text {
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-column h4 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
}

.footer-column li + li {
  margin-top: 0.25rem;
}

.footer-column a {
  color: var(--text-soft);
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: #1e293b;
}

.social-links li + li {
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(30, 64, 175, 0.15);
  padding: 1rem 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-bottom p {
  margin: 0.3rem 0;
}

.footer-credit {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-soft);
}

.lkm-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.lkm-link:hover {
  color: var(--primary-strong);
  text-decoration: underline;
}

/* ------------------------------
   Scroll reveal animations
------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease-out, transform 420ms ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------
   Responsive
------------------------------ */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.2rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schools-preview-grid,
  .schools-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding-inline: 1rem;
  }

  .main-nav {
    position: absolute;
    inset-inline: 1rem;
    top: 100%;
    margin-top: 0.5rem;
    padding: 0.8rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 18px 40px rgba(30, 64, 175, 0.15);
    transform-origin: top;
    transform: scaleY(0.85);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-med), transform var(--transition-med);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header.nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .hero-section {
    padding-top: 4.2rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-logo-img {
    max-width: 180px;
  }

  .phone-mockup {
    margin-top: 0.5rem;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 2.5rem 0;
  }

  .page-hero {
    padding-top: 4.2rem;
  }

  .footer-inner {
    flex-direction: column;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .cta-download-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .qr-code {
    width: 160px;
    height: 160px;
  }

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

  .store-button {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-logo {
    margin-bottom: 1.25rem;
    justify-content: center;
  }

  .hero-logo-img {
    max-width: 160px;
  }

  .cards-grid,
  .features-grid,
  .steps,
  .stats-grid,
  .testimonials-grid,
  .schools-preview-grid,
  .schools-list-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .filters-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }

  .cta-content p {
    font-size: 0.95rem;
  }

  .qr-code {
    width: 140px;
    height: 140px;
  }

  .qr-label {
    font-size: 0.85rem;
  }
}

/* Benefits Section */
.benefits-section {
  background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

.benefits-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.benefits-logo-img {
  max-width: 180px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(30, 64, 175, 0.15));
}

.benefits-tabs {
  max-width: 1000px;
  margin: 0 auto;
}

.tabs-header {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid rgba(30, 64, 175, 0.1);
  padding-bottom: 0;
}

.tab-button {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-soft);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all var(--transition-med);
  position: relative;
  font-family: "Poppins", system-ui, sans-serif;
}

.tab-button:hover {
  color: var(--primary);
}

.tab-button.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tabs-content {
  position: relative;
  min-height: 500px;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.benefits-intro {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.08), rgba(16, 185, 129, 0.08));
  border-radius: var(--radius-xl);
  border: 1px solid rgba(30, 64, 175, 0.15);
}

.benefits-intro h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 1rem;
  line-height: 1.3;
  font-family: "Poppins", system-ui, sans-serif;
}

.benefits-intro h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.6;
  font-family: "Poppins", system-ui, sans-serif;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(30, 64, 175, 0.15);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.08);
  transition: all var(--transition-med);
  align-items: flex-start;
}

.benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(30, 64, 175, 0.15);
  border-color: rgba(30, 64, 175, 0.3);
}

.benefit-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e40af, #10b981);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.25);
  transition: transform var(--transition-med);
}

.benefit-item:hover .benefit-number {
  transform: scale(1.1) rotate(5deg);
}

.benefit-content {
  flex: 1;
}

.benefit-content h4 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}

.benefit-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* Responsive Benefits */
@media (max-width: 768px) {
  .benefits-logo-img {
    max-width: 140px;
  }

  .tabs-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .tab-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
    text-align: center;
  }

  .benefits-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .benefit-item {
    padding: 1.25rem;
  }

  .benefits-intro h3 {
    font-size: 1.15rem;
  }
}

@media (max-width: 560px) {
  .benefits-logo-img {
    max-width: 120px;
  }

  .benefit-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1rem;
  }

  .benefit-content h4 {
    font-size: 1rem;
  }

  .benefit-content p {
    font-size: 0.85rem;
  }
}


