/* ============================================
   VEXORA TECH SOLUTION — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #050A14;
  --surface: #0A1220;
  --surface-2: #0F1A2E;
  --text: #F7FAFC;
  --muted: #94A3B8;
  --cyan: #2563EB;
  --violet: #1E40AF;
  --blue: #3B82F6;
  --royal: #2563EB;
  --royal-dark: #1D4ED8;
  --border: rgba(255, 255, 255, 0.12);
  --gradient: linear-gradient(135deg, #3B82F6 0%, #2563EB 45%, #1E40AF 100%);
  --font-heading: 'Space Grotesk', 'Manrope', sans-serif;
  --font-body: 'Inter', 'Manrope', sans-serif;
  --max-width: 1440px;
  --header-height: 80px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

body.custom-cursor {
  cursor: none;
}

body.custom-cursor a,
body.custom-cursor button {
  cursor: none;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.section {
  padding: clamp(80px, 10vw, 160px) 0;
  position: relative;
}

.section-label {
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: clamp(16px, 2vw, 24px);
}

.section-heading {
  font-size: clamp(36px, 5vw, 72px);
  max-width: 14ch;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.section-intro {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--muted);
  max-width: 55ch;
  line-height: 1.7;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight {
  color: var(--cyan);
}

/* Grid overlay utility */
.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.preloader.is-hidden {
  pointer-events: none;
}

.preloader__inner {
  text-align: center;
}

.preloader__logo-img {
  width: clamp(160px, 25vw, 220px);
  height: auto;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #fff;
  padding: 12px 16px;
}

.preloader__logo {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}

.preloader__tagline {
  font-size: clamp(10px, 1.2vw, 12px);
  letter-spacing: 0.35em;
  color: var(--muted);
  margin-bottom: 48px;
}

.preloader__bar {
  width: clamp(200px, 30vw, 320px);
  height: 1px;
  background: var(--border);
  position: relative;
  margin: 0 auto 16px;
}

.preloader__bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--gradient);
}

.preloader__percent {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* ============================================
   SCROLL PROGRESS
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--gradient);
  z-index: 9999;
  pointer-events: none;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  pointer-events: none;
  mix-blend-mode: difference;
  display: none;
}

.cursor.is-active {
  display: block;
}

.cursor__dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--text);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.cursor__ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cursor__ring.is-hover {
  width: 64px;
  height: 64px;
  border-color: var(--cyan);
}

.cursor__ring.is-cta {
  width: 72px;
  height: 72px;
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--cyan);
}

.cursor__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.2s;
}

.cursor__ring.is-hover .cursor__label,
.cursor__ring.is-cta .cursor__label {
  opacity: 1;
}

/* ============================================
   PAGE TRANSITION
   ============================================ */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9997;
  transform: translateY(100%);
  pointer-events: none;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: transform 0.4s var(--ease-out), background 0.4s, backdrop-filter 0.4s;
}

.header.is-scrolled {
  background: rgba(7, 17, 31, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header.is-hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.header__logo {
  display: flex;
  align-items: center;
  z-index: 1002;
  line-height: 1;
}

.header__logo-img {
  height: clamp(40px, 5vw, 52px);
  width: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 4px 10px;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text);
}

.header__logo-text span {
  color: var(--cyan);
}

.header .btn {
  padding: 9px 16px;
  font-size: 12px;
  gap: 8px;
}

.header .btn__icon {
  width: 22px;
  height: 22px;
  font-size: 11px;
}

.page-hero {
  min-height: clamp(340px, 48vh, 480px);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(40px, 5vw, 64px);
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(5, 10, 20, 0.92) 0%, rgba(5, 10, 20, 0.75) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero__title {
  font-size: clamp(36px, 5.5vw, 80px);
  max-width: 14ch;
  line-height: 1;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}

.header__nav-list {
  display: flex;
  gap: clamp(20px, 2.5vw, 40px);
}

.header__nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s;
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 0.3s var(--ease-out);
}

.header__nav-link:hover,
.header__nav-link.is-active {
  color: var(--text);
}

.header__nav-link:hover::after,
.header__nav-link.is-active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 32px;
  z-index: 1002;
  padding: 4px 0;
}

.menu-toggle span {
  display: block;
  height: 1px;
  background: var(--text);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  transition: background 0.4s var(--ease-out), border-color 0.4s, transform 0.3s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
}

.btn:hover::before {
  opacity: 1;
}

.btn:hover {
  border-color: transparent;
  color: var(--bg);
}

.btn span, .btn__icon {
  position: relative;
  z-index: 1;
}

.btn__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-out), background 0.4s;
  flex-shrink: 0;
}

.btn:hover .btn__icon {
  transform: rotate(45deg);
  background: rgba(7, 17, 31, 0.2);
}

.btn--primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.btn--primary::before {
  background: var(--gradient);
}

.btn--primary:hover {
  color: var(--bg);
}

.btn--ghost {
  border: none;
  padding: 14px 0;
  gap: 8px;
}

.btn--ghost::before {
  display: none;
}

.btn--ghost .btn__icon {
  width: 24px;
  height: 24px;
  background: none;
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  color: var(--cyan);
  background: transparent;
}

.btn--ghost:hover .btn__icon {
  transform: translateX(4px) rotate(0);
  border-color: var(--cyan);
}

.btn--large {
  padding: 18px 36px;
  font-size: 16px;
}

.btn--magnetic {
  will-change: transform;
}

/* ============================================
   FULLSCREEN MENU
   ============================================ */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: var(--bg);
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.fullscreen-menu.is-open {
  pointer-events: all;
}

.fullscreen-menu__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 100%;
  align-items: center;
}

.fullscreen-menu__nav {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.5vw, 16px);
}

.fullscreen-menu__link {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 600;
  color: var(--muted);
  transition: color 0.3s;
  display: flex;
  align-items: baseline;
  gap: 16px;
  overflow: hidden;
}

.fullscreen-menu__link span:first-child {
  font-size: clamp(12px, 1.2vw, 16px);
  color: var(--cyan);
  font-weight: 500;
  min-width: 32px;
}

.fullscreen-menu__link:hover {
  color: var(--text);
}

.fullscreen-menu__link-inner {
  display: block;
  transform: translateY(110%);
}

.fullscreen-menu__side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 48px;
  position: relative;
}

.fullscreen-menu__visual {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  position: relative;
}

.fullscreen-menu__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orbFloat 8s ease-in-out infinite;
}

.fullscreen-menu__orb--1 {
  width: 200px;
  height: 200px;
  background: var(--cyan);
  opacity: 0.3;
  top: 10%;
  right: 10%;
}

.fullscreen-menu__orb--2 {
  width: 150px;
  height: 150px;
  background: var(--violet);
  opacity: 0.4;
  bottom: 20%;
  left: 20%;
  animation-delay: -4s;
}

.fullscreen-menu__social {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
}

.fullscreen-menu__social a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.3s;
}

.fullscreen-menu__social a:hover {
  color: var(--cyan);
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: clamp(520px, 72vh, 680px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 24px);
  padding-bottom: clamp(48px, 6vw, 72px);
}

.hero__bg-photo {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  z-index: 0;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(5, 10, 20, 0.94) 0%, rgba(5, 10, 20, 0.78) 45%, rgba(5, 10, 20, 0.55) 100%);
  z-index: 1;
}

.hero__mesh {
  z-index: 2;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(30, 64, 175, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(59, 130, 246, 0.12) 0%, transparent 50%);
  transition: transform 0.1s linear;
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}

.hero__particles {
  position: absolute;
  inset: 0;
}

.hero__particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--cyan);
  border-radius: 50%;
  opacity: 0.4;
}

.hero__svg-lines {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__eyebrow {
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: clamp(20px, 3vw, 32px);
  overflow: hidden;
}

.hero__title {
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1.02;
  margin-bottom: clamp(20px, 2.5vw, 32px);
  max-width: 14ch;
}

.hero__title .line-compact {
  display: inline;
}

.hero__title .line-compact::after {
  content: ' ';
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .word {
  display: inline-block;
}

.hero__desc {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.65;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
}

.hero__scroll {
  position: absolute;
  bottom: clamp(32px, 4vw, 48px);
  right: clamp(20px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.hero__scroll-text {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cyan);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-section {
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.marquee-section__label {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee__content {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee__track {
  display: flex;
  gap: clamp(48px, 6vw, 80px);
  flex-shrink: 0;
  padding-right: clamp(48px, 6vw, 80px);
}

.marquee:hover .marquee__content {
  animation-play-state: paused;
}

.marquee__item {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--muted);
  opacity: 0.5;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 16px;
}

.marquee__item::before {
  content: '◆';
  font-size: 8px;
  color: var(--cyan);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.services-page__item {
  text-decoration: none;
  color: inherit;
}

/* ============================================
   INTRO STATEMENT
   ============================================ */
.intro-statement {
  position: relative;
}

.intro-statement__text {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 80px);
  line-height: 1.15;
  max-width: 18ch;
}

.intro-statement__line {
  overflow: hidden;
  display: block;
}

.intro-statement__line-inner {
  display: block;
}

/* ============================================
   SERVICES — Horizontal Scroll Cards
   ============================================ */
.services {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

.services__header {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.services__scroll-hint {
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  animation: hintPulse 2s ease-in-out infinite;
}

@keyframes hintPulse {
  0%, 100% { opacity: 0.5; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(6px); }
}

.services-horizontal {
  position: relative;
  overflow: hidden;
  padding-left: clamp(20px, 4vw, 48px);
}

.services-horizontal__track {
  display: flex;
  gap: clamp(20px, 2.5vw, 32px);
  padding-right: clamp(20px, 4vw, 48px);
  padding-bottom: clamp(40px, 5vw, 64px);
  will-change: transform;
}

.service-card {
  flex-shrink: 0;
  width: clamp(300px, 38vw, 420px);
  min-height: clamp(380px, 42vw, 460px);
}

.service-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: inherit;
  padding: clamp(28px, 3vw, 40px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.5s var(--ease-out), transform 0.5s var(--ease-out), box-shadow 0.5s;
}

.service-card__glow {
  position: absolute;
  top: -40%;
  right: -30%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.service-card__link:hover {
  border-color: rgba(37, 99, 235, 0.45);
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.service-card__link:hover .service-card__glow {
  opacity: 1;
}

.service-card__link:hover .service-card__arrow {
  transform: rotate(45deg);
  background: var(--cyan);
  color: var(--bg);
}

.service-card__num {
  font-family: var(--font-heading);
  font-size: clamp(56px, 6vw, 80px);
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  margin-bottom: auto;
  transition: color 0.4s;
}

.service-card__link:hover .service-card__num {
  color: rgba(37, 99, 235, 0.2);
}

.service-card__title {
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.15;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.service-card__desc {
  font-size: clamp(14px, 1.2vw, 15px);
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.service-card__tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--muted);
  transition: border-color 0.3s, color 0.3s;
}

.service-card__link:hover .service-card__tag {
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--text);
}

.service-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.service-card__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.4s var(--ease-out), background 0.4s, color 0.4s;
}

.service-card.is-active .service-card__link {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.12);
}

.service-card.is-active .service-card__num {
  color: rgba(37, 99, 235, 0.25);
}

.service-card.is-active .service-card__glow {
  opacity: 0.6;
}

/* Mobile vertical services */
.services-mobile {
  display: none;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 40px;
}

.services-mobile .service-card {
  width: 100%;
  min-height: auto;
}

.services-mobile .service-card__link {
  min-height: 320px;
}

/* Legacy stack (inner pages) */
.services__stack {
  position: relative;
}

.services__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 56px);
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  transition: border-color 0.4s, background 0.4s;
  position: relative;
  overflow: hidden;
}

.services__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(30, 64, 175, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}

.services__card.is-active::before,
.services__card:hover::before {
  opacity: 1;
}

.services__card.is-active,
.services__card:hover {
  border-color: rgba(37, 99, 235, 0.3);
}

.services__number {
  font-family: var(--font-heading);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  transition: color 0.4s;
}

.services__card.is-active .services__number,
.services__card:hover .services__number {
  color: var(--cyan);
}

.services__content h3 {
  font-size: clamp(24px, 3vw, 40px);
  margin-bottom: 12px;
}

.services__content p {
  color: var(--muted);
  font-size: clamp(14px, 1.2vw, 16px);
  max-width: 50ch;
  line-height: 1.7;
}

.services__icon {
  width: 64px;
  height: 64px;
  opacity: 0.6;
  transition: opacity 0.4s, transform 0.4s;
}

.services__card:hover .services__icon {
  opacity: 1;
  transform: scale(1.1);
}

.services__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* ============================================
   WORK / CASE STUDIES
   ============================================ */
.work-section {
  overflow: hidden;
}

.work-section__header {
  margin-bottom: clamp(48px, 6vw, 80px);
}

.work-horizontal {
  position: relative;
  padding-left: clamp(20px, 4vw, 48px);
}

.work-horizontal__track {
  display: flex;
  gap: clamp(24px, 3vw, 40px);
  padding-right: clamp(20px, 4vw, 48px);
}

.work-card {
  flex-shrink: 0;
  width: clamp(320px, 45vw, 600px);
  position: relative;
  group: work-card;
}

.work-card__image {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.work-card__image-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.work-card__image img.work-card__image-bg {
  position: absolute;
  inset: 0;
}

.work-card:hover .work-card__image-bg {
  transform: scale(1.05);
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 17, 31, 0.8) 0%, transparent 50%);
}

.work-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.work-card__number {
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 0.1em;
}

.work-card__category {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.work-card__title {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 8px;
}

.work-card__services {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.work-card__result {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  padding: 8px 16px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: var(--radius-pill);
}

.work-card__demo {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
  font-style: italic;
}

.work-vertical {
  display: none;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 40px;
}

/* Placeholder project visuals */
.project-visual {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.project-visual--finance {
  background: linear-gradient(135deg, #0B1728 0%, #1a2a4a 50%, #0d2137 100%);
}

.project-visual--commerce {
  background: linear-gradient(135deg, #1a1035 0%, #2d1b69 50%, #1a1035 100%);
}

.project-visual--mobile {
  background: linear-gradient(135deg, #0a1f1a 0%, #1a3a35 50%, #0a1f1a 100%);
}

.project-visual--lumen {
  background: linear-gradient(135deg, #1f1508 0%, #3d2a10 50%, #1f1508 100%);
}

.project-visual__ui {
  width: 70%;
  height: 60%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  padding: 16px;
}

.project-visual__bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  margin-bottom: 12px;
}

.project-visual__bar--short { width: 40%; }
.project-visual__bar--cyan { background: var(--cyan); width: 60%; opacity: 0.6; }
.project-visual__bar--violet { background: var(--violet); width: 80%; opacity: 0.6; }

/* ============================================
   META ADS FEATURE
   ============================================ */
.meta-feature {
  position: relative;
  overflow: hidden;
}

.meta-feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.meta-feature__content {
  position: relative;
  z-index: 2;
}

.meta-feature__dashboard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  position: relative;
}

.meta-feature__dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.meta-feature__dashboard-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.meta-feature__dashboard-badge {
  font-size: 11px;
  padding: 4px 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--cyan);
  border-radius: var(--radius-pill);
}

.meta-feature__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.meta-feature__stat {
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.meta-feature__stat-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.meta-feature__stat-value {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
}

.meta-feature__chart {
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding-top: 16px;
}

.meta-feature__bar {
  flex: 1;
  background: var(--gradient);
  border-radius: 4px 4px 0 0;
  opacity: 0.6;
  transform-origin: bottom;
  transform: scaleY(0);
}

.meta-feature__demo-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 16px;
  font-style: italic;
}

/* ============================================
   WEB DEV FEATURE
   ============================================ */
.webdev-feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.webdev-feature__mockups {
  position: relative;
  height: 500px;
}

.webdev-feature__browser {
  position: absolute;
  width: 90%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.webdev-feature__browser:nth-child(1) {
  top: 0;
  left: 0;
  z-index: 3;
  animation: browserFloat1 6s ease-in-out infinite;
}

.webdev-feature__browser:nth-child(2) {
  top: 60px;
  left: 10%;
  z-index: 2;
  opacity: 0.7;
  animation: browserFloat2 6s ease-in-out infinite;
}

.webdev-feature__browser:nth-child(3) {
  top: 120px;
  left: 5%;
  z-index: 1;
  opacity: 0.4;
  animation: browserFloat3 6s ease-in-out infinite;
}

.webdev-feature__browser-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
}

.webdev-feature__browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.webdev-feature__browser-dot:nth-child(1) { background: #ff5f57; }
.webdev-feature__browser-dot:nth-child(2) { background: #febc2e; }
.webdev-feature__browser-dot:nth-child(3) { background: #28c840; }

.webdev-feature__browser-content {
  height: 200px;
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--bg) 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.webdev-feature__browser-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.webdev-feature__code-bg {
  position: absolute;
  inset: 0;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: rgba(37, 99, 235, 0.08);
  padding: 16px;
  line-height: 1.8;
  pointer-events: none;
  white-space: pre;
}

.webdev-feature__points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.webdev-feature__point {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: var(--muted);
}

.webdev-feature__point::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes browserFloat1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes browserFloat2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes browserFloat3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================
   MOBILE DEV FEATURE
   ============================================ */
.mobile-feature {
  position: relative;
  overflow: hidden;
}

.mobile-feature__phones {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(48px, 6vw, 80px);
  perspective: 1000px;
}

.mobile-feature__phone {
  width: clamp(140px, 18vw, 200px);
  aspect-ratio: 9/19;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 32px;
  padding: 12px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.mobile-feature__phone:nth-child(1) { transform: translateY(0); }
.mobile-feature__phone:nth-child(2) { transform: translateY(40px); }
.mobile-feature__phone:nth-child(3) { transform: translateY(80px); }

.mobile-feature__phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.mobile-feature__phone-notch {
  width: 40%;
  height: 20px;
  background: var(--bg);
  border-radius: 0 0 12px 12px;
  margin: 0 auto;
}

.mobile-feature__phone-screen img {
  width: 100%;
  height: calc(100% - 20px);
  object-fit: cover;
  border-radius: 0 0 24px 24px;
}

.mobile-feature__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.mobile-feature__tag {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--muted);
  transition: border-color 0.3s, color 0.3s;
}

.mobile-feature__tag:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ============================================
   RESULTS / STATS
   ============================================ */
.results {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 48px);
}

.results__item {
  text-align: center;
  padding: clamp(24px, 3vw, 40px);
}

.results__value {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.results__label {
  font-size: 14px;
  color: var(--muted);
}

.results__demo {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 32px;
  font-style: italic;
}

/* ============================================
   PROCESS
   ============================================ */
.process__wrapper {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(32px, 4vw, 64px);
}

.process__line {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process__line-track {
  width: 1px;
  flex: 1;
  background: var(--border);
  position: relative;
}

.process__line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--gradient);
}

.process__steps {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 80px);
}

.process__step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  opacity: 0.4;
  transition: opacity 0.4s;
}

.process__step.is-active {
  opacity: 1;
}

.process__step-number {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.4s, background 0.4s;
}

.process__step.is-active .process__step-number {
  border-color: var(--cyan);
  background: rgba(37, 99, 235, 0.1);
}

.process__step h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  margin-bottom: 8px;
}

.process__step p {
  color: var(--muted);
  font-size: 15px;
  max-width: 50ch;
}

/* ============================================
   WHY CHOOSE US — Professional Cards
   ============================================ */
.why-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 50%, var(--bg) 100%);
}

.why-section__intro {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 36px);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.why-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

.why-card__icon svg {
  width: 22px;
  height: 22px;
}

.why-card__num {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.why-card h3 {
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* Work card enhancements */
.work-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.work-card__visit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  padding: 10px 20px;
  background: var(--cyan);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 3;
  white-space: nowrap;
}

.work-card:hover .work-card__visit {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.work-card__url {
  display: inline-block;
  font-size: 13px;
  color: var(--cyan);
  margin-top: 8px;
  font-weight: 500;
}

.work-card__title {
  font-size: clamp(20px, 2.5vw, 28px);
  margin-bottom: 6px;
  transition: color 0.3s;
}

.work-card:hover .work-card__title {
  color: var(--cyan);
}

.work-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .why-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .why-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   WHY VEXORA (legacy inner pages)
   ============================================ */
.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 4vw, 48px);
}

.why__item {
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.4s;
}

.why__item:hover {
  border-color: rgba(37, 99, 235, 0.3);
}

.why__item h3 {
  font-size: clamp(22px, 2.5vw, 32px);
  margin-bottom: 16px;
}

.why__item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================
   TECH STACK TICKER
   ============================================ */
.tech-ticker {
  overflow: hidden;
  padding: clamp(32px, 4vw, 48px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tech-ticker__track {
  display: flex;
  gap: clamp(32px, 4vw, 64px);
  animation: marqueeScroll 25s linear infinite;
}

.tech-ticker__item {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tech-ticker__item::after {
  content: '/';
  color: var(--border);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  position: relative;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials__slider {
  position: relative;
  overflow: hidden;
  max-width: 720px;
  margin: clamp(32px, 4vw, 48px) auto 0;
}

.testimonials__track {
  display: flex;
  transition: transform 0.6s var(--ease-out);
}

.testimonials__slide {
  flex: 0 0 100%;
  padding: clamp(16px, 2vw, 24px);
  text-align: center;
}

.testimonials__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(32px, 4vw, 48px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}

.testimonials__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cyan);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
  margin-bottom: 20px;
}

.testimonials__stars {
  color: #FBBF24;
  font-size: 16px;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.testimonials__quote {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 26px);
  line-height: 1.45;
  max-width: 32ch;
  margin: 0 auto 28px;
  color: var(--text);
}

.testimonials__client {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  width: 100%;
}

.testimonials__author {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.testimonials__role {
  font-size: 14px;
  color: var(--muted);
  margin-top: 0;
}

.testimonials__company {
  display: inline-block;
  font-size: 12px;
  color: var(--cyan);
  margin-top: 8px;
  font-weight: 500;
  transition: opacity 0.3s;
}

.testimonials__company:hover {
  opacity: 0.8;
}

.testimonials__nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.3s, transform 0.3s;
}

.testimonials__dot.is-active {
  background: var(--cyan);
  transform: scale(1.3);
}

/* ============================================
   PHILOSOPHY
   ============================================ */
.philosophy {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.philosophy__text {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1.2;
  max-width: 16ch;
}

.philosophy__word {
  display: inline-block;
  opacity: 0.2;
  transition: opacity 0.1s, color 0.1s;
}

.philosophy__word.is-active {
  opacity: 1;
  color: var(--text);
}

.philosophy__word.is-highlight {
  color: var(--cyan);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin: 0 clamp(20px, 4vw, 48px);
  padding: clamp(80px, 10vw, 140px) clamp(32px, 5vw, 80px);
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0.15;
}

.cta-section__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-section__title {
  font-size: clamp(36px, 5vw, 72px);
  margin-bottom: clamp(32px, 4vw, 48px);
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-section__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-section__email {
  font-size: 16px;
  color: var(--muted);
}

.cta-section__arrow {
  position: absolute;
  right: clamp(32px, 5vw, 80px);
  bottom: clamp(32px, 5vw, 80px);
  width: 120px;
  height: 120px;
  animation: rotateArrow 20s linear infinite;
}

@keyframes rotateArrow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: clamp(80px, 10vw, 120px) 0 clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--border);
  position: relative;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(32px, 4vw, 48px);
  margin-bottom: clamp(64px, 8vw, 100px);
}

.footer__col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col a {
  font-size: 15px;
  color: var(--text);
  transition: color 0.3s;
}

.footer__col a:hover {
  color: var(--cyan);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copyright {
  font-size: 13px;
  color: var(--muted);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.3s;
}

.footer__legal a:hover {
  color: var(--cyan);
}

.footer__wordmark {
  font-family: var(--font-heading);
  font-size: clamp(80px, 15vw, 200px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--border);
  text-align: center;
  line-height: 0.85;
  margin-top: clamp(48px, 6vw, 80px);
  overflow: hidden;
}

.footer__brand {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--border);
}

.footer__wordmark-img {
  width: auto;
  height: auto;
  max-width: min(260px, 72vw);
  max-height: 130px;
  object-fit: contain;
  display: block;
  background: #fff;
  border-radius: 20px;
  padding: clamp(16px, 2.5vw, 24px) clamp(24px, 4vw, 36px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.page-hero__desc {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
  max-width: 50ch;
  margin-top: 20px;
  line-height: 1.65;
}

/* Banner backgrounds per page */
.page-hero--about .page-hero__bg { background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1920&q=80'); }
.page-hero--services .page-hero__bg { background-image: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?w=1920&q=80'); }
.page-hero--work .page-hero__bg { background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1920&q=80'); }
.page-hero--contact .page-hero__bg { background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80'); }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-values__item {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.about-values__item h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.about-values__item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team__card {
  text-align: center;
}

.team__avatar {
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--muted);
}

.team__name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.team__role {
  font-size: 13px;
  color: var(--muted);
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-page__list {
  display: flex;
  flex-direction: column;
}

.services-page__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  padding: clamp(32px, 4vw, 56px) 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.4s var(--ease-out);
}

.services-page__item:hover {
  padding-left: 24px;
}

.services-page__number {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 56px);
  color: var(--border);
  font-weight: 700;
}

.services-page__item:hover .services-page__number {
  color: var(--cyan);
}

.services-page__item h2 {
  font-size: clamp(28px, 4vw, 48px);
}

.services-page__item p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 8px;
  max-width: 50ch;
}

.services-page__arrow {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s, border-color 0.4s;
}

.services-page__item:hover .services-page__arrow {
  transform: rotate(45deg);
  border-color: var(--cyan);
}

/* ============================================
   SERVICE DETAIL PAGE
   ============================================ */
.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
}

.service-detail__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-detail__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--muted);
}

.service-detail__list li::before {
  content: '→';
  color: var(--cyan);
  flex-shrink: 0;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-family: var(--font-heading);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  text-align: left;
}

.faq__icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--cyan);
  transition: transform 0.3s;
}

.faq__icon::before {
  width: 100%;
  height: 1px;
  top: 50%;
  transform: translateY(-50%);
}

.faq__icon::after {
  width: 1px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.faq__item.is-open .faq__icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq__answer p {
  padding-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.faq__item.is-open .faq__answer {
  max-height: 300px;
}

/* ============================================
   WORK PAGE
   ============================================ */
.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(48px, 6vw, 64px);
}

.work-filter {
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.3s;
}

.work-filter.is-active,
.work-filter:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(37, 99, 235, 0.05);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.work-grid__item {
  transition: opacity 0.4s, transform 0.4s;
}

.work-grid__item.is-hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 5vw, 80px);
}

.contact__info h3 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 16px;
}

.contact__info p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__detail {
  font-size: 15px;
}

.contact__detail span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239AA7B5' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-error {
  font-size: 12px;
  color: #ff6b6b;
  display: none;
}

.form-group.is-error input,
.form-group.is-error select,
.form-group.is-error textarea {
  border-color: #ff6b6b;
}

.form-group.is-error .form-error {
  display: block;
}

.form-success {
  padding: 16px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: var(--radius-sm);
  color: var(--cyan);
  display: none;
}

/* ============================================
   404 PAGE
   ============================================ */
.error-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-height) 20px;
}

.error-page__code {
  font-family: var(--font-heading);
  font-size: clamp(120px, 20vw, 240px);
  font-weight: 700;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.error-page__title {
  font-size: clamp(24px, 3vw, 36px);
  margin: 24px 0 16px;
}

.error-page__desc {
  color: var(--muted);
  margin-bottom: 32px;
}

/* ============================================
   PRIVACY PAGE
   ============================================ */
.legal-content {
  max-width: 800px;
}

.legal-content h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 48px 0 16px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 24px;
  list-style: disc;
}

/* ============================================
   FOCUS STATES (Accessibility)
   ============================================ */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee__content,
  .tech-ticker__track {
    animation: none !important;
  }
}
