/* ==========================================================================
   ALANYA SKYLIGHT LLC — Shared Design System
   Prismatic dawn skylight × cloud engineering command center
   Vanilla CSS3 only. Fonts: Unbounded (display) / Onest (body)
   ========================================================================== */

:root {
  --bg: #080B18;
  --surface: #0F1428;
  --layer: #161C36;
  --primary: #FF6B8A;
  --accent: #4ED8E0;
  --accent2: #A57BFF;
  --gold: #FFC96B;
  --glow: rgba(255, 107, 138, 0.30);
  --glow-teal: rgba(78, 216, 224, 0.28);
  --text: #A9B4D6;
  --heading: #EAF0FF;
  --border: #212A4A;
  --prism: rgba(165, 123, 255, 0.08);
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Onest', sans-serif;
  --radius: 14px;
  --ease-out: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  animation: pageIn .4s ease both;
}

@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); }
ul { list-style: none; }
button { font-family: inherit; }

::selection { background: rgba(255, 107, 138, .35); color: var(--heading); }

/* ---------- Layout utilities ---------- */
.container { width: min(1180px, 92%); margin-inline: auto; }
.section { position: relative; padding: 110px 0; }
.section.tight { padding: 80px 0; }
.perspective { perspective: 1400px; }
.alt-bg { background: linear-gradient(180deg, var(--bg), #0A0E20 50%, var(--bg)); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.18;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .38em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.sec-head { max-width: 720px; margin-bottom: 60px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow::before { display: none; }
.sec-title { font-size: clamp(28px, 3.6vw, 46px); font-weight: 700; margin-top: 18px; }
.sec-sub { margin-top: 18px; font-size: 16.5px; max-width: 60ch; }
.sec-head.center .sec-sub { margin-inline: auto; }

.rule {
  width: 72px;
  height: 3px;
  margin-top: 22px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s var(--ease-out);
}
.rule.in { transform: scaleX(1); }
.sec-head.center .rule { margin-inline: auto; transform-origin: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .04em;
  padding: 15px 30px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s, border-color .25s, color .25s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: #18060D; }
.btn-primary:hover { box-shadow: 0 0 28px var(--glow-teal), 0 0 14px var(--glow); transform: translateY(-2px); }
.btn-outline { border-color: rgba(78, 216, 224, .5); color: var(--accent); background: rgba(78, 216, 224, .05); }
.btn-outline:hover { background: rgba(78, 216, 224, .12); box-shadow: 0 0 24px var(--glow-teal); transform: translateY(-2px); }

/* ---------- Background FX: prismatic rays + light motes ---------- */
.rays { position: absolute; inset: -20% 0; pointer-events: none; overflow: hidden; }
.ray {
  position: absolute;
  top: -30%;
  height: 160%;
  width: 140px;
  transform: rotate(22deg);
  background: linear-gradient(180deg, rgba(255,107,138,.9), rgba(78,216,224,.7) 50%, rgba(165,123,255,.9));
  opacity: .04;
  filter: blur(6px);
  animation: rayPulse 5s ease-in-out infinite alternate;
}
.ray:nth-child(1) { left: 6%; }
.ray:nth-child(2) { left: 26%; width: 90px; animation-delay: 1s; }
.ray:nth-child(3) { left: 46%; width: 190px; animation-delay: 2s; }
.ray:nth-child(4) { left: 66%; animation-delay: .6s; }
.ray:nth-child(5) { left: 86%; width: 110px; animation-delay: 1.6s; }
@keyframes rayPulse { from { opacity: .02; } to { opacity: .06; } }

.motes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.mote {
  position: absolute;
  bottom: -14px;
  border-radius: 50%;
  filter: blur(1.5px);
  opacity: 0;
  animation: moteRise linear infinite;
}
@keyframes moteRise {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(-108vh); opacity: 0; }
}

.orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
  background: rgba(8, 11, 24, 0.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255, 107, 138, .35), 0 12px 40px rgba(0, 0, 0, .5);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-glyph {
  width: 20px; height: 20px;
  flex: none;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 4px;
  box-shadow: 0 0 14px var(--glow-teal);
  position: relative;
}
.brand-glyph::after { content: ''; position: absolute; inset: 5px; background: var(--bg); border-radius: 2px; }
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .12em; color: var(--heading); white-space: nowrap; }
.brand-text em { font-style: normal; color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--text);
  text-decoration: none;
  transition: color .25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav-link:hover { color: var(--heading); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--heading); }
