/* ============================================================
   FINARTHA TECHNOLOGIES — WEBSITE STYLES
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Colors */
  --color-purple:   #4f1d81;
  --color-magenta:  #862574;
  --color-white:    #ffffff;
  --color-bronze:   #91603a;
  --color-gold:     #cd8f3d;

  /* Derived surfaces (tints — no gradients, flat solid colors) */
  --color-purple-10: #f0e8f8;
  --color-purple-15: #e4d4f5;
  --color-purple-dark: #3a1460;
  --color-gold-10:   #fdf6ea;
  --color-gold-light: #f5e3b8;

  /* Neutrals */
  --color-neutral-50:  #f8f8f9;
  --color-neutral-100: #f0f0f2;
  --color-neutral-200: #e2e2e6;
  --color-neutral-400: #a0a0b0;
  --color-neutral-600: #6b6b80;
  --color-neutral-700: #3d3d52;
  --color-neutral-900: #16162a;

  /* Semantic */
  --color-bg:       var(--color-white);
  --color-text:     var(--color-neutral-700);
  --color-heading:  var(--color-neutral-900);
  --color-border:   var(--color-neutral-200);
  --color-error:    #c0392b;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Type Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  1.875rem;
  --text-3xl:  2.25rem;
  --text-4xl:  3rem;
  --text-5xl:  3.75rem;

  /* Spacing (8px base) */
  --sp-1:  0.5rem;
  --sp-2:  1rem;
  --sp-3:  1.5rem;
  --sp-4:  2rem;
  --sp-5:  2.5rem;
  --sp-6:  3rem;
  --sp-8:  4rem;
  --sp-10: 5rem;
  --sp-12: 6rem;
  --sp-16: 8rem;

  /* Layout */
  --container-max:    1400px;
  --nav-height:       72px;
  --section-padding:  var(--sp-12);
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md:   0 2px 8px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-hover:0 4px 16px rgba(79,29,129,0.14), 0 8px 32px rgba(79,29,129,0.08);

  /* Transitions */
  --tr-fast: 150ms ease;
  --tr-base: 250ms ease;
  --tr-slow: 400ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip; /* clip instead of hidden — prevents horizontal scroll without breaking position:sticky */
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

ul, ol {
  list-style: none;
}

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

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

input, textarea, select {
  font: inherit;
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-heading);
}

h1 { font-size: clamp(2.25rem, 5vw, var(--text-5xl)); }
h2 { font-size: clamp(1.75rem, 3.5vw, var(--text-3xl)); }
h3 { font-size: clamp(1.125rem, 2vw, var(--text-xl)); }

p { line-height: 1.75; }

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

.section {
  padding-block: var(--section-padding);
}

.section--alt {
  background-color: var(--color-neutral-50);
}

.section--accent {
  background-color: var(--color-purple-10);
}

.what-we-do,
.why-finartha {
  background-color: #fdfbff;
}

.section--warm {
  background-color: var(--color-gold-10);
}

/* ============================================================
   5. SCROLL REVEAL
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   6. REUSABLE COMPONENTS
   ============================================================ */

/* Section Label Chip */
.section-label {
  display: inline-block;
  width: fit-content;
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  background-color: var(--color-magenta);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 0;
}

.section-label--light {
  background-color: rgba(255,255,255,0.2);
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.35);
}

/* Section Header */
.section-header {
  margin-bottom: var(--sp-8);
}

.section-header--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
}

/* Override align-self so the label pill centres inside centered headers */
.section-header--centered .section-label {
  align-self: center;
}

/* Restore spacing inside section-header wrappers (margin-based, no gap) */
.section-header .section-label  { margin-bottom: var(--sp-3); }
.section-header .product-badge  { margin-bottom: var(--sp-2); }
.section-header .section-title  { margin-bottom: var(--sp-2); }

/* Zeus sub-sections: label/title sit directly in .zeus-sub__header (no gap) */
.zeus-sub__header .section-label { margin-bottom: var(--sp-3); }
.zeus-sub__header .section-title  { margin-bottom: var(--sp-2); }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--color-heading);
  line-height: 1.15;
  margin-bottom: 0;
}

.section-subtitle {
  font-size: var(--text-md);
  color: var(--color-neutral-600);
  max-width: 640px;
  line-height: 1.7;
}

.section-header--centered .section-subtitle {
  margin-inline: auto;
}

.technology .section-subtitle {
  text-align: justify;
}

/* Product Badge */
.product-badge {
  display: inline-block;
  width: fit-content;
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-purple);
  background-color: var(--color-purple-15);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 0;
}

.product-badge--gold {
  color: var(--color-bronze);
  background-color: var(--color-gold-light);
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--tr-base), color var(--tr-base), border-color var(--tr-base), box-shadow var(--tr-base);
  white-space: nowrap;
}

.btn i {
  font-size: 1.1em;
}

.btn--primary {
  background-color: var(--color-purple);
  color: var(--color-white);
  border-color: var(--color-purple);
}

.btn--primary:hover {
  background-color: var(--color-purple-dark);
  border-color: var(--color-purple-dark);
  box-shadow: var(--shadow-hover);
}

.btn--primary:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

.btn--primary-light {
  background-color: var(--color-white);
  color: var(--color-purple);
  border-color: var(--color-white);
}

.btn--primary-light:hover {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--outline-light {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}

.btn--outline-light:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: var(--color-white);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* Feature List */
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2) var(--sp-6);
  margin-top: var(--sp-4);
}

.feature-list__item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-base);
  color: var(--color-neutral-700);
}

.feature-list__item i {
  color: var(--color-purple);
  font-size: 1.2em;
  flex-shrink: 0;
}

/* Product Features List */
.product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-1) var(--sp-3);
  margin-block: var(--sp-4);
}

.product-features li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--color-neutral-700);
  padding: 6px 0;
}

.product-features li i {
  color: var(--color-gold);
  font-size: 1.15em;
  flex-shrink: 0;
}

