/* ============================================
   DESIGN SYSTEM — Raman Solution
   Derived from UI/UX Pro Max intelligence
   Style: Minimalism & Swiss Style
   Palette: Navy + Sky Blue (IoT/B2B hybrid)
   Typography: Space Grotesk + DM Sans
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

/* --- Design Tokens --- */
:root {
  /* Colors — Eye Comfort Soft Palette (Zero Glare, Calming on Eyes) */
  --primary: #0F172A;
  --on-primary: #FFFFFF;
  --secondary: #334155;
  --on-secondary: #FFFFFF;
  --accent: #0EA5E9;
  --accent-hover: #0284C7;
  --accent-light: rgba(14, 165, 233, 0.1);
  --on-accent: #FFFFFF;
  --background: #E8EEF4; /* Soothing soft mist slate — 0% harsh screen glare */
  --foreground: #0F172A;
  --card: #F6F9FD; /* Soft satin pearl — gentle on eyes, never blinding pure white */
  --card-foreground: #0F172A;
  --card-hover: #FFFFFF;
  --muted: #DEE5ED;
  --muted-foreground: #64748B;
  --border: #CBD5E1;
  --border-strong: #94A3B8;
  --success: #10B981;
  --success-light: rgba(16, 185, 129, 0.12);
  --destructive: #EF4444;
  --ring: #0EA5E9;

  /* Typography */
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --text-hero: 72px;
  --lh-hero: 1.05;
  --text-h1: 56px;
  --lh-h1: 1.1;
  --text-h2: 40px;
  --lh-h2: 1.15;
  --text-h3: 28px;
  --lh-h3: 1.25;
  --text-h4: 22px;
  --lh-h4: 1.3;
  --text-body: 17px;
  --lh-body: 1.65;
  --text-small: 14px;
  --lh-small: 1.5;
  --text-label: 12px;
  --lh-label: 1.4;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Layout */
  --max-width: 1200px;
  --gutter: 24px;
  --nav-height: 72px;

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-card-hover: 0 8px 24px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);

  /* Motion */
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
}

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

/* --- Base Typography --- */
body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

/* Strict Mobile Viewport Overflow Protection */
html,
body,
main,
section,
.section,
.container {
  max-width: 100%;
}

@supports (overflow-x: clip) {
  html,
  body,
  main,
  section,
  .section {
    overflow-x: clip;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

p {
  max-width: 68ch;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--accent-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

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

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--primary);
  color: var(--on-primary);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--text-small);
  z-index: 1000;
  transition: top var(--duration-fast) var(--ease-out);
}

.skip-link:focus {
  top: var(--space-sm);
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* --- Section Spacing --- */
.section {
  padding-top: var(--space-5xl);
  padding-bottom: var(--space-5xl);
}

.section--muted {
  background-color: var(--muted);
}

.section--dark {
  background-color: var(--primary);
  color: var(--on-primary);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--on-primary);
}

.section--dark p {
  color: #94A3B8;
}

/* --- Label --- */
.label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-lg);
}

.label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section--dark .label {
  color: var(--accent);
}

/* --- Section Title --- */
.section-title {
  font-size: var(--text-h2);
  line-height: var(--lh-h2);
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--muted-foreground);
  max-width: 56ch;
}

.section--dark .section-subtitle {
  color: #94A3B8;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
}

.btn--primary:hover {
  background: #1E293B;
  color: var(--on-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--accent {
  background: var(--accent);
  color: var(--on-accent);
}

.btn--accent:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border-strong);
}

.btn--outline:hover {
  border-color: var(--foreground);
  color: var(--foreground);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--foreground);
  padding: 14px 16px;
}

.btn--ghost:hover {
  background: var(--muted);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 16px;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(11, 15, 23, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 101;
  transition: box-shadow var(--duration-base) var(--ease-out);
}

.nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: #F8FAFC;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.nav__logo:hover {
  color: #FFFFFF;
}

.nav__logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background-color: #0c0e12;
  border: 1.5px solid rgba(14, 165, 233, 0.45);
  display: block;
  box-shadow: 0 0 14px rgba(14, 165, 233, 0.28), 0 2px 6px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
  filter: none !important;
  -webkit-filter: none !important;
  color-scheme: only light dark !important;
  isolation: isolate;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: #F8FAFC;
  letter-spacing: -0.03em;
}

.nav__logo-mark {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 700;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: #94A3B8; /* Clearly visible light silver */
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: #FFFFFF; /* Pure bright white */
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__actions .btn--primary {
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.4);
  transition: all var(--duration-fast) var(--ease-out);
}

.nav__actions .btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 24px rgba(14, 165, 233, 0.65);
  transform: translateY(-1px);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 0;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--foreground);
  border-radius: 1px;
  transition: all var(--duration-base) var(--ease-out);
  transform-origin: center;
}

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--background);
  padding: var(--space-xl) var(--gutter);
  z-index: 100;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}

.nav__mobile.open {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0);
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  list-style: none;
}

.nav__mobile-link {
  display: block;
  padding: var(--space-md) 0;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color var(--duration-fast) var(--ease-out);
}

.nav__mobile-link:hover {
  color: var(--accent);
}

.nav__mobile-cta {
  margin-top: var(--space-xl);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding-top: calc(var(--nav-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 85% 25%, rgba(14, 165, 233, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 15% 75%, rgba(15, 23, 42, 0.02) 0%, transparent 45%),
              var(--background);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-lg);
  padding: 6px 14px;
  background: var(--accent-light);
  border-radius: var(--radius-full);
  border: 1px solid rgba(14, 165, 233, 0.15);
}

.hero__label .dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-size: var(--text-hero);
  line-height: var(--lh-hero);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.hero__title .accent {
  color: var(--accent);
}

.hero__description {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted-foreground);
  margin-bottom: var(--space-xl);
  max-width: 48ch;
}

.hero__ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border);
}

.hero__stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--foreground);
}

.hero__stat-label {
  font-size: var(--text-small);
  color: var(--muted-foreground);
  margin-top: var(--space-xs);
}

/* Hero Visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.hero__diagram {
  width: 100%;
  max-width: 520px;
  position: relative;
}

/* Technology Ecosystem Visual */
.eco-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.eco-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius-md);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.eco-node:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.eco-node--center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 0 0 8px rgba(15, 23, 42, 0.08), 0 0 0 16px rgba(15, 23, 42, 0.04);
}

.eco-node--center:hover {
  transform: translate(-50%, -50%) scale(1.03);
}

.eco-node--center .eco-node__icon {
  font-size: 28px;
  margin-bottom: 4px;
}

.eco-node--center .eco-node__label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Orbit Ring — dashed path */
.eco-orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78%;
  height: 78%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(14, 165, 233, 0.35);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* Orbit Track — rotates 360 degrees around the center */
.eco-orbit-track {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78%;
  height: 78%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  animation: ecoOrbitRotate 40s linear infinite;
  will-change: transform;
}

/* Individual Slot — exactly centered on the circular path (radius = 50% of track) */
:root {
  --eco-node-size: 100px;
}

.eco-orbit-slot {
  position: absolute;
  width: var(--eco-node-size);
  height: var(--eco-node-size);
  margin-top: calc(var(--eco-node-size) / -2);
  margin-left: calc(var(--eco-node-size) / -2);
  pointer-events: none;
}

/* Exact angular positions on the circle (0, 60, 120, 180, 240, 300 deg) */
.eco-orbit-slot--software   { top: 0%;    left: 50%;   }
.eco-orbit-slot--mobile     { top: 25%;   left: 93.3%; }
.eco-orbit-slot--hardware   { top: 75%;   left: 93.3%; }
.eco-orbit-slot--automation { top: 100%;  left: 50%;   }
.eco-orbit-slot--data       { top: 75%;   left: 6.7%;  }
.eco-orbit-slot--web        { top: 25%;   left: 6.7%;  }

/* Orbit Node Card — counter-rotates so text & icons always stay upright */
.eco-node--orbit {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  height: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
  pointer-events: auto;
  cursor: pointer;
  animation: ecoCounterRotate 40s linear infinite;
  will-change: transform;
  transform-origin: center center;
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
}

.eco-node--orbit .eco-node__icon {
  width: 32px;
  height: 32px;
  margin-bottom: 6px;
  color: var(--accent);
  transition: transform var(--duration-fast) var(--ease-out);
}

.eco-node--orbit:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.35), 0 2px 6px rgba(15, 23, 42, 0.08);
  background: #FFFFFF !important;
  transform: scale(1.08);
}

.eco-node--orbit:hover .eco-node__label {
  color: #0F172A !important;
  font-weight: 700;
}

.eco-node--orbit:hover .eco-node__icon {
  color: var(--accent);
  transform: scale(1.15);
}

/* Center node spark subtle spin */
.eco-node--center .eco-node__icon svg {
  animation: ecoCenterSpin 24s linear infinite;
  display: block;
}

/* Pause orbit animation on hover so user can easily read and click */
.eco-visual:hover .eco-orbit-track,
.eco-visual:hover .eco-node--orbit,
.eco-visual:hover .eco-node--center .eco-node__icon svg {
  animation-play-state: paused;
}

/* Orbit animations */
@keyframes ecoOrbitRotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes ecoCounterRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

@keyframes ecoCenterSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .eco-orbit-track,
  .eco-node--orbit,
  .eco-node--center .eco-node__icon svg {
    animation: none !important;
  }
}

/* ============================================
   PHILOSOPHY / STORY
   ============================================ */
.philosophy {
  background: var(--primary);
  color: var(--on-primary);
}

.philosophy__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.philosophy__title {
  color: var(--on-primary);
}

.philosophy__flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.philosophy__step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 var(--space-md);
}

.philosophy__step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  position: relative;
  z-index: 2;
}

.philosophy__step-icon svg {
  width: 28px;
  height: 28px;
}

.philosophy__step-number {
  font-family: var(--font-mono);
  font-size: var(--text-label);
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.philosophy__step-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--on-primary);
  margin-bottom: var(--space-sm);
}

.philosophy__step-desc {
  font-size: var(--text-small);
  color: #94A3B8;
  line-height: 1.6;
}

/* Connector arrow between steps */
.philosophy__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  padding-top: 18px;
  color: rgba(14, 165, 233, 0.4);
}

.philosophy__connector svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   PRODUCTS OVERVIEW
   ============================================ */
.products__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.product-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out),
              background var(--duration-base) var(--ease-out);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(14, 165, 233, 0.15), 0 4px 12px rgba(15, 23, 42, 0.06);
  border-color: var(--accent);
  background: var(--card-hover, #FFFFFF);
}

.product-card__number {
  font-family: var(--font-mono);
  font-size: var(--text-label);
  color: var(--muted-foreground);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.product-card__icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: var(--space-lg);
}

.product-card__icon svg {
  width: 28px;
  height: 28px;
}

.product-card__title {
  font-size: var(--text-h3);
  margin-bottom: var(--space-sm);
}

.product-card__tagline {
  font-size: var(--text-body);
  color: var(--muted-foreground);
  margin-bottom: var(--space-lg);
}

.product-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.product-card__feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--muted);
  border-radius: var(--radius-full);
  font-size: var(--text-small);
  color: var(--secondary);
}

.product-card__feature svg {
  width: 14px;
  height: 14px;
  color: var(--success);
  flex-shrink: 0;
}

.product-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 500;
  color: var(--accent);
  font-size: 15px;
  transition: gap var(--duration-fast) var(--ease-out);
}

.product-card__cta:hover {
  gap: 12px;
  color: var(--accent-hover);
}

.product-card__cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.product-card__cta:hover svg {
  transform: translateX(2px);
}

/* ============================================
   GYM OS DETAIL
   ============================================ */
.gymos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.gymos__content {
  order: 1;
}

.gymos__visual {
  order: 2;
}

.gymos__problem {
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.gymos__problem-label {
  font-family: var(--font-mono);
  font-size: var(--text-label);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.gymos__problem-text {
  font-size: 15px;
  color: var(--secondary);
  line-height: 1.6;
}

.gymos__features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.gymos__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  transition: background var(--duration-fast) var(--ease-out);
}

.gymos__feature:hover {
  background: var(--muted);
}

.gymos__feature-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.gymos__feature-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--card-foreground);
}

/* Product Card Action Buttons */
.product-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: auto;
  padding-top: var(--space-sm);
  flex-wrap: wrap;
}

.product-card__website-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
}

/* Gym OS Hub Diagram */
.gymos-hub {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  margin: 0 auto;
}

/* Center Node (FIXED: DOES NOT ROTATE, links to gymos.tech) */
.gymos-hub__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 124px;
  height: 124px;
  background: var(--primary);
  border: 1.5px solid rgba(14, 165, 233, 0.4);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--on-primary);
  z-index: 3;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 0 6px rgba(15, 23, 42, 0.12), 0 0 28px rgba(14, 165, 233, 0.28);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
}

.gymos-hub__center:hover {
  transform: translate(-50%, -50%) scale(1.06);
  border-color: var(--accent);
  box-shadow: 0 0 0 8px rgba(14, 165, 233, 0.25), 0 0 38px rgba(14, 165, 233, 0.55);
}

.gymos-hub__center-icon {
  margin-bottom: 2px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gymos-hub__center-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--on-primary);
}

.gymos-hub__center-url {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--accent);
  margin-top: 2px;
  letter-spacing: 0.02em;
}

/* Orbit Ring — dashed circular path */
.gymos-hub__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(14, 165, 233, 0.35);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* Orbit Track — rotates 360 degrees around center */
.gymos-hub__track {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  animation: gymosOrbitRotate 45s linear infinite;
  will-change: transform;
}

/* Individual Slot — exactly centered on circular path (radius = 50% of track) */
:root {
  --gymos-node-size: 82px;
}

.gymos-hub__slot {
  position: absolute;
  width: var(--gymos-node-size);
  height: var(--gymos-node-size);
  margin-top: calc(var(--gymos-node-size) / -2);
  margin-left: calc(var(--gymos-node-size) / -2);
  pointer-events: none;
}

/* Exact angular positions on the circle (every 45 deg: 0, 45, 90, 135, 180, 225, 270, 315) */
.gymos-hub__slot--members    { top: 0%;      left: 50%;     }  /* 0° */
.gymos-hub__slot--payments   { top: 14.64%;  left: 85.36%;  }  /* 45° */
.gymos-hub__slot--attendance { top: 50%;     left: 100%;    }  /* 90° */
.gymos-hub__slot--staff      { top: 85.36%;  left: 85.36%;  }  /* 135° */
.gymos-hub__slot--finance    { top: 100%;    left: 50%;     }  /* 180° */
.gymos-hub__slot--reports    { top: 85.36%;  left: 14.64%;  }  /* 225° */
.gymos-hub__slot--workouts   { top: 50%;     left: 0%;      }  /* 270° */
.gymos-hub__slot--renewals   { top: 14.64%;  left: 14.64%;  }  /* 315° */

/* Orbit Node Card — counter-rotates so text & icons always stay upright */
.gymos-hub__node {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  height: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  pointer-events: auto;
  cursor: pointer;
  animation: gymosCounterRotate 45s linear infinite;
  will-change: transform;
  transform-origin: center center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
}

.gymos-hub__node:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.35), 0 2px 6px rgba(15, 23, 42, 0.08);
  background: #FFFFFF !important;
  transform: scale(1.08);
}

.gymos-hub__node:hover .gymos-hub__node-label {
  color: #0F172A !important;
  font-weight: 700;
}

.gymos-hub__node-icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin-bottom: 3px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.gymos-hub__node:hover .gymos-hub__node-icon {
  color: var(--accent);
  transform: scale(1.15);
}

.gymos-hub__node-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.02em;
}

/* Pause animation on hover */
.gymos-hub:hover .gymos-hub__track,
.gymos-hub:hover .gymos-hub__node {
  animation-play-state: paused;
}

@keyframes gymosOrbitRotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes gymosCounterRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gymos-hub__track,
  .gymos-hub__node {
    animation: none !important;
  }
}

/* ============================================
   BUILDING MAINTENANCE DETAIL
   ============================================ */
.building__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.building__visual {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
}

/* Vertical Flow Diagram */
.flow-diagram {
  max-width: 360px;
  margin: 0 auto;
}

.flow-node {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
}

.flow-node:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.flow-node__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.flow-node__icon svg {
  width: 22px;
  height: 22px;
}

.flow-node--highlight {
  border-color: var(--accent);
  background: var(--accent-light);
}

.flow-node--highlight .flow-node__icon {
  background: var(--accent);
  color: var(--on-accent);
}

.flow-node__content {
  flex: 1;
  min-width: 0;
}

.flow-node__label {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--card-foreground);
}

.flow-node__desc {
  font-size: 13px;
  color: var(--muted-foreground);
  margin-top: 2px;
}

.flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  color: var(--border-strong);
}

.flow-connector svg {
  width: 16px;
  height: 16px;
}

.flow-connector--bidirectional {
  color: var(--accent);
}

/* Building features */
.building__capabilities {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.capability-card {
  padding: var(--space-lg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--duration-base) var(--ease-out);
}

.capability-card:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.capability-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.capability-card__icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.capability-card__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
}

.capability-card__desc {
  font-size: var(--text-small);
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* 3-second restoration visual */
.restoration-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--success-light);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-full);
  margin-top: var(--space-lg);
}

.restoration-badge__value {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--success);
}

.restoration-badge__label {
  font-size: var(--text-small);
  color: var(--secondary);
}

/* ============================================
   TEAM
   ============================================ */
#team {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.team__intro {
  max-width: 640px;
  margin-bottom: var(--space-xl);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
}

.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-strong);
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #0F172A;
  position: relative;
  overflow: hidden;
}

.team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
}

.team-card:hover .team-card__img {
  transform: scale(1.03);
}

.team-card__info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 2px;
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--card-foreground);
  letter-spacing: -0.02em;
}

.team-card__badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(14, 165, 233, 0.25);
  white-space: nowrap;
}

.team-card__role {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
  line-height: 1.3;
}

.team-card__bio {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted-foreground);
  margin-bottom: 8px;
}

.team-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
  padding-top: 4px;
}

.team-card__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  background: var(--muted);
  color: var(--secondary);
  border: 1px solid var(--border);
}

/* Team disciplines */
.team__disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
  justify-content: center;
}

.discipline-tag {
  padding: 8px 16px;
  background: var(--muted);
  border-radius: var(--radius-full);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--secondary);
  border: 1px solid var(--border);
}

/* ============================================
   ABOUT / MISSION
   ============================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about__quote {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  line-height: var(--lh-h3);
  color: var(--foreground);
  margin-bottom: var(--space-xl);
  position: relative;
  padding-left: var(--space-lg);
  border-left: 3px solid var(--accent);
}

.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.about__value {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
}

.about__value-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.about__value-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--card-foreground);
}

/* Mission statement visual */
.about__visual {
  padding: var(--space-2xl);
  background: var(--muted);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.about__visual-title {
  font-family: var(--font-mono);
  font-size: var(--text-label);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
}

.about__pillars {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about__pillar {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.about__pillar-number {
  font-family: var(--font-mono);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
  width: 28px;
}

.about__pillar-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--card-foreground);
}

/* ============================================
   CONTACT
   ============================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-2xl);
  align-items: stretch;
}

/* Matching Left Info Card */
.contact__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact__card-header {
  margin-bottom: var(--space-xl);
}

.contact__card-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--card-foreground);
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
}

.contact__card-desc {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.contact__info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact__info-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--accent-light);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact__info-icon svg {
  width: 20px;
  height: 20px;
}

.contact__info-label {
  font-family: var(--font-mono);
  font-size: var(--text-label);
  color: var(--muted-foreground);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact__info-value {
  font-size: 15px;
  color: var(--card-foreground);
  font-weight: 600;
}

.contact__info-value a {
  color: var(--card-foreground);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.contact__info-value a:hover {
  color: var(--accent);
}

.contact__notice {
  margin-top: auto;
  padding: var(--space-md) var(--space-lg);
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.contact__notice-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 4px;
}

.contact__notice p {
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* Form (Right Card) */
.contact__form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--card-foreground);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--foreground);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-foreground);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

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

.form-submit {
  width: 100%;
  margin-top: var(--space-sm);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary);
  color: #94A3B8;
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--on-primary);
  margin-bottom: var(--space-md);
  text-decoration: none;
}

.footer__logo:hover {
  color: var(--on-primary);
}

.footer__logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  background-color: #0c0e12;
  border: 1.5px solid rgba(14, 165, 233, 0.45);
  display: block;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.25);
  filter: none !important;
  -webkit-filter: none !important;
  color-scheme: only light dark !important;
  isolation: isolate;
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--on-primary);
  letter-spacing: -0.02em;
}

.footer__logo-mark {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-accent);
  font-size: 12px;
  font-weight: 700;
}

.footer__desc {
  font-size: var(--text-small);
  line-height: 1.6;
  color: #64748B;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--on-primary);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-md);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: var(--text-small);
  color: #64748B;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

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

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-small);
  color: #475569;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 60ms; }
.reveal-delay-2 { transition-delay: 120ms; }
.reveal-delay-3 { transition-delay: 180ms; }
.reveal-delay-4 { transition-delay: 240ms; }
.reveal-delay-5 { transition-delay: 300ms; }
.reveal-delay-6 { transition-delay: 360ms; }

