/* ================================================================
   ALUMIA AI — PREMIUM DESIGN SYSTEM & CORE STYLESHEET
   Refined Light-Tech Fintech Theme
   ================================================================ */

:root {
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Montserrat', 'Inter', sans-serif;
  
  /* Primary & Tech Accents */
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --primary-deep: #1e3a8a;
  --primary-light: #3b82f6;
  --cyan: #06b6d4;
  --cyan-dark: #0891b2;
  
  /* Neutrals */
  --ink-900: #0f172a;
  --ink-800: #1e293b;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;
  --ink-50: #f8fafc;
  --white: #ffffff;
  
  /* Semantic */
  --success: #059669;
  --success-light: #ecfdf5;
  --success-border: #a7f3d0;
  --amber: #f59e0b;
  --danger: #dc2626;

  /* Surfaces & Borders */
  --bg-page: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-card: #ffffff;
  --border-color: #dbe4f0;
  --border-focus: #2563eb;
  
  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(30, 64, 175, 0.08);
  --shadow-lg: 0 16px 40px rgba(30, 64, 175, 0.12);
  --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.15);
  --glow-primary: 0 10px 30px rgba(37, 99, 235, 0.28);
}

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

html {
  font-family: var(--font-main);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg-page);
  color: var(--ink-700);
  scrollbar-width: thin;
  scrollbar-color: #2563eb #f1f5f9;
}

/* Custom WebKit Scrollbar */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2563eb, #1e40af);
  border-radius: 999px;
  border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #1d4ed8, #0891b2);
}

body {
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: clip;
  background: var(--bg-page);
}

img, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ================================================================
   CONTAINER & UTILITIES
   ================================================================ */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sec-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}

.sec-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-top: 10px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8f0fe;
  color: #1d4ed8;
  font-size: 13.5px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #c7dbfc;
  letter-spacing: 0.3px;
}

.grid {
  display: grid;
  gap: 24px;
}

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

