/* ===================================================
   DESIGN SYSTEM & VARIABLES
   =================================================== */
:root {
  /* Colors — Orange + Dark Black */
  --primary: #f97316;
  --primary-dark: #ea580c;
  --primary-light: #fdba74;
  --secondary: #fb923c;
  --secondary-dark: #f97316;
  --accent: #ffedd5;
  --dark: #050505;
  --dark-light: #0a0a0a;
  --dark-card: #141414;
  --dark-border: #262626;
  --gray-100: #fafafa;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --white: #ffffff;
  --text-primary: #e5e5e5;
  --text-secondary: #a3a3a3;
  --text-heading: #ffffff;

  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 30px rgba(249, 115, 22, 0.35);
  --shadow-glow-secondary: 0 0 30px rgba(251, 146, 60, 0.3);

  /* Transitions */
  --transition-fast: 0.05s ease;
  --transition-normal: 0.08s ease;
  --transition-slow: 0.12s ease;

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
}

/* ===================================================
   RESET & BASE
   =================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 700;
}

/* ===================================================
   UTILITY CLASSES
   =================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: var(--space-md);
  padding: var(--space-xs) var(--space-lg);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: var(--radius-xl);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--white), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(249, 115, 22, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  border-color: var(--primary-light);
  background: rgba(249, 115, 22, 0.1);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-weight: 700;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-secondary);
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================================
   BACKGROUND EFFECTS
   =================================================== */
.bg-grid {
  display: none;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-1 {
  width: 600px;
  height: 600px;
  background: rgba(249, 115, 22, 0.1);
  top: -200px;
  right: -200px;
}

.bg-glow-2 {
  width: 500px;
  height: 500px;
  background: rgba(251, 146, 60, 0.06);
  bottom: 20%;
  left: -200px;
}

.bg-glow-3 {
  width: 400px;
  height: 400px;
  background: rgba(253, 186, 116, 0.05);
  top: 50%;
  right: 10%;
}

/* ===================================================
   HEADER / NAVIGATION
   =================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all 0.3s ease;
  background: rgba(20, 20, 20, 0.1);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--dark-border);
}

.header .container.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  height: 100%;
  gap: var(--space-md);
}

.header .logo {
  justify-self: start;
}

.header .nav-links {
  justify-self: center;
}

.header .nav-cta {
  justify-self: end;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  z-index: 1001;
}

.logo-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-links-center {
  display: contents;
}

.nav-cta-mobile {
  display: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown > a .nav-chevron {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover > a .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -22px;
  left: 0;
  right: 0;
  height: 22px;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  color: var(--white);
  background: rgba(249, 115, 22, 0.1);
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-cta {
  margin-left: 0;
}

.nav-cta .btn {
  padding: 8px 20px;
  font-size: 0.9rem;
  color: var(--white);
  border-radius: 9999px;
}

.nav-cta .btn::after {
  display: none;
}

.btn-icon-right {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.btn-pill {
  border-radius: 9999px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

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

.hero-bg-gif img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.65);
  z-index: 1;
}

.hero > .container {
  position: relative;
  z-index: 2;
  align-self: stretch;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: end;
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 20px;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  color: var(--secondary);
  margin-bottom: var(--space-xl);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: var(--space-xl);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-3xl);
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

/* Hero Visual */
.hero-visual {
  position: static;
}

.hero-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35%;
  height: auto;
  object-fit: contain;
  color: transparent;
  z-index: 1;
  filter: drop-shadow(rgba(239, 68, 68, 0.8) 0px 0px 50px) drop-shadow(rgba(239, 68, 68, 0.6) 0px 0px 100px) drop-shadow(rgba(239, 68, 68, 0.4) 0px 0px 150px);
}

.hero-code-window {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.code-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--dark-border);
  gap: 8px;
}

.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green { background: #28c840; }

.code-tab {
  margin-left: 16px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 4px 12px;
  background: rgba(249, 115, 22, 0.12);
  border-radius: var(--radius-sm);
}

.code-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.9;
  overflow: hidden;
}

.code-line {
  display: flex;
  gap: 12px;
}

.code-line-number {
  color: var(--gray-600);
  user-select: none;
  min-width: 24px;
  text-align: right;
}