.nav-link .fa-chevron-down { font-size: 9px; transition: transform .3s; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  background: rgba(15, 20, 40, .97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .28s var(--ease-out);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .fa-chevron-down, .has-dropdown:focus-within .fa-chevron-down { transform: rotate(180deg); }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 13.5px;
  transition: all .2s;
}
.dropdown a i { color: var(--accent); font-size: 12px; width: 16px; text-align: center; }
.dropdown a:hover { background: rgba(78, 216, 224, .08); color: var(--accent); }

.nav-cta { padding: 12px 22px; font-size: 13.5px; flex: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 11px;
}
.nav-toggle span { display: block; height: 2px; background: var(--primary); border-radius: 2px; transition: all .3s var(--ease-out); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
  perspective: 1100px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 72% 18%, rgba(165, 123, 255, .10), transparent 60%),
    radial-gradient(50% 42% at 18% 82%, rgba(78, 216, 224, .07), transparent 60%),
    var(--bg);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero-title { font-weight: 800; font-size: clamp(40px, 6vw, 82px); line-height: 1.06; letter-spacing: -.01em; margin-top: 26px; }
.hero-title .line { display: block; }
.hero-title .line.coral { color: var(--primary); }
.hero-title .line.teal { color: var(--accent); }
.hero-sub { margin-top: 26px; font-size: 17px; max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

/* Prism cluster (home hero) */
.prism-scene { position: relative; height: 480px; perspective: 1100px; }
.prism-cluster {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  animation: sway 9s ease-in-out infinite alternate;
}
@keyframes sway { from { transform: rotateY(-5deg) rotateX(4deg); } to { transform: rotateY(5deg) rotateX(-2deg); } }
.prism-panel {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(78, 216, 224, .25);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,107,138,.14), rgba(78,216,224,.10) 45%, rgba(165,123,255,.14));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: floatZ 4.5s ease-in-out infinite, panelGlow 5s ease-in-out infinite alternate;
  overflow: hidden;
}
.prism-panel::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(234, 240, 255, .08) 48%, transparent 62%);
}
.prism-panel i { font-size: 30px; color: rgba(234, 240, 255, .75); text-shadow: 0 0 18px var(--glow-teal); }
.prism-panel.p1 { width: 280px; height: 340px; left: 6%; top: 14%; }
.prism-panel.p2 { width: 200px; height: 240px; right: 5%; top: 3%; animation-delay: .8s, .6s; }
.prism-panel.p3 { width: 235px; height: 180px; right: 13%; bottom: 5%; animation-delay: 1.6s, 1.2s; }
.prism-panel.p4 { width: 125px; height: 155px; left: 40%; bottom: 15%; animation-delay: 2.4s, 1.8s; }
@keyframes floatZ {
  0%, 100% { transform: translateZ(var(--z, 0px)); }
  50% { transform: translateZ(calc(var(--z, 0px) + 18px)); }
}
@keyframes panelGlow {
  from { box-shadow: 0 0 18px rgba(78, 216, 224, .12), inset 0 0 12px var(--prism); }
  to { box-shadow: 0 0 44px rgba(78, 216, 224, .32), inset 0 0 20px var(--prism); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 190px 0 100px; overflow: hidden; text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::before { display: none; }
.page-title { font-size: clamp(34px, 5vw, 64px); font-weight: 800; margin-top: 22px; letter-spacing: -.01em; }
.page-title .hl { color: var(--primary); }
.page-title .hl-teal { color: var(--accent); }
.page-sub { margin: 24px auto 0; max-width: 68ch; font-size: 17px; }

/* ---------- Cards & grids ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; transform-style: preserve-3d; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; transform-style: preserve-3d; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; transform-style: preserve-3d; }

.card { position: relative; border-radius: var(--radius); transform-style: preserve-3d; }
.tilt { will-change: transform; }
.card-glass {
  position: absolute; inset: 0;
  border-radius: inherit;
  background: rgba(15, 20, 40, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  box-shadow: 0 0 24px rgba(255, 107, 138, .05), inset 0 0 12px var(--prism);
  transition: border-color .35s, box-shadow .35s;
}
.card:hover .card-glass, .sol-panel:hover .card-glass {
  border-color: rgba(78, 216, 224, .35);
  box-shadow: 0 0 24px var(--glow), inset 0 0 12px var(--prism);
}
.card-inner { position: relative; height: 100%; padding: 32px 26px; transform-style: preserve-3d; }
.tz-icon { transform: translateZ(38px); }
.tz-title { transform: translateZ(24px); }
.tz-desc { transform: translateZ(11px); }

.icon-chip {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(78, 216, 224, .14), rgba(165, 123, 255, .14));
  border: 1px solid rgba(78, 216, 224, .3);
  color: var(--accent);
  font-size: 22px;
  box-shadow: 0 0 18px rgba(78, 216, 224, .12);
}
.card h3 { font-size: 16.5px; font-weight: 600; margin-top: 22px; line-height: 1.35; }
.card p { font-size: 14.5px; margin-top: 12px; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px;
  font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  transition: gap .25s var(--ease-out), color .25s;
}
.card-link:hover { gap: 13px; color: var(--primary); }

/* ---------- Stats arc ---------- */
.stats { position: relative; padding: 30px 0 110px; perspective: 1400px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; transform-style: preserve-3d; }
.stat-panel {
  position: relative;
  background: linear-gradient(160deg, rgba(22, 28, 54, .92), rgba(13, 17, 35, .8));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px 24px;
  text-align: center;
  transform-style: preserve-3d;
  transition: box-shadow .5s, border-color .5s;
}
.stat-panel:nth-child(1) { transform: rotateY(10deg) translateZ(-30px); }
.stat-panel:nth-child(4) { transform: rotateY(-10deg) translateZ(-30px); }
.stat-panel:hover { border-color: rgba(78, 216, 224, .35); box-shadow: 0 0 30px var(--glow-teal); }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); color: var(--heading); transform: translateZ(24px); }
.stat-num .unit { color: var(--primary); }
.stat-label { margin-top: 10px; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; transform: translateZ(12px); }