@media (max-width: 960px) {
  .g3 {
    grid-template-columns: 1fr;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15.5px;
  padding: 13px 26px;
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

.btn-grad {
  background: linear-gradient(125deg, #1e40af 0%, #2563eb 55%, #06b6d4 100%) !important;
  color: #ffffff !important;
  box-shadow: var(--glow-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-grad:hover {
  background: linear-gradient(125deg, #1e3a8a 0%, #1d4ed8 55%, #0891b2 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.38);
}

.btn-grad:active {
  transform: translateY(0);
}

.btn-lg {
  font-size: 17.5px;
  padding: 16px 34px;
  border-radius: 14px;
}

/* ================================================================
   HEADER & NAVIGATION
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 21px;
  color: var(--ink-900);
  letter-spacing: -0.3px;
}

.brand:hover {
  opacity: 0.92;
}

.brand .logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1e40af, #2563eb);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
  flex-shrink: 0;
}

.brand .logo-mark svg {
  width: 20px;
  height: 20px;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.brand-text .grad {
  background: linear-gradient(120deg, #1e40af, #2563eb 50%, #06b6d4 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-700);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.25s ease;
}

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hamburger {
  display: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  background: var(--ink-100);
  border: 1px solid var(--border-color);
}

.hamburger svg {
  width: 22px;
  height: 22px;
  stroke: var(--ink-900);
  stroke-width: 2.2;
  stroke-linecap: round;
  display: block;
}

/* Mobile Side Menu Drawer */
.side-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.side-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.side-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  background: #ffffff;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.side-overlay.open .side-panel {
  transform: translateX(0);
}

.side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 8px;
}

.side-panel a {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-800);
  padding: 10px 12px;
  border-radius: 8px;
}

.side-panel a:hover {
  background: var(--ink-100);
  color: var(--primary);
}

.menu-cta {
  background: linear-gradient(120deg, #1e40af, #2563eb) !important;
  color: #fff !important;
  text-align: center;
  font-weight: 700;
  margin-top: 10px;
  box-shadow: var(--shadow-md);
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .header-cta .btn {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* ================================================================
   TICKER
   ================================================================ */
.ticker-wrapper {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  height: 50px;
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(90% 70% at 85% 0%, rgba(6, 182, 212, 0.12), transparent 60%),
    radial-gradient(70% 60% at 10% 100%, rgba(37, 99, 235, 0.10), transparent 60%),
    linear-gradient(180deg, #f6f9fe 0%, #edf3fb 100%) !important;
  overflow: hidden;
  padding: 50px 0 40px;
}

.hero-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.45;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e8f0fe;
  color: #1d4ed8;
  border: 1px solid #c7dbfc;
  font-size: 13.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  background: #059669;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.25);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 900;
  color: var(--ink-900);
  line-height: 1.18;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
}

h1 .grad, .hero h1 .grad {
  background: linear-gradient(120deg, #1e40af, #2563eb 50%, #06b6d4 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  display: inline;
}

.sub {
  font-size: 18px !important;
  line-height: 1.7 !important;
  color: var(--ink-700) !important;
}

.hero-bullets {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16.5px;
  color: var(--ink-700);
  line-height: 1.5;
}

.hero-bullets li svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin-top: 3px;
  stroke: var(--success);
  stroke-width: 2.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-bullets li b {
  color: var(--ink-900);
}

.hero-cta-row {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hero-cta-micro {
  font-size: 14.5px;
  color: var(--ink-500);
  font-weight: 500;
}

.hero-teaser {
  display: inline-block;
  margin-top: 8px;
  background: #ffffff;
  border: 1px solid #c7dbfc;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 15px;
  color: var(--ink-700);
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.08);
  transition: all 0.2s ease;
}

.hero-teaser b {
  color: #1d4ed8;
}

.hero-teaser:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30, 64, 175, 0.12);
}

/* Hero Visual Box */
.hero-visual {
  justify-self: stretch;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-visual .hv-frame {
  width: 100%;
  height: auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #c7dbfc;
  box-shadow: 0 24px 60px rgba(30, 64, 175, 0.16);
  background: #e2e8f0;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-visual .hv-cap {
  font-size: 14px;
  color: var(--ink-500);
  text-align: center;
  line-height: 1.5;
}

.hero-reg {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.07);
}

.hero-reg .hr-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-700);
}

.hero-reg .hr-row b {
  color: var(--ink-900);
}

.hero-reg svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  stroke: var(--primary);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Story Bridges */
.story-bridge {
  max-width: 720px;
  margin: 44px auto 0;
  text-align: center;
  font-size: 18px;
  color: var(--ink-700);
  line-height: 1.6;
}

.story-bridge b {
  color: var(--ink-900);
}

/* ================================================================
   HOW IT WORKS / WHAT IT DOES
   ================================================================ */
.split2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .split2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.what-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.what-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 17px;
  color: var(--ink-800);
  line-height: 1.6;
}

.what-list li .wi {
  flex: 0 0 42px;
  height: 42px;
  border-radius: 12px;
  background: #e8f0fe;
  border: 1px solid #c7dbfc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.what-list li .wi svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.what-list li b {
  color: var(--ink-900);
}

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

.phone-wrap img {
  width: 100%;
  max-width: 390px;
  max-height: 580px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(30, 64, 175, 0.15));
  transition: transform 0.3s ease;
}

.phone-wrap:hover img {
  transform: translateY(-4px);
}

.phone-cap {
  font-size: 14.5px;
  color: var(--ink-500);
  text-align: center;
  max-width: 360px;
  line-height: 1.5;
}

/* ================================================================
   VIDEO CARDS / SYSTEM ADVANTAGES
   ================================================================ */
.vid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

@media (max-width: 900px) {
  .vid-grid {
    grid-template-columns: 1fr;
  }
}

.vid-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vid-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(30, 64, 175, 0.12);
  border-color: #c7dbfc;
}

.vid-card video {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  background: #0b1830;
}

.vid-card .vc-body {
  padding: 20px 22px 24px;
}

.vid-card h4 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-900);
}

.vid-card p {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-700);
  line-height: 1.6;
}

/* ================================================================
   POTENTIAL CALCULATOR & DATA
   ================================================================ */
.pot-sec {
  background: #ffffff;
  color: var(--ink-800);
  padding: 70px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.pot-pills {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 32px 0 28px;
}

.pot-pill {
  border: 1px solid #c7dbfc;
  background: #ffffff;
  color: var(--ink-700);
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-main);
  box-shadow: var(--shadow-sm);
}

.pot-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pot-pill.on {
  background: linear-gradient(120deg, #1e40af, #2563eb) !important;
  color: #ffffff !important;
  border-color: #1e40af !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
}

.pot-card {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: 0 16px 45px rgba(30, 64, 175, 0.10);
  position: relative;
}

.pot-tag {
  display: table;
  margin: 0 auto 16px;
  background: #e8f0fe;
  border: 1px solid #c7dbfc;
  color: #1d4ed8;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 7px 18px;
}

.pot-coin {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.pot-event {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  color: var(--ink-900);
  margin: 0 0 6px;
}

.pot-dates {
  text-align: center;
  font-size: 14.5px;
  color: var(--ink-500);
  margin: 0 0 24px;
}

.pot-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0;
}

.pot-node {
  text-align: center;
  flex: 1;
  min-width: 160px;
}

.pot-node .pn-date {
  font-size: 14px;
  color: #1d4ed8;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.pot-node .pn-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 28px;
  color: var(--ink-900);
  margin: 6px 0 3px;
}

.pot-node .pn-lbl {
  font-size: 14px;
  color: var(--ink-500);
}

.pot-arrow {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.pot-arrow .pa-mult {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-weight: 800;
  font-family: var(--font-heading);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 15.5px;
  white-space: nowrap;
}

.pot-arrow svg {
  width: 52px;
  height: 20px;
  stroke: var(--success);
  stroke-width: 2.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pot-result {
  margin-top: 26px;
  border-top: 1px dashed var(--border-color);
  padding-top: 26px;
  text-align: center;
}

.pot-result .pr-line {
  font-size: 16.5px;
  color: var(--ink-700);
}

.pot-result .pr-big {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 46px;
  color: var(--success);
  margin: 8px 0 4px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
}

.pot-result .pr-note {
  font-size: 14px;
  color: var(--ink-500);
}

.pot-src {
  margin-top: 20px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.6;
}

.pot-disc {
  max-width: 800px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 14.5px !important;
  color: var(--ink-500) !important;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .pot-flow {
    flex-direction: column;
    gap: 20px;
  }
  .pot-arrow svg {
    transform: rotate(90deg);
  }
  .pot-result .pr-big {
    font-size: 38px;
  }
  .pot-card {
    padding: 24px 18px;
  }
}

/* ================================================================
   SECURITY & REGULATION BADGES
   ================================================================ */
.badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 960px) {
  .badges {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .badges {
    grid-template-columns: 1fr;
  }
}

.badge-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.25s ease;
}

.badge-card:hover {
  transform: translateY(-4px);
  border-color: #c7dbfc;
  box-shadow: 0 16px 36px rgba(30, 64, 175, 0.10);
}

.badge-card .ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #e8f0fe;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-card .ico svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.badge-card h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 6px;
}

.badge-card p {
  font-size: 15px;
  color: var(--ink-700);
  line-height: 1.55;
}

/* ================================================================
   TESTIMONIALS / OPINIONES
   ================================================================ */
.tcard {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.25s ease;
}

.tcard:hover {
  transform: translateY(-4px);
  border-color: #c7dbfc;
  box-shadow: 0 16px 36px rgba(30, 64, 175, 0.10);
}

.tcard .top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar-ini,
.avatar-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.avatar-img {
  object-fit: cover;
  border: 2px solid #ffffff;
}

.avatar-ini {
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.tcard .nm {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink-900);
}

.tcard .ct {
  font-size: 13.5px;
  color: var(--ink-500);
}

.tcard .stars {
  color: #f59e0b;
  font-size: 18px;
  letter-spacing: 2px;
}

.tcard .q {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-800);
  font-style: normal;
}

/* ================================================================
   LEAD BAND & REGISTRATION FORM
   ================================================================ */
.lead-band {
  background: #f2f6fc;
  padding: 70px 0;
  border-top: 1px solid var(--border-color);
}

.form-shell {
  max-width: 620px;
  margin: 36px auto 0;
}

.form-main-container {
  position: relative;
  background: #ffffff;
  border-radius: 22px !important;
  border: 1px solid var(--border-color) !important;
  border-top: 5px solid var(--primary) !important;
  padding: 40px 36px 32px !important;
  box-shadow: 0 20px 50px rgba(30, 64, 175, 0.12) !important;
}

.form-title {
  font-family: var(--font-heading);
  font-size: 23px !important;
  font-weight: 800;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.form-title svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
  stroke-width: 2.2;
  fill: none;
}

.form-sub {
  font-size: 15px !important;
  color: var(--ink-500) !important;
  margin-bottom: 24px;
}

.f-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.f-input {
  width: 100%;
  font-family: var(--font-main);
  font-size: 16.5px;
  padding: 15px 16px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: #f8fafc;
  color: var(--ink-900);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.f-input:focus {
  border-color: var(--primary) !important;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18) !important;
  outline: none;
}

/* --- intl-tel-input Phone Field Fix --- */
.iti {
  width: 100% !important;
  display: block !important;
  position: relative !important;
}

.iti--separate-dial-code .iti__selected-flag {
  background-color: transparent !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 8px 0 14px !important;
  height: 100% !important;
}

.iti--separate-dial-code .iti__selected-dial-code {
  margin-left: 6px !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: var(--ink-900) !important;
}

.iti--separate-dial-code input[type="tel"],
.iti input[type="tel"],
#phone.f-input,
.f-input#phone {
  padding-left: 98px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.iti__country-list {
  z-index: 1000 !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18) !important;
  border: 1px solid var(--border-color) !important;
  background: #ffffff !important;
  max-height: 220px !important;
}

.iti__country {
  padding: 10px 14px !important;
  font-size: 14.5px !important;
  color: var(--ink-800) !important;
}

.iti__country.iti__highlight {
  background-color: #eff6ff !important;
  color: var(--primary) !important;
}

.f-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 6px 0;
}

.f-check input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--primary);
  cursor: pointer;
  flex: 0 0 22px;
  margin-top: 2px;
}

.f-check label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-700);
  cursor: pointer;
}

.f-check a {
  color: var(--primary);
  text-decoration: underline;
}

.f-submit {
  width: 100%;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px !important;
  padding: 18px !important;
  border-radius: 12px;
  border: none;
  background: linear-gradient(125deg, #1e40af 0%, #2563eb 55%, #06b6d4 100%) !important;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35) !important;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 8px;
}

.f-submit:hover {
  background: linear-gradient(125deg, #1e3a8a 0%, #1d4ed8 55%, #0891b2 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.42) !important;
}

.form-fineprint {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.form-secure-desc {
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.5;
}

.field-invalid {
  color: var(--danger);
  font-size: 13.5px;
  margin-top: 4px;
  font-weight: 500;
}

.f-note {
  font-size: 13px;
  color: var(--ink-500);
  margin-top: 4px;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 40px;
  border-top: 1px solid #1e293b;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-brand-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: #ffffff;
  text-decoration: none;
}

.footer-links {
  list-style: none;
  margin: 0 auto;
  padding: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  border-bottom: 1px solid #1e293b;
  width: 100%;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: #94a3b8;
  text-align: center;
}

.footer-legal strong {
  color: #e2e8f0;
}

.footer-copy {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #1e293b;
  font-size: 13px;
  color: #64748b;
  text-align: center;
}

/* ================================================================
   STICKY MOBILE CTA
   ================================================================ */
#mobile-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: linear-gradient(120deg, #1e40af, #2563eb 60%, #06b6d4) !important;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 17px;
  padding: 16px 20px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
  z-index: 999;
  transform: translateY(140%);
  transition: transform 0.35s ease;
}

#mobile-cta.show {
  transform: translateY(0);
}

@media (max-width: 768px) {
  #mobile-cta {
    display: block;
  }
}

/* ================================================================
   LEAD MODAL
   ================================================================ */
#lead-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
}

#lead-modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

#lead-modal .lm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
}

#lead-modal .lm-box {
  position: relative;
  width: 92%;
  max-width: 580px;
  max-height: 92vh;
  overflow-y: auto;
  z-index: 1;
}

#lead-modal .lm-close {
  display: block;
  margin: 0 0 10px auto;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-700);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
}

#lead-modal .lm-close:hover {
  border-color: var(--primary);
  color: var(--primary);
}

body.lm-open {
  overflow: hidden;
}

/* ================================================================
   SCROLL REVEAL ANIMATIONS
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ================================================================
   CARD GRAPHIC VISUALS
   ================================================================ */
.feature-visual {
  height: 160px;
  width: 100%;
  background: linear-gradient(135deg, #0b1830 0%, #1e293b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.feature-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.25), transparent 70%);
}
.feature-visual-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}
.feature-visual-icon svg {
  width: 32px;
  height: 32px;
  stroke: #38bdf8;
  stroke-width: 2;
  fill: none;
}
.pulse-ring {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.3);
  animation: ripple 3s infinite ease-out;
}
@keyframes ripple {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