/* ============================================================
   7. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background-color: transparent;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: background-color 0.5s ease, box-shadow 0.5s ease, opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav--scrolled {
  background-color: var(--color-purple);
  box-shadow: 0 1px 0 rgba(255,255,255,0.1), 0 4px 20px rgba(0,0,0,0.2);
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: var(--sp-4);
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo img {
  height: 36px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav__link {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.68);
  padding: 8px 12px;
  border-radius: 0;
  position: relative;
  transition: color var(--tr-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: linear-gradient(to right, var(--color-purple), var(--color-gold));
  transform: scaleX(0);
  transform-origin: left center;
  border-radius: 2px;
  transition: transform var(--tr-base);
}

.nav__link:hover {
  color: var(--color-white);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__link.nav__link--active {
  color: var(--color-white);
  font-weight: 600;
}

.nav__link.nav__link--active::after {
  transform: scaleX(1);
}

.nav__cta {
  background-color: var(--color-white);
  color: var(--color-purple) !important;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-white);
  margin-left: var(--sp-3);
  transition: background-color var(--tr-fast), color var(--tr-fast), border-color var(--tr-fast);
}

.nav__cta:hover {
  background-color: transparent;
  color: var(--color-white) !important;
  border: 1.5px solid var(--color-white);
}

.nav__cta::after {
  display: none;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color var(--tr-fast);
}

.nav__hamburger:hover {
  background-color: rgba(255,255,255,0.1);
}

.nav__hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform var(--tr-base), opacity var(--tr-base);
  transform-origin: center;
}

.nav__hamburger--open .nav__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger--open .nav__hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__hamburger--open .nav__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   8. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(75svh + 60px);
  background-color: var(--color-purple);
  display: flex;
  align-items: center;
  border-bottom: 4px solid var(--color-gold);
  overflow: hidden;
  margin: clamp(8px, 1.2vw, 20px) clamp(8px, 1.2vw, 20px) 0;
  border-radius: 36px;
}

.hero__logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-2);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  flex-shrink: 0;
}

/* Subtle radial glow in the bottom-left corner */
.hero::before {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(205,143,61,0.22) 0%, transparent 68%);
  z-index: 0;
  pointer-events: none;
}

.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 10% 100%, rgba(255,255,255,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 95% 0%, rgba(255,255,255,0.06) 0%, transparent 60%),
    linear-gradient(135deg, var(--color-magenta) 0%, var(--color-purple) 100%);
  opacity: 0.92;
  z-index: 1;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: calc(var(--sp-12) - 35px);
  padding-bottom: var(--sp-8);
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-4);
  max-width: 900px;
}

.hero__media {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: stretch;
  overflow: hidden;
}

.hero__icon-img {
  width: 60%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero__icon-video {
  width: 105%;
  max-width: none;
  height: 105%;
  object-fit: cover;
  object-position: center;
  transform: translateY(40px);
  /* Dissolve bottom and left edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 18%, black 94%, transparent 100%), linear-gradient(to bottom, black 65%, transparent 100%);
  -webkit-mask-composite: destination-in;
  mask-image: linear-gradient(to right, transparent 0%, black 18%, black 94%, transparent 100%), linear-gradient(to bottom, black 65%, transparent 100%);
  mask-composite: intersect;
}

.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-align: center;
  max-width: 900px;
}

.hero__headline-accent {
  color: var(--color-gold);
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  text-align: center;
}

.hero__br {
  display: none;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}

.hero__mouse {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.hero__mouse-dot {
  width: 3px;
  height: 3px;
  background-color: rgba(255,255,255,0.9);
  border-radius: 50%;
  animation: mouseDot 1.8s ease-in-out infinite;
}

.hero__scroll-text {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

@keyframes mouseDot {
  0%   { opacity: 1;   transform: translateY(0); }
  50%  { opacity: 0.3; transform: translateY(10px); }
  100% { opacity: 1;   transform: translateY(0); }
}

/* ============================================================
   9. ABOUT
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: stretch;
  padding-bottom: var(--sp-6);
}

.about__intro {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.about__intro .btn {
  align-self: flex-start;
}

.about__holding {
  font-style: normal;
  font-weight: 600;
  color: var(--color-neutral-500);
}

.about__lead {
  font-size: var(--text-md);
  color: var(--color-neutral-700);
  font-weight: 500;
  line-height: 1.7;
}

.about__body {
  color: var(--color-neutral-600);
  line-height: 1.8;
}

.about__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 100%;
}

.about__right {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  justify-content: center;
}

.about__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 760px;
  width: 88%;
}

.about__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 600px;
  background-color: var(--color-neutral-100);
  border: 2px dashed var(--color-neutral-300);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  color: var(--color-neutral-400);
}

.about__image-placeholder i { font-size: 3rem; }
.about__image-placeholder span { font-size: var(--text-sm); font-weight: 500; }

/* Values card */
.about__values-card {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--sp-3) var(--sp-4);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-neutral-200);
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  margin-top: -48px;
  align-self: flex-start;
  margin-left: calc(6% + var(--sp-4) + 10px);
  width: fit-content;
  min-width: 280px;
  z-index: 2;
}

.about__values-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/values.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  border-radius: var(--radius-xl);
}


.about__values-header {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
  color: var(--color-purple);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.about__values-header i { font-size: 1.1rem; }

.about__values-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  position: relative;
  z-index: 1;
}

.about__value-item {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  background-color: rgba(79, 29, 129, 0.08);
  border: 1px solid rgba(79, 29, 129, 0.15);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  color: var(--color-purple);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
}

.about__value-item i {
  font-size: 0.95rem;
  color: var(--color-purple);
  flex-shrink: 0;
}

/* Vision / Mission row */
.about__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
  background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-magenta) 100%);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
}

.pillar-card {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-5);
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--tr-base), transform var(--tr-base), box-shadow var(--tr-base);
}

.pillar-card:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.pillar-card--magenta {
  border-color: rgba(255,255,255,0.2);
}

.pillar-card--gold {
  border-color: rgba(205,143,61,0.4);
}

.pillar-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-card__icon i {
  font-size: 1.6rem;
  color: var(--color-white);
}

.pillar-card--magenta .pillar-card__icon {
  background-color: rgba(255,255,255,0.15);
}
.pillar-card--magenta .pillar-card__icon i {
  color: var(--color-white);
}

.pillar-card--gold .pillar-card__icon {
  background-color: rgba(205,143,61,0.2);
  border-color: rgba(205,143,61,0.35);
}
.pillar-card--gold .pillar-card__icon i {
  color: var(--color-gold);
}

.pillar-card__label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--sp-1);
}

.pillar-card__body {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
}

.pillar-card__values {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  margin-top: var(--sp-1);
}

.pillar-card__values span {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-bronze);
  background-color: var(--color-gold-light);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* ============================================================
   10. WHAT WE DO
   ============================================================ */
