/* Procellari — light layout, logo blue palette */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --deep-navy: #0A1628;
  --navy-blue: #0D1B3E;
  --royal-blue: #0057C8;
  --brand-blue: #0F74E4;
  --electric-blue: #1E90FF;
  --bg-primary: #ffffff;
  --bg-secondary: #f4f8fc;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f6ff;
  --bg-input: #ffffff;
  --border: rgba(13, 27, 62, 0.1);
  --border-hover: rgba(0, 87, 200, 0.35);
  --text-primary: #0D1B3E;
  --text-secondary: #3d5270;
  --text-muted: #5c7290;
  --accent: var(--royal-blue);
  --accent-light: var(--brand-blue);
  --accent-glow: rgba(30, 144, 255, 0.18);
  --accent-secondary: var(--electric-blue);
  --gradient: linear-gradient(135deg, #0F74E4 0%, #1E90FF 100%);
  --gradient-text: linear-gradient(135deg, #0057C8 0%, #1E90FF 100%);
  --gradient-media: linear-gradient(160deg, #f0f6fc 0%, #dce9f8 45%, #c5daf5 100%);
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(13, 27, 62, 0.08);
  --shadow-glow: 0 0 60px var(--accent-glow);
  --nav-height: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1240px;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.75rem, 5.5vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; }
h4 { font-size: 1rem; font-weight: 600; }

.display-line {
  display: block;
  margin-bottom: 0.08em;
}

.gradient-text {
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s ease-in-out infinite;
}

.section-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
}

.section-title { margin-bottom: 1.25rem; }
.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 520px;
  line-height: 1.8;
  font-weight: 400;
}

.section-header {
  text-align: left;
}

.section-header .section-desc { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--gradient);
  background-size: 200% auto;
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
  animation: btnGlow 3s ease-in-out infinite;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.22) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease-out-expo);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px var(--accent-glow);
  background-position: right center;
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:active { transform: translateY(-1px) scale(0.98); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(0, 87, 200, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 87, 200, 0.12);
}

.btn-ghost {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-card-hover); }

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(13, 27, 62, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
  min-width: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-name {
  display: inline-block;
  letter-spacing: -0.03em;
}

.logo-accent {
  color: var(--accent-light);
}

.logo-mark {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: block;
}

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

.nav-links a:not(.btn) {
  position: relative;
  padding: 0.5rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

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

.nav-links a:not(.btn).active {
  color: var(--accent-light);
  font-weight: 600;
}

.nav-links a:not(.btn).active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.8rem;
  right: 0.8rem;
  height: 2px;
  background: var(--accent-light);
  border-radius: 2px;
}

.nav-cta {
  margin-left: 0.75rem;
  border-radius: 8px !important;
  padding: 0.6rem 1.2rem !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.particles-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.particles-bg canvas {
  display: block;
}

.hero-orb,
.hero-grid {
  z-index: 2;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.6;
  animation: orbDrift 14s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(30, 144, 255, 0.1) 0%, transparent 70%);
  animation: orbDrift 18s ease-in-out infinite reverse;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  will-change: transform;
}

.hero-orb-1 {
  width: 420px;
  height: 420px;
  top: 10%;
  right: 5%;
  background: rgba(15, 116, 228, 0.14);
  animation: floatOrb 12s ease-in-out infinite;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  bottom: 15%;
  left: 10%;
  background: rgba(30, 144, 255, 0.1);
  animation: floatOrb 16s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 45%;
  background: rgba(0, 87, 200, 0.08);
  animation: floatOrb 10s ease-in-out infinite 2s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 27, 62, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 27, 62, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
  animation: gridDrift 30s linear infinite;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
  width: 100%;
}

.hero-content {
  position: relative;
  max-width: 560px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: clamp(320px, 42vh, 520px);
  padding: 1rem;
  overflow: visible;
  opacity: 0;
  transform: translateY(32px);
}

body.loaded .hero-visual {
  animation: heroReveal 1s var(--ease-out-expo) 0.45s forwards;
}

.hero-logo {
  width: min(100%, 560px);
  height: auto;
  filter: drop-shadow(0 12px 40px rgba(15, 116, 228, 0.2));
  animation: heroLogoFloat 8s ease-in-out infinite;
}

@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-content h1 {
  line-height: 1.12;
  margin-bottom: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(32px);
}

body.loaded .hero-content > * {
  animation: heroReveal 0.9s var(--ease-out-expo) forwards;
}

body.loaded .hero-content > *:nth-child(1) { animation-delay: 0.15s; }
body.loaded .hero-content > *:nth-child(2) { animation-delay: 0.3s; }
body.loaded .hero-content > *:nth-child(3) { animation-delay: 0.45s; }
body.loaded .hero-content > *:nth-child(4) { animation-delay: 0.6s; }
body.loaded .hero-content > *:nth-child(5) { animation-delay: 0.75s; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  background: none;
  border: none;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 2rem;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-secondary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 { margin-bottom: 1.25rem; }
.hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 2.5rem;
  max-width: 480px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

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

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

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

/* Sections */
section { padding: 7.5rem 0; }
section.alt-bg { background: var(--bg-secondary); }

.section-header {
  margin-bottom: 4.5rem;
}

/* CRED-style statement block */
.statement-section {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.statement-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 2rem;
}

.statement-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  max-width: 900px;
}

.statement-body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 520px;
}