.code-keyword { color: #f97316; }
.code-function { color: #fdba74; }
.code-string { color: #86efac; }
.code-comment { color: #525252; font-style: italic; }
.code-variable { color: #fb923c; }
.code-bracket { color: #a3a3a3; }
.code-operator { color: #a3a3a3; }
.code-number { color: #fbbf24; }

/* Floating Elements */
.floating-card {
  position: absolute;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

.floating-card-1 {
  top: -20px;
  right: -30px;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 30px;
  left: -40px;
  animation-delay: 2s;
}

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

.floating-card .card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.floating-card .card-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
}

.floating-card .card-value {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ===================================================
   TRUSTED / LOGOS SECTION
   =================================================== */
.trusted {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.trusted-text {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-2xl);
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4xl);
  flex-wrap: wrap;
}

.trusted-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-600);
  opacity: 0.5;
  transition: opacity var(--transition-normal);
  letter-spacing: 1px;
}

.trusted-logo:hover {
  opacity: 0.8;
}

/* ===================================================
   FEATURES / SERVICES CARDS
   =================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.feature-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 0 50px rgba(249, 115, 22, 0.25), 0 8px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-xl);
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
}

.feature-icon.secondary {
  background: rgba(251, 146, 60, 0.12);
  border-color: rgba(251, 146, 60, 0.25);
}

.feature-icon.accent {
  background: rgba(253, 186, 116, 0.12);
  border-color: rgba(253, 186, 116, 0.25);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.feature-card .feature-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-normal), gap var(--transition-normal);
}

.feature-card .feature-link:hover,
.feature-card:hover .feature-link {
  color: var(--primary-light);
  gap: var(--space-md);
}

/* ===================================================
   ABOUT SECTION / TEAM
   =================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-main {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--dark-card), var(--dark-light));
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-pattern {
  width: 80%;
  height: 80%;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(249, 115, 22, 0.3) 1px, transparent 0);
  background-size: 20px 20px;
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-pattern .big-icon {
  font-size: 5rem;
  opacity: 0.5;
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-experience-badge .number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.about-experience-badge .text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
}

.about-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: var(--space-xl);
  background: linear-gradient(135deg, var(--white), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.about-feature-check {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: rgba(251, 146, 60, 0.15);
  border: 1px solid rgba(251, 146, 60, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.about-feature-item span {
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
}

.team-card {
  text-align: center;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  transition: all var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 0 50px rgba(249, 115, 22, 0.25), 0 8px 30px rgba(0, 0, 0, 0.4);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-full);
}

.team-card h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--primary-light);
  margin-bottom: var(--space-md);
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

.team-socials a {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: rgba(249, 115, 22, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}

.team-socials a:hover {
  background: var(--primary);
  color: var(--white);
}

/* ===================================================
   PROCESS / HOW WE WORK
   =================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 29px; /* Center of 60px number circle minus half of 2px line */
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0.3;
}

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

.process-number {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: linear-gradient(var(--dark-card), var(--dark-card)) padding-box,
    linear-gradient(90deg, rgba(249, 115, 22, 0.3), rgba(251, 146, 60, 0.3)) border-box;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto var(--space-xl);
  position: relative;
  z-index: 1;
}

.process-step h4 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.testimonial-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 0 50px rgba(249, 115, 22, 0.25), 0 8px 30px rgba(0, 0, 0, 0.4);
}

.testimonial-stars {
  margin-bottom: var(--space-lg);
  color: #ffd700;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h5 {
  font-size: 0.95rem;
}

.testimonial-info span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ===================================================
   CONTACT PAGE & FORM
   =================================================== */
.contact-section {
  padding-top: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-4xl);
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: var(--space-lg);
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.contact-details li i {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--primary);
  margin-top: 2px;
}

.contact-details a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.contact-details a:hover {
  color: var(--primary);
}

.contact-form-wrapper {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.contact-form .form-group {
  margin-bottom: var(--space-xl);
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.contact-form .required {
  color: var(--primary);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--dark);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray-500);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

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

.contact-form .btn-block {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-md);
}

.contact-success {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  padding: var(--space-4xl);
}

.contact-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-xl);
  color: var(--primary);
}

.contact-success-icon i {
  width: 64px;
  height: 64px;
}

.contact-success h2 {
  margin-bottom: var(--space-md);
}

.contact-success p {
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: var(--space-xl);
  }
}

/* ===================================================
   CTA SECTION
   =================================================== */
.cta-section {
  padding: 0 0 var(--space-5xl);
}

.cta-box {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(251, 146, 60, 0.12));
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: var(--radius-xl);
  padding: var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.06) 0%, transparent 60%);
  animation: rotate-gradient 20s linear infinite;
}

