/* =====================================================
   NETEX ENTERPRISE V3 — Compact · Interactive · Modern
   Inspired by Linear · Vercel · Stripe Enterprise · Apple
   ===================================================== */

.ent-page {
  --ep-bg: #0A1A2E;
  --ep-bg-soft: #FAFAF9;
  --ep-text: #0F1F35;
  --ep-text-muted: #5A6B83;
  --ep-text-light: #94A3B8;
  --ep-border: rgba(15, 31, 53, 0.08);
  --ep-divider: rgba(15, 31, 53, 0.06);
  --ep-navy: #0A1A2E;
  --ep-navy-2: #142A47;
  --ep-gold: #F2B533;
  --ep-blue: #1F66B4;
  --ep-blue-2: #4FA3E8;
  --ep-mint: #28C940;
  --ep-purple: #A78BFA;
  background: #FFFFFF;
}

/* =====================================================
   1. DARK HERO WITH ROTATING INDUSTRY WORD
   ===================================================== */
.hero-v3 {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  background:
    radial-gradient(ellipse 900px 600px at 20% 10%, rgba(31, 102, 180, 0.30), transparent 60%),
    radial-gradient(ellipse 900px 600px at 80% 90%, rgba(242, 181, 51, 0.18), transparent 60%),
    linear-gradient(180deg, #0A1A2E 0%, #061224 100%);
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-v3::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent 80%);
}
.hero-v3 > * { position: relative; z-index: 2; }

.hero-v3-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}
.hero-v3-tag .dot {
  width: 7px;
  height: 7px;
  background: var(--ep-mint);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-v3-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.02;
  letter-spacing: -3px;
  color: #fff;
  margin-bottom: 28px;
  max-width: 1080px;
}
.hero-v3-headline .gold-grad {
  background: linear-gradient(135deg, #FFD06B 0%, #F2B533 50%, #B7821A 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* Rotating word */
.industry-rotator {
  position: relative;
  display: inline-block;
  vertical-align: top;
  text-align: left;
}
.industry-rotator-window {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  height: 1em;
  min-width: 6.5ch;
}
.industry-rotator-window span {
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #FFD06B 0%, #F2B533 50%, #B7821A 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(100%);
  animation: rotate-word 14s infinite;
}
.industry-rotator-window span:nth-child(1) { animation-delay: 0s; }
.industry-rotator-window span:nth-child(2) { animation-delay: 2s; }
.industry-rotator-window span:nth-child(3) { animation-delay: 4s; }
.industry-rotator-window span:nth-child(4) { animation-delay: 6s; }
.industry-rotator-window span:nth-child(5) { animation-delay: 8s; }
.industry-rotator-window span:nth-child(6) { animation-delay: 10s; }
.industry-rotator-window span:nth-child(7) { animation-delay: 12s; }
@keyframes rotate-word {
  0%   { opacity: 0; transform: translateY(100%); }
  3%   { opacity: 1; transform: translateY(0); }
  14%  { opacity: 1; transform: translateY(0); }
  17%  { opacity: 0; transform: translateY(-100%); }
  100% { opacity: 0; transform: translateY(-100%); }
}

.hero-v3-sub {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.55;
  max-width: 720px;
  margin-bottom: 44px;
  font-weight: 400;
}

.hero-v3-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 64px;
}
.btn-v3-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #FFD06B 0%, #F2B533 100%);
  color: var(--ep-navy);
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all .25s ease;
  box-shadow: 0 12px 32px rgba(242, 181, 51, 0.35);
}
.btn-v3-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(242, 181, 51, 0.45);
}
.btn-v3-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all .25s ease;
  backdrop-filter: blur(8px);
}
.btn-v3-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.30);
}

/* Hero stats inline */
.hero-v3-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
@media (max-width: 768px) {
  .hero-v3-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
.hero-v3-stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3vw, 2.4rem);
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
}
.hero-v3-stat .lbl {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 8px;
}

/* =====================================================
   2. THE BIG PITCH — single visual moment
   ===================================================== */