/* CRED-style marquee */
.marquee-section {
  padding: 3rem 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee-item {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee-item span {
  color: var(--accent-light);
  margin-right: 3rem;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid > * {
  min-width: 0;
}

.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow), 0 0 40px rgba(0, 87, 200, 0.08);
}

.card:hover::before { opacity: 1; }

.card:hover .card-icon {
  transform: scale(1.08) translateY(-2px);
  background: rgba(0, 87, 200, 0.2);
  box-shadow: 0 0 24px rgba(30, 144, 255, 0.15);
}

.card-icon { transition: transform 0.4s var(--ease-out-expo), background 0.4s ease, box-shadow 0.4s ease; }

.card-icon,
.perk-icon,
.value-icon,
.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 87, 200, 0.12);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  color: var(--accent-light);
}

.value-icon { margin-bottom: 0; }

.icon {
  width: 22px;
  height: 22px;
  display: block;
}

.contact-info-card h4 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-info-card .contact-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 0;
}

.contact-info-card .contact-icon .icon {
  width: 18px;
  height: 18px;
}

.card h3 { margin-bottom: 0.75rem; }
.card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}
.card-link:hover {
  gap: 0.6rem;
  border-bottom-color: var(--accent-light);
}

/* Tech Stack */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.tech-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.tech-badge {
  animation: techFloat 6s ease-in-out infinite;
}

.tech-badge:nth-child(2) { animation-delay: 0.4s; }
.tech-badge:nth-child(3) { animation-delay: 0.8s; }
.tech-badge:nth-child(4) { animation-delay: 1.2s; }
.tech-badge:nth-child(5) { animation-delay: 1.6s; }
.tech-badge:nth-child(6) { animation-delay: 2s; }
.tech-badge:nth-child(7) { animation-delay: 2.4s; }
.tech-badge:nth-child(8) { animation-delay: 2.8s; }
.tech-badge:nth-child(9) { animation-delay: 3.2s; }
.tech-badge:nth-child(10) { animation-delay: 3.6s; }
.tech-badge:nth-child(11) { animation-delay: 4s; }

.tech-badge:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px) scale(1.03);
  animation-play-state: paused;
  box-shadow: 0 8px 24px rgba(0, 87, 200, 0.15);
}

.tech-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: rgba(0, 87, 200, 0.12);
  border: 1px solid rgba(0, 87, 200, 0.25);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-light);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease, background 0.4s ease;
}