@keyframes rotate-gradient {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: var(--space-lg);
  position: relative;
}

.cta-box p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-box .cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  position: relative;
  flex-wrap: wrap;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: var(--dark-light);
  border-top: 1px solid var(--dark-border);
  padding-top: var(--space-4xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

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

.footer-socials {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: var(--space-xl);
  color: var(--white);
}

.footer-column ul li {
  margin-bottom: var(--space-md);
}

.footer-column ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-column ul li a:hover {
  color: var(--primary-light);
}

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

.footer-bottom-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-bottom-links a {
  color: var(--text-secondary);
}

.footer-bottom-links a:hover {
  color: var(--primary-light);
}

/* ===================================================
   SERVICES PAGE SPECIFICS
   =================================================== */
.services-hero {
  padding-top: calc(var(--header-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  text-align: center;
}

.services-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--white), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.service-detail-link {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: var(--space-2xl);
}

.service-detail-link .service-detail-card {
  margin-bottom: 0;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-xl);
  margin-bottom: var(--space-2xl);
  transition: all var(--transition-normal);
}

.service-detail-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 50px rgba(249, 115, 22, 0.25), 0 8px 30px rgba(0, 0, 0, 0.4);
}

.service-detail-card.reverse {
  direction: rtl;
}

.service-detail-card.reverse > * {
  direction: ltr;
}

.service-detail-content h3 {
  font-size: 1.6rem;
  margin-bottom: var(--space-lg);
}

.service-detail-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.service-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.tech-tag {
  padding: 6px 16px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  color: var(--primary-light);
  font-weight: 500;
}

.service-detail-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pricing section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.pricing-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 50px rgba(249, 115, 22, 0.25), 0 8px 30px rgba(0, 0, 0, 0.4);
}

.pricing-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin: var(--space-xl) 0;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-card .pricing-features {
  text-align: left;
  margin-bottom: var(--space-2xl);
}

.pricing-card .pricing-features li {
  padding: var(--space-sm) 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pricing-card .pricing-features li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 700;
}

/* ===================================================
   ABOUT PAGE SPECIFICS
   =================================================== */
.page-hero {
  padding-top: calc(var(--header-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  text-align: center;
}

/* Keep hero text centered on index/listing pages (not blog post detail) */
.page-hero:not(.blog-post-page) .container {
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--white), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero:not(.blog-post-page) h1,
.page-hero:not(.blog-post-page) p {
  text-align: center;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.blog-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(249, 115, 22, 0.2), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.blog-card-image-link {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.blog-card-body {
  padding: var(--space-2xl) var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: 1.35;
}

.blog-card-title a {
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.blog-card-title a:hover {
  color: var(--primary);
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
  flex: 1;
}

.blog-card-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-normal), gap var(--transition-normal);
}

.blog-card-link:hover {
  color: var(--primary-light);
}

/* Blog Post Detail */
.blog-post-hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-2xl);
  border: 1px solid var(--dark-border);
}

.blog-post-header {
  margin-bottom: var(--space-2xl);
  text-align: left;
}

.blog-post-meta {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-sm);
  text-align: left;
}

.blog-post-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--white), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.25;
}

.blog-post-content {
  width: 100%;
  max-width: none;
  text-align: left;
}

.blog-post-content > p:first-child {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.blog-post-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.blog-post-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.blog-post-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xs);
}

.blog-post-content ul,
.blog-post-content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-2xl);
  color: var(--text-secondary);
  line-height: 1.8;
}

.blog-post-content li {
  margin-bottom: var(--space-xs);
}

.blog-post-content a {
  color: var(--primary);
  text-decoration: none;
}

.blog-post-content a:hover {
  text-decoration: underline;
}

.blog-post-content code {
  font-family: var(--font-mono), monospace;
  font-size: 0.9em;
  padding: 2px 6px;
  background: rgba(249, 115, 22, 0.12);
  border-radius: var(--radius-sm);
  color: var(--primary-light);
}

.blog-post-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: var(--space-2xl);
  transition: color var(--transition-normal);
  text-align: left;
}

.blog-post-back:hover {
  color: var(--primary);
}

/* Left-align entire blog post page (override .page-hero center) */
/* Blog post detail: left-aligned text, narrower container */
.blog-post-page.page-hero {
  text-align: left;
}

.blog-post-page .container {
  max-width: 840px;
  text-align: left;
}

.blog-post-page .page-hero h1,
.blog-post-page .blog-post-header h1 {
  text-align: left;
}