.what-we-do__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.feature-item {
  padding: var(--sp-5) var(--sp-4);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-neutral-200);
  transition: box-shadow var(--tr-base), transform var(--tr-base);
}

.feature-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-item__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--color-purple-10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
}

.feature-item__icon i {
  font-size: 1.6rem;
  color: var(--color-purple);
}

.feature-item__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--sp-2);
}

.feature-item__body {
  font-size: var(--text-sm);
  color: var(--color-neutral-600);
  line-height: 1.75;
}

/* Bento grid */
.what-we-do__bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--sp-3);
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--sp-6) var(--sp-5);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--tr-base), box-shadow var(--tr-base);
}

/* Hover fill that rises from bottom */
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #ece6f7, #f8f4fe);
  border-radius: inherit;
  transform: translateY(100%);
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 28%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 28%);
  z-index: 0;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.bento-card:hover::before {
  transform: translateY(0);
}

/* Keep content above the sliding layer */
.bento-card > * {
  position: relative;
  z-index: 1;
}

/* Explicit grid placement — S/Z pattern:
   [purple col1-2] [dark col3  ]
   [light col1   ] [gold col2-3]
*/
.bento-card--purple { grid-column: 3 / 4; grid-row: 1; }
.bento-card--dark   { grid-column: 1 / 3; grid-row: 1; }
.bento-card--light  { grid-column: 1 / 2; grid-row: 2; }
.bento-card--gold   { grid-column: 2 / 4; grid-row: 2; }

/* Color themes — all light/pastel with dark text */

/* Large left card — soft deep purple tint */
.bento-card--dark {
  background: linear-gradient(to bottom, #fdfcff, #f5f1fd) padding-box,
              linear-gradient(to bottom, rgba(79,29,129,0.08), rgba(79,29,129,0.18)) border-box;
  border: 1px solid transparent;
}

.bento-card--dark .bento-card__icon { color: var(--color-purple); background: rgba(79,29,129,0.1); }
.bento-card--dark .bento-card__title { color: #2d0d54; }
.bento-card--dark .bento-card__body { color: #4a3464; }

/* Small top-right card */
.bento-card--purple {
  background: linear-gradient(to bottom, #fdfcff, #f5f1fd) padding-box,
              linear-gradient(to bottom, rgba(79,29,129,0.08), rgba(79,29,129,0.18)) border-box;
  border: 1px solid transparent;
}

.bento-card--purple .bento-card__icon { color: var(--color-purple); background: rgba(79,29,129,0.1); }
.bento-card--purple .bento-card__title { color: #2d0d54; }
.bento-card--purple .bento-card__body { color: #4a3464; }

/* Small bottom-left card */
.bento-card--light {
  background: linear-gradient(to bottom, #fdfcff, #f5f1fd) padding-box,
              linear-gradient(to bottom, rgba(79,29,129,0.08), rgba(79,29,129,0.18)) border-box;
  border: 1px solid transparent;
}

.bento-card--light .bento-card__icon { color: var(--color-purple); background: rgba(79,29,129,0.1); }
.bento-card--light .bento-card__title { color: #2d0d54; }
.bento-card--light .bento-card__body { color: #4a3464; }

/* Large bottom-right card */
.bento-card--gold {
  background: linear-gradient(to bottom, #fdfcff, #f5f1fd) padding-box,
              linear-gradient(to bottom, rgba(79,29,129,0.08), rgba(79,29,129,0.18)) border-box;
  border: 1px solid transparent;
}

.bento-card--gold .bento-card__icon { color: var(--color-purple); background: rgba(79,29,129,0.1); }
.bento-card--gold .bento-card__title { color: #2d0d54; }
.bento-card--gold .bento-card__body { color: #4a3464; }

/* Card internals */
.bento-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  flex-shrink: 0;
}

.bento-card__icon i {
  font-size: 1.5rem;
}

.bento-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--sp-3);
  line-height: 1.3;
}

.bento-card__body {
  font-size: var(--text-sm);
  line-height: 1.75;
  flex: 1;
}


/* ============================================================
   11. PRODUCTS OVERVIEW
   ============================================================ */
.product-pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-2);
}

.product-pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--sp-5) var(--sp-3);
  background: var(--color-white);
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-lg);
  transition: background-color var(--tr-base), border-color var(--tr-base), box-shadow 0.35s ease, transform 0.35s ease;
  overflow: hidden;
  cursor: pointer;
}

/* Bottom-right glow pseudo-element */
.product-pillar::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,29,129,0.12) 0%, rgba(79,29,129,0.04) 50%, transparent 75%);
  filter: blur(18px);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.product-pillar:hover {
  background-color: #fcfaff;
  border-color: rgba(79, 29, 129, 0.15);
  box-shadow: 0 12px 32px rgba(79, 29, 129, 0.1);
  transform: translateY(-10px);
}

.product-pillar:hover::after {
  opacity: 1;
}

.product-pillar__num {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-neutral-200);
  letter-spacing: 0.05em;
  transition: color var(--tr-base);
}

.product-pillar:hover .product-pillar__num {
  color: var(--color-purple-15);
}

.product-pillar__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--color-purple-10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
  transition: background-color var(--tr-base);
}

.product-pillar:hover .product-pillar__icon {
  background-color: var(--color-purple-15);
}

.product-pillar__icon i {
  font-size: 1.5rem;
  color: var(--color-purple);
}

.product-pillar__name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--sp-1);
}

.product-pillar__desc {
  font-size: var(--text-xs);
  color: var(--color-neutral-600);
  line-height: 1.65;
  flex: 1;
}

.product-pillar__arrow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: var(--sp-3);
  color: var(--color-purple);
  font-size: 1.1rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--tr-base), transform var(--tr-base);
}

.product-pillar:hover .product-pillar__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   12. ZEUS OVERVIEW
   ============================================================ */
.zeus-overview {
  border-top: 4px solid var(--color-gold);
}

.zeus-overview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}

.zeus-overview__lead {
  font-size: var(--text-md);
  color: var(--color-neutral-700);
  line-height: 1.75;
}

.zeus-overview__text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.zeus-nav-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--color-white);
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-2);
  transition: background-color var(--tr-base), border-color var(--tr-base), box-shadow var(--tr-base);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.zeus-nav-item:last-child {
  margin-bottom: 0;
}

.zeus-nav-item:hover {
  background-color: var(--color-purple-10);
  border-color: var(--color-purple-15);
  box-shadow: var(--shadow-sm);
}