.pitch-screen {
  padding: 140px 0;
  background: var(--ep-bg-soft);
  text-align: center;
}
.pitch-eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ep-blue);
  margin-bottom: 24px;
}
.pitch-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 40px 0 56px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .pitch-numbers { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
.pitch-num {
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid var(--ep-border);
}
.pitch-num:last-child { border-right: none; }
@media (max-width: 768px) {
  .pitch-num { border-right: none; }
}
.pitch-num .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.6rem, 7vw, 5.5rem);
  background: linear-gradient(135deg, var(--ep-navy) 0%, var(--ep-blue) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  line-height: 1;
  letter-spacing: -3px;
}
.pitch-num .l {
  font-size: 13px;
  color: var(--ep-text-muted);
  margin-top: 14px;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.pitch-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--ep-text);
  margin-bottom: 20px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.pitch-headline .gold-grad {
  background: linear-gradient(135deg, #B7821A 0%, #F2B533 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.pitch-sub {
  font-size: 17px;
  color: var(--ep-text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

/* =====================================================
   3. THE PLATFORM — tabbed interface (replaces 5 sections!)
   ===================================================== */
.platform-section {
  padding: 120px 0;
  background: #fff;
}
.section-header-v3 {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.section-header-v3 h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--ep-text);
  margin-bottom: 16px;
}
.section-header-v3 h2 .gold-grad {
  background: linear-gradient(135deg, #B7821A 0%, #F2B533 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.section-header-v3 p {
  font-size: 17px;
  color: var(--ep-text-muted);
  line-height: 1.6;
}

.platform-tabs-wrap {
  background: var(--ep-bg-soft);
  border-radius: 12px;
  padding: 6px;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  border: 1px solid var(--ep-border);
}
.platform-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.platform-tab {
  background: transparent;
  border: none;
  padding: 12px 22px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--ep-text-muted);
  cursor: pointer;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.platform-tab:hover { color: var(--ep-text); }
.platform-tab.active {
  background: var(--ep-navy);
  color: #fff;
}
.platform-tab i, .platform-tab svg { width: 16px; height: 16px; }

.platform-panels { position: relative; }
.platform-panel { display: none; }
.platform-panel.active {
  display: block;
  animation: panel-in .4s ease;
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* — Architecture panel — HORIZONTAL BUILD-UP FLOW — */
.arch-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 0;
}
@media (max-width: 980px) {
  .arch-flow {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 540px;
  }
}

.arch-col {
  background: #fff;
  border: 1px solid var(--ep-border);
  border-radius: 16px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.arch-col:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 31, 53, 0.08);
}

/* Tier accent — top border bar */
.arch-col::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 16px;
  right: 16px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--ep-blue);
}
.arch-col.base::before { background: linear-gradient(90deg, #475569, #94A3B8); }
.arch-col.t1::before { background: linear-gradient(90deg, #047857, #10B981); }
.arch-col.t2::before { background: linear-gradient(90deg, #1F66B4, #4FA3E8); }
.arch-col.t3::before { background: linear-gradient(90deg, #A21CAF, #DB2777); }

/* Tier-specific subtle background tint */
.arch-col.base { background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%); }
.arch-col.t1 { background: linear-gradient(180deg, #FFFFFF 0%, #F0FDF4 100%); }
.arch-col.t2 { background: linear-gradient(180deg, #FFFFFF 0%, #EFF6FF 100%); }
.arch-col.t3 { background: linear-gradient(180deg, #FFFFFF 0%, #FAF5FF 100%); }

.arch-col-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ep-divider);
}
.arch-col-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ep-text-light);
}
.arch-col.base .arch-col-tag { color: #64748B; }
.arch-col.t1 .arch-col-tag { color: #047857; }
.arch-col.t2 .arch-col-tag { color: #1F66B4; }
.arch-col.t3 .arch-col-tag { color: #A21CAF; }

.arch-col-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.4px;
  color: var(--ep-text);
  line-height: 1.2;
}

.arch-col-meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 6px;
}
.arch-col-meta .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -1px;
}
.arch-col.base .arch-col-meta .n { color: #475569; }
.arch-col.t1 .arch-col-meta .n {
  background: linear-gradient(135deg, #047857, #10B981);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.arch-col.t2 .arch-col-meta .n {
  background: linear-gradient(135deg, #1F66B4, #4FA3E8);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.arch-col.t3 .arch-col-meta .n {
  background: linear-gradient(135deg, #A21CAF, #DB2777);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.arch-col-meta .l {
  font-size: 11px;
  font-weight: 600;
  color: var(--ep-text-light);
  letter-spacing: 0.3px;
}

.arch-col-desc {
  font-size: 12.5px;
  color: var(--ep-text-muted);
  line-height: 1.5;
  margin-top: 2px;
}

/* Component list inside each column */
.arch-col-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
}
.arch-col-list li {
  font-size: 13px;
  font-weight: 500;
  color: var(--ep-text);
  padding: 8px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background .2s ease;
}
.arch-col-list li:hover { background: rgba(0, 0, 0, 0.03); }
.arch-col-list li i, .arch-col-list li svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.arch-col.base .arch-col-list li i, .arch-col.base .arch-col-list li svg { color: #64748B; }
.arch-col.t1 .arch-col-list li i, .arch-col.t1 .arch-col-list li svg { color: #047857; }
.arch-col.t2 .arch-col-list li i, .arch-col.t2 .arch-col-list li svg { color: #1F66B4; }
.arch-col.t3 .arch-col-list li i, .arch-col.t3 .arch-col-list li svg { color: #A21CAF; }
.arch-col-list li.future {
  color: var(--ep-text-light);
  font-style: italic;
}

/* Connector arrow between columns */
.arch-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: var(--ep-text-light);
  position: relative;
}
.arch-connector::before {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 2px;
  border-top: 2px dashed rgba(15, 31, 53, 0.18);
  transform: translateY(-1px);
  z-index: 0;
}
.arch-connector i, .arch-connector svg {
  width: 22px;
  height: 22px;
  background: var(--ep-bg-soft);
  border-radius: 50%;
  padding: 6px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--ep-border);
  position: relative;
  z-index: 1;
  color: var(--ep-text-muted);
}

/* Mobile: stack vertically and rotate arrows */
@media (max-width: 980px) {
  .arch-connector {
    padding: 8px 0;
    transform: rotate(90deg);
  }
  .arch-connector::before {
    left: 50%;
    right: auto;
    top: 8px;
    bottom: 8px;
    height: auto;
    width: 2px;
    border-top: none;
    border-left: 2px dashed rgba(15, 31, 53, 0.18);
    transform: translateX(-1px);
  }
}

/* Build-up animation: columns slide in from left to right */
.platform-panel.active .arch-col {
  animation: arch-fly-in .55s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
.platform-panel.active .arch-col.base { animation-delay: 0s; }
.platform-panel.active .arch-col.t1 { animation-delay: 0.12s; }
.platform-panel.active .arch-col.t2 { animation-delay: 0.24s; }
.platform-panel.active .arch-col.t3 { animation-delay: 0.36s; }
.platform-panel.active .arch-connector {
  animation: arch-conn-in .4s ease backwards;
}
.platform-panel.active .arch-connector:nth-of-type(2) { animation-delay: 0.18s; }
.platform-panel.active .arch-connector:nth-of-type(4) { animation-delay: 0.30s; }
.platform-panel.active .arch-connector:nth-of-type(6) { animation-delay: 0.42s; }

@keyframes arch-fly-in {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes arch-conn-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Hover one column = others dim slightly */
.arch-flow:hover .arch-col:not(:hover) {
  opacity: 0.55;
}
.arch-col { transition: opacity .3s ease, transform .3s ease, box-shadow .3s ease, border-color .3s ease; }

/* — Services panel — */
.services-grid-v3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--ep-border);
  border: 1px solid var(--ep-border);
  border-radius: 12px;
  overflow: hidden;
}
.service-v3 {
  background: #fff;
  padding: 24px 22px;
  transition: background .2s ease;
}
.service-v3:hover { background: var(--ep-bg-soft); }
.service-v3-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.service-v3-icon {
  width: 32px;
  height: 32px;
  background: rgba(31, 102, 180, 0.08);
  color: var(--ep-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-v3-icon i, .service-v3-icon svg { width: 16px; height: 16px; }
.service-v3-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--ep-text-light);
}
.service-v3 h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ep-text);
  margin-bottom: 6px;
}
.service-v3 p {
  font-size: 12.5px;
  color: var(--ep-text-muted);
  line-height: 1.55;
}

/* — Core Apps panel: group switcher + list — */
.apps-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
  justify-content: center;
}
.apps-switcher button {
  padding: 9px 16px;
  background: transparent;
  border: 1px solid var(--ep-border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  color: var(--ep-text-muted);
  cursor: pointer;
  transition: all .2s ease;
}
.apps-switcher button:hover { border-color: var(--ep-text-light); color: var(--ep-text); }
.apps-switcher button.active {
  background: var(--ep-navy);
  border-color: var(--ep-navy);
  color: #fff;
}
.apps-switcher button .cnt {
  display: inline-block;
  margin-left: 4px;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.6;
}
.apps-switcher button.active .cnt { color: var(--ep-gold); opacity: 1; }

.apps-pane { display: none; }
.apps-pane.active { display: block; animation: panel-in .35s ease; }
.apps-list-v3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.app-tile-v3 {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--ep-border);
  border-radius: 10px;
  transition: all .2s ease;
}
.app-tile-v3:hover {
  border-color: var(--ep-text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 31, 53, 0.04);
}
.app-tile-v3 .num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ep-blue), var(--ep-blue-2));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.3px;
}
.app-tile-v3 .num.gold { background: linear-gradient(135deg, var(--ep-gold), #B7821A); color: var(--ep-navy); }
.app-tile-v3 h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ep-text);
  margin-bottom: 4px;
}
.app-tile-v3 p {
  font-size: 12.5px;
  color: var(--ep-text-muted);
  line-height: 1.5;
}

/* — Industry Packs: horizontal scroller — */
.packs-scroller-wrap {
  margin: 0 -24px;
  padding: 0 24px;
}
.packs-scroller {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 0 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--ep-border) transparent;
}
.packs-scroller::-webkit-scrollbar { height: 8px; }
.packs-scroller::-webkit-scrollbar-track { background: transparent; }
.packs-scroller::-webkit-scrollbar-thumb { background: var(--ep-border); border-radius: 4px; }
.pack-card-v3 {
  flex: 0 0 320px;
  background: #fff;
  border: 1px solid var(--ep-border);
  border-radius: 16px;
  padding: 28px 24px;
  scroll-snap-align: start;
  position: relative;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}
.pack-card-v3:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 31, 53, 0.08);
  border-color: var(--ep-text-light);
}
.pack-card-v3-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pack-ink, var(--ep-blue));
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(15, 31, 53, 0.06);
}
.pack-card-v3-icon i, .pack-card-v3-icon svg { width: 28px; height: 28px; }
/* SOFT: light tint + colored glyph */
.pack-card-v3.t-orange .pack-card-v3-icon  { background: rgba(242, 104, 15, 0.10); --pack-ink: #F2680F; box-shadow: 0 8px 18px rgba(242, 104, 15, 0.14); }
.pack-card-v3.t-cyan .pack-card-v3-icon    { background: rgba(8, 145, 178, 0.10);  --pack-ink: #0891B2; box-shadow: 0 8px 18px rgba(8, 145, 178, 0.14); }
.pack-card-v3.t-emerald .pack-card-v3-icon { background: rgba(4, 120, 87, 0.10);   --pack-ink: #047857; box-shadow: 0 8px 18px rgba(4, 120, 87, 0.14); }
.pack-card-v3.t-indigo .pack-card-v3-icon  { background: rgba(67, 56, 202, 0.10);  --pack-ink: #4338CA; box-shadow: 0 8px 18px rgba(67, 56, 202, 0.14); }
.pack-card-v3.t-amber .pack-card-v3-icon   { background: rgba(183, 130, 26, 0.12); --pack-ink: #B7821A; box-shadow: 0 8px 18px rgba(183, 130, 26, 0.16); }
.pack-card-v3.t-teal .pack-card-v3-icon    { background: rgba(14, 142, 128, 0.10); --pack-ink: #0E8E80; box-shadow: 0 8px 18px rgba(14, 142, 128, 0.14); }
.pack-card-v3.t-rose .pack-card-v3-icon    { background: rgba(190, 18, 60, 0.10);  --pack-ink: #BE123C; box-shadow: 0 8px 18px rgba(190, 18, 60, 0.14); }
.pack-card-v3.t-slate .pack-card-v3-icon   { background: rgba(71, 85, 105, 0.10);  --pack-ink: #475569; box-shadow: 0 8px 18px rgba(71, 85, 105, 0.14); }
.pack-card-v3 h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--ep-text);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.pack-card-v3 .pack-tagline {
  font-size: 13px;
  color: var(--ep-gold);
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.4;
}
.pack-card-v3 .pack-for {
  font-size: 12.5px;
  color: var(--ep-text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ep-divider);
}
.pack-card-v3 .pack-for strong { color: var(--ep-text); font-weight: 600; }
.pack-card-v3 .pack-feat {
  font-size: 12.5px;
  color: var(--ep-text-muted);
  line-height: 1.55;
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}
.pack-card-v3 .pack-feat::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--ep-blue);
  font-weight: 700;
}
.scroll-hint {
  text-align: center;
  font-size: 12px;
  color: var(--ep-text-light);
  margin-top: 16px;
  letter-spacing: 0.5px;
}
.scroll-hint::before { content: '← '; }
.scroll-hint::after { content: ' →'; }

/* — Mobile panel — */
.mobile-grid-v3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) { .mobile-grid-v3 { grid-template-columns: 1fr; } }
.mobile-card-v3 {
  background: #fff;
  border: 1px solid var(--ep-border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}
.mobile-card-v3-frame {
  width: 110px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--ep-navy), var(--ep-navy-2));
  border: 6px solid #1c2c46;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  box-shadow: 0 16px 32px rgba(10, 26, 46, 0.20);
}
.mobile-card-v3-frame i, .mobile-card-v3-frame svg {
  width: 28px;
  height: 28px;
  color: var(--ep-gold);
  margin-top: 16px;
}
.mobile-card-v3-frame .ml {
  width: 70%;
  height: 8px;
  background: rgba(255,255,255,0.10);
  border-radius: 4px;
}
.mobile-card-v3-frame .ml.short { width: 50%; }
.mobile-card-v3 h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ep-text);
  margin-bottom: 8px;
}
.mobile-card-v3 p {
  font-size: 13.5px;
  color: var(--ep-text-muted);
  line-height: 1.6;
}

/* — Countries panel — */
.countries-grid-v3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.country-v3 {
  background: #fff;
  border: 1px solid var(--ep-border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: all .2s ease;
}
.country-v3:hover {
  background: var(--ep-bg-soft);
  border-color: var(--ep-text-light);
  transform: translateY(-2px);
}
.country-v3 .flag {
  font-size: 36px;
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}
.country-v3 .name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ep-text);
}
.country-v3 .rules {
  font-size: 11px;
  color: var(--ep-text-light);
  margin-top: 4px;
  line-height: 1.35;
}

/* =====================================================
   4. BENTO GRID — proof points
   ===================================================== */
.bento-section {
  padding: 120px 0;
  background: var(--ep-bg-soft);
}
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 16px;
}
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } }

.bento-cell {
  background: #fff;
  border: 1px solid var(--ep-border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all .3s ease;
}
.bento-cell:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 31, 53, 0.06);
}
.bento-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ep-blue);
  margin-bottom: 12px;
}
.bento-cell h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--ep-text);
  margin-bottom: 12px;
}
.bento-cell p {
  font-size: 14px;
  color: var(--ep-text-muted);
  line-height: 1.6;
}
.bento-cell .big-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -2px;
  background: linear-gradient(135deg, var(--ep-navy), var(--ep-blue));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}