.blog-post-page .blog-post-meta {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.blog-post-page .page-hero p,
.blog-post-page .blog-post-content p {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.blog-post-page .blog-post-content h2,
.blog-post-page .blog-post-content h3,
.blog-post-page .blog-post-content ul,
.blog-post-page .blog-post-content ol,
.blog-post-page .blog-post-content li {
  text-align: left;
}

/* Content block full width within the narrow container */
.blog-post-page .blog-post-content {
  max-width: none;
  width: 100%;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.value-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  transition: all var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 0 50px rgba(249, 115, 22, 0.25), 0 8px 30px rgba(0, 0, 0, 0.4);
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto var(--space-xl);
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
}

.value-card h4 {
  font-size: 1.15rem;
  margin-bottom: var(--space-md);
}

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

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: var(--space-3xl);
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  text-align: right;
  padding-right: calc(50% + 30px);
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  text-align: left;
  padding-left: calc(50% + 30px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  background: var(--primary);
  border: 3px solid var(--dark);
  z-index: 1;
}

.timeline-content {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}

.timeline-content .year {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-content h4 {
  font-size: 1.1rem;
  margin: var(--space-sm) 0;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
}

.stat-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.stat-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 0 50px rgba(249, 115, 22, 0.25), 0 8px 30px rgba(0, 0, 0, 0.4);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ===================================================
   ANIMATIONS (Scroll reveal)
   =================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin: 0 auto var(--space-2xl);
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .features-grid,
  .testimonials-grid,
  .values-grid,
  .pricing-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

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

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

  .process-grid::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .service-detail-card {
    grid-template-columns: 1fr;
  }

  .service-detail-card.reverse {
    direction: ltr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --space-5xl: 5rem;
    --space-4xl: 3.5rem;
  }

  .header .container.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header .nav-links {
    justify-self: unset;
  }

  .header .nav-cta {
    display: none;
  }

  .nav-links-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
  }

  .nav-cta-mobile {
    display: block;
    width: 100%;
    margin-top: var(--space-md);
  }

  .nav-cta-mobile .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 9999px;
    color: var(--white) !important;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: var(--shadow-glow);
  }

  .nav-cta-mobile .btn .btn-icon-right,
  .nav-cta-mobile .btn i {
    color: var(--white);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--dark-border);
    border-left: 1px solid var(--dark-border);
    isolation: isolate;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-3xl) var(--space-xl);
    transition: right var(--transition-normal);
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links-center > a {
    font-size: 1.25rem;
    text-align: center;
  }

  .nav-links-center > .nav-dropdown {
    text-align: center;
  }

  .nav-links-center > .nav-dropdown > a {
    font-size: 1.25rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: var(--space-lg);
  }

  .nav-cta .btn {
    font-size: 0.95rem;
    padding: 8px 20px;
    border-radius: 9999px;
    width: auto;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-dropdown-menu {
    display: none;
  }

  .features-grid,
  .testimonials-grid,
  .values-grid,
  .pricing-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .hero-stat {
    text-align: center;
  }

  .hero {
    padding-bottom: var(--space-4xl);
  }

  .trusted {
    padding: var(--space-4xl) 0 var(--space-3xl);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid .footer-column:nth-child(4) {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    text-align: left;
    flex-direction: row;
  }

  .timeline-dot {
    left: 20px;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .about-experience-badge {
    bottom: -10px;
    right: -10px;
    padding: 14px 20px;
  }

  .about-experience-badge .number {
    font-size: 1.8rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

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

  .nav-cta .btn {
    width: auto;
  }

  .trusted-logos {
    gap: var(--space-xl);
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: var(--space-2xl);
  }
}

/* ===================================================
   MOBILE NAV OVERLAY
   =================================================== */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  z-index: 999;
}

.nav-overlay.visible {
  display: block;
}

/* ===================================================
   CUSTOM SCROLLBAR
   =================================================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--dark-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-600);
}

/* ===================================================
   LUCIDE ICON STYLING
   =================================================== */
.feature-icon svg,
.value-icon svg,
.card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
  stroke-width: 1.8;
}

.feature-icon.secondary svg {
  stroke: var(--secondary);
}

.feature-icon.accent svg {
  stroke: var(--primary-light);
}

.value-icon svg {
  width: 28px;
  height: 28px;
}

.about-feature-check svg {
  width: 14px;
  height: 14px;
  stroke: var(--secondary);
  stroke-width: 2.5;
}

.about-image-pattern .big-icon {
  font-size: inherit;
  opacity: 1;
}

.about-image-pattern .big-icon svg {
  width: 80px;
  height: 80px;
  stroke: var(--primary);
  stroke-width: 1;
  opacity: 0.4;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  stroke: #fbbf24;
  fill: #fbbf24;
}

.footer-socials svg,
.team-socials svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
}