.zeus-nav-item__num {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-gold);
  min-width: 28px;
  flex-shrink: 0;
}

.zeus-nav-item__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.zeus-nav-item__content strong {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-heading);
}

.zeus-nav-item__content span {
  font-size: var(--text-xs);
  color: var(--color-neutral-400);
}

.zeus-nav-item__arrow {
  color: var(--color-neutral-400);
  font-size: 0.9rem;
  transition: color var(--tr-fast), transform var(--tr-fast);
  flex-shrink: 0;
}

.zeus-nav-item:hover .zeus-nav-item__arrow {
  color: var(--color-purple);
  transform: translateX(3px);
}

/* ============================================================
   13. ZEUS SUB-SECTIONS
   ============================================================ */
.zeus-sub {
  border-top: 1px solid var(--color-neutral-200);
}

.zeus-sub__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--text-sm);
  color: var(--color-neutral-400);
  margin-bottom: var(--sp-6);
}

.zeus-sub__breadcrumb a {
  color: var(--color-magenta);
  font-weight: 500;
  transition: color var(--tr-fast);
}

.zeus-sub__breadcrumb a:hover {
  color: var(--color-purple);
}

.zeus-sub__breadcrumb i {
  font-size: 0.75rem;
  color: var(--color-neutral-400);
}

.zeus-sub__breadcrumb span {
  color: var(--color-neutral-700);
  font-weight: 500;
}

.zeus-sub__grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--sp-8);
  align-items: start;
}

.zeus-sub__header {
  position: static;
}

.zeus-sub__intro {
  font-size: var(--text-md);
  color: var(--color-neutral-600);
  line-height: 1.7;
  margin-top: var(--sp-3);
}

.zeus-sub__body {
  font-size: var(--text-base);
  color: var(--color-neutral-700);
  line-height: 1.8;
  margin-bottom: var(--sp-3);
}

.zeus-sub__nav-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--sp-8);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--color-neutral-200);
}

.zeus-sub__prev,
.zeus-sub__next {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-purple);
  transition: color var(--tr-fast);
}

.zeus-sub__prev:hover,
.zeus-sub__next:hover {
  color: var(--color-magenta);
}


/* ============================================================
   ZEUS SUBNAV (sticky mini-header inside Zeus zone)
   ============================================================ */
.zeus-subnav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 90;
  height: 44px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(79, 29, 129, 0.12);
  box-shadow: 0 2px 12px rgba(79, 29, 129, 0.07);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
  pointer-events: none;
}

.zeus-subnav--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.zeus-subnav__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  height: 100%;
}

.zeus-subnav__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-purple);
  white-space: nowrap;
}

.zeus-subnav__brand i { font-size: 1rem; }

.zeus-subnav__divider {
  width: 1px;
  height: 16px;
  background: rgba(79, 29, 129, 0.2);
  flex-shrink: 0;
}

.zeus-subnav__title {
  font-size: var(--text-sm);
  color: var(--color-neutral-600);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zeus-subnav__progress {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-purple);
  background: var(--color-purple-10);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
}

.zeus-subnav__sep { opacity: 0.5; }

/* ============================================================
   ZEUS INTERACTIVE PANEL
   ============================================================ */
.zeus-scroll-driver {
  position: relative;
  /* height set dynamically by JS: slides × viewport-height */
}

.zeus-panel {
  position: sticky;
  top: 116px; /* nav(72) + subnav(44) */
  height: calc(100vh - 116px);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--sp-3) var(--sp-5) var(--sp-2);
  display: flex;
  flex-direction: column;
}

/* Breadcrumb */
.zeus-panel__crumb {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--color-neutral-500);
  margin-bottom: var(--sp-2);
}

.zeus-panel__crumb a {
  color: var(--color-purple);
  font-weight: 600;
  text-decoration: none;
}

.zeus-panel__crumb a:hover { text-decoration: underline; }

.zeus-panel__crumb i { font-size: 0.75rem; opacity: 0.5; }

.zeus-panel__crumb span { font-weight: 500; color: var(--color-heading); }

/* Slides container */
.zeus-panel__slides {
  flex: 1;
  position: relative;
  min-height: 0;
  overflow-y: auto;
}

/* Individual slides — only .is-active is visible */
.zeus-slide {
  display: none;
}

.zeus-slide.is-active {
  display: block;
  animation: zeusSlideIn 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.zeus-slide.is-exiting {
  display: block;
  animation: zeusSlideOut 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  position: absolute;
  top: 0; left: 0; right: 0;
  pointer-events: none;
}

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

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

/* Reverse animations (scrolling up) */
.zeus--going-back .zeus-slide.is-active {
  animation: zeusSlideInReverse 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.zeus--going-back .zeus-slide.is-exiting {
  animation: zeusSlideOutReverse 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes zeusSlideInReverse {
  from { opacity: 0; transform: translateY(-28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes zeusSlideOutReverse {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(28px); }
}

/* Prev/Next nav — always pinned to bottom of panel */
.zeus-panel__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-top: 1px solid var(--color-neutral-100);
  flex-shrink: 0;
}

.zeus-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-purple);
  text-decoration: none;
  transition: opacity var(--tr-base);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.zeus-nav-btn:hover { opacity: 0.7; }

/* ============================================================
   14. PRODUCT SECTIONS (Marketplace, Apollo, Athena, Aphrodite)
   ============================================================ */
.product-section {
  border-top: 1px solid var(--color-neutral-200);
  padding-block: var(--sp-6);
}

.product-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}


.product-section--reverse .product-section__inner {
  direction: rtl;
}

.product-section--reverse .product-section__inner > * {
  direction: ltr;
}

.product-section__content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.product-section__tagline {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-neutral-700);
  line-height: 1.35;
  margin-top: var(--sp-1);
  margin-bottom: var(--sp-2);
}

.product-section__body {
  font-size: var(--text-base);
  color: var(--color-neutral-600);
  line-height: 1.8;
}

/* Product Visual Card */
.product-visual-card {
  background: var(--color-white);
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.product-visual-card__header {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  background-color: var(--color-purple);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
}

.product-visual-card__header i {
  font-size: 1.2rem;
}

.product-visual-card__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background-color: var(--color-neutral-200);
}

.pvc-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  background: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-neutral-700);
  transition: background-color var(--tr-fast);
}

.pvc-item:hover {
  background-color: var(--color-purple-10);
}

.pvc-item i {
  color: var(--color-gold);
  font-size: 1.1rem;
}

