/* ============================================
   CALVEX STUDIO - Modern Digital Agency Styles
   Clean, Professional, Conversion-Focused
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: #151d2e;
  --bg-elevated: #1a2438;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-dark: #4f46e5;
  --cyan: #06b6d4;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  --gradient-accent: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
  --gradient-accent-cyan: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --gradient-subtle: linear-gradient(180deg, #0a0e1a 0%, #111827 100%);
  --gradient-card: linear-gradient(135deg, rgba(21, 29, 46, 0.9) 0%, rgba(17, 24, 39, 0.95) 100%);

  --section-gap: clamp(72px, 8vh, 120px);
  --content-max: 1200px;
  --content-narrow: 680px;
  --nav-height: 64px;

  --font-main: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.2);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.25);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.08);
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }
input, textarea, select { font-family: inherit; color: inherit; outline: none; }
ul, ol { list-style: none; }

/* ---- Typography Scale ---- */
.text-display {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.text-h1 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-h2 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.text-h3 {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
}

.text-body {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.text-body-lg {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.text-small {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.text-label {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
}

/* ---- Utility Classes ---- */
.text-gradient {
  background: var(--gradient-accent-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

.bg-primary { background: var(--bg-primary); }
.bg-secondary { background: var(--bg-secondary); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 1px 3px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
}
.btn-secondary:hover {
  border-color: var(--accent-light);
  background: rgba(99, 102, 241, 0.05);
}

.btn-small {
  padding: 8px 20px;
  font-size: 0.875rem;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav-scrolled {
  background: rgba(10, 14, 26, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}
.nav-links a.active { color: var(--accent-light); }

/* ---- Mobile Menu ---- */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 201;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 1px;
}
.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 14, 26, 0.98);
  backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }
.mobile-overlay a {
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.35s ease;
}
.mobile-overlay.open a { opacity: 1; transform: translateY(0); }
.mobile-overlay.open a:nth-child(1) { transition-delay: 0.06s; }
.mobile-overlay.open a:nth-child(2) { transition-delay: 0.12s; }
.mobile-overlay.open a:nth-child(3) { transition-delay: 0.18s; }
.mobile-overlay.open a:nth-child(4) { transition-delay: 0.24s; }
.mobile-overlay.open a:nth-child(5) { transition-delay: 0.30s; }
.mobile-overlay.open a:nth-child(6) { transition-delay: 0.36s; }
.mobile-overlay.open a:nth-child(7) { transition-delay: 0.42s; }

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.33, 1, 0.68, 1), transform 0.7s cubic-bezier(0.33, 1, 0.68, 1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* ---- Loading Screen ---- */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-logo { font-weight: 800; font-size: 1.25rem; letter-spacing: 0.1em; }
.loading-bar { width: 100px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.loading-bar-fill { width: 0; height: 100%; background: var(--gradient-accent); animation: loading-fill 1.2s ease-out forwards; }
@keyframes loading-fill { 0% { width: 0; } 100% { width: 100%; } }

/* ---- Section Header ---- */
.section-header { text-align: center; max-width: 560px; margin: 0 auto; }
.section-header-left { text-align: left; }

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.25s ease;
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---- Service Cards ---- */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.25s ease;
}
.service-card:hover {
  border-color: rgba(99, 102, 241, 0.25);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.service-icon {
  width: 44px;
  height: 44px;
  background: rgba(99, 102, 241, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon svg { width: 20px; height: 20px; color: var(--accent-light); }

/* ---- Grid Layouts ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---- Portfolio Cards ---- */
.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: pointer;
}
.project-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover img { transform: scale(1.04); }
.project-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent 0%, rgba(10, 14, 26, 0.92) 100%);
  padding: 28px;
}

/* ---- Blog Cards ---- */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
}
.blog-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.blog-card-img { aspect-ratio: 16 / 9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-content { padding: 24px; }

/* ---- Pricing Cards ---- */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: all 0.25s ease;
}
.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.pricing-card.featured {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-glow);
}
.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}
.pricing-features li svg {
  width: 16px; height: 16px;
  color: var(--accent-light);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---- Accordion ---- */
.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 10px;
  transition: border-color 0.2s;
}
.accordion-item:hover { border-color: var(--border-hover); }
.accordion-item.open { border-color: rgba(99, 102, 241, 0.2); }
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
}
.accordion-header h3 {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-primary);
  padding-right: 16px;
}
.accordion-icon {
  width: 18px; height: 18px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.accordion-item.open .accordion-icon { transform: rotate(180deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.accordion-item.open .accordion-body { max-height: 400px; }
.accordion-content {
  padding: 0 22px 18px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ---- Stats ---- */
.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--accent-light);
}
.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---- Testimonials ---- */
.testimonial-card {
  min-width: 340px;
  max-width: 380px;
  flex: 1;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.testimonial-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 12px;
}
.testimonial-slider::-webkit-scrollbar { display: none; }

/* ---- Industry Items ---- */
.industry-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}
.industry-item:hover {
  border-color: rgba(99, 102, 241, 0.25);
  background: rgba(99, 102, 241, 0.03);
}
.industry-item svg { width: 18px; height: 18px; color: var(--accent-light); flex-shrink: 0; }

/* ---- Form Fields ---- */
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--accent); }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field select option { background: var(--bg-elevated); }