.process-step:hover::before {
  transform: scale(1.12);
  background: rgba(0, 87, 200, 0.22);
  box-shadow: 0 0 28px rgba(30, 144, 255, 0.2);
}

.process-step h4 { margin-bottom: 0.5rem; }
.process-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* CTA Banner */
.cta-banner {
  position: relative;
  padding: 5rem 3rem;
  border-radius: var(--radius);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  text-align: left;
  overflow: hidden;
}

.cta-banner h2 {
  max-width: 600px;
  margin-bottom: 1.25rem;
  line-height: 1.12;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  animation: ctaPulse 4s ease-in-out infinite;
}

.cta-banner h2 { position: relative; }
.cta-banner p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
  text-align: left;
  position: relative;
}
.cta-banner .btn { position: relative; }

/* Testimonials */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 32px rgba(0, 87, 200, 0.1);
}

.testimonial-card blockquote {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.author-info strong { display: block; font-size: 0.9rem; }
.author-info span { font-size: 0.8rem; color: var(--text-muted); }

/* Footer */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--accent-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
}

.footer-legal a {
  color: var(--text-secondary);
  transition: var(--transition);
}

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

/* Legal pages */
.legal-content {
  max-width: 760px;
  opacity: 1;
  transform: none;
}

.legal-content.fade-in {
  opacity: 1;
  transform: none;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.legal-nav-links {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--text-primary);
}

.legal-content h2 {
  font-size: 1.35rem;
  margin: 2.5rem 0 1rem;
  color: var(--text-primary);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
}

.legal-content a {
  color: var(--accent-light);
  transition: var(--transition);
}

.legal-content a:hover {
  color: var(--accent-secondary);
}

.legal-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.legal-summary-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

a.legal-summary-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.legal-summary-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.legal-summary-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex: 1;
}

.legal-summary-card .card-link {
  margin-top: auto;
}

.legal-summary-static .legal-small {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.legal-highlight {
  padding: 1.5rem 1.75rem;
  background: rgba(0, 87, 200, 0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
}

.legal-highlight p {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.legal-highlight p:last-child {
  margin-bottom: 0;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2.5rem;
  -webkit-overflow-scrolling: touch;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.legal-table th {
  color: var(--text-primary);
  font-weight: 600;
  background: rgba(0, 87, 200, 0.08);
}

.legal-table td {
  color: var(--text-secondary);
}

.legal-table a {
  color: var(--accent-light);
}

.legal-faq {
  margin-top: 2rem;
}

.legal-faq-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.legal-faq-item h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.legal-faq-item p {
  margin-bottom: 0;
}

.form-consent {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.form-consent a {
  color: var(--accent-light);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(13, 27, 62, 0.1);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out-expo);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner p {
  flex: 1;
  min-width: 240px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.cookie-banner p a {
  color: var(--accent-light);
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-banner .btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.68rem;
}

@media (max-width: 1024px) {
  .legal-summary-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-banner-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition);
}
.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 87, 200, 0.15);
}

.social-links a { transition: var(--transition), transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease; }

/* Page Header (inner pages) */
.page-header {
  padding: calc(var(--nav-height) + 5rem) 0 5rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
}

.page-header .particles-bg {
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  background: radial-gradient(ellipse at center top, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.4;
  pointer-events: none;
}

.page-header .section-label,
.page-header h1,
.page-header p {
  opacity: 0;
  transform: translateY(24px);
}

body.loaded .page-header .section-label {
  animation: heroReveal 0.8s var(--ease-out-expo) 0.1s forwards;
}
body.loaded .page-header h1 {
  animation: heroReveal 0.8s var(--ease-out-expo) 0.25s forwards;
}
body.loaded .page-header p {
  animation: heroReveal 0.8s var(--ease-out-expo) 0.4s forwards;
}

.page-header h1 { margin-bottom: 1rem; position: relative; }
.page-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0;
  position: relative;
  line-height: 1.85;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 87, 200, 0.2) 0%, rgba(30, 144, 255, 0.1) 100%);
  border: 1px solid var(--border);
  overflow: hidden;
}

.about-visual-inner {
  position: absolute;
  inset: 2rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  gap: 1.5rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.value-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.value-icon .icon {
  width: 20px;
  height: 20px;
}

.value-item h4 { margin-bottom: 0.25rem; }
.value-item p { font-size: 0.85rem; color: var(--text-secondary); }

.about-story-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}

.about-story {
  max-width: 640px;
}

.about-story p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.about-story p:last-child {
  margin-bottom: 0;
}

.about-story a {
  color: var(--accent-light);
}

.about-facts {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
}

.about-facts h2 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
}

