/* ============================================================
   WicTech — Design System & Styles
   Premium AI Company Website
   ============================================================ */

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
  /* Colors — Core */
  --bg-primary: #060d1a;
  --bg-surface: #0c1626;
  --bg-elevated: #13203a;
  --bg-card: rgba(12, 22, 38, 0.6);

  /* Colors — Accent */
  --accent-blue: #2563eb;
  --accent-purple: #0ea5e9;
  --accent-cyan: #22d3ee;
  --accent-green: #10b981;
  --accent-pink: #38bdf8;

  /* Colors — Text */
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #7dd3fc;

  /* Colors — Borders & Glows */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(14, 165, 233, 0.4);
  --glow-blue: rgba(37, 99, 235, 0.15);
  --glow-purple: rgba(14, 165, 233, 0.15);
  --glow-cyan: rgba(34, 211, 238, 0.15);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #2563eb, #0ea5e9);
  --gradient-hero: linear-gradient(135deg, #2563eb, #0ea5e9, #22d3ee);
  --gradient-text: linear-gradient(135deg, #60a5fa, #38bdf8, #34d399);
  --gradient-surface: linear-gradient(180deg, rgba(14, 165, 233, 0.05), transparent);

  /* Typography */
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --section-padding: clamp(5rem, 10vw, 9rem);
  --container-max: 1200px;
  --container-wide: 1400px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow-blue: 0 0 40px rgba(37, 99, 235, 0.2);
  --shadow-glow-purple: 0 0 40px rgba(14, 165, 233, 0.2);

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.3s var(--ease-out);
  --transition-slow: 0.5s var(--ease-out);

  /* Z-index scale */
  --z-behind: -1;
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-overlay: 400;
}

/* ---------- CSS Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

input,
textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  font-weight: 600;
}

p {
  max-width: 70ch;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent {
  color: var(--accent-purple);
}

.text-center {
  text-align: center;
}

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header .label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-purple);
  margin-bottom: 1rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* ---------- Glass Card Component ---------- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.glass-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(14, 165, 233, 0.08);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-primary);
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn--primary:hover::after {
  opacity: 1;
}

.btn--primary span {
  position: relative;
  z-index: 1;
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  border-color: var(--accent-purple);
  background: rgba(14, 165, 233, 0.1);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn .btn-icon {
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: 1.25rem 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background: rgba(6, 13, 26, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.navbar__logo .logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar__logo .logo-dot {
  color: var(--accent-purple);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
  border-radius: 1px;
}

.navbar__links a:hover {
  color: var(--text-primary);
}

.navbar__links a:hover::after {
  width: 100%;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Menu Toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
  z-index: calc(var(--z-overlay) + 1);
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(6, 13, 26, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s var(--ease-out);
  pointer-events: none;
}

.mobile-menu.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.mobile-menu a:hover {
  color: var(--accent-purple);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
}

/* Animated Gradient Mesh Background */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: var(--z-behind);
}

.hero__bg .blob {
  position: absolute;
  border-radius: 50%;
  /* Soft glow painted as a gradient — a blur(100px) filter here forced
     constant repaints of huge layers and caused scroll lag */
  opacity: 0.35;
  animation: blobFloat 20s ease-in-out infinite;
  will-change: transform;
}

.hero__bg .blob--1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 68%);
  top: -15%;
  left: -10%;
}

.hero__bg .blob--2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-blue) 0%, transparent 68%);
  bottom: -15%;
  right: -10%;
  animation-delay: -7s;
}

.hero__bg .blob--3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 68%);
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: -14s;
}

/* Grid overlay */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero__content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: var(--z-base);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-accent);
  margin-bottom: 2rem;
  animation: fadeInDown 0.8s var(--ease-out);
}

.hero__badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse 2s ease-in-out infinite;
}

.hero__title {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.hero__trust {
  margin-top: 4rem;
  animation: fadeInUp 0.8s var(--ease-out) 0.5s both;
}

.hero__trust p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin: 0 auto;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero__scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-purple), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
}

.trust-bar::before,
.trust-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.trust-bar::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.trust-bar::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.trust-bar__label {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 2rem;
}

.trust-bar__track {
  display: flex;
  gap: 4rem;
  animation: scrollX 30s linear infinite;
  width: max-content;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.5;
  white-space: nowrap;
  transition: opacity var(--transition-base);
  user-select: none;
}

.trust-bar__item:hover {
  opacity: 0.8;
}

.trust-bar__item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ============================================================
   SERVICES SECTION — Bento Grid
   ============================================================ */