/* Marketplace Bento Grid */
.mkt-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.mkt-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 20px 18px;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09), 0 2px 6px rgba(0, 0, 0, 0.05);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-neutral-800);
  text-align: center;
  animation: mktFloat ease-in-out infinite;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.mkt-chip__img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.mkt-chip--5 .mkt-chip__img {
  width: 62px;
  height: 62px;
}

@keyframes mktFloat {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-8px); }
}

.mkt-chip--1 { animation-duration: 4.2s; animation-delay:  0.0s; }
.mkt-chip--2 { animation-duration: 3.8s; animation-delay: -1.4s; }
.mkt-chip--3 { animation-duration: 5.0s; animation-delay: -0.7s; }
.mkt-chip--4 { animation-duration: 4.6s; animation-delay: -2.1s; }
.mkt-chip--5 { animation-duration: 4.0s; animation-delay: -3.2s; }
.mkt-chip--6 { animation-duration: 4.4s; animation-delay: -1.8s; }

/* Apollo Diagram */
.apollo-diagram {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
}

.apollo-diagram::before {
  content: '';
  position: absolute;
  inset: -20% -30%;
  background:
    radial-gradient(ellipse 55% 50% at 45% 40%, rgba(99, 102, 241, 0.09) 0%, transparent 70%),
    radial-gradient(ellipse 45% 40% at 70% 65%, rgba(212, 160, 23, 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.apollo-diagram > * {
  position: relative;
  z-index: 1;
}

.apollo-diagram__top {
  display: flex;
  align-items: stretch;
  gap: var(--sp-3);
  width: 100%;
}

.apollo-input-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-2);
  padding: var(--sp-5) var(--sp-3);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.02);
}

.apollo-input-card--human {
  background-color: var(--color-purple-10);
  border-color: rgba(109, 40, 217, 0.12);
}

.apollo-input-card--ai {
  background-color: var(--color-gold-10);
  border-color: rgba(212, 160, 23, 0.15);
}

.apollo-input-card i {
  font-size: 2.4rem;
  flex-shrink: 0;
}

.apollo-input-card--human i { color: var(--color-purple); }
.apollo-input-card--ai    i { color: var(--color-bronze); }

.apollo-input-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-neutral-800);
}

.apollo-input-card span {
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
  line-height: 1.5;
}

.apollo-diagram__op {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-neutral-300);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.apollo-diagram__arrow {
  color: var(--color-neutral-300);
  font-size: 1.25rem;
  line-height: 1;
}

.apollo-diagram__result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  width: 100%;
  padding: var(--sp-5) var(--sp-6);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: 3px solid var(--color-gold);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.apollo-diagram__result i {
  color: var(--color-gold);
  font-size: 1.75rem;
}

.apollo-diagram__result span {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-neutral-800);
  letter-spacing: -0.01em;
}

/* Athena Visual */
#athena .product-visual-card {
  max-width: 540px;
  margin-inline: auto;
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.02);
}

.athena-visual {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.athena-visual__capability {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background-color: var(--color-neutral-50);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-purple);
}

.athena-visual__cap-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--color-purple);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.athena-visual__capability div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.athena-visual__capability strong {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-neutral-900);
}

.athena-visual__capability span {
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
  line-height: 1.4;
}

/* Aphrodite Visual */
@keyframes aphFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.aphrodite-cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding-block: var(--sp-2);
}

.aphrodite-card {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 78%;
  padding: var(--sp-4) var(--sp-5);
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.05), 0 1px 4px rgba(0, 0, 0, 0.03);
  animation: aphFloat ease-in-out infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.aphrodite-card--1 { align-self: flex-start; animation-duration: 4.2s; animation-delay:  0.0s; }
.aphrodite-card--2 { align-self: flex-end;   animation-duration: 3.8s; animation-delay: -1.4s; }
.aphrodite-card--3 { align-self: flex-start; animation-duration: 4.6s; animation-delay: -2.8s; }
.aphrodite-card--4 { align-self: flex-end;   animation-duration: 4.0s; animation-delay: -0.9s; }

.aphrodite-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--color-purple-10);
  border: 1px solid var(--color-purple-15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aphrodite-card__icon i {
  font-size: 1.4rem;
  color: var(--color-purple);
}

.aphrodite-card__icon--gold {
  background-color: var(--color-gold-10);
  border-color: var(--color-gold-light);
}
.aphrodite-card__icon--gold i { color: var(--color-bronze); }

.aphrodite-card__icon--magenta {
  background-color: rgba(134, 37, 116, 0.08);
  border-color: rgba(134, 37, 116, 0.2);
}
.aphrodite-card__icon--magenta i { color: var(--color-magenta); }

.aphrodite-card__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.aphrodite-card__text strong {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-neutral-800);
}

.aphrodite-card__text span {
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
  line-height: 1.4;
}

/* ============================================================
   15. TECHNOLOGY
   ============================================================ */

/* Stats Dark Panel */
.stats-dark {
  position: relative;
  background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-magenta) 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.stats-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 90% 100%, rgba(255,255,255,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 5% 0%, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.stats-dark__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stats-dark__inner::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-image:
    linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.18) 30%, rgba(255,255,255,0.18) 70%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.18) 30%, rgba(255,255,255,0.18) 70%, transparent 100%),
    linear-gradient(to right, transparent 0%, rgba(255,255,255,0.18) 20%, rgba(255,255,255,0.18) 80%, transparent 100%);
  background-size: 1px 100%, 1px 100%, 100% 1px;
  background-position: 33.33% 0, 66.66% 0, 0 50%;
  background-repeat: no-repeat;
}

.stats-dark__inner > * {
  position: relative;
  z-index: 3;
}

.stat-item {
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 3vw, var(--text-4xl));
  font-weight: 700;
  color: var(--color-white);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.stat-item__number .stat-card__suffix {
  font-size: 0.65em;
  color: var(--color-gold);
}

.stat-item__label {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
}

/* Technology heading coin icons */
.tech-coin {
  width: 0.8em;
  height: 0.8em;
  vertical-align: middle;
  display: inline-block;
  animation: coin-bob 2.4s ease-in-out infinite;
}
.tech-coin:nth-of-type(2) { animation-delay: 0.4s; }
.tech-coin:nth-of-type(3) { animation-delay: 0.8s; }

@keyframes coin-bob {
  0%, 100% { transform: translateY(0);   }
  50%       { transform: translateY(-4px); }
}

