/* Lidhal Technologies — Software House */

:root {
  /* Deep purple background with teal accents - modern AI company palette */
  --bg: #07061a;
  --bg-2: #0c0a23;
  --bg-elevated: #11102b;
  --bg-card: rgba(20, 18, 48, 0.65);
  --border: rgba(180, 165, 255, 0.10);
  --border-strong: rgba(180, 165, 255, 0.22);
  --text: #f4f1ff;
  --text-muted: #a5a0c5;
  --text-dim: #7a7596;
  --accent: #5eead4;          /* teal/mint primary */
  --accent-2: #a78bfa;         /* soft violet */
  --accent-3: #c084fc;         /* purple */
  --accent-glow: rgba(94, 234, 212, 0.30);
  --accent-glow-2: rgba(167, 139, 250, 0.35);
  --gradient: linear-gradient(135deg, #5eead4 0%, #a78bfa 55%, #c084fc 100%);
  --gradient-soft: linear-gradient(135deg, rgba(94, 234, 212, 0.18), rgba(167, 139, 250, 0.18));
  --font: "Outfit", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --header-h: 76px;
  --container: min(1180px, 92vw);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ===== GLOBAL FIXED ANIMATED BACKGROUND =====
   Stays fixed while page scrolls — creates depth like
   modern AI/SaaS companies (Anthropic, Linear, Vercel). */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(94, 234, 212, 0.08), transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 100%, rgba(167, 139, 250, 0.10), transparent 60%),
    linear-gradient(180deg, #07061a 0%, #0a0820 50%, #07061a 100%);
}

.site-bg::before {
  /* Subtle grid pattern - barely visible */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(180, 165, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 165, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, black 30%, transparent 80%);
}

.site-bg::after {
  /* Vignette */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 100% at 50% 50%, transparent 40%, rgba(7, 6, 26, 0.6) 100%);
}

/* Floating glow orbs - GPU accelerated, very slow */
.site-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  will-change: transform;
  animation: bgOrbFloat 28s ease-in-out infinite;
}

.site-bg-orb.o1 {
  width: 600px; height: 600px;
  top: -10%; left: -10%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.55), transparent 70%);
}
.site-bg-orb.o2 {
  width: 550px; height: 550px;
  bottom: -15%; right: -10%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.55), transparent 70%);
  animation-delay: -9s;
  animation-duration: 32s;
}
.site-bg-orb.o3 {
  width: 400px; height: 400px;
  top: 40%; left: 60%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.40), transparent 70%);
  animation-delay: -15s;
  animation-duration: 36s;
}
.site-bg-orb.o4 {
  width: 350px; height: 350px;
  top: 70%; left: 10%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.30), transparent 70%);
  animation-delay: -5s;
  animation-duration: 30s;
}

@keyframes bgOrbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  25%      { transform: translate3d(60px, -40px, 0) scale(1.08); }
  50%      { transform: translate3d(-30px, -70px, 0) scale(0.95); }
  75%      { transform: translate3d(-60px, 30px, 0) scale(1.05); }
}

/* Stars layer - tiny twinkling dots */
.site-bg-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 75% 15%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 50% 80%, rgba(255,255,255,0.45), transparent),
    radial-gradient(1px 1px at 15% 65%, rgba(94, 234, 212, 0.6), transparent),
    radial-gradient(1px 1px at 90% 50%, rgba(167, 139, 250, 0.55), transparent),
    radial-gradient(2px 2px at 35% 20%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1px 1px at 60% 90%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 85% 75%, rgba(255,255,255,0.35), transparent);
  background-size: 600px 600px;
  animation: starsTwinkle 8s ease-in-out infinite;
  opacity: 0.7;
}

@keyframes starsTwinkle {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.85; }
}