/* ---- Category Tags ---- */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-light);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- Filter Tabs ---- */
.filter-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-tab {
  padding: 7px 18px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  cursor: pointer;
}
.filter-tab:hover { border-color: var(--border-hover); color: var(--text-secondary); }
.filter-tab.active { background: var(--gradient-accent); color: #fff; border-color: transparent; }

/* ---- Footer ---- */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-brand { font-weight: 800; font-size: 1.15rem; letter-spacing: 0.08em; }
.footer-tagline { font-size: 0.875rem; color: var(--text-muted); margin-top: 6px; }
.footer-links h4 { font-weight: 600; font-size: 0.875rem; color: var(--text-primary); margin-bottom: 14px; }
.footer-links a { display: block; font-size: 0.875rem; color: var(--text-muted); margin-bottom: 9px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom {
  max-width: var(--content-max);
  margin: 40px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright { font-size: 0.8125rem; color: var(--text-muted); }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { color: var(--text-muted); transition: color 0.2s; }
.footer-socials a:hover { color: var(--accent-light); }

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 42px; height: 42px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 90;
  cursor: pointer;
  color: var(--text-secondary);
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: scale(1.05); }

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

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  padding: 0 24px;
}

/* ---- Timeline ---- */
.timeline { position: relative; max-width: var(--content-max); margin: 0 auto; }
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--accent) 20%, var(--accent) 80%, transparent 100%);
  transform: translateX(-50%);
  opacity: 0.3;
}
.timeline-step {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  margin-bottom: 40px;
}
.timeline-step:nth-child(odd) { flex-direction: row; }
.timeline-step:nth-child(even) { flex-direction: row-reverse; }
.timeline-node {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent-light);
  z-index: 2;
}
.timeline-card {
  width: calc(50% - 40px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

/* ---- Slider Nav ---- */
.slider-nav { display: flex; gap: 10px; margin-top: 28px; justify-content: center; }
.slider-nav-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}
.slider-nav-btn:hover { border-color: var(--accent); color: var(--accent-light); }

/* ---- Stars ---- */
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.star { width: 16px; height: 16px; color: var(--accent-light); }

/* ---- CTA Section ---- */
.cta-section { position: relative; overflow: hidden; }
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ---- 404 / Thank You ---- */
.page-404, .page-thanks {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}
.page-404-code {
  font-family: var(--font-mono);
  font-size: clamp(5rem, 12vw, 10rem);
  color: var(--accent);
  opacity: 0.12;
  line-height: 1;
}
.success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-icon svg { width: 28px; height: 28px; color: var(--cyan); }

/* ---- Link Arrow ---- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-light);
  font-weight: 500;
  font-size: 0.875rem;
  transition: gap 0.2s;
}
.link-arrow:hover { gap: 10px; }

/* ---- Comparison Table ---- */
.comparison-table { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.comparison-table th, .comparison-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.comparison-table th { background: var(--bg-card); font-weight: 600; font-size: 0.8125rem; color: var(--text-primary); }
.comparison-table td { color: var(--text-secondary); font-size: 0.875rem; }
.comparison-table tr:last-child td { border-bottom: none; }

/* ---- Divider ---- */
.divider { height: 1px; background: var(--border); width: 100%; }

/* ---- Process ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.25s ease;
}
.process-card:hover {
  border-color: rgba(99, 102, 241, 0.2);
}
.process-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-light);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

/* ---- Marquee ---- */
.marquee-container { overflow: hidden; width: 100%; }
.marquee-scroller { display: flex; width: max-content; will-change: transform; gap: 48px; align-items: center; }

/* ---- Value Cards ---- */
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.25s ease;
}
.value-card:hover {
  border-color: rgba(99, 102, 241, 0.2);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .timeline-line { left: 20px; }
  .timeline-step:nth-child(odd),
  .timeline-step:nth-child(even) { flex-direction: row; padding-left: 56px; }
  .timeline-node { left: 20px; transform: translateX(-50%); }
  .timeline-card { width: 100%; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-menu-btn { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .comparison-table { font-size: 0.8125rem; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
  .testimonial-card { min-width: 280px; }
  .hero { min-height: 90vh; }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