/* Technology two-column layout */
.tech-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: center;
  margin-bottom: var(--sp-8);
}

@media (max-width: 768px) {
  .tech-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
}

/* Technology Pillars */
.tech-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin-bottom: 0;
}

.tech-pillar {
  height: 240px;
  perspective: 1000px;
  cursor: pointer;
  border-radius: var(--radius-lg);
}

.tech-pillar__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-lg);
}

.tech-pillar--flipped .tech-pillar__inner {
  transform: rotateY(180deg);
}

.tech-pillar__front,
.tech-pillar__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-neutral-200);
  padding: var(--sp-4) var(--sp-4);
}

.tech-pillar__front {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-white);
  transition: box-shadow var(--tr-base);
}

.tech-pillar:hover .tech-pillar__front {
  box-shadow: var(--shadow-md);
}

.tech-pillar__back {
  background: var(--color-purple-dark);
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: var(--color-purple-dark);
}

.tech-pillar__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--color-purple-10);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-pillar__icon i {
  font-size: 1.4rem;
  color: var(--color-purple);
}

.tech-pillar__front h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-heading);
  margin: 0;
}

.tech-pillar__read-more {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-purple);
  margin-top: var(--sp-3);
}

.tech-pillar__arrow {
  font-size: 0.85rem;
  color: var(--color-purple);
  transition: transform var(--tr-fast);
}

.tech-pillar:hover .tech-pillar__arrow {
  transform: translateX(3px);
}

.tech-pillar__back p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
  margin: 0;
  text-align: center;
}

/* ============================================================
   16. WHO WE SERVE
   ============================================================ */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.serve-card {
  position: relative;
  padding: var(--sp-5) var(--sp-5);
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--tr-base), transform var(--tr-base);
  overflow: hidden;
}

.serve-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--sp-5);
  right: var(--sp-5);
  height: 2px;
  background: linear-gradient(to right, var(--color-purple), var(--color-gold));
  border-radius: 0 0 2px 2px;
  opacity: 0;
  transition: opacity var(--tr-base);
}

.serve-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.09);
  transform: translateY(-3px);
}

.serve-card:hover::before {
  opacity: 1;
}

.serve-card__icon {
  margin-bottom: var(--sp-3);
}

.serve-card__icon i {
  font-size: 1.6rem;
  color: var(--color-purple);
}

.serve-card:nth-child(even) .serve-card__icon i {
  color: var(--color-bronze);
}

.serve-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--sp-2);
  line-height: 1.3;
}

.serve-card__body {
  font-size: var(--text-sm);
  color: var(--color-neutral-500);
  line-height: 1.75;
}

/* ============================================================
   17. WHY FINARTHA
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4) var(--sp-8);
}

.why-item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--color-neutral-200);
}

.why-item:nth-last-child(-n+2) {
  border-bottom: none;
  padding-bottom: 0;
}

.why-item__num {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}

.why-item__content h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--sp-2);
}

.why-item__content p {
  font-size: var(--text-sm);
  color: var(--color-neutral-600);
  line-height: 1.75;
}


/* ============================================================
   18. CONTACT
   ============================================================ */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 620px;
  gap: var(--sp-10);
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding-top: var(--sp-2);
  max-width: 460px;
}

.contact__body {
  font-size: var(--text-md);
  color: var(--color-neutral-600);
  line-height: 1.75;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
}

.contact__detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--color-purple-10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__detail-icon i {
  font-size: 1.2rem;
  color: var(--color-purple);
}

.contact__detail-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-neutral-400);
  margin-bottom: 3px;
}

.contact__detail-value {
  display: block;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-heading);
  transition: color var(--tr-fast);
}

a.contact__detail-value:hover {
  color: var(--color-purple);
}

/* Contact Form */
.contact-form__heading {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--sp-2);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  background: var(--color-neutral-50);
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  min-width: 0;
}

.form-row .form-group {
  min-width: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-neutral-700);
}

.form-label span {
  color: var(--color-magenta);
}

.form-input {
  padding: 12px 16px;
  background: var(--color-white);
  border: 1.5px solid var(--color-neutral-200);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-heading);
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
  outline: none;
}

.form-input::placeholder {
  color: var(--color-neutral-400);
}

.form-input:focus {
  border-color: var(--color-purple);
  box-shadow: 0 0 0 3px rgba(79, 29, 129, 0.1);
}

.form-input--textarea {
  resize: vertical;
  min-height: 140px;
}

.form-input--error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.form-error {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-error);
  min-height: 16px;
}

.form-success {
  display: none;
}

.form-success:not([hidden]) {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3);
  background-color: rgba(79, 29, 129, 0.06);
  border: 1px solid rgba(79, 29, 129, 0.2);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-purple);
}

.form-success i {
  font-size: 1.2rem;
  color: var(--color-gold);
  flex-shrink: 0;
}

/* ============================================================
   19. FOOTER
   ============================================================ */
.footer {
  background-color: var(--color-purple);
  padding-block: var(--sp-8);
  border-top: 4px solid var(--color-gold);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-4);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}

.footer__logo {
  height: 36px;
  width: auto;
}

.footer__tagline {
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.footer__legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: var(--sp-2);
}

.footer__legal-link {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color var(--tr-base);
}

.footer__legal-link:hover {
  color: rgba(255,255,255,0.7);
}

.footer__legal-sep {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.2);
  user-select: none;
}

.legal-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: rgba(30, 30, 40, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9999;
}

.legal-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-1);
}

.footer__link {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--tr-base);
}

.footer__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: linear-gradient(to right, var(--color-purple), var(--color-gold));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--tr-base);
  border-radius: 2px;
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__link:hover::after {
  transform: scaleX(1);
}

.footer__divider {
  width: 48px;
  height: 1px;
  background-color: rgba(255,255,255,0.15);
}