/* Service Illustration */
.service-illustration {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.06), rgba(251, 146, 60, 0.03));
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-illustration::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(249, 115, 22, 0.08) 1px, transparent 0);
  background-size: 24px 24px;
}

.service-illustration .illust-icon-wrapper {
  position: relative;
  z-index: 1;
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-illustration .illust-icon-wrapper svg {
  width: 48px;
  height: 48px;
  stroke: var(--primary);
  stroke-width: 1.5;
}

.service-illustration .illust-ring {
  position: absolute;
  border-radius: var(--radius-full);
  border: 1px solid rgba(249, 115, 22, 0.1);
  z-index: 0;
}

.service-illustration .illust-ring-1 {
  width: 180px;
  height: 180px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.service-illustration .illust-ring-2 {
  width: 260px;
  height: 260px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-style: dashed;
}

.service-illustration .illust-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--primary);
  opacity: 0.3;
  z-index: 1;
}

.service-illustration .illust-dot-1 { top: 20%; left: 15%; }
.service-illustration .illust-dot-2 { top: 30%; right: 20%; opacity: 0.2; width: 6px; height: 6px; }
.service-illustration .illust-dot-3 { bottom: 25%; left: 25%; opacity: 0.15; width: 10px; height: 10px; }
.service-illustration .illust-dot-4 { bottom: 20%; right: 15%; opacity: 0.25; }

.service-illustration .illust-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.15), transparent);
  z-index: 0;
}

.service-illustration .illust-line-1 {
  width: 60%;
  top: 35%;
  left: 20%;
}

.service-illustration .illust-line-2 {
  width: 40%;
  bottom: 30%;
  right: 10%;
}

/* ===================================================
   SERVICE DETAIL PAGE
   =================================================== */
.service-page-hero {
  padding-top: calc(var(--header-height) + var(--space-4xl));
  padding-bottom: var(--space-3xl);
}

.service-page-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.service-page-hero-content {
  position: relative;
}

.service-page-hero-content .back-link {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-bottom: var(--space-xl);
}

.service-page-hero-content .section-label {
  display: inline-block;
  width: fit-content;
  margin-bottom: var(--space-lg);
}

.service-page-hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: var(--space-xl);
  background: linear-gradient(135deg, var(--white), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-page-hero-content .hero-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  max-width: 520px;
}

.service-page-hero-content .hero-cta {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.service-page-hero .service-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-page-hero .service-hero-visual .service-illustration {
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 420px;
}

/* Overview Section */
.service-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.service-overview-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  transition: all var(--transition-normal);
}

.service-overview-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(249, 115, 22, 0.2), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.service-overview-card .overview-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
}

.service-overview-card .overview-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
  stroke-width: 1.8;
}

.service-overview-card h4 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.service-overview-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Capabilities Grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.capability-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  transition: all var(--transition-normal);
}

.capability-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(249, 115, 22, 0.2), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.capability-card .cap-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-mono);
  margin-bottom: var(--space-md);
  opacity: 0.7;
}

.capability-card h4 {
  font-size: 1.15rem;
  margin-bottom: var(--space-md);
}

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

/* Tech Stack Row */
.service-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-2xl);
}

.service-tech-stack .tech-tag {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* Why Choose Grid */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
}

.why-choose-card {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.why-choose-card .why-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
}

.why-choose-card .why-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
  stroke-width: 1.8;
}

.why-choose-card h4 {
  font-size: 1.05rem;
  margin-bottom: var(--space-xs);
}

.why-choose-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  transition: color var(--transition-fast);
}

.back-link:hover {
  color: var(--primary-light);
}

/* Align only the arrow icon with "All Services" text */
.back-link i,
.back-link svg {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  line-height: 0;
}
.back-link svg {
  margin: 0;
}

/* Responsive for service detail pages */
@media (max-width: 1024px) {
  .service-page-hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-page-hero-content .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .service-page-hero-content .hero-cta {
    justify-content: center;
  }

  .service-page-hero .service-hero-visual {
    display: none;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .service-overview-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   SELECTION
   =================================================== */
::selection {
  background: rgba(249, 115, 22, 0.3);
  color: var(--white);
}