/* ---------- Solutions panels ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; transform-style: preserve-3d; }
.sol-panel { position: relative; border-radius: 20px; transform: rotateX(2.5deg); transform-style: preserve-3d; transition: transform .5s var(--ease-out); }
.sol-panel:hover { transform: rotateX(0deg) translateZ(20px); }
.sol-panel .card-glass { border-left: 3px solid var(--primary); }
.sol-tier { font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.sol-name { font-size: 26px; font-weight: 700; margin-top: 10px; }
.sol-tagline { font-size: 14.5px; margin-top: 8px; color: var(--text); }
.sol-panel .check-list { margin-top: 24px; }
.sol-panel .btn, .sol-panel .card-link { margin-top: 28px; }

/* ---------- Checklist ---------- */
.check-list { display: grid; gap: 13px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 15px; }
.check-list .fa-circle-check, .check-list .fa-check { color: var(--accent); margin-top: 5px; font-size: 13px; flex: none; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: 100px 0; overflow: hidden; }
.cta-inner {
  position: relative;
  text-align: center;
  background: rgba(15, 20, 40, .6);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 72px 8%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 24px rgba(255, 107, 138, .08), inset 0 0 12px var(--prism);
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
}
.cta-title { font-size: clamp(26px, 3.4vw, 42px); font-weight: 700; }
.cta-sub { margin: 18px auto 0; max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; margin-top: 36px; }
.cta-phone { display: inline-flex; align-items: center; gap: 10px; color: var(--heading); text-decoration: none; font-weight: 500; letter-spacing: .04em; transition: color .25s; }
.cta-phone i { color: var(--accent); }
.cta-phone:hover { color: var(--accent); }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .eyebrow { margin-bottom: 16px; }
.split h2 { font-size: clamp(26px, 3vw, 38px); }
.split p + p { margin-top: 16px; }
.split .text-col > p { margin-top: 18px; }