.footer__bottom {
  text-align: center;
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   20. RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: var(--sp-10);
  }

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

  /* Stats: drop to 2 columns at tablet — update dividers to match 2×3 grid */
  .stats-dark__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-dark__inner::after {
    background-image:
      linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.18) 30%, rgba(255,255,255,0.18) 70%, transparent 100%),
      linear-gradient(to right, transparent 0%, rgba(255,255,255,0.18) 20%, rgba(255,255,255,0.18) 80%, transparent 100%),
      linear-gradient(to right, transparent 0%, rgba(255,255,255,0.18) 20%, rgba(255,255,255,0.18) 80%, transparent 100%);
    background-size: 1px 100%, 100% 1px, 100% 1px;
    background-position: 50% 0, 0 33.33%, 0 66.67%;
    background-repeat: no-repeat;
  }

  .tech-pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    gap: var(--sp-6);
  }

  /* About image: reduce height at tablet */
  .about__image {
    height: 480px;
  }

  .zeus-overview__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
  }

  /* Zeus panel: disable sticky scroll-drive on tablet, show all slides stacked */
  .zeus-panel {
    position: static;
    height: auto;
    padding: var(--sp-5) var(--sp-4) var(--sp-4);
    overflow-y: visible;
  }

  .zeus-panel__slides {
    position: static;
    min-height: auto;
    overflow-y: visible;
  }

  .zeus-slide,
  .zeus-slide.is-active,
  .zeus-slide.is-exiting {
    display: block;
    position: static;
    animation: none;
    opacity: 1;
    transform: none;
    padding-bottom: var(--sp-8);
    border-bottom: 1px solid var(--color-neutral-200);
    margin-bottom: var(--sp-8);
  }

  .zeus-slide:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .zeus-panel__nav {
    display: none;
  }

  .zeus-sub__grid {
    grid-template-columns: 1fr 2fr;
    gap: var(--sp-4);
  }

  .zeus-sub__body {
    font-size: var(--text-sm);
    line-height: 1.7;
  }

  .contact__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }

  /* footer is already column-centered, no override needed */
}

/* ============================================================
   20a. RESPONSIVE — LARGE LAPTOP (1281px – 1500px)
   ============================================================ */
@media (min-width: 1281px) and (max-width: 1500px) {
  .zeus-panel__nav {
    padding-top: var(--sp-2);
    padding-bottom: var(--sp-2);
  }
}

/* ============================================================
   20b. RESPONSIVE — LAPTOP (1025px – 1280px)
   ============================================================ */
@media (min-width: 1025px) and (max-width: 1280px) {
  .zeus-panel {
    padding: var(--sp-3) var(--sp-5) var(--sp-2);
    top: 116px;
    height: calc(100vh - 116px);
  }

  .zeus-sub__grid {
    grid-template-columns: 1fr 2fr;
    gap: var(--sp-5);
  }

  .zeus-sub__body {
    font-size: var(--text-sm);
    line-height: 1.7;
  }

  .zeus-sub__intro {
    font-size: var(--text-base);
  }

  .zeus-panel__crumb {
    margin-bottom: var(--sp-4);
  }

  .zeus-panel__nav {
    padding-top: var(--sp-2);
    padding-bottom: var(--sp-2);
  }
}