/* Aurora ribbons - slow large gradient sweeps */
.site-bg-aurora {
  position: absolute;
  width: 120%;
  height: 60%;
  top: 20%;
  left: -10%;
  background: conic-gradient(
    from 180deg at 50% 50%,
    transparent 0deg,
    rgba(94, 234, 212, 0.10) 60deg,
    transparent 120deg,
    rgba(167, 139, 250, 0.12) 200deg,
    transparent 260deg,
    rgba(192, 132, 252, 0.08) 320deg,
    transparent 360deg
  );
  filter: blur(50px);
  animation: auroraRotate 45s linear infinite;
  opacity: 0.7;
}

@keyframes auroraRotate {
  to { transform: rotate(360deg); }
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: var(--container); margin-inline: auto; }

/* Noise overlay */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, var(--accent-glow-2) 35%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
  mix-blend-mode: screen;
}

body:hover .cursor-glow { opacity: 0.5; }

/* Typography */
.gradient-text {
  background: var(--gradient);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease-in-out infinite;
  display: inline-block;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50%      { background-position: 100% center; }
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0.35rem 0.9rem;
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: 999px;
}

.section-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-head h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section { padding: 6rem 0; position: relative; }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s;
}

.btn-primary {
  background: var(--gradient);
  background-size: 200% auto;
  color: #0a0820;
  font-weight: 700;
  box-shadow:
    0 8px 32px rgba(94, 234, 212, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  animation: gradientShift 6s ease-in-out infinite;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
  z-index: -1;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 44px rgba(94, 234, 212, 0.40),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(94, 234, 212, 0.08);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-nav {
  padding: 0.65rem 1.35rem !important;
  background: var(--gradient) !important;
  background-size: 200% auto !important;
  color: #0a0820 !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 24px rgba(94, 234, 212, 0.25) !important;
}

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s;
}

.header.scrolled {
  background: rgba(10, 8, 32, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-mark {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  background-size: 200% auto;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: #07061a;
  box-shadow:
    0 4px 16px rgba(94, 234, 212, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  animation: gradientShift 6s ease-in-out infinite;
  transition: transform 0.4s var(--ease-spring);
}

.logo:hover .logo-mark {
  transform: rotate(-6deg) scale(1.05);
}

.logo-text span { color: var(--accent); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.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); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero-centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin-inline: auto;
}

.hero-centered .hero-title {
  max-width: none;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35em;
}

.hero-centered .hero-sub {
  margin-inline: auto;
  margin-bottom: 2rem;
}

.hero-centered .hero-cta {
  justify-content: center;
}

.hero-centered .hero-stats {
  justify-content: center;
  width: 100%;
  max-width: 640px;
}

/* Hero uses the global .site-bg — no per-section background layers */

.hero-inner { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.5rem;
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.25);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.6); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(94, 234, 212, 0); }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  max-width: 14ch;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  position: relative;
}

.hero-stats::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  opacity: 0.5;
}

.stat {
  position: relative;
  transition: transform 0.3s var(--ease);
}

.stat:hover {
  transform: translateY(-3px);
}

.stat strong {
  font-size: 2.25rem;
  font-weight: 800;
  background: var(--gradient);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease-in-out infinite;
  display: inline-block;
}