.services {
  background: var(--gradient-surface);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.bento-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

/* Hover glow effect */
.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bento-card__icon svg {
  width: 26px;
  height: 26px;
}

.bento-card__icon--blue {
  background: rgba(37, 99, 235, 0.12);
  color: var(--accent-blue);
}

.bento-card__icon--purple {
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent-purple);
}

.bento-card__icon--cyan {
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent-cyan);
}

.bento-card__icon--green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green);
}

.bento-card__icon--pink {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-pink);
}

.bento-card h3 {
  font-size: 1.2rem;
}

.bento-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.bento-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.bento-card__tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-weight: 500;
}

/* Feature cards — larger variants */
.bento-card--lg {
  grid-column: span 2;
}

.bento-card--tall {
  grid-row: span 2;
}

/* ============================================================
   HOW IT WORKS — Process Section
   ============================================================ */
.process {
  position: relative;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

/* Connecting line */
.process__grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--accent-purple),
    var(--accent-blue),
    var(--accent-cyan),
    transparent
  );
  opacity: 0.3;
}

.process__step {
  text-align: center;
  position: relative;
}

.process__number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg-elevated);
  border: 2px solid var(--border-default);
  position: relative;
  z-index: 1;
  transition: all var(--transition-base);
}

.process__step:hover .process__number {
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-glow-purple);
  background: rgba(14, 165, 233, 0.15);
}

.process__step h4 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.process__step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 220px;
}

/* ============================================================
   WHY WEKTECH — Differentiators
   ============================================================ */
.differentiators__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.diff-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.diff-card__value {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.diff-card__label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.diff-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 240px;
  margin: 0 auto;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--gradient-surface);
}

.testimonials__carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform 0.6s var(--ease-out);
}

.testimonial-card {
  min-width: 100%;
  padding: 3rem;
  text-align: center;
}

.testimonial-card__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 1.5rem;
  color: #fbbf24;
}

.testimonial-card__quote {
  font-size: 1.2rem;
  color: var(--text-primary);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-card__quote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--accent-purple);
  line-height: 0;
  vertical-align: -0.5em;
  margin-right: 4px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.testimonial-card__info h4 {
  font-size: 1rem;
  text-align: left;
}

.testimonial-card__info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: left;
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.testimonials__dot.active {
  background: var(--accent-purple);
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

.testimonials__nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonials__nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-default);
  background: var(--bg-elevated);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.testimonials__nav button:hover {
  border-color: var(--accent-purple);
  background: rgba(14, 165, 233, 0.1);
}

/* ============================================================
   TECHNOLOGY PARTNERS
   ============================================================ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
}

.tech-item:hover {
  border-color: var(--border-hover);
  background: rgba(14, 165, 233, 0.05);
  transform: translateY(-2px);
}

.tech-item svg {
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.tech-item:hover svg {
  color: var(--text-primary);
}

.tech-item span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================================
   CONTACT / CTA SECTION
   ============================================================ */
.contact {
  position: relative;
  overflow: hidden;
}

.contact__bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  /* Gradient glow instead of blur(120px) — same look, far cheaper to paint */
  opacity: 0.15;
  pointer-events: none;
}

.contact__bg-glow--1 {
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 68%);
  top: -20%;
  right: -10%;
}

.contact__bg-glow--2 {
  background: radial-gradient(circle, var(--accent-blue) 0%, transparent 68%);
  bottom: -20%;
  left: -10%;
}

.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact__info h2 {
  margin-bottom: 1rem;
}

.contact__info > p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact__detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  flex-shrink: 0;
}

.contact__detail-icon svg {
  width: 20px;
  height: 20px;
}

.contact__detail-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact__detail-text span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Contact Form */
.contact__form {
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-purple);
  background: rgba(14, 165, 233, 0.05);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact__form .btn {
  width: 100%;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  max-width: 300px;
}

.footer__brand .navbar__logo {
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  color: var(--text-primary);
  border-color: var(--accent-purple);
  background: rgba(14, 165, 233, 0.1);
}

.footer__social a svg {
  width: 18px;
  height: 18px;
}

.footer__col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer__col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  transition: all var(--transition-fast);
}

.footer__col a:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

/* Newsletter */
.footer__newsletter {
  margin-top: 1.25rem;
}

.footer__newsletter-input {
  display: flex;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-default);
}

.footer__newsletter-input input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-size: 0.85rem;
  min-width: 0;
}

.footer__newsletter-input button {
  padding: 10px 16px;
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer__bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer__bottom-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__bottom-links a:hover {
  color: var(--text-primary);
}

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes blobFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -50px) scale(1.05);
  }
  50% {
    transform: translate(-20px, 30px) scale(0.95);
  }
  75% {
    transform: translate(40px, 20px) scale(1.08);
  }
}