/* ---------- Value pillars / mission-vision ---------- */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; transform-style: preserve-3d; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv-block { position: relative; border-radius: 18px; }
.mv-block .card-inner { padding: 40px 34px; }
.mv-block h3 { font-size: 20px; margin-top: 20px; }
.mv-block p { margin-top: 14px; font-size: 15.5px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin-top: 56px; padding-left: 36px; }
.timeline::before {
  content: '';
  position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent), var(--accent2));
  border-radius: 2px;
}
.tl-item { position: relative; padding: 0 0 40px 28px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: '';
  position: absolute; left: -33px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--glow-teal);
}
.tl-card {
  background: rgba(15, 20, 40, .55);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 26px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .5s var(--ease-out), border-color .4s;
}
.iso .tl-card { transform: rotateY(-6deg); transform-style: preserve-3d; }
.iso .tl-card:hover { transform: rotateY(0deg) translateZ(14px); border-color: rgba(78, 216, 224, .35); }
.tl-year { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .18em; color: var(--gold); }
.tl-card h3 { font-size: 17px; margin-top: 8px; }
.tl-card p { font-size: 14.5px; margin-top: 8px; }

/* ---------- Rotating 3D prism (About / Why Us) ---------- */
.prism3d-scene { perspective: 1200px; display: flex; justify-content: center; align-items: center; min-height: 380px; }
.prism3d { position: relative; width: 170px; height: 250px; transform-style: preserve-3d; animation: spinY 15s linear infinite; }
@keyframes spinY { from { transform: rotateY(0deg) rotateX(-8deg); } to { transform: rotateY(360deg) rotateX(-8deg); } }
.prism3d .face {
  position: absolute; left: 0; top: 5px;
  width: 170px; height: 240px;
  background: linear-gradient(160deg, rgba(255,107,138,.16), rgba(78,216,224,.10) 50%, rgba(165,123,255,.16));
  border: 1px solid rgba(78, 216, 224, .35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: inset 0 0 24px var(--prism);
}
.prism3d .face.f2 { background: linear-gradient(160deg, rgba(78,216,224,.16), rgba(165,123,255,.12) 55%, rgba(255,107,138,.12)); }
.prism3d .face.f3 { background: linear-gradient(160deg, rgba(165,123,255,.16), rgba(255,107,138,.10) 55%, rgba(78,216,224,.12)); }
.prism3d .f1 { transform: rotateY(0deg) translateZ(49px); }
.prism3d .f2 { transform: rotateY(120deg) translateZ(49px); }
.prism3d .f3 { transform: rotateY(240deg) translateZ(49px); }
.prism3d .cap {
  position: absolute; left: 0; top: 51px;
  width: 170px; height: 148px;
  background: rgba(165, 123, 255, .12);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.prism3d .cap.top { transform: rotateX(90deg) translateZ(120px); background: rgba(78, 216, 224, .14); }
.prism3d .cap.bottom { transform: rotateX(90deg) translateZ(-120px); }
.prism3d-shadow {
  position: absolute; bottom: 24px; left: 50%;
  width: 220px; height: 34px;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(78, 216, 224, .18), transparent 70%);
  filter: blur(6px);
}

/* ---------- Differentiator rows (Why Us) ---------- */
.diff-list { border-top: 1px solid var(--border); }
.diff-row { display: flex; gap: 18px; align-items: flex-start; padding: 24px 6px; border-bottom: 1px solid var(--border); transition: background .3s, padding-left .3s var(--ease-out); }
.diff-row:hover { background: rgba(78, 216, 224, .04); padding-left: 14px; }
.diff-row > i { color: var(--accent); margin-top: 7px; font-size: 13px; flex: none; text-shadow: 0 0 12px var(--glow-teal); }
.diff-row h3 { font-size: 16.5px; font-weight: 600; }
.diff-row p { font-size: 14.5px; margin-top: 6px; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; transform-style: preserve-3d; }
.testi .fa-quote-left { color: var(--accent2); opacity: .55; font-size: 22px; }
.testi blockquote { margin-top: 18px; font-size: 15px; color: var(--heading); font-weight: 300; line-height: 1.75; }
.testi-role { margin-top: 22px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }

/* ---------- Process pipeline ---------- */
.pipeline-wrap { perspective: 1400px; padding: 30px 0 10px; }
.pipeline { display: flex; align-items: center; transform: rotateX(17deg); transform-style: preserve-3d; }
.pipe-node { flex: none; width: 21%; text-align: center; transform-style: preserve-3d; }
.pipe-ring {
  width: 98px; height: 98px;
  margin: 0 auto;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  background: rgba(15, 20, 40, .65);
  box-shadow: 0 0 24px var(--glow), inset 0 0 12px var(--prism);
}
.pipe-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--glow-teal); }
.pipe-link {
  flex: 1;
  height: 2px;
  margin: 0 6px;
  background-image: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 20px);
  background-size: 20px 2px;
  animation: flowDash 1.6s linear infinite;
  opacity: .6;
}
@keyframes flowDash { to { background-position: 20px 0; } }
.pipe-node h3 { margin-top: 20px; font-size: 14px; font-weight: 600; letter-spacing: .18em; }
.pipe-num { display: block; font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: .3em; color: var(--gold); margin-bottom: 8px; }