.about-facts dl {
  display: grid;
  gap: 1rem;
}

.about-facts dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.about-facts dd {
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.5;
}

/* Team */
.team-card {
  text-align: center;
}

.team-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.team-card h4 { margin-bottom: 0.25rem; }
.team-card .role {
  font-size: 0.85rem;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
}
.team-card p { font-size: 0.85rem; color: var(--text-secondary); }

/* Industries */
.industry-card .card-icon { font-size: 1.6rem; }

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  background: var(--bg-card);
}

.portfolio-item:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow), 0 0 40px rgba(0, 87, 200, 0.1);
}

.blog-card .blog-thumb {
  transition: transform 0.6s var(--ease-out-expo);
}

.blog-card:hover .blog-thumb {
  transform: scale(1.03);
}

.portfolio-thumb {
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  background: var(--gradient-media);
}

.portfolio-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 144, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 144, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 80% 80% at center, black, transparent);
}

.portfolio-thumb::after {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 144, 255, 0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ctaPulse 5s ease-in-out infinite;
}

.portfolio-icon-wrap {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 116, 228, 0.25);
  border-radius: 22px;
  box-shadow:
    0 0 0 1px rgba(0, 87, 200, 0.08),
    0 6px 24px rgba(15, 116, 228, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease, border-color 0.5s ease;
}

.portfolio-icon-wrap::before {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(30, 144, 255, 0.1);
  border-radius: 28px;
  animation: ringPulse 4s ease-in-out infinite;
}

.portfolio-icon {
  width: 40px;
  height: 40px;
  color: var(--accent-light);
  filter: drop-shadow(0 0 10px rgba(30, 144, 255, 0.35));
}

.portfolio-category {
  position: relative;
  z-index: 1;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--royal-blue);
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 116, 228, 0.2);
  border-radius: 999px;
}

.portfolio-item:hover .portfolio-icon-wrap {
  transform: scale(1.1) translateY(-3px);
  border-color: rgba(30, 144, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(0, 87, 200, 0.2),
    0 12px 36px rgba(0, 87, 200, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.thumb-label {
  position: relative;
  z-index: 1;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--royal-blue);
}

.blog-thumb {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-media);
}

.blog-thumb::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(30, 144, 255, 0.15);
  border-radius: 50%;
  animation: ringPulse 4s ease-in-out infinite;
}

.blog-thumb::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(30, 144, 255, 0.1);
  border-radius: 50%;
  animation: ringPulse 4s ease-in-out infinite 1s;
}

.blog-card:hover .blog-thumb::before {
  animation-duration: 2s;
}

.portfolio-info { padding: 1.5rem; }
.portfolio-info .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}
.portfolio-info h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.portfolio-info p { font-size: 0.85rem; color: var(--text-secondary); }

/* Case Studies */
.case-study-visual {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  background: var(--gradient-media);
}

.case-study-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 144, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 144, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 80% 80% at center, black, transparent);
}

.case-study-visual::after {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 144, 255, 0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ctaPulse 5s ease-in-out infinite;
}

.case-study-icon-wrap {
  position: relative;
  z-index: 1;
  width: 108px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 116, 228, 0.25);
  border-radius: 28px;
  box-shadow:
    0 0 0 1px rgba(0, 87, 200, 0.08),
    0 8px 32px rgba(15, 116, 228, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease, border-color 0.5s ease;
}