@keyframes scrollX {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

@keyframes scrollLine {
  0% {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
  50.01% {
    transform-origin: bottom;
  }
  100% {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* ============================================================
   SCROLL REVEAL — Initial states (animated by GSAP)
   ============================================================ */
/* Reveal elements are visible by default; JS adds .pre-reveal only to
   elements below the fold, and the IntersectionObserver flips them to
   .revealed as they scroll in. Pure CSS transitions — nothing here can
   freeze mid-animation. */
.pre-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.pre-reveal.reveal-left {
  transform: translateX(-24px);
}

.pre-reveal.reveal-right {
  transform: translateX(24px);
}

.pre-reveal.reveal-scale {
  transform: scale(0.94);
}

.pre-reveal.revealed {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE — Tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card--lg {
    grid-column: span 1;
  }

  .process__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .process__grid::before {
    display: none;
  }

  .differentiators__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .navbar__links {
    display: none;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__actions .btn {
    display: none;
  }
}

/* ============================================================
   RESPONSIVE — Mobile (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .process__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .differentiators__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .diff-card {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .diff-card__value {
    font-size: 2rem;
    min-width: 80px;
    margin-bottom: 0;
  }

  .diff-card__desc {
    margin: 0;
  }

  .contact__wrapper {
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero {
    padding: 7rem 0 4rem;
    min-height: auto;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__scroll {
    display: none;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   RESPONSIVE — Small Mobile (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .bento-card {
    padding: 1.5rem;
  }

  .contact__form {
    padding: 1.5rem;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   ACCESSIBILITY — Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .pre-reveal {
    opacity: 1;
    transform: none;
  }

  .hero__bg .blob {
    animation: none;
  }

  .trust-bar__track {
    animation: none;
  }
}

/* ============================================================
   SELECTION & SCROLLBAR
   ============================================================ */
::selection {
  background: rgba(14, 165, 233, 0.3);
  color: var(--text-primary);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(14, 165, 233, 0.3);
}

/* ============================================================
   PAGE HERO BANNER (For sub-pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 10rem 0 5rem;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.08) 0%, transparent 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.page-hero__breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.page-hero__breadcrumb a:hover {
  color: var(--accent-purple);
}

.page-hero__breadcrumb .separator {
  color: var(--text-muted);
  opacity: 0.5;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq__grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-item__question:hover {
  color: var(--accent-purple);
}

.faq-item__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease-out), color 0.3s;
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
  color: var(--accent-purple);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.faq-item.active .faq-item__answer {
  max-height: 300px;
}

.faq-item__answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================================
   INDUSTRIES SECTION
   ============================================================ */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.industry-card {
  text-align: center;
  padding: 2rem 1.5rem;
  transition: all var(--transition-base);
}

.industry-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.15);
  transition: all var(--transition-base);
}

.industry-card:hover .industry-card__icon {
  background: rgba(14, 165, 233, 0.15);
  border-color: rgba(14, 165, 233, 0.3);
  transform: scale(1.05);
}

.industry-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent-purple);
}

.industry-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.industry-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 220px;
  margin: 0 auto;
}

/* ============================================================
   ABOUT PAGE — Team, Mission, Values
   ============================================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-intro__visual {
  position: relative;
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(14, 165, 233, 0.15));
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-intro__visual-inner {
  text-align: center;
  padding: 2rem;
}

.about-intro__visual-inner svg {
  width: 120px;
  height: 120px;
  color: var(--accent-purple);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.about-intro__visual-inner span {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  padding: 2rem;
  text-align: center;
}

.value-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.value-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-purple);
}

.value-card h4 {
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 280px;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  transition: all var(--transition-base);
}

.team-card__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  border: 3px solid var(--border-subtle);
  transition: border-color var(--transition-base);
}

.team-card:hover .team-card__avatar {
  border-color: var(--accent-purple);
}

.team-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.team-card__role {
  font-size: 0.85rem;
  color: var(--accent-purple);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.team-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 250px;
  margin: 0 auto;
}

.team-card__social {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.team-card__social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.team-card__social a:hover {
  color: var(--accent-purple);
  border-color: var(--accent-purple);
}

.team-card__social svg {
  width: 14px;
  height: 14px;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-purple), var(--accent-blue), transparent);
}

.timeline__item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 2.5rem;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-purple);
  border: 3px solid var(--bg-primary);
  transform: translateX(-5px);
}

.timeline__item h4 {
  margin-bottom: 0.25rem;
}

.timeline__item .timeline__year {
  font-size: 0.8rem;
  color: var(--accent-purple);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline__item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================================
   SERVICES PAGE — Detailed Service Cards
   ============================================================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail__content h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.service-detail__content > p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
}

.service-detail__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-detail__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.service-detail__feature svg {
  width: 20px;
  height: 20px;
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-detail__feature span {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.service-detail__visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 2.5rem;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail__visual-icon {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.15);
}

.service-detail__visual-icon svg {
  width: 48px;
  height: 48px;
  color: var(--accent-purple);
}

/* ============================================================
   CASE STUDIES PAGE
   ============================================================ */