.step-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 60px; transform-style: preserve-3d; }
.step-card .step-kicker { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .26em; color: var(--primary); }
.step-card h3 { font-size: 19px; margin-top: 12px; }
.step-card p { font-size: 15px; margin-top: 12px; }

/* ---------- Mini process (detail pages) ---------- */
.mini-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; transform-style: preserve-3d; }
.mini-step .num { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .24em; color: var(--primary); }
.mini-step h3 { font-size: 16px; margin-top: 14px; }
.mini-step p { font-size: 14px; margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 50px auto 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(15, 20, 40, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .3s;
}
.faq-item.open { border-color: rgba(78, 216, 224, .4); box-shadow: 0 0 20px rgba(78, 216, 224, .08); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: 0;
  color: var(--heading);
  font-weight: 500;
  font-size: 16px;
  text-align: left;
  padding: 21px 24px;
  cursor: pointer;
}
.faq-q .fa-chevron-down { color: var(--accent); font-size: 13px; transition: transform .35s var(--ease-out); flex: none; }
.faq-item.open .faq-q .fa-chevron-down { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease-out); }
.faq-a p { padding: 0 24px 23px; font-size: 15px; }
.faq-item.open .faq-a { max-height: 340px; }

/* ---------- Comparison table ---------- */
.table-scroll { overflow-x: auto; margin-top: 50px; border: 1px solid var(--border); border-radius: 16px; background: rgba(15, 20, 40, .5); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare th, .compare td { padding: 17px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--font-display); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--heading); background: rgba(22, 28, 54, .6); }
.compare thead th.t-dawn { color: var(--gold); }
.compare thead th.t-zenith { color: var(--accent); }
.compare thead th.t-horizon { color: var(--primary); }
.compare tbody tr { transition: background .25s; }
.compare tbody tr:hover { background: rgba(78, 216, 224, .04); }
.compare td .fa-check { color: var(--accent); }
.compare td .fa-minus { color: var(--text); opacity: .35; }

