/* ==========================================================================
   MEYYARIVAN — Pure Custom CSS (Zero Frameworks / Zero Framer)
   Dark Luxury Editorial Design System
   ========================================================================== */

:root {
  --bg: #050814;
  --bg-2: #0a1024;
  --bg-3: #0d1430;
  --surface: rgba(13, 20, 48, 0.55);
  --line: rgba(148, 178, 255, 0.10);
  --line-strong: rgba(148, 178, 255, 0.18);
  --text: #eef2ff;
  --text-2: #a3adc8;
  --text-3: #6f7a9a;
  --cyan: #3ee6ff;
  --blue: #3b82f6;
  --danger: #ff8a9b;
  --success: #5ef2c4;
  --font-display: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

p {
  margin: 0;
}

/* Accessibility skip link */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #050814;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* Shared Typography Utilities */
.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}

.gradient-text {
  background: linear-gradient(100deg, #ffffff 0%, #bff6ff 35%, var(--cyan) 65%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Signature MEYY[AI]RIVAN Highlight */
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.brand-ai {
  background: linear-gradient(110deg, #e0fcff 0%, var(--cyan) 50%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  filter: drop-shadow(0 0 8px rgba(62, 230, 255, 0.35));
}

.email-link {
  color: var(--text);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(148, 178, 255, 0.32);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease, opacity 0.2s ease;
}

.email-link:hover {
  text-decoration-color: var(--cyan);
}

.section {
  position: relative;
  padding: 128px 0;
  background: var(--bg);
}

.section-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}

.section-head h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.section-intro {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.65;
  max-width: 460px;
  justify-self: end;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.btn svg {
  transition: transform 0.25s var(--ease);
}

.btn-primary {
  background: #ffffff;
  color: #050814;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -6px rgba(62, 230, 255, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-ghost {
  background: rgba(13, 20, 48, 0.5);
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: rgba(20, 32, 72, 0.8);
  border-color: rgba(62, 230, 255, 0.45);
  transform: translateY(-1px);
}

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

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.header.is-scrolled {
  background: rgba(5, 8, 20, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}
.brand:hover {
  opacity: 0.92;
}

.brand-wordmark {
  height: 36px;
  width: auto;
}

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

.nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 2px;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="true"] {
  color: var(--text);
}

.nav a[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--cyan), 0 0 4px #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(13, 20, 48, 0.6);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  width: 18px;
  height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3.3px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3.3px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 95;
  background: rgba(5, 8, 20, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-strong);
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.mobile-nav.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav a.mobile-link {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-2);
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease;
}

.mobile-nav a.mobile-link:hover {
  color: var(--text);
}

.mobile-nav .btn-primary {
  margin-top: 16px;
  width: 100%;
}

/* ==========================================================================
   SECTION 1 — HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-h) + 74px);
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 68% 58% at 50% 34%, #000 0%, rgba(0, 0, 0, 0.45) 48%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 68% 58% at 50% 34%, #000 0%, rgba(0, 0, 0, 0.45) 48%, transparent 82%);
}

.hero-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.22) 0%, rgba(62, 230, 255, 0.09) 35%, transparent 70%);
  filter: blur(40px);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(13, 20, 48, 0.65);
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 34px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan), 0 0 20px rgba(62, 230, 255, 0.6);
  animation: pulse-dot 2.8s ease-in-out infinite;
}

.eyebrow strong {
  color: var(--text);
  font-weight: 500;
}

.eyebrow .sep {
  color: var(--text-3);
}

.hero h1 {
  font-size: clamp(44px, 8vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin-bottom: 28px;
}

.lede {
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.62;
  color: var(--text-2);
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Orbital Horizon */
.orbit-wrap {
  position: relative;
  width: 100%;
  height: 290px;
  margin-top: 44px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.horizon {
  position: absolute;
  bottom: -755px;
  left: 50%;
  transform: translateX(-50%);
  width: 1500px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 8%, rgba(59, 130, 246, 0.22) 0%, rgba(10, 16, 36, 0.92) 32%, var(--bg) 62%);
  border-top: 1px solid rgba(62, 230, 255, 0.55);
  box-shadow:
    0 -24px 90px -10px rgba(62, 230, 255, 0.24),
    0 -6px 36px -4px rgba(59, 130, 246, 0.35),
    inset 0 18px 60px -20px rgba(62, 230, 255, 0.2);
}

.orbit {
  position: absolute;
  bottom: -440px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  pointer-events: none;
  opacity: 0.92;
}

.orbit-ring-cw {
  transform-origin: 360px 360px;
  animation: spin-cw 140s linear infinite;
}

.orbit-ring-ccw {
  transform-origin: 360px 360px;
  animation: spin-ccw 200s linear infinite;
}

.orbit-node-pulse {
  animation: pulse-node 3.4s ease-in-out infinite;
}

.hero-signature {
  position: relative;
  z-index: 3;
  padding-bottom: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-3);
}

.hero-signature .sig-dot {
  color: rgba(62, 230, 255, 0.5);
}

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

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.88); }
}