.stat span { font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.stat p { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; letter-spacing: 0.02em; }

/* Code window */
.hero-visual {
  display: none;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-visual { display: block; }
}

.code-window {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  transform: perspective(800px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.5s var(--ease);
}

.code-window:hover {
  transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
}

.code-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #475569;
}

.code-header span:nth-child(1) { background: #ef4444; }
.code-header span:nth-child(2) { background: #f59e0b; }
.code-header span:nth-child(3) { background: #22c55e; }

.code-header code {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.code-body {
  padding: 1.25rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.7;
  overflow-x: auto;
}

.code-body .kw { color: #c084fc; }
.code-body .fn { color: #38bdf8; }
.code-body .prop { color: #94a3b8; }
.code-body .str { color: #4ade80; }
.code-body .num { color: #fbbf24; }
.code-body .comment { color: #64748b; }

/* Clients strip */
.clients {
  padding: 2rem 0;
  border-block: 1px solid var(--border);
  background: rgba(12, 18, 34, 0.5);
  overflow: hidden;
}

.clients-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.clients-track {
  display: flex;
  gap: 3rem;
  animation: scroll 25s linear infinite;
  width: max-content;
}

.clients-track span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0.7;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.service-card {
  position: relative;
  padding: 2rem 1.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s, background 0.4s;
  overflow: hidden;
  isolation: isolate;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.4), rgba(167, 139, 250, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: -1;
}

.service-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(94, 234, 212, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  background: rgba(25, 22, 60, 0.75);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 40px rgba(94, 234, 212, 0.1);
}

.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }

.service-card.featured {
  border-color: rgba(94, 234, 212, 0.35);
  background: linear-gradient(145deg, rgba(94, 234, 212, 0.10), rgba(167, 139, 250, 0.08));
}

.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  background: var(--gradient);
  color: #07061a;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(94, 234, 212, 0.3);
}

.service-icon {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.15), rgba(167, 139, 250, 0.12));
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: var(--radius-sm);
  margin-bottom: 1.35rem;
  color: var(--accent);
  transition: transform 0.4s var(--ease-spring), background 0.4s;
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-4deg);
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.25), rgba(167, 139, 250, 0.18));
}

.service-icon svg { width: 26px; height: 26px; }

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.service-card > p {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  line-height: 1.65;
}

.service-card ul li {
  font-size: 0.86rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  padding-left: 1.1rem;
  position: relative;
  transition: color 0.25s;
}

.service-card:hover ul li {
  color: var(--text);
}

.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent);
}

/* About */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-card {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: var(--gradient);
  background-size: 200% auto;
  padding: 2px;
  box-shadow: 0 30px 70px rgba(94, 234, 212, 0.2), 0 0 60px rgba(167, 139, 250, 0.18);
  animation: gradientShift 10s ease-in-out infinite;
  transition: transform 0.5s var(--ease);
}

.about-card:hover {
  transform: translateY(-6px) scale(1.01);
}

.about-card-inner {
  height: 100%;
  padding: 2rem;
  background: var(--bg-elevated);
  border-radius: calc(var(--radius) - 2px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-year {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.about-card-inner h3 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 1rem 0;
}

.about-metrics {
  display: flex;
  gap: 2rem;
}

.about-metrics strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-metrics span { font-size: 0.85rem; color: var(--text-muted); }

.about-content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-list { margin-top: 1.5rem; }

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.95rem;
}

.about-list svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

/* CEO / Leadership */
.leadership {
  background: linear-gradient(180deg, transparent, rgba(94, 234, 212, 0.04), transparent);
  border-block: 1px solid var(--border);
}

.leadership-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  max-width: 960px;
}

@media (min-width: 768px) {
  .leadership-inner {
    grid-template-columns: auto 1fr;
    gap: 3.5rem;
  }
}

.ceo-photo-wrap {
  position: relative;
  width: min(280px, 80vw);
  margin: 0 auto;
  aspect-ratio: 1;
}

.ceo-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  position: relative;
  z-index: 1;
  border: 2px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.ceo-photo-ring {
  position: absolute;
  inset: -10px;
  border-radius: 30px;
  background: var(--gradient);
  background-size: 200% auto;
  z-index: 0;
  opacity: 0.9;
  filter: blur(2px);
  animation: gradientShift 6s ease-in-out infinite, ringPulse 4s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 0.95; filter: blur(4px); }
}

.ceo-content { text-align: center; }

@media (min-width: 768px) {
  .ceo-content { text-align: left; }
}

.ceo-name {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0.5rem 0 0.25rem;
  letter-spacing: -0.02em;
}

.ceo-role {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.ceo-bio {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 52ch;
}

.ceo-email-btn {
  font-size: 0.9rem;
  word-break: break-all;
}

@media (min-width: 768px) {
  .ceo-email-btn { word-break: normal; }
}

/* Process */
.process { background: rgba(12, 18, 34, 0.4); }

.process-steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .process-steps { grid-template-columns: repeat(4, 1fr); }
}

.process-step {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.4s, transform 0.4s var(--ease), background 0.4s;
  overflow: hidden;
}

.process-step:hover {
  border-color: rgba(94, 234, 212, 0.35);
  transform: translateY(-6px);
  background: rgba(25, 22, 60, 0.7);
}

.step-num {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.7;
  margin-bottom: 0.85rem;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: opacity 0.4s, transform 0.4s var(--ease-spring);
}

.process-step:hover .step-num {
  opacity: 1;
  transform: scale(1.08);
}

.process-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Work / Portfolio */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
  position: relative;
}