.case-study-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  padding: 3rem;
  margin-bottom: 2rem;
  align-items: center;
}

.case-study-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.case-study-card__industry {
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  color: var(--accent-purple);
  font-weight: 600;
}

.case-study-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.case-study-card > div > p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.case-study-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.case-study-card__metric {
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
}

.case-study-card__metric-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.case-study-card__metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.case-study-card__visual {
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.12));
  border: 1px solid var(--border-subtle);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.case-study-card__visual-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study-card__visual-icon svg {
  width: 36px;
  height: 36px;
  color: var(--accent-purple);
}

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  overflow: hidden;
  transition: all var(--transition-base);
}

.blog-card__image {
  height: 200px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(14, 165, 233, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.blog-card__image svg {
  width: 48px;
  height: 48px;
  color: var(--accent-purple);
  opacity: 0.4;
}

.blog-card__content {
  padding: 1.5rem;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.blog-card__category {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(14, 165, 233, 0.1);
  color: var(--accent-purple);
  font-weight: 600;
}

.blog-card__date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-card__content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.blog-card:hover h3 {
  color: var(--accent-purple);
}

.blog-card__content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-purple);
  transition: gap var(--transition-fast);
}

.blog-card:hover .blog-card__link {
  gap: 0.75rem;
}

.blog-card__link svg {
  width: 14px;
  height: 14px;
}

/* Featured Blog Post */
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding: 2.5rem;
  align-items: center;
}

.blog-featured__image {
  height: 320px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(14, 165, 233, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
}

.blog-featured__image svg {
  width: 80px;
  height: 80px;
  color: var(--accent-purple);
  opacity: 0.3;
}

.blog-featured h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.blog-featured p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* ============================================================
   CAREERS PAGE
   ============================================================ */
.careers-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.careers-perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
}

.perk-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.perk-item span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.job-card {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.job-card__info h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.job-card__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.job-card__tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.job-card__tag--location {
  color: var(--accent-cyan);
  border-color: rgba(34, 211, 238, 0.2);
  background: rgba(34, 211, 238, 0.06);
}

.job-card__tag--type {
  color: var(--accent-green);
  border-color: rgba(16, 185, 129, 0.2);
  background: rgba(16, 185, 129, 0.06);
}

/* ============================================================
   LEGAL PAGES (Privacy, Terms)
   ============================================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content ul li {
  list-style: disc;
  color: var(--text-secondary);
  padding: 0.25rem 0;
  line-height: 1.7;
}

.legal-content .effective-date {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

/* ============================================================
   NAVBAR DROPDOWN
   ============================================================ */
.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.navbar__dropdown-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.navbar__dropdown:hover .navbar__dropdown-trigger svg {
  transform: rotate(180deg);
}

.navbar__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: rgba(12, 22, 38, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all 0.2s var(--ease-out);
  z-index: var(--z-dropdown);
}

.navbar__dropdown:hover .navbar__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.navbar__dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-secondary) !important;
  transition: all var(--transition-fast);
}

.navbar__dropdown-menu a:hover {
  background: rgba(14, 165, 233, 0.1);
  color: var(--text-primary) !important;
}

.navbar__dropdown-menu a::after {
  display: none !important;
}

.navbar__dropdown-menu svg {
  width: 16px;
  height: 16px;
  color: var(--accent-purple);
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE ADDITIONS — New pages
   ============================================================ */
@media (max-width: 1024px) {
  .about-intro,
  .careers-intro,
  .service-detail,
  .case-study-card,
  .blog-featured {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-study-card__metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .navbar__dropdown-menu {
    display: none;
  }
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .industries__grid {
    grid-template-columns: 1fr 1fr;
  }

  .careers-perks {
    grid-template-columns: 1fr;
  }

  .job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .case-study-card {
    padding: 1.5rem;
  }

  .case-study-card__metrics {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FOOTER NEWSLETTER — Label & Status Message
   ============================================================ */
.footer__newsletter-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.newsletter-msg {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.4;
  min-height: 1em;
}

.newsletter-msg--ok {
  color: #10b981;
}

.newsletter-msg--err {
  color: #ef4444;
}