/* ---------- Tech stack strip ---------- */
.tech-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 44px 0; background: rgba(15, 20, 40, .35); }
.tech-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 44px; }
.tech-item { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-size: 14px; letter-spacing: .08em; transition: color .3s, transform .3s var(--ease-out); }
.tech-item i { font-size: 24px; color: var(--accent2); transition: color .3s, text-shadow .3s; }
.tech-item:hover { color: var(--heading); transform: translateY(-3px); }
.tech-item:hover i { color: var(--accent); text-shadow: 0 0 16px var(--glow-teal); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.info-line { display: flex; gap: 16px; align-items: flex-start; padding: 17px 0; border-bottom: 1px solid var(--border); }
.info-line > i {
  width: 42px; height: 42px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(78, 216, 224, .08);
  border: 1px solid rgba(78, 216, 224, .25);
  color: var(--accent);
  font-size: 15px;
}
.info-line .lbl { display: block; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.info-line .val { color: var(--heading); font-weight: 400; font-size: 15.5px; line-height: 1.55; }
.info-line a.val { text-decoration: none; transition: color .25s; }
.info-line a.val:hover { color: var(--accent); }

.status-list { margin-top: 34px; display: grid; gap: 12px; }
.status-item { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.status-item strong { color: var(--heading); font-weight: 500; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent2); box-shadow: 0 0 10px var(--accent2); animation: pulseDot 1.8s ease-in-out infinite; flex: none; }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.assure-list { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.assure {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 400; color: var(--heading);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 17px;
  background: rgba(22, 28, 54, .5);
}
.assure i { color: var(--accent); font-size: 11px; }

.form-card { position: relative; border-radius: 20px; }
.form-card .card-inner { padding: 42px 38px; }
.form-title { font-size: 21px; }
.form-sub { font-size: 14.5px; margin-top: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--heading); }
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(8, 11, 24, .7);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--heading);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234ED8E0' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(169, 180, 214, .45); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(78, 216, 224, .12); }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(78, 216, 224, .22), 0 0 18px rgba(78, 216, 224, .15); }
.form-submit { grid-column: 1 / -1; width: 100%; margin-top: 6px; font-size: 15.5px; padding: 17px 30px; }
.form-success { text-align: center; padding: 60px 30px; }
.form-success i { font-size: 46px; color: var(--accent); text-shadow: 0 0 24px var(--glow-teal); }
.form-success h3 { font-size: 20px; margin-top: 22px; }
.form-success p { margin-top: 12px; font-size: 15px; }

.map-ph {
  position: relative;
  height: 300px;
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  background:
    radial-gradient(circle at 62% 42%, rgba(255, 107, 138, .14), transparent 42%),
    repeating-linear-gradient(0deg, rgba(78, 216, 224, .05) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(78, 216, 224, .05) 0 1px, transparent 1px 44px),
    linear-gradient(150deg, #10162E, #0B1024);
}
.map-pin { position: absolute; top: 42%; left: 62%; transform: translate(-50%, -100%); color: var(--primary); font-size: 28px; }
.map-pin::after {
  content: '';
  position: absolute; left: 50%; bottom: -7px;
  width: 26px; height: 10px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, var(--glow), transparent 70%);
  animation: pulseDot 1.8s ease-in-out infinite;
}
.map-label {
  position: absolute; left: 18px; bottom: 16px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--heading);
  background: rgba(8, 11, 24, .75);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hours { margin-top: 40px; border: 1px solid var(--border); border-radius: 16px; background: rgba(15, 20, 40, .5); padding: 28px 30px; }
.hours h3 { font-size: 15px; letter-spacing: .1em; }
.hours ul { margin-top: 14px; display: grid; gap: 8px; }
.hours li { display: flex; justify-content: space-between; gap: 20px; font-size: 14px; border-bottom: 1px dashed rgba(33, 42, 74, .8); padding-bottom: 8px; }
.hours li:last-child { border-bottom: 0; padding-bottom: 0; }
.hours li span:last-child { color: var(--heading); }

/* ---------- Address block (About) ---------- */
.address-block { display: flex; gap: 18px; align-items: flex-start; }
.address-block > i { font-size: 22px; color: var(--primary); margin-top: 4px; text-shadow: 0 0 16px var(--glow); }
.address-block h3 { font-size: 17px; }
.address-block p { margin-top: 8px; font-size: 15px; }
.address-block a { text-decoration: none; }
.address-block a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--bg), #05070F);
  padding: 64px 0 32px;
  overflow: hidden;
}
.footer-rule {
  position: relative;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transform: scaleX(0);
  transition: transform .9s var(--ease-out);
  overflow: hidden;
}
.footer-rule.in { transform: scaleX(1); }
.footer-rule::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 90px; height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: shimmerX 5s linear infinite;
}
@keyframes shimmerX { from { transform: translateX(-120px); } to { transform: translateX(calc(100vw)); } }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr 1.4fr; gap: 40px; padding: 54px 0 42px; }
.f-tag { margin-top: 18px; font-size: 14.5px; max-width: 30ch; }
.f-col h4 { font-size: 12.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--heading); margin-bottom: 18px; }
.f-col a { display: block; color: var(--text); text-decoration: none; font-size: 14px; padding: 5px 0; transition: color .2s, transform .2s var(--ease-out); }
.f-col a:hover { color: var(--accent); transform: translateX(4px); }
.f-contact p { display: flex; gap: 11px; font-size: 14px; padding: 6px 0; align-items: flex-start; }
.f-contact i { color: var(--primary); margin-top: 5px; font-size: 12px; flex: none; }
.f-contact a { color: var(--text); text-decoration: none; transition: color .2s; }
.f-contact a:hover { color: var(--accent); }
.f-bottom { border-top: 1px solid var(--border); padding-top: 26px; text-align: center; font-size: 12.5px; color: #6E7BA8; letter-spacing: .06em; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px) translateZ(-16px); transition: opacity .55s ease-out, transform .55s ease-out; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: translateY(0) translateZ(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .prism-scene { height: 400px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute;
    top: 78px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: rgba(8, 11, 24, .97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 rgba(255, 107, 138, .3);
    padding: 0 5%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height .45s var(--ease-out), opacity .35s, visibility .35s, padding .35s;
  }
  .nav-links.open { max-height: 82vh; opacity: 1; visibility: visible; padding: 16px 5% 26px; overflow-y: auto; }
  .nav-links li { opacity: 0; transform: translateY(-10px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
  .nav-links.open li { opacity: 1; transform: none; }
  .nav-links.open li:nth-child(1) { transition-delay: .05s; }
  .nav-links.open li:nth-child(2) { transition-delay: .1s; }
  .nav-links.open li:nth-child(3) { transition-delay: .15s; }
  .nav-links.open li:nth-child(4) { transition-delay: .2s; }
  .nav-links.open li:nth-child(5) { transition-delay: .25s; }
  .nav-links.open li:nth-child(6) { transition-delay: .3s; }
  .nav-links.open li:nth-child(7) { transition-delay: .35s; }
  .nav-link { padding: 13px 10px; font-size: 15px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; border: 0; box-shadow: none; padding: 0 0 6px 20px; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .perspective, .stats, .pipeline-wrap, .hero { perspective: 800px; }
  .sol-grid, .split, .contact-grid, .mv-grid, .step-grid { grid-template-columns: 1fr; }
  .sol-grid, .split, .contact-grid { gap: 40px; }
  .sol-panel { transform: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-panel:nth-child(1), .stat-panel:nth-child(4) { transform: none; }
  .testi-grid, .grid-3 { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 160px 0 80px; }
  .pipeline { flex-direction: column; transform: none; gap: 0; }
  .pipe-node { width: 100%; }
  .pipe-link { flex: none; width: 2px; height: 46px; margin: 8px 0; background-image: repeating-linear-gradient(180deg, var(--accent) 0 10px, transparent 10px 20px); background-size: 2px 20px; }
  @keyframes flowDash { to { background-position: 0 20px; } }
  .prism3d-scene { min-height: 320px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 34px; }
  .page-title { font-size: 34px; }
  .sec-title { font-size: 26px; }
  .svc-grid, .stats-grid, .mini-steps, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .prism-scene { height: 330px; }
  .prism-panel.p1 { width: 210px; height: 260px; }
  .prism-panel.p2 { width: 150px; height: 180px; }
  .prism-panel.p3 { width: 170px; height: 130px; }
  .prism-panel.p4 { display: none; }
  .hero { padding-top: 130px; }
  .cta-inner { padding: 54px 7%; }
  .form-card .card-inner { padding: 32px 22px; }
  .timeline { padding-left: 26px; }
  .tl-item::before { left: -25px; }
  .iso .tl-card { transform: none; }
}

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