/* ============================================================
   CLAIRE V17 — Premium Agency Design System
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-expo: cubic-bezier(0.87, 0, 0.13, 1);
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --max-width: 1200px;
  --nav-height: 72px;
}

[data-theme="dark"] {
  --bg: #08080a;
  --bg-elevated: #111114;
  --bg-card: #16161a;
  --bg-card-hover: #1c1c21;
  --text: #f0f0f3;
  --text-secondary: #8a8a9a;
  --text-tertiary: #55555e;
  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.12);
  --accent: #6c63ff;
  --accent-light: #8b83ff;
  --accent-glow: rgba(108,99,255,0.15);
  --gradient-1: #6c63ff;
  --gradient-2: #e040fb;
  --gradient-3: #00bcd4;
  --nav-bg: rgba(8,8,10,0.7);
  --overlay: rgba(8,8,10,0.95);
}

[data-theme="light"] {
  --bg: #fafaf9;
  --bg-elevated: #f0f0ee;
  --bg-card: #ffffff;
  --bg-card-hover: #f5f5f3;
  --text: #111114;
  --text-secondary: #6b6b7a;
  --text-tertiary: #9a9aa6;
  --border: rgba(0,0,0,0.06);
  --border-strong: rgba(0,0,0,0.12);
  --accent: #5046e5;
  --accent-light: #6c63ff;
  --accent-glow: rgba(80,70,229,0.1);
  --gradient-1: #5046e5;
  --gradient-2: #d500f9;
  --gradient-3: #0097a7;
  --nav-bg: rgba(250,250,249,0.7);
  --overlay: rgba(250,250,249,0.95);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}
::selection { background: var(--accent); color: white; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* --- Container --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

/* --- Custom Cursor --- */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s;
  mix-blend-mode: difference;
}
.cursor-follower {
  position: fixed; top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), border 0.3s, opacity 0.3s;
  opacity: 0.5;
}
body.cursor-pointer .cursor { width: 16px; height: 16px; }
body.cursor-pointer .cursor-follower { width: 60px; height: 60px; opacity: 0.3; }

@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-follower { display: none; }
  body { cursor: auto; }
}

/* --- Loader --- */
.loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 10002;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-text { overflow: hidden; }
.loader-word {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  transform: translateY(100%);
  animation: loaderWordIn 0.8s var(--ease-out) 0.2s forwards;
}
@keyframes loaderWordIn { to { transform: translateY(0); } }
.loader-bar {
  width: 120px; height: 2px;
  background: var(--border);
  margin: 24px auto 0;
  border-radius: 2px;
  overflow: hidden;
}
.loader-progress {
  width: 0; height: 100%;
  background: var(--accent);
  border-radius: 2px;
  animation: loaderBar 1.5s var(--ease) 0.4s forwards;
}
@keyframes loaderBar { to { width: 100%; } }