.case-study-icon-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(30, 144, 255, 0.12);
  border-radius: 36px;
  animation: ringPulse 4s ease-in-out infinite;
}

.case-study-icon {
  width: 52px;
  height: 52px;
  color: var(--accent-light);
  filter: drop-shadow(0 0 12px rgba(30, 144, 255, 0.4));
}

.case-study-category {
  position: relative;
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--royal-blue);
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 116, 228, 0.2);
  border-radius: 999px;
}

.case-study-card:hover .case-study-icon-wrap {
  transform: scale(1.08) translateY(-4px);
  border-color: rgba(30, 144, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(0, 87, 200, 0.2),
    0 16px 48px rgba(0, 87, 200, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.case-study-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
  transition: var(--transition);
}

.case-study-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow), 0 0 40px rgba(0, 87, 200, 0.08);
  transform: translateY(-4px);
}


.case-study-content {
  padding: 2.5rem;
  background: var(--bg-card);
}

.case-study-content .tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
  display: block;
}

.case-study-content h3 { margin-bottom: 1rem; }
.case-study-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

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

.case-metrics .metric strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-light);
}
.case-metrics .metric span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
}

.blog-body { padding: 1.5rem; }
.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.blog-body h3 { margin-bottom: 0.75rem; font-size: 1.05rem; }
.blog-body p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1rem; }
.blog-body .card-link { margin-top: 0; }

/* Careers */
.perk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.perk-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.perk-card .perk-icon {
  margin: 0 auto 1rem;
}

.job-list { margin-top: 3rem; }

.no-positions {
  text-align: center;
  padding: 3.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.no-positions h3 {
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.no-positions p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.job-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.job-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.job-info h4 { margin-bottom: 0.25rem; }
.job-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}

.contact-info-card h4 {
  margin-bottom: 0.5rem;
}

.contact-info-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.contact-info-card a {
  color: var(--accent-light);
  transition: var(--transition);
}
.contact-info-card a:hover { color: var(--accent-secondary); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition);
}

/* Custom select — matches light theme (native dropdown can't be styled on Windows) */
.custom-select {
  position: relative;
  width: 100%;
  min-width: 0;
}

.form-group .custom-select > select,
.form-group .custom-select-native {
  display: none;
}

.custom-select-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-trigger {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.custom-select-trigger:hover {
  border-color: var(--border-hover);
}

.custom-select.open .custom-select-trigger,
.custom-select-trigger:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.custom-select-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: transform 0.2s ease;
}

.custom-select.open .custom-select-chevron {
  transform: rotate(180deg);
  color: var(--accent-light);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 50;
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 8px 24px rgba(13, 27, 62, 0.1);
  max-height: 240px;
  overflow-y: auto;
}

.custom-select-menu li {
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: 6px;
  cursor: pointer;
  line-height: 1.4;
  word-break: break-word;
  transition: background 0.15s ease, color 0.15s ease;
}

.custom-select-menu li:hover,
.custom-select-menu li:focus {
  background: rgba(0, 87, 200, 0.2);
  color: var(--text-primary);
}

.custom-select-menu li.selected {
  background: rgba(0, 87, 200, 0.15);
  color: var(--accent-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row > .form-group {
  min-width: 0;
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-tab {
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.filter-tab:hover,
.filter-tab.active {
  background: rgba(0, 87, 200, 0.12);
  border-color: rgba(0, 87, 200, 0.3);
  color: var(--accent-light);
  transform: translateY(-2px);
}

.filter-tab.active {
  box-shadow: 0 4px 16px rgba(0, 87, 200, 0.2);
}

/* Animations */
@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 4px 20px var(--accent-glow); }
  50% { box-shadow: 0 4px 32px rgba(30, 144, 255, 0.35); }
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -15px); }
}

@keyframes gridDrift {
  to { background-position: 60px 60px; }
}

@keyframes techFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.6; }
}

@keyframes ctaPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
}

.stagger-children.visible > * {
  animation: heroReveal 0.65s var(--ease-out-expo) forwards;
}

.stat-item strong.counting {
  animation: countUp 0.5s var(--ease-out-expo) forwards;
}

.portfolio-item,
.blog-card,
.case-study-card,
.job-item {
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out-expo);
}

.portfolio-item.filter-hide,
.blog-card.filter-hide {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.card-link .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out-expo);
}

.card-link:hover .arrow { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in, .fade-in-left, .fade-in-right, .scale-in,
  .stagger-children > *, .hero-content > *, .hero-visual,
  .page-header .section-label, .page-header h1, .page-header p {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-inner {
    position: relative;
    z-index: 1002;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    height: calc(100dvh - var(--nav-height));
    z-index: 1001;
    background: var(--bg-primary);
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem 2rem;
    gap: 0.25rem;
    border-bottom: none;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

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

  .nav-links a:not(.btn) {
    width: auto;
    text-align: center;
    padding: 0.65rem 1.25rem;
  }

  .nav-links a:not(.btn).active::after { display: none; }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.75rem;
    width: auto;
    align-self: center;
    justify-content: center;
    padding: 0.65rem 1.5rem !important;
  }

  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

@media (max-width: 1024px) {
  section { padding: 5.5rem 0; }

  .card-grid-2,
  .card-grid-3,
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid,
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .perk-grid { grid-template-columns: repeat(2, 1fr); }
  .case-study-card { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-story-wrap { grid-template-columns: 1fr; }
  .about-facts { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .case-metrics { flex-wrap: wrap; gap: 1.5rem; }
  .statement-section { padding: 5.5rem 0; }
}

@media (max-width: 768px) {
  :root { --nav-height: 72px; }

  .container { padding: 0 1.25rem; }

  section { padding: 4rem 0; }
  .section-header { margin-bottom: 3rem; }
  .statement-section { padding: 4rem 0; }
  .page-header {
    padding: calc(var(--nav-height) + 3rem) 0 3rem;
    text-align: left;
  }

  .hero {
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    order: -1;
    max-width: 380px;
    min-height: 280px;
    margin: 0 auto;
  }

  .hero-logo {
    width: 100%;
  }

  .hero-content h1 {
    font-size: clamp(2.25rem, 9vw, 3.25rem);
    margin-bottom: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 2.5rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 1.5rem;
  }

  .card-grid-2,
  .card-grid-3,
  .card-grid-4 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .portfolio-grid,
  .blog-grid { grid-template-columns: 1fr; }
  .perk-grid { grid-template-columns: 1fr; }

  .card { padding: 1.5rem; }
  .case-study-content { padding: 1.5rem; }
  .contact-info-card { padding: 1.5rem; }

  .filter-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    scrollbar-width: none;
  }

  .filter-tabs::-webkit-scrollbar { display: none; }

  .filter-tab {
    flex-shrink: 0;
  }

  .job-item {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
  }

  .job-meta {
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }
  .cta-banner {
    padding: 2.5rem 1.5rem;
    text-align: center;
  }

  .cta-banner .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }

  .logo { font-size: 1.2rem; }

  .logo-mark {
    width: 44px;
    height: 44px;
  }

  .hero-badge {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    margin-bottom: 1.5rem;
  }

  .hero-content h1 {
    font-size: clamp(1.9rem, 10vw, 2.5rem);
  }

  .section-desc,
  .page-header p,
  .statement-body {
    font-size: 0.95rem;
  }

  .btn {
    padding: 0.85rem 1.25rem;
    font-size: 0.68rem;
  }

  .card { padding: 1.25rem; }
  .contact-form { padding: 1.25rem; }
  .cta-banner { padding: 2rem 1.25rem; }
  .case-metrics { gap: 1rem; }
  .tech-badge { padding: 0.65rem 1rem; font-size: 0.85rem; }
}