/* ============================================================
   21. RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: var(--sp-8);
  }

  /* Nav */
  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    /* bottom: 0 doesn't work here — .nav has transform which makes it the
       containing block for fixed children, so bottom: 0 resolves to the
       bottom of the 72px nav box, not the viewport. Use explicit height. */
    height: calc(100svh - var(--nav-height));
    overflow-y: auto;
    background-color: var(--color-purple);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-3) var(--sp-4) var(--sp-4);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    border-top: 1px solid rgba(255,255,255,0.15);
  }

  .nav__links--open {
    display: flex;
  }

  .nav__link {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: var(--text-base);
  }

  .nav__cta {
    margin-left: 0;
    margin-top: var(--sp-2);
    text-align: center;
    justify-content: center;
  }

  .nav__hamburger {
    display: flex;
  }

  /* Restore default nav layout on mobile */
  .nav__inner {
    justify-content: space-between;
  }

  /* Hero: switch to auto height and natural flow on mobile */
  .hero {
    min-height: unset;
    align-items: flex-start;
    padding-top: 0; /* Nav starts hidden on load — no reserved space needed */
  }

  .hero::before {
    bottom: auto;
    top: -120px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    align-items: center;
    padding-top: var(--sp-6);
    padding-bottom: var(--sp-6);
  }

  .hero__text {
    align-items: center;
    text-align: center;
  }

  .hero__headline {
    text-align: center;
  }

  .hero__tagline {
    text-align: center;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    justify-content: center;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Show video below text — full width, no edges */
  .hero__media {
    display: flex;
    height: 280px;
    width: calc(100% + var(--sp-6) * 2);
    margin-left: calc(-1 * var(--sp-6));
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 0;
    margin-top: var(--sp-6);
  }

  .hero__icon-video {
    width: 100%;
    height: 100%;
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
    object-fit: cover;
  }

  .hero__scroll-indicator {
    display: none;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .about__pillars {
    grid-template-columns: 1fr;
  }

  .about__image {
    height: 450px;
    width: 100%;
  }

  .about__image-placeholder {
    min-height: 260px;
  }

  /* Reset values card overlap positioning on mobile */
  .about__values-card {
    margin-top: var(--sp-5);
    margin-left: 0;
    width: 100%;
    min-width: unset;
  }

  /* What We Do */
  .what-we-do__features {
    grid-template-columns: repeat(2, 1fr);
  }

  .what-we-do__bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
  }

  /* Tablet: dark full width (row1), purple+light side-by-side (row2), gold full width (row3) */
  .what-we-do__bento .bento-card--dark   { grid-column: 1 / 3; grid-row: 1; }
  .what-we-do__bento .bento-card--purple { grid-column: 1 / 2; grid-row: 2; }
  .what-we-do__bento .bento-card--light  { grid-column: 2 / 3; grid-row: 2; }
  .what-we-do__bento .bento-card--gold   { grid-column: 1 / 3; grid-row: 3; }

  /* Products */
  .product-pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Zeus */
  .zeus-overview__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .zeus-sub__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  .zeus-sub__header {
    position: static;
  }

  /* Zeus subnav: keep fixed on mobile, show when Zeus section is in view */
  .zeus-subnav {
    top: var(--nav-height);
  }

  /* Zeus panel */
  /* Zeus panel: disable sticky scroll-drive, show all slides stacked */
  .zeus-panel {
    position: static;
    height: auto;
    padding: var(--sp-5) var(--sp-4) var(--sp-4);
  }

  .zeus-panel__slides {
    position: static;
    min-height: auto;
  }

  /* Show all slides stacked — hide prev/next nav (buttons still usable but redundant) */
  .zeus-slide,
  .zeus-slide.is-active,
  .zeus-slide.is-exiting {
    display: block;
    position: static;
    animation: none;
    opacity: 1;
    transform: none;
    padding-bottom: var(--sp-8);
    border-bottom: 1px solid var(--color-neutral-200);
    margin-bottom: var(--sp-8);
  }

  .zeus-slide:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .zeus-panel__crumb {
    margin-bottom: var(--sp-4);
  }

  .zeus-panel__nav {
    display: none;
  }

  /* Product Sections */
  .product-section__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  .product-section--reverse .product-section__inner {
    direction: ltr;
  }

  /* On mobile: always show text first, visual below — reset any order overrides */
  .product-section__inner .product-section__visual,
  .product-section--reverse .product-section__inner .product-section__visual {
    order: 1;
  }

  .product-section__inner .product-section__content,
  .product-section--reverse .product-section__inner .product-section__content {
    order: 0;
  }

  /* Apollo: stack input cards on mobile */
  .apollo-diagram__top {
    flex-direction: column;
    align-items: center;
  }

  .apollo-input-card {
    width: 100%;
  }

  .apollo-diagram__op {
    justify-content: center;
    width: 100%;
  }

  /* Athena: icon on top, text below */
  .athena-visual__capability {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-2);
  }

  /* Vision/Mission pillar cards: icon on top, text below */
  .pillar-card {
    flex-direction: column;
  }

  /* Marketplace: 2×3 grid layout, no floating animation */
  .mkt-collage {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3);
  }

  .mkt-chip,
  .mkt-chip--1,
  .mkt-chip--2,
  .mkt-chip--3,
  .mkt-chip--4,
  .mkt-chip--5,
  .mkt-chip--6 {
    position: static;
    width: 100%;
    height: auto;
    padding: var(--sp-4) var(--sp-3);
    animation: none;
    gap: var(--sp-2);
  }

  .mkt-chip__img {
    width: 52px;
    height: 52px;
  }

  .mkt-chip--5 .mkt-chip__img {
    width: 42px;
    height: 42px;
  }

  /* Aphrodite visual */
  .aphrodite-card {
    width: 90%;
  }

  /* Stats */
  .stats-dark__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Stats dividers on mobile: 1 center vertical + 2 horizontals (2 cols × 3 rows) */
  .stats-dark__inner::after {
    background-image:
      /* Center vertical divider — fade top & bottom */
      linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.18) 30%, rgba(255,255,255,0.18) 70%, transparent 100%),
      /* Horizontal divider between row 1 & 2 */
      linear-gradient(to right, transparent 0%, rgba(255,255,255,0.18) 20%, rgba(255,255,255,0.18) 80%, transparent 100%),
      /* Horizontal divider between row 2 & 3 */
      linear-gradient(to right, transparent 0%, rgba(255,255,255,0.18) 20%, rgba(255,255,255,0.18) 80%, transparent 100%);
    background-size: 1px 100%, 100% 1px, 100% 1px;
    background-position: 50% 0, 0 33.33%, 0 66.67%;
    background-repeat: no-repeat;
  }

  /* Tech pillars */
  .tech-pillars {
    grid-template-columns: 1fr 1fr;
  }

  /* Serve grid */
  .serve-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Why Finartha */
  .why-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-1);
  }

  /* On single column: remove border only from the actual last item */
  .why-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--color-neutral-200);
    padding-bottom: var(--sp-4);
  }

  .why-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Contact */
  .contact__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   22. RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  :root {
    --section-padding: var(--sp-6);
  }

  .container {
    padding-inline: var(--sp-3);
  }

  /* Hero: adjust video bleed for smaller container padding */
  .hero__media {
    width: calc(100% + var(--sp-3) * 2);
    margin-left: calc(-1 * var(--sp-3));
  }

  /* Hero */
  .hero__logo {
    width: 180px;
  }

  .hero__headline {
    font-size: 2rem;
    letter-spacing: -0.01em;
  }

  .hero__tagline {
    font-size: var(--text-base);
  }

  /* Products */
  .product-pillars {
    grid-template-columns: 1fr;
  }

  /* What we do */
  .what-we-do__features {
    grid-template-columns: 1fr;
  }

  .what-we-do__bento {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .what-we-do__bento .bento-card--purple,
  .what-we-do__bento .bento-card--dark,
  .what-we-do__bento .bento-card--light,
  .what-we-do__bento .bento-card--gold {
    grid-column: 1 / 2;
    grid-row: auto;
  }

  /* Stats */
  .stats-dark__inner {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    padding: var(--sp-4) var(--sp-2);
  }

  .stat-item__label {
    letter-spacing: 0.04em;
  }

  .stat-item__number {
    font-size: 1.75rem;
  }

  /* Marketplace: tighten chip padding on small mobile */
  .mkt-chip,
  .mkt-chip--1,
  .mkt-chip--2,
  .mkt-chip--3,
  .mkt-chip--4,
  .mkt-chip--5,
  .mkt-chip--6 {
    padding: var(--sp-3) var(--sp-2);
    font-size: 0.72rem;
  }

  .mkt-chip__img {
    width: 40px;
    height: 40px;
  }

  .mkt-chip--5 .mkt-chip__img {
    width: 32px;
    height: 32px;
  }

  /* Tech pillars */
  .tech-pillars {
    grid-template-columns: 1fr;
  }

  /* Serve grid */
  .serve-grid {
    grid-template-columns: 1fr;
  }

  /* Section title */
  .section-title {
    font-size: 1.6rem;
  }

  /* Zeus panel */
  .zeus-panel {
    padding: var(--sp-4) var(--sp-3) var(--sp-3);
  }

  .zeus-sub__grid {
    gap: var(--sp-3);
  }

  /* Feature list: collapse to 1 column on small screens */
  .feature-list {
    grid-template-columns: 1fr;
  }

  /* Aphrodite visual smaller */
  .aphrodite-card {
    width: 100%;
    align-self: stretch !important;
  }

  /* Why Finartha: tighten number and padding on small screens */
  .why-item {
    padding: var(--sp-3) 0;
    gap: var(--sp-3);
  }

  .why-item__num {
    min-width: 36px;
    font-size: var(--text-xl);
  }
}

/* ============================================================
   23. FOCUS & ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.nav__link:focus-visible {
  outline-color: var(--color-gold);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-2);
  padding: var(--sp-1) var(--sp-3);
  background: var(--color-gold);
  color: var(--color-neutral-900);
  font-weight: 700;
  border-radius: var(--radius-md);
  z-index: 200;
  transition: top var(--tr-fast);
}

.skip-link:focus {
  top: var(--sp-2);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