.work-card:hover {
  transform: translateY(-10px);
  border-color: rgba(94, 234, 212, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(94, 234, 212, 0.08);
}

.work-thumb {
  height: 190px;
  background:
    radial-gradient(circle at 30% 30%, var(--accent, #5eead4) 0%, transparent 60%),
    linear-gradient(135deg, var(--bg-elevated), rgba(20, 18, 48, 0.8));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.work-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 70%, rgba(167, 139, 250, 0.25), transparent 50%);
  opacity: 0.7;
}

.work-card:hover .work-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: workShine 0.8s var(--ease) forwards;
}

@keyframes workShine {
  to { transform: translateX(100%); }
}

.work-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

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

.work-thumb .work-cat {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
}

.services-highlight {
  text-align: center;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--accent);
  padding: 1rem 1.25rem;
  margin: -1.5rem auto 2.5rem;
  max-width: 900px;
  border: 1px solid rgba(94, 234, 212, 0.25);
  border-radius: var(--radius-sm);
  background: rgba(94, 234, 212, 0.06);
  line-height: 1.6;
}

.work-cat {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 999px;
}

.work-body { padding: 1.25rem; }

.work-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.work-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.work-tags span {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: rgba(94, 234, 212, 0.12);
  color: var(--accent);
  border-radius: 6px;
  font-family: var(--mono);
}

/* Testimonials */
.testimonial-slider {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  min-height: 200px;
}

.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s, transform 0.5s;
  pointer-events: none;
}

.testimonial.active {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.testimonial p {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.testimonial footer strong {
  display: block;
  font-size: 1rem;
}

.testimonial footer span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.testimonial-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.testimonial-dots button.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* CTA band */
.cta-band {
  padding: 6rem 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(94, 234, 212, 0.18), transparent 70%),
    linear-gradient(135deg, rgba(94, 234, 212, 0.10), rgba(167, 139, 250, 0.12));
  border-block: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 200px at 20% 30%, rgba(94, 234, 212, 0.25), transparent 70%),
    radial-gradient(circle 250px at 80% 70%, rgba(167, 139, 250, 0.25), transparent 70%);
  filter: blur(40px);
  animation: ctaPulse 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes ctaPulse {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1; transform: scale(1.1); }
}

.cta-inner { position: relative; z-index: 1; }

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-inner p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; }
}

.contact-info h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  color: var(--text-muted);
}

.contact-details svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
}

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

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.social-link {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  color: var(--text-muted);
  backdrop-filter: blur(10px);
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s var(--ease-spring);
}

.social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(94, 234, 212, 0.12);
  transform: translateY(-3px) rotate(-4deg);
  box-shadow: 0 8px 20px rgba(94, 234, 212, 0.25);
}

.social-link svg { width: 20px; height: 20px; }

.contact-form {
  padding: 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  position: relative;
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.3), transparent 30%, transparent 70%, rgba(167, 139, 250, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.form-row { margin-bottom: 1.35rem; }

.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(7, 6, 26, 0.5);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--text-dim);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(7, 6, 26, 0.7);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.12);
}

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

.form-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.4em;
}

.form-note.success { color: #4ade80; }
.form-note.error { color: #f87171; }

/* Footer */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background: rgba(10, 8, 32, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  opacity: 0.5;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-copy {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.logo-footer .logo-mark { width: 36px; height: 36px; font-size: 1rem; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    background: rgba(10, 8, 32, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.35s, visibility 0.35s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .hero-stats { gap: 1.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