@keyframes pulse-node {
  0%, 100% { opacity: 0.95; }
  50% { opacity: 0.35; }
}

/* ==========================================================================
   SECTION 2 — OUR PRINCIPLES (PILLARS)
   ========================================================================== */
.pillars {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(5, 8, 20, 0.42);
}

.card {
  position: relative;
  padding: 40px 36px 44px;
  display: flex;
  flex-direction: column;
  transition: background 0.35s var(--ease);
}

.card + .card {
  border-left: 1px solid var(--line);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.card:hover {
  background: rgba(13, 20, 48, 0.55);
}

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

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
}

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(13, 20, 48, 0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover .icon-box,
.sol-card:hover .icon-box {
  border-color: rgba(62, 230, 255, 0.42);
  box-shadow: 0 0 24px -6px rgba(62, 230, 255, 0.35);
}

.num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.06em;
}

.card-label {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}

.card h3 {
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-2);
}

/* ==========================================================================
   SECTION 3 — SOLUTIONS
   ========================================================================== */
.solutions-primary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}

.sol-card {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 20, 48, 0.65) 0%, rgba(7, 11, 26, 0.85) 100%);
  padding: 32px 30px 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 370px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.sol-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.sol-card::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16) 0%, rgba(62, 230, 255, 0.04) 45%, transparent 70%);
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
  pointer-events: none;
}

.sol-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 56px -24px rgba(0, 0, 0, 0.75);
}

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

.sol-card:hover::after {
  transform: scale(1.22);
}

.sol-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: auto;
  padding-bottom: 52px;
}

.core-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(62, 230, 255, 0.22);
  background: rgba(62, 230, 255, 0.05);
}

.sol-card-body {
  position: relative;
  z-index: 1;
}

.sol-card .num {
  display: block;
  margin-bottom: 10px;
}

.sol-card h3 {
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.sol-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-2);
}

/* Supporting Services */
.solutions-secondary-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.solutions-secondary-head span {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}

.solutions-secondary-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.sol-rows {
  display: flex;
  flex-direction: column;
}

.sol-row {
  display: grid;
  grid-template-columns: 56px minmax(220px, 0.9fr) minmax(0, 1.35fr) 44px;
  align-items: center;
  gap: 24px;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
  border-radius: 12px;
  transition: background 0.28s var(--ease), padding 0.28s var(--ease);
}

.sol-row:hover {
  background: rgba(13, 20, 48, 0.45);
  padding-left: 16px;
  padding-right: 16px;
}

.sol-row h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.sol-row p {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--text-2);
}

.icon-box-sm {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(13, 20, 48, 0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

/* ==========================================================================
   SECTION 4 — PRIVACY-FIRST DIFFERENCE
   ========================================================================== */
.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
  margin-bottom: 92px;
}

.privacy-copy h2 {
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin-bottom: 26px;
}

.privacy-copy p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 18px;
  max-width: 520px;
}

.privacy-copy p:last-child {
  margin-bottom: 0;
}

/* Deployment Options Panel */
.deploy-panel {
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(13, 20, 48, 0.85) 0%, rgba(8, 13, 30, 0.92) 100%);
  box-shadow: 0 32px 90px -24px rgba(34, 88, 224, 0.35), 0 0 0 1px rgba(62, 230, 255, 0.05);
  overflow: hidden;
}

.deploy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.deploy-head span {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(148, 178, 255, 0.2);
  display: block;
}

.deploy-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.deploy-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease;
}

.deploy-list li:hover {
  background: rgba(62, 230, 255, 0.04);
}

.deploy-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(5, 8, 20, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.deploy-list li:hover .deploy-icon {
  color: var(--cyan);
  border-color: rgba(62, 230, 255, 0.35);
}

.deploy-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.deploy-list small {
  display: block;
  font-size: 13px;
  color: var(--text-3);
}

.meter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.meter span {
  width: 3.5px;
  height: 15px;
  border-radius: 2px;
  background: rgba(148, 178, 255, 0.16);
}

.meter span.on {
  background: linear-gradient(180deg, #bff6ff 0%, var(--cyan) 55%, var(--blue) 100%);
  box-shadow: 0 0 10px rgba(62, 230, 255, 0.55);
}

.deploy-foot {
  padding: 16px 24px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-3);
  background: rgba(5, 8, 20, 0.35);
}

/* 3-Column Principles Row */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 108px;
}

.principle {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.principle::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  box-shadow: 0 0 12px rgba(62, 230, 255, 0.55);
}

.principle h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.principle p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-2);
}

/* Centered 3-Line Statement */
.statement {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.04em;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.statement span:nth-child(1) { color: var(--text); }
.statement span:nth-child(2) { color: var(--text-2); }
.statement span:nth-child(3) { color: var(--text-3); }

/* ==========================================================================
   SECTION 5 — OUR APPROACH (4-STEP TIMELINE)
   ========================================================================== */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 16px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px;
  right: 120px;
  height: 1px;
  background: linear-gradient(90deg, rgba(62, 230, 255, 0.7) 0%, rgba(148, 178, 255, 0.22) 38%, rgba(148, 178, 255, 0.08) 100%);
  z-index: 0;
}

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

.step-node {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 28px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.step:first-child .step-node,
.step:hover .step-node {
  border-color: rgba(62, 230, 255, 0.7);
  color: var(--text);
  box-shadow: 0 0 28px -2px rgba(62, 230, 255, 0.45), inset 0 0 14px rgba(62, 230, 255, 0.14);
}

.step:hover .step-node {
  transform: scale(1.06);
}

.step h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.step p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-2);
}

/* ==========================================================================
   SECTION 6 — ABOUT MEYYARIVAN
   ========================================================================== */
.about-top {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: start;
  margin-bottom: 80px;
}

.about-left h2 {
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin-bottom: 34px;
}

/* Brand Emblem Showcase Card */
.about-logo {
  margin: 0;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: radial-gradient(ellipse 75% 65% at 50% 42%, rgba(28, 66, 150, 0.34) 0%, #060b1d 55%, #030612 100%);
  padding: 40px 28px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 28px 70px -24px rgba(32, 85, 224, 0.38);
  position: relative;
  overflow: hidden;
}

.about-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(62, 230, 255, 0.14), transparent 60%);
  pointer-events: none;
}

.about-logo svg {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  height: auto;
}

.about-copy {
  padding-top: 38px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-copy p {
  font-size: 16px;
  line-height: 1.72;
  color: var(--text-2);
}

.about-copy p.strong {
  font-size: 19px;
  line-height: 1.58;
  color: var(--text);
  font-weight: 500;
}

/* Values Stack */
.values {
  border-top: 1px solid var(--line);
  margin-bottom: 56px;
}

.value-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.value-row h3 {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.035em;
  line-height: 1;
}

.value-row h3 em {
  font-style: normal;
  color: var(--cyan);
}

.value-row p {
  font-size: 16px;
  color: var(--text-2);
}

.signoff {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.signoff p {
  font-size: 15px;
  color: var(--text-2);
  max-width: 520px;
}

.signoff strong {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* ==========================================================================
   SECTION 7 — CONTACT PANEL
   ========================================================================== */
.contact {
  padding: 112px 0;
  background: var(--bg);
}

.contact-panel {
  position: relative;
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(155deg, rgba(16, 26, 62, 0.72) 0%, rgba(7, 11, 26, 0.92) 48%, rgba(5, 8, 20, 0.98) 100%);
  padding: 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  top: -160px;
  left: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.24) 0%, rgba(62, 230, 255, 0.08) 40%, transparent 70%);
  pointer-events: none;
}

.contact-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 178, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 178, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 65% 65% at 15% 15%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 65% 65% at 15% 15%, #000 0%, transparent 72%);
  pointer-events: none;
}

.contact-copy,
.contact-form {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.contact-copy p {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--text-2);
  margin-bottom: 16px;
}

.talk {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 26px;
}

.contact-address {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-address .pin-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(5, 8, 20, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}

.contact-address strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.contact-address address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}

.field label .opt {
  color: var(--text-3);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(5, 8, 20, 0.72);
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-3);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(62, 230, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(62, 230, 255, 0.12);
  background: rgba(5, 8, 20, 0.92);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  cursor: pointer;
  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='%23A3ADC8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.field select option {
  background: #0a1024;
  color: var(--text);
}

.field textarea {
  min-height: 124px;
  resize: vertical;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--danger);
}

.field-error {
  font-size: 12px;
  color: var(--danger);
  min-height: 0;
  display: none;
}

.field.invalid .field-error {
  display: block;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-2);
  margin-top: 4px;
}

.consent-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--cyan);
  border-radius: 5px;
  cursor: pointer;
  flex-shrink: 0;
}

.consent-row a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note {
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.55;
}

.form-actions {
  margin-top: 6px;
}

.form-status {
  font-size: 13.5px;
  line-height: 1.5;
  padding: 12px 16px;
  border-radius: 12px;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: rgba(94, 242, 196, 0.1);
  border: 1px solid rgba(94, 242, 196, 0.35);
  color: var(--success);
}

.form-status.error {
  background: rgba(255, 138, 155, 0.1);
  border: 1px solid rgba(255, 138, 155, 0.35);
  color: var(--danger);
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(5, 8, 20, 0.25);
  border-top-color: #050814;
  border-radius: 50%;
  animation: spin-cw 0.7s linear infinite;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 76px 0 38px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.footer-brand .brand-wordmark {
  height: 46px;
  margin-bottom: 18px;
}

.footer-tagline {
  font-size: 14.5px;
  color: var(--text-2);
  margin-bottom: 10px;
}

.footer-scope {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-3);
  max-width: 300px;
}

.footer-col h4 {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a,
.footer-col li {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-3);
}

/* ==========================================================================
   LEGAL SUBPAGES (privacy.html, terms.html)
   ========================================================================== */
.legal-main {
  padding: calc(var(--header-h) + 64px) 0 112px;
}

.legal {
  max-width: 820px;
  margin: 0 auto;
}

.legal h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.legal-meta {
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 28px;
}

.draft-note {
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
  color: #fde68a;
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 36px 0 12px;
}

.legal p, .legal li {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--text-2);
  margin-bottom: 14px;
}

.legal ul {
  padding-left: 20px;
  margin-bottom: 18px;
}

.legal a.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--cyan);
  margin-bottom: 28px;
}

/* ==========================================================================
   ENTRANCE & SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-enter 0.8s var(--ease) forwards;
}

.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.14s; }
.d3 { animation-delay: 0.24s; }
.d4 { animation-delay: 0.34s; }
.d5 { animation-delay: 0.48s; }

@keyframes hero-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.js .fade {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .js .fade {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .solutions-primary {
    grid-template-columns: repeat(2, 1fr);
  }
  .solutions-primary .sol-card:last-child {
    grid-column: 1 / -1;
    min-height: auto;
  }
}

@media (max-width: 960px) {
  .nav,
  .header-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .section {
    padding: 92px 0;
  }
  .section-head,
  .privacy-grid,
  .about-top,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .section-intro {
    justify-self: start;
    max-width: none;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card + .card {
    border-left: none;
    border-top: 1px solid var(--line);
  }
  .card-top {
    margin-bottom: 32px;
  }
  .sol-row {
    grid-template-columns: 44px minmax(180px, 1fr);
    gap: 10px 18px;
  }
  .sol-row p {
    grid-column: 2;
  }
  .sol-row .icon-box-sm {
    display: none;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 72px;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps::before {
    display: none;
  }
  .about-copy {
    padding-top: 0;
  }
  .value-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contact-panel {
    padding: 40px 30px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }
  .hero {
    padding-top: calc(var(--header-h) + 46px);
  }
  .hero-actions {
    width: 100%;
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .solutions-primary,
  .steps,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .orbit-wrap {
    height: 220px;
  }
  .contact-panel {
    padding: 32px 22px;
    border-radius: 22px;
  }
}