/* --- Navigation --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: center;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.4s var(--ease), background 0.3s;
}
.nav.hidden { transform: translateY(-100%); }
.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.nav-logo-mark { width: 28px; height: 28px; color: var(--accent); }
.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: none;
  color: var(--text-secondary);
  transition: all 0.3s;
}
.theme-toggle:hover { color: var(--text); border-color: var(--border-strong); }
.theme-toggle svg { width: 16px; height: 16px; }
[data-theme="dark"] .theme-icon-moon { display: none; }
[data-theme="light"] .theme-icon-sun { display: none; }
.nav-cta {
  padding: 10px 24px;
  background: var(--accent);
  color: white;
  font-size: 14px; font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  transition: all 0.3s var(--ease);
  cursor: none;
  display: flex; align-items: center;
}
.nav-cta:hover { background: var(--accent-light); transform: translateY(-1px); }
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: none;
  position: relative;
  z-index: 1001;
  transition: background 0.3s;
}
.menu-toggle:hover { background: var(--bg-card); }
.menu-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--text);
  position: absolute;
  transition: all 0.4s var(--ease-out);
  border-radius: 2px;
}
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle.open span:first-child { transform: rotate(45deg); width: 20px; }
.menu-toggle.open span:last-child { transform: rotate(-45deg); width: 20px; }

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 999;
  display: flex; align-items: flex-start;
  pointer-events: none;
  clip-path: circle(0% at calc(100% - 40px) 36px);
  transition: clip-path 0.6s var(--ease-out);
  padding-top: var(--nav-height);
}
.mobile-menu.open { 
  clip-path: circle(150% at calc(100% - 40px) 36px);
  pointer-events: all;
}
.mobile-menu-inner {
  width: 100%; padding: 48px clamp(24px, 6vw, 48px);
  display: flex; flex-direction: column;
  justify-content: space-between;
  height: calc(100vh - var(--nav-height));
}
.mobile-menu-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-link {
  font-family: var(--font-display);
  font-size: clamp(32px, 8vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  overflow: hidden;
  line-height: 1.2;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link span {
  display: block;
  transform: translateY(110%);
  transition: transform 0.5s var(--ease-out), color 0.2s;
}
.mobile-menu.open .mobile-link span { transform: translateY(0); }
.mobile-menu.open .mobile-link:nth-child(1) span { transition-delay: 0.15s; }
.mobile-menu.open .mobile-link:nth-child(2) span { transition-delay: 0.2s; }
.mobile-menu.open .mobile-link:nth-child(3) span { transition-delay: 0.25s; }
.mobile-menu.open .mobile-link:nth-child(4) span { transition-delay: 0.3s; }
.mobile-link:hover span,
.mobile-link:active span { color: var(--accent); }
.mobile-menu-footer {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px; color: var(--text-tertiary);
  opacity: 0;
  transition: opacity 0.4s 0.35s;
}
.mobile-menu.open .mobile-menu-footer { opacity: 1; }
.mobile-menu-footer a { color: var(--accent); }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-gradient {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, var(--accent-glow), transparent);
}
.hero-grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 70%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 20s ease-in-out infinite;
}
.hero-orb-1 {
  width: 400px; height: 400px;
  background: var(--gradient-1);
  top: 10%; left: 15%;
  opacity: 0.15;
}
.hero-orb-2 {
  width: 300px; height: 300px;
  background: var(--gradient-2);
  top: 30%; right: 10%;
  opacity: 0.1;
  animation-delay: -7s;
}
.hero-orb-3 {
  width: 250px; height: 250px;
  background: var(--gradient-3);
  bottom: 15%; left: 40%;
  opacity: 0.08;
  animation-delay: -14s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}
.hero-content { position: relative; z-index: 1; max-width: 900px; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
  opacity: 0; transform: translateY(20px);
}
.hero-eyebrow-line { width: 40px; height: 1px; background: var(--accent); }
.hero-eyebrow span {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 10vw, 100px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 28px;
}
.hero-line { display: block; overflow: hidden; }
.hero-line-inner {
  display: block;
  transform: translateY(110%);
}
.hero-line-accent { color: var(--accent); }

/* Rotating Words */
.hero-rotate-wrapper {
  position: relative;
  display: inline-block;
}
.hero-rotate-word {
  display: inline-block;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: absolute;
  left: 0;
  opacity: 0;
  transform: translateY(50%);
  transition: all 0.6s var(--ease-out);
  white-space: nowrap;
}
.hero-rotate-word.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}
.hero-rotate-word.exit {
  opacity: 0;
  transform: translateY(-50%);
}

.hero-subtitle {
  font-size: clamp(17px, 2.5vw, 21px);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 48px;
  opacity: 0; transform: translateY(20px);
}
.hero-cta {
  display: flex; gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  opacity: 0;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}
.hero-scroll-indicator span {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-tertiary);
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: none;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 20px 40px; font-size: 17px; }
.btn-icon {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  transition: transform 0.3s var(--ease);
}
.btn-icon svg { width: 18px; height: 18px; }
.btn:hover .btn-icon { transform: translate(3px, -3px); }

/* --- Marquee --- */
.marquee {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 32px;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
}
.marquee-dot { color: var(--accent); font-size: 8px; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Section Styles --- */
.section-header { margin-bottom: clamp(48px, 8vw, 80px); }
.section-tag {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 20px;
  position: relative;
  padding-left: 24px;
}
.section-tag::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  width: 12px; height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.line { display: block; overflow: hidden; }
.line-inner { display: block; }

/* --- Services --- */
.services { padding: clamp(80px, 12vw, 160px) 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--glass-bg, var(--bg-card));
  border: 1px solid var(--glass-border, var(--border));
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 48px);
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
  cursor: none;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--glass-shadow, none);
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent-glow), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }
.service-number {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  color: var(--text-tertiary);
  margin-bottom: 32px;
  position: relative; z-index: 1;
}
.service-icon-wrap { margin-bottom: 28px; position: relative; z-index: 1; }
.service-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius);
}
.service-icon svg { width: 32px; height: 32px; color: var(--accent); }
.service-card h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative; z-index: 1;
}
.service-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  position: relative; z-index: 1;
}
.service-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  margin-top: 24px;
  position: relative; z-index: 1;
  transition: all 0.3s;
}
.service-arrow svg { width: 20px; height: 20px; color: var(--text-secondary); transition: all 0.3s; }
.service-card:hover .service-arrow { background: var(--accent); border-color: var(--accent); }
.service-card:hover .service-arrow svg { color: white; transform: translate(2px, -2px); }