/* Span variations */
.bento-cell.col-2 { grid-column: span 2; }
.bento-cell.row-2 { grid-row: span 2; }
@media (max-width: 980px) {
  .bento-cell.col-2 { grid-column: span 2; }
  .bento-cell.row-2 { grid-row: span 1; }
}
@media (max-width: 600px) {
  .bento-cell.col-2 { grid-column: span 1; }
}

/* Bento dark variant for quote / highlights */
.bento-cell.dark {
  background: linear-gradient(135deg, var(--ep-navy) 0%, var(--ep-navy-2) 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}
.bento-cell.dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(242, 181, 51, 0.15), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(79, 163, 232, 0.18), transparent 50%);
  pointer-events: none;
}
.bento-cell.dark > * { position: relative; z-index: 2; }
.bento-cell.dark .bento-eyebrow { color: var(--ep-gold); }
.bento-cell.dark h3 { color: #fff; }
.bento-cell.dark p { color: rgba(255,255,255,0.75); }
.bento-cell.dark .big-num {
  background: linear-gradient(135deg, #FFD06B, #F2B533);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.bento-cell .quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.4;
  margin-bottom: 18px;
}
.bento-cell .quote-attr {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.3px;
}

.bento-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.bento-pills span {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(31, 102, 180, 0.08);
  color: var(--ep-blue);
  border-radius: 6px;
}
.bento-cell.dark .bento-pills span {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
}

.bento-flag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.bento-flag-row span {
  font-size: 26px;
  line-height: 1;
}

/* =====================================================
   5. CROWN JEWELS — horizontal scroller, dark
   ===================================================== */
.jewel-section {
  padding: 120px 0;
  background: linear-gradient(180deg, #0A1A2E 0%, #061224 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.jewel-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 1000px 600px at 90% 50%, rgba(242, 181, 51, 0.10), transparent 60%);
  pointer-events: none;
}
.jewel-section > * { position: relative; z-index: 2; }
.jewel-section .section-header-v3 h2 { color: #fff; }
.jewel-section .section-header-v3 p { color: rgba(255,255,255,0.7); }

.jewel-scroller-wrap {
  margin: 0 -24px;
  padding: 0 24px;
}
.jewel-scroller {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 0 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.jewel-scroller::-webkit-scrollbar { height: 8px; }
.jewel-scroller::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
.jewel-v3 {
  flex: 0 0 290px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 28px 24px;
  scroll-snap-align: start;
  transition: all .3s ease;
}
.jewel-v3:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(242, 181, 51, 0.30);
  transform: translateY(-3px);
}
.jewel-v3-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--ep-gold);
  margin-bottom: 12px;
}
.jewel-v3 h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.25;
}
.jewel-v3 p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}

/* =====================================================
   6. COMPARISON — compact
   ===================================================== */
.compare-section {
  padding: 120px 0;
  background: #fff;
}
.compare-v3 {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ep-border);
}
.compare-v3 thead th {
  text-align: center;
  padding: 18px 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--ep-text-muted);
  background: var(--ep-bg-soft);
  border-bottom: 1px solid var(--ep-border);
}
.compare-v3 thead th:first-child { text-align: left; color: var(--ep-text); padding-left: 20px; }
.compare-v3 thead th.us-col {
  background: var(--ep-navy);
  color: #fff;
}
.compare-v3 tbody td {
  padding: 16px 12px;
  text-align: center;
  border-bottom: 1px solid var(--ep-divider);
  color: var(--ep-text-muted);
}
.compare-v3 tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--ep-text);
  padding-left: 20px;
}
.compare-v3 tbody tr:last-child td { border-bottom: none; }
.compare-v3 tbody td.us-col {
  background: rgba(10, 26, 46, 0.03);
  font-weight: 700;
  color: var(--ep-navy);
}
.compare-v3 .yes { color: #1B8B33; font-weight: 700; font-size: 17px; }
.compare-v3 .no { color: var(--ep-text-light); font-size: 13px; }
.compare-pos {
  text-align: center;
  font-style: italic;
  font-size: 17px;
  color: var(--ep-text-muted);
  max-width: 720px;
  margin: 40px auto 0;
  line-height: 1.6;
}

/* =====================================================
   7. IMPLEMENTATION — horizontal timeline
   ===================================================== */
.impl-section {
  padding: 120px 0;
  background: var(--ep-bg-soft);
}
.impl-timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  position: relative;
  margin-top: 40px;
}
@media (max-width: 980px) { .impl-timeline { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .impl-timeline { grid-template-columns: repeat(2, 1fr); } }
.impl-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--ep-blue) 0%, var(--ep-gold) 100%);
  z-index: 0;
}
@media (max-width: 980px) { .impl-timeline::before { display: none; } }