/* ============================================
   RESPONSIVE — Tablet (≤1024px)
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --text-hero: 52px;
    --text-h1: 42px;
    --text-h2: 32px;
    --text-h3: 24px;
    --space-5xl: 96px;
    --space-4xl: 72px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .hero__visual {
    min-height: 360px;
  }

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

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

  .gymos__visual {
    order: 1;
  }

  .gymos__content {
    order: 2;
  }

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

  .building__visual {
    position: static;
  }

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

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

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

  .team__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 900px;
  }

  .philosophy__flow {
    flex-wrap: wrap;
    gap: var(--space-xl);
    justify-content: center;
  }

  .philosophy__step {
    flex: 0 0 calc(33% - var(--space-lg));
    min-width: 160px;
  }

  .philosophy__connector {
    display: none;
  }
}

/* ============================================
   RESPONSIVE — Mobile (≤768px)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --text-hero: 40px;
    --text-h1: 36px;
    --text-h2: 28px;
    --text-h3: 22px;
    --text-h4: 18px;
    --text-body: 16px;
    --gutter: 16px;
    --space-5xl: 80px;
    --space-4xl: 56px;
    --space-3xl: 48px;
  }

  .nav__links,
  .nav__actions .btn--primary {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
    overflow: hidden;
  }

  .hero__description {
    font-size: 17px;
  }

  .hero__stats {
    gap: var(--space-lg);
  }

  .hero__stat-value {
    font-size: 22px;
  }

  .hero__visual {
    min-height: 280px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero__diagram {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  :root {
    --eco-node-size: 72px;
  }

  .eco-orbit-slot {
    width: 72px;
    height: 72px;
    margin-top: -36px;
    margin-left: -36px;
  }

  .eco-node--orbit {
    width: 100%;
    height: 100%;
  }

  .eco-node--center {
    width: 98px;
    height: 98px;
  }

  .eco-node--center .eco-node__label {
    font-size: 11px;
  }

  .eco-node--orbit .eco-node__icon {
    width: 24px;
    height: 24px;
    margin-bottom: 3px;
  }

  .eco-node--orbit .eco-node__label {
    font-size: 10.5px;
  }

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

  .gymos__visual {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }

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

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

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .philosophy__flow {
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    width: 100%;
    max-width: 100%;
  }

  .philosophy__step {
    flex: none;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  :root {
    --gymos-node-size: 58px;
  }

  .gymos-hub {
    width: 100%;
    max-width: 290px;
    margin: 0 auto;
  }

  .gymos-hub__slot {
    width: 58px;
    height: 58px;
    margin-top: -29px;
    margin-left: -29px;
  }

  .gymos-hub__node {
    width: 100%;
    height: 100%;
  }

  .gymos-hub__center {
    width: 92px;
    height: 92px;
  }

  .gymos-hub__center-label {
    font-size: 11px;
  }

  .gymos-hub__center-url {
    font-size: 8px;
  }

  .gymos-hub__node-icon {
    width: 16px;
    height: 16px;
    margin-bottom: 2px;
  }

  .gymos-hub__node-label {
    font-size: 8px;
  }
}

/* ============================================
   RESPONSIVE — Small Mobile (≤480px)
   ============================================ */
@media (max-width: 480px) {
  :root {
    --text-hero: 32px;
    --text-h2: 24px;
    --text-h3: 20px;
  }

  .hero__ctas {
    flex-direction: column;
  }

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

  .hero__stats {
    flex-direction: column;
    gap: var(--space-md);
  }

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

  .hero__diagram {
    max-width: 270px;
  }

  :root {
    --eco-node-size: 60px;
  }

  .eco-orbit-slot {
    width: 60px;
    height: 60px;
    margin-top: -30px;
    margin-left: -30px;
  }

  .eco-node--center {
    width: 82px;
    height: 82px;
  }

  .eco-node--center .eco-node__label {
    font-size: 10px;
  }

  .eco-node--orbit .eco-node__label {
    font-size: 9px;
  }

  .eco-node--orbit .eco-node__icon {
    width: 20px;
    height: 20px;
    margin-bottom: 2px;
  }

  .eco-visual {
    transform: none;
    margin: 0 auto;
  }

  :root {
    --gymos-node-size: 48px;
  }

  .gymos-hub {
    max-width: 250px;
    margin: 0 auto;
  }

  .gymos-hub__slot {
    width: 48px;
    height: 48px;
    margin-top: -24px;
    margin-left: -24px;
  }

  .gymos-hub__center {
    width: 80px;
    height: 80px;
  }

  .gymos-hub__center-label {
    font-size: 9.5px;
  }

  .gymos-hub__center-url {
    font-size: 7px;
  }

  .gymos-hub__node-icon {
    width: 14px;
    height: 14px;
    margin-bottom: 1px;
  }

  .gymos-hub__node-label {
    font-size: 7px;
  }
}