/* --- Process --- */
.process { padding: clamp(80px, 12vw, 160px) 0; background: var(--bg-elevated); }
.process-timeline {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.process-line {
  position: absolute;
  left: 23px; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.process-line-fill {
  width: 100%; height: 0;
  background: linear-gradient(to bottom, var(--accent), var(--gradient-2));
  transition: height 1s var(--ease);
}
.process-step {
  display: flex; gap: 32px;
  padding: 40px 0;
  position: relative;
}
.process-step:first-of-type { padding-top: 0; }
.process-step:last-of-type { padding-bottom: 0; }
.process-step-marker {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  flex-shrink: 0;
}
.process-step-number {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  color: var(--text-tertiary);
}
.process-step-dot {
  width: 12px; height: 12px;
  background: var(--bg-elevated);
  border: 2px solid var(--accent);
  border-radius: 50%;
  position: relative;
  z-index: 1;
}
.process-step-content h3 {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.process-step-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Stats --- */
.stats {
  padding: clamp(60px, 8vw, 100px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--accent);
}
.stat-label {
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* --- CTA --- */
.cta {
  padding: clamp(100px, 16vw, 200px) 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; }
.cta-gradient {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, var(--accent-glow), transparent);
}
.cta-content { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 20px 0;
}
.cta-text {
  font-size: 19px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* --- Footer --- */
.footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}
.footer-brand { max-width: 300px; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 800;
  letter-spacing: -0.03em;
  display: inline-block;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
.footer-grid { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}
.footer-col a, .footer-col span { font-size: 14px; color: var(--text-secondary); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
  .nav-menu, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: calc(var(--nav-height) + 20px) 20px 60px; }
  .hero-title { font-size: clamp(40px, 12vw, 72px); }
  .hero-cta { flex-direction: column; width: 100%; }
  .btn { width: 100%; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step { gap: 20px; }
  .footer-top { flex-direction: column; gap: 48px; }
  .footer-grid { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-scroll-indicator { display: none; }
}

/* --- Tap Glow Effect --- */
.tap-glow {
  position: fixed;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%) scale(0);
  transition: none;
}
.tap-glow.active {
  animation: tapGlowPulse 0.5s ease-out forwards;
}
@keyframes tapGlowPulse {
  0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0); }
  50% { opacity: 0.25; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
}

/* --- Liquid Glass Variables --- */
[data-theme="dark"] {
  --glass-bg: rgba(255,255,255,0.03);
  --glass-border: rgba(255,255,255,0.08);
  --glass-shadow: 
    0 4px 24px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.04);
}
[data-theme="light"] {
  --glass-bg: rgba(255,255,255,0.55);
  --glass-border: rgba(255,255,255,0.6);
  --glass-shadow: 
    0 4px 24px rgba(0,0,0,0.04),
    0 1px 2px rgba(0,0,0,0.02),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.service-card:hover {
  box-shadow: 
    var(--glass-shadow, none),
    0 0 40px var(--accent-glow);
}

.project-card:hover {
  box-shadow: 
    0 12px 40px rgba(0,0,0,0.15);
}

/* Glass process steps */
.process-step {
  background: var(--glass-bg, var(--bg-card));
  border: 1px solid var(--glass-border, var(--border));
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* CTA glass treatment */
.cta-content {
  background: var(--glass-bg, var(--bg-card));
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border, var(--border));
  box-shadow: var(--glass-shadow, none);
  border-radius: 24px;
  padding: clamp(40px, 6vw, 80px);
}

/* Button sheen */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(105deg,transparent 40%,rgba(255,255,255,0.12) 45%,rgba(255,255,255,0.06) 50%,transparent 55%);
  transform: rotate(25deg) translateX(-100%);
  transition: transform 0.6s ease;
}
.btn-primary:hover::after {
  transform: rotate(25deg) translateX(60%);
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(36px, 14vw, 56px); }
}