.impl-step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.impl-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ep-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--ep-navy);
  box-shadow: 0 8px 16px rgba(31, 102, 180, 0.20);
}
.impl-step h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ep-text);
  margin-bottom: 4px;
}
.impl-step .impl-dur {
  font-size: 11.5px;
  color: var(--ep-text-light);
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}
.impl-step p {
  font-size: 11.5px;
  color: var(--ep-text-muted);
  line-height: 1.5;
}

/* =====================================================
   8. CTA SECTION
   ===================================================== */
.cta-section {
  padding: 80px 0 120px;
}
.cta-v3 {
  background:
    radial-gradient(ellipse 800px 400px at 80% 20%, rgba(242, 181, 51, 0.25), transparent 60%),
    radial-gradient(ellipse 800px 400px at 20% 80%, rgba(31, 102, 180, 0.25), transparent 60%),
    linear-gradient(135deg, var(--ep-navy) 0%, var(--ep-navy-2) 100%);
  color: #fff;
  border-radius: 24px;
  padding: 88px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) { .cta-v3 { padding: 56px 28px; border-radius: 16px; } }
.cta-v3 h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #fff;
}
.cta-v3 .gold-grad {
  background: linear-gradient(135deg, #FFD06B, #F2B533);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.cta-v3 p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.cta-v3-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
