/* ============================================================
   MASSAARI — Mobile-First, Android-Optimised Light Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --color-bg:           #ffffff;
  --color-bg-alt:       #f7f8fc;
  --color-bg-dark:      #f0f2f8;
  --color-surface:      #ffffff;
  --color-surface2:     #f0f2f8;

  --color-primary:      #FF3621;
  --color-primary-dk:   #e02a18;
  --color-primary-lt:   rgba(255,54,33,0.08);
  --color-primary-glow: rgba(255,54,33,0.15);

  --color-secondary:    #0068FF;
  --color-cyan:         #0099cc;

  --color-text:         #0d0d0d;
  --color-text-2:       #3a3a4a;
  --color-muted:        #6b7080;
  --color-muted-lt:     #9aa0b0;

  --color-border:       rgba(0,0,0,0.08);
  --color-border-md:    rgba(0,0,0,0.14);

  --gradient-primary:   linear-gradient(135deg, #FF3621 0%, #ff6b35 100%);
  --gradient-hero:      linear-gradient(135deg, #FF3621 0%, #f7630c 50%, #ffb347 100%);

  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Mobile-first sizes */
  --radius-sm:    6px;
  --radius-md:    10px;
  --radius-lg:    16px;
  --radius-xl:    20px;
  --section-gap:  56px;
  --container:    1200px;
  --nav-h:        60px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-red: 0 6px 20px rgba(255,54,33,0.28);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0; padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }

button, a, input, select, textarea {
  touch-action: manipulation;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--color-text);
  min-height: 44px;
}

.navbar__logo-mark {
  width: 32px; height: 32px;
  background: var(--gradient-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(255,54,33,0.3);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.navbar__logo:hover .navbar__logo-mark {
  animation: logoSpin 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 16px rgba(255,54,33,0.45);
}

/* Desktop nav links — hidden on mobile */
.navbar__links {
  display: none;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.navbar__links a {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-2);
  transition: background 0.25s ease, color 0.25s ease;
  position: relative;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.navbar__links a:hover::after,
.navbar__links a.active::after {
  transform: scaleX(1);
}
.navbar__links a:hover,
.navbar__links a.active {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

/* Desktop CTA — hidden on mobile */
.navbar__ctas {
  display: none;
  align-items: center;
  gap: 8px;
}

/* Hamburger */
.navbar__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
  min-width: 44px;
  min-height: 44px;
}
.navbar__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}
.navbar.open .navbar__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar.open .navbar__burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar.open .navbar__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.navbar__mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--color-bg);
  z-index: 999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 18px 120px;
  border-top: 1px solid var(--color-border);
}
.navbar.open .navbar__mobile-menu { display: block; }

.navbar__mobile-links {
  list-style: none;
  margin-bottom: 16px;
}
.navbar__mobile-links li { border-bottom: 1px solid var(--color-border); }
.navbar__mobile-links a {
  display: flex;
  align-items: center;
  padding: 16px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
  min-height: 56px;
}
.navbar__mobile-links a.active { color: var(--color-primary); }

.navbar__mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.navbar__mobile-ctas .btn {
  width: 100%;
  justify-content: center;
  min-height: 52px;
  font-size: 16px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1.5px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  min-height: 48px;
  -webkit-user-select: none;
  user-select: none;
  position: relative;
  overflow: hidden;
}
/* Ripple effect container */
.btn .btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  width: 20px; height: 20px;
  animation: btnRipple 0.6s ease forwards;
  pointer-events: none;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(255,54,33,0.25);
}
.btn-primary:active { transform: scale(0.97); box-shadow: none; }
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-md);
}
.btn-outline:active { background: var(--color-bg-alt); }
.btn-lg   { padding: 14px 28px; font-size: 16px; min-height: 52px; }
.btn-full { width: 100%; justify-content: center; }

.btn .spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.loading .btn-text { display: none; }
.btn.loading .spinner  { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   SECTIONS
   ============================================================ */
.section         { padding: var(--section-gap) 0; }
.section--alt    { background: var(--color-bg-alt); }
.section--dark   { background: var(--color-bg-alt); }
.section--darker { background: var(--color-bg-dark); }

.section__header { margin-bottom: 32px; }
.section__header.text-center { text-align: center; }

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.section-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 10px;
}
.section-subtitle {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.75;
}
.text-center .section-subtitle { margin: 0 auto; }

/* ============================================================
   GRADIENT TEXT
   ============================================================ */
.gradient-text {
  background: linear-gradient(90deg, #FF3621 0%, #ff6b35 25%, #ffb347 50%, #ff6b35 75%, #FF3621 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShimmer 4s ease-in-out infinite;
}

/* ============================================================
   PREMIUM REVEAL SYSTEM
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.reveal-rotate {
  opacity: 0;
  transform: perspective(800px) rotateY(8deg) translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-rotate.visible { opacity: 1; transform: perspective(800px) rotateY(0) translateY(0); }

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(9) { transition-delay: 0.45s; }
.stagger-children.visible > *:nth-child(10) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(n+11) { transition-delay: 0.55s; }
.stagger-children.visible > * { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-rotate,
  .stagger-children > * {
    opacity: 1; transform: none; transition: none;
  }
}

/* ============================================================
   PREMIUM KEYFRAME ANIMATIONS
   ============================================================ */

/* Hero blob floating */
@keyframes blobFloat1 {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  33%      { transform: translateX(-48%) translateY(-18px) scale(1.04); }
  66%      { transform: translateX(-52%) translateY(12px) scale(0.97); }
}
@keyframes blobFloat2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-22px) rotate(8deg); }
}
@keyframes blobFloat3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(16px) rotate(-6deg); }
}

/* Gradient text shimmer */
@keyframes gradientShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Badge pulse */
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,54,33,0.2); }
  50%      { box-shadow: 0 0 0 8px rgba(255,54,33,0); }
}

/* CTA Banner shimmer sweep */
@keyframes shimmerSweep {
  0%   { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(200%) skewX(-15deg); }
}

/* Card shine sweep */
@keyframes shineSweep {
  0%   { left: -75%; }
  100% { left: 125%; }
}

/* Checkmark draw animation */
@keyframes drawCheck {
  0%   { stroke-dashoffset: 30; }
  100% { stroke-dashoffset: 0; }
}

/* Success circle scale */
@keyframes successPop {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* Float gentle (testimonial cards) */
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Icon bounce */
@keyframes iconBounce {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.25); }
  50%  { transform: scale(0.95); }
  70%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Ripple effect */
@keyframes btnRipple {
  0%   { transform: scale(0); opacity: 0.5; }
  100% { transform: scale(4); opacity: 0; }
}

/* Scroll indicator pulse */
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50%      { opacity: 1; transform: translateX(-50%) translateY(8px); }
}

/* Counter glow */
@keyframes counterGlow {
  0%   { text-shadow: 0 0 0 rgba(255,54,33,0); }
  50%  { text-shadow: 0 0 20px rgba(255,54,33,0.4); }
  100% { text-shadow: 0 0 0 rgba(255,54,33,0); }
}

/* Logo spin */
@keyframes logoSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Page hero clip reveal */
@keyframes clipReveal {
  0%   { clip-path: inset(0 0 100% 0); opacity: 0; }
  100% { clip-path: inset(0 0 0% 0); opacity: 1; }
}

/* Underline grow */
@keyframes underlineGrow {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* Border sweep for form inputs */
@keyframes borderSweep {
  0%   { background-position: -100% 0; }
  100% { background-position: 100% 0; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 18px 60px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 50% at 50% -5%, rgba(255,54,33,0.09) 0%, transparent 65%),
    var(--color-bg);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  will-change: transform;
}
.hero__blob--1 { width:300px; height:300px; background:rgba(255,54,33,0.14); top:-80px; left:50%; transform:translateX(-50%); animation: blobFloat1 8s ease-in-out infinite; }
.hero__blob--2 { width:200px; height:200px; background:rgba(0,104,255,0.07); bottom:40px; right:-40px; animation: blobFloat2 10s ease-in-out infinite 1s; }
.hero__blob--3 { width:160px; height:160px; background:rgba(255,99,54,0.08); bottom:80px; left:-20px; animation: blobFloat3 9s ease-in-out infinite 0.5s; }

.hero__content { position: relative; max-width: 600px; margin: 0 auto; width: 100%; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--color-primary-lt);
  border: 1px solid rgba(255,54,33,0.2);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 20px;
  animation: badgePulse 2.5s ease-in-out infinite;
}
.hero__title {
  font-size: clamp(32px, 8vw, 76px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--color-text);
  margin-bottom: 16px;
}
.hero__subtitle {
  font-size: 16px;
  color: var(--color-muted);
  margin: 0 auto 28px;
  line-height: 1.75;
  max-width: 440px;
}
.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.hero__ctas .btn { width: 100%; }
.hero__trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
  max-width: 280px;
  margin: 0 auto;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted);
}
.hero__trust-item svg { color: var(--color-primary); flex-shrink: 0; }
.hero__scroll {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  color: var(--color-muted-lt);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  padding: 32px 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.stats-strip__grid {
  display: flex;
  min-width: max-content;
  padding: 0 18px;
}
.stats-strip__item {
  flex: 0 0 auto;
  text-align: center;
  padding: 0 36px;
  border-right: 1px solid var(--color-border);
}
.stats-strip__item:last-child { border-right: none; }
.stats-strip__number {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1.5px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
  transition: transform 0.3s ease;
}
.stats-strip__number.counted {
  animation: counterGlow 1s ease;
}
.stats-strip__label {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ============================================================
   CARDS
   ============================================================ */
.card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-lt);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
  margin-bottom: 16px; flex-shrink: 0;
}
.card__title { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--color-text); }
.card__desc  { font-size: 14px; color: var(--color-muted); line-height: 1.75; margin-bottom: 14px; }
.card__link  {
  display: inline-flex; align-items: center; gap: 5px; font-size: 13px;
  font-weight: 600; color: var(--color-primary); min-height: 44px;
  transition: gap 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.card__link:hover { gap: 10px; }
.card__link svg { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.card__link:hover svg { transform: translateX(4px); }

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}
/* Card shine sweep on hover */
.service-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -75%;
  width: 50%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover::after {
  opacity: 1;
  animation: shineSweep 0.6s ease forwards;
}

/* Single column — mobile first */
.services-grid, .services-page-grid,
.portfolio-grid, .blog-grid,
.grid-2, .grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* ============================================================
   WHY US
   ============================================================ */
.why-us { display: grid; grid-template-columns: 1fr; gap: 32px; }
.why-us__bullets { margin: 18px 0 24px; display: flex; flex-direction: column; gap: 12px; }
.why-us__bullet {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--color-text-2); min-height: 24px;
}
.why-us__bullet::before {
  content: ''; width: 7px; height: 7px;
  border-radius: 50%; background: var(--gradient-primary); flex-shrink: 0;
}
.why-us__right {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  box-shadow: var(--shadow-md);
}
.why-us__stat { margin-bottom: 18px; }
.why-us__stat:last-child { margin-bottom: 0; }
.why-us__stat-num {
  font-size: 36px; font-weight: 800; letter-spacing: -1px;
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: 2px;
}
.why-us__stat-label { font-size: 13px; font-weight: 500; color: var(--color-muted); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 22px 18px; box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial-card__stars { font-size: 14px; color: #f59e0b; margin-bottom: 10px; letter-spacing: 2px; }
.testimonial-card__quote { font-size: 14px; color: var(--color-text-2); line-height: 1.75; margin-bottom: 16px; font-style: italic; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.testimonial-card__name    { font-size: 14px; font-weight: 700; }
.testimonial-card__company { font-size: 12px; color: var(--color-muted); margin-top: 1px; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: 36px 22px;
  text-align: center;
  color: #fff;
  position: relative; overflow: hidden;
}
/* CTA shimmer sweep */
.cta-banner::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  pointer-events: none;
  animation: shimmerSweep 4s ease-in-out infinite 2s;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px; pointer-events: none;
}
.cta-banner__title {
  font-size: clamp(22px, 5vw, 38px); font-weight: 800; letter-spacing: -0.8px;
  margin-bottom: 10px; position: relative; line-height: 1.15;
}
.cta-banner__subtitle { font-size: 15px; opacity: 0.9; margin-bottom: 24px; position: relative; line-height: 1.65; }
.cta-banner__btns {
  display: flex; flex-direction: column; gap: 10px;
  position: relative; align-items: stretch;
}
.cta-banner__btns .btn { width: 100%; }
.cta-banner .btn-primary {
  background: #fff; color: var(--color-primary);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.cta-banner .btn-outline {
  background: rgba(255,255,255,0.15); color: #fff;
  border-color: rgba(255,255,255,0.4);
}

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-h) + 36px) 0 44px;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255,54,33,0.07) 0%, transparent 60%), var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,54,33,0.06) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  animation: blobFloat2 12s ease-in-out infinite;
  pointer-events: none;
}
.page-hero__title {
  font-size: clamp(24px, 6vw, 52px); font-weight: 800;
  letter-spacing: -1px; line-height: 1.15; margin-bottom: 12px;
}
.page-hero__subtitle { font-size: 15px; color: var(--color-muted); line-height: 1.75; }

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
}
/* Blog card shine */
.blog-card::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s;
}
.blog-card:hover::after {
  opacity: 1;
  animation: shineSweep 0.6s ease forwards;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,54,33,0.18);
}
.blog-card__img img {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.blog-card:hover .blog-card__img img {
  transform: scale(1.06);
}
.blog-card__body { padding: 18px; }
.blog-card__meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--color-muted); margin-bottom: 8px; flex-wrap: wrap;
}
.blog-card__title { font-size: 16px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.blog-card__excerpt { font-size: 13px; color: var(--color-muted); line-height: 1.7; margin-bottom: 12px; }
.blog-card__link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--color-primary); min-height: 44px; }

.blog-single__header {
  padding: calc(var(--nav-h) + 36px) 0 28px;
  background: var(--color-bg-alt); border-bottom: 1px solid var(--color-border);
}
.blog-single__img { width: 100%; border-radius: var(--radius-lg); margin-bottom: 28px; box-shadow: var(--shadow-sm); }
.blog-single__content { font-size: 16px; line-height: 1.85; color: var(--color-text-2); }
.blog-single__content h2 { font-size: 22px; font-weight: 700; margin: 26px 0 10px; color: var(--color-text); }
.blog-single__content h3 { font-size: 18px; font-weight: 700; margin: 22px 0 8px; color: var(--color-text); }
.blog-single__content p  { margin-bottom: 16px; }
.blog-single__content code { background: var(--color-bg-alt); padding: 2px 6px; border-radius: 4px; font-size: 13px; color: var(--color-primary); word-break: break-all; }
.blog-single__content pre { background: var(--color-bg-dark); border: 1px solid var(--color-border); padding: 16px; border-radius: var(--radius-md); overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 18px 0; font-size: 13px; }

/* ============================================================
   PORTFOLIO CARDS
   ============================================================ */
.portfolio-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
}
/* Portfolio card shine */
.portfolio-card::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s;
}
.portfolio-card:hover::after {
  opacity: 1;
  animation: shineSweep 0.6s ease forwards;
}
.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,54,33,0.18);
}
.portfolio-card__img { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.portfolio-card__img img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-card__overlay {
  position: absolute; inset: 0; background: rgba(13,13,13,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
}
.portfolio-card:hover .portfolio-card__overlay,
.portfolio-card:focus-within .portfolio-card__overlay { opacity: 1; }
.portfolio-card__body  { padding: 16px; }
.portfolio-card__tags  { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.portfolio-card__title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.portfolio-card__desc  { font-size: 13px; color: var(--color-muted); line-height: 1.7; margin-bottom: 10px; }
.portfolio-card__link  { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--color-primary); min-height: 44px; }

/* ============================================================
   BADGES & TAGS
   ============================================================ */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge-blue { background: rgba(0,104,255,0.08); color: #0068ff; border: 1px solid rgba(0,104,255,0.15); }
.tag { display: inline-flex; padding: 3px 10px; border-radius: 5px; font-size: 11px; font-weight: 600; background: var(--color-bg-alt); color: var(--color-muted); border: 1px solid var(--color-border); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.about-grid p { font-size: 15px; color: var(--color-text-2); line-height: 1.8; margin-bottom: 12px; }
.about-values { display: flex; flex-direction: column; gap: 12px; }
.value-card {
  display: flex; gap: 14px; background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 16px; box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,54,33,0.2);
}
.value-card__icon {
  width: 36px; height: 36px; border-radius: 8px; background: var(--color-primary-lt);
  display: flex; align-items: center; justify-content: center; color: var(--color-primary); flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.value-card:hover .value-card__icon {
  animation: iconBounce 0.5s ease;
}
.value-card__title { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.value-card__desc  { font-size: 13px; color: var(--color-muted); line-height: 1.65; }
.tech-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tech-badge {
  padding: 6px 12px; background: var(--color-bg-alt); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; color: var(--color-text-2);
  min-height: 34px; display: flex; align-items: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.tech-badge:hover {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(255,54,33,0.2);
  box-shadow: 0 3px 12px rgba(255,54,33,0.08);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.contact-info__title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.contact-info__desc  { font-size: 14px; color: var(--color-muted); line-height: 1.8; margin-bottom: 24px; }
.contact-info__items { display: flex; flex-direction: column; gap: 16px; }
.contact-info__item  { display: flex; gap: 14px; align-items: flex-start; }
.contact-info__item-icon { width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--color-primary-lt); display: flex; align-items: center; justify-content: center; color: var(--color-primary); flex-shrink: 0; }
.contact-info__item-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-muted); margin-bottom: 2px; }
.contact-info__item-value { font-size: 14px; font-weight: 500; }

.contact-form {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: 22px 18px; box-shadow: var(--shadow-md);
}
.form-group { position: relative; margin-bottom: 16px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 20px 14px 8px;
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 16px; /* CRITICAL: 16px prevents Android zoom */
  color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group textarea { min-height: 110px; resize: vertical; padding-top: 24px; }
.form-group label {
  position: absolute; top: 13px; left: 15px;
  font-size: 14px; color: var(--color-muted);
  transition: all 0.18s; pointer-events: none; font-weight: 500;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255,54,33,0.1);
  background: var(--color-surface);
}
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: 5px; font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-primary);
}
.form-group.error input,
.form-group.error select,
.form-group.error textarea { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.1); }
.form-error { font-size: 12px; color: #ef4444; margin-top: 4px; display: none; font-weight: 500; }
.form-group.error .form-error { display: block; }

#form-success { display: none; text-align: center; padding: 36px 20px; }
#form-success.show { display: block; }
.success-icon {
  width: 56px; height: 56px; background: rgba(16,185,129,0.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: #10b981;
  animation: successPop 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.success-icon svg {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: drawCheck 0.6s ease 0.3s forwards;
}

/* ============================================================
   STEPPER — horizontal card on mobile
   ============================================================ */
.stepper { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
.stepper__step {
  display: flex; align-items: flex-start; gap: 16px; text-align: left;
  padding: 20px 18px; background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.stepper__step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,54,33,0.2);
}
.stepper__num {
  font-size: 26px; font-weight: 800;
  background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: -1px; flex-shrink: 0; line-height: 1; margin-top: 2px;
  transition: transform 0.3s ease;
}
.stepper__step:hover .stepper__num {
  transform: scale(1.15);
}
.stepper__title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.stepper__desc  { font-size: 13px; color: var(--color-muted); line-height: 1.65; }

/* ============================================================
   FILTER BAR — horizontal scroll
   ============================================================ */
.filter-bar {
  display: flex; gap: 8px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: 4px; margin-bottom: 24px;
  scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-btn {
  flex-shrink: 0; padding: 8px 18px; border-radius: 20px;
  font-size: 13px; font-weight: 500; cursor: pointer;
  border: 1.5px solid var(--color-border); background: transparent;
  color: var(--color-muted); font-family: var(--font-body);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1); min-height: 40px; white-space: nowrap;
}
.filter-btn:hover {
  border-color: var(--color-border-md);
  color: var(--color-text);
  background: var(--color-bg-alt);
  transform: translateY(-1px);
}
.filter-btn.active {
  background: var(--color-primary-lt); border-color: rgba(255,54,33,0.3);
  color: var(--color-primary); font-weight: 600;
  transform: scale(1.02);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.pagination a,
.pagination span {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
  border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text-2);
}
.pagination a:active { background: var(--color-bg-alt); }
.pagination .current { background: var(--gradient-primary); border-color: transparent; color: #fff; }

/* ============================================================
   FOOTER — stacked mobile
   ============================================================ */
.footer { background: var(--color-bg-alt); border-top: 1px solid var(--color-border); padding: 44px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
.footer__brand-desc { font-size: 14px; color: var(--color-muted); line-height: 1.75; margin: 10px 0 14px; }
.footer__social { display: flex; gap: 10px; }
.footer__social-link {
  width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center; color: var(--color-muted);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.footer__social-link:hover {
  transform: translateY(-3px) scale(1.08);
  border-color: rgba(255,54,33,0.3);
  color: var(--color-primary);
  background: var(--color-primary-lt);
}
.footer__col-title { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text); margin-bottom: 12px; }
.footer__col-links { list-style: none; display: flex; flex-direction: column; gap: 0; }
.footer__col-links li { border-bottom: 1px solid var(--color-border); }
.footer__col-links a { display: flex; align-items: center; font-size: 14px; color: var(--color-muted); padding: 12px 0; min-height: 44px; }
.footer__col-links a:active { color: var(--color-primary); }
.footer__bottom { border-top: 1px solid var(--color-border); padding-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer__copy { font-size: 12px; color: var(--color-muted-lt); }

/* ============================================================
   TABLET — 600px+
   ============================================================ */
@media (min-width: 600px) {
  :root { --section-gap: 72px; --nav-h: 64px; }
  .container { padding: 0 24px; }
  .navbar__inner { padding: 0 24px; }

  .hero__ctas { flex-direction: row; justify-content: center; }
  .hero__ctas .btn { width: auto; }
  .hero__trust { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 20px; max-width: 100%; }

  .cta-banner { padding: 44px 36px; }
  .cta-banner__btns { flex-direction: row; justify-content: center; }
  .cta-banner__btns .btn { width: auto; }

  .grid-2 { grid-template-columns: 1fr 1fr; }
  .services-grid, .services-page-grid, .portfolio-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }

  .stepper { grid-template-columns: 1fr 1fr; }
  .stepper__step { flex-direction: column; text-align: center; align-items: center; gap: 6px; }

  .contact-form { padding: 28px 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__col-links li { border-bottom: none; }
  .footer__col-links a { padding: 4px 0; min-height: auto; }
  .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ============================================================
   DESKTOP — 900px+
   ============================================================ */
@media (min-width: 900px) {
  :root { --section-gap: 96px; --nav-h: 68px; }
  .container  { padding: 0 32px; }
  .navbar__inner { padding: 0 32px; }

  .navbar__links { display: flex; }
  .navbar__ctas  { display: flex; }
  .navbar__burger { display: none; }

  .hero { padding: calc(var(--nav-h) + 60px) 24px 80px; }
  .hero__title { letter-spacing: -2px; }
  .hero__subtitle { font-size: 18px; }

  .stats-strip { overflow: visible; }
  .stats-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); min-width: auto; padding: 0; }
  .stats-strip__item { padding: 0; text-align: center; }
  .stats-strip__number { font-size: 48px; }

  .section-title { font-size: clamp(28px, 3.5vw, 42px); }
  .section__header { margin-bottom: 52px; }
  .section-subtitle { font-size: 17px; max-width: 560px; }

  .services-grid, .services-page-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .blog-grid, .portfolio-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .grid-2 { gap: 20px; }

  .service-card { padding: 32px 28px; }
  .service-card:hover { border-color: rgba(255,54,33,0.25); box-shadow: 0 6px 28px rgba(255,54,33,0.08), var(--shadow-md); transform: translateY(-3px); }

  .why-us { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .why-us__right { padding: 36px; }
  .why-us__stat-num { font-size: 40px; }

  .about-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .value-card:hover { border-color: rgba(255,54,33,0.2); box-shadow: 0 4px 16px rgba(255,54,33,0.07); }

  .contact-grid { grid-template-columns: 1fr 1.5fr; gap: 64px; }
  .contact-form { padding: 40px; }

  .stepper { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .stepper__step { text-align: center; flex-direction: column; align-items: center; padding: 32px 20px; }
  .stepper__step:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(255,54,33,0.2); }
  .stepper__num { font-size: 30px; }

  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
  .footer__brand-desc { max-width: 280px; }
  .footer__social-link:hover { border-color: rgba(255,54,33,0.3); color: var(--color-primary); background: var(--color-primary-lt); }
  .footer__col-links a:hover { color: var(--color-primary); }

  .blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(255,54,33,0.18); }
  .blog-card__img img { transition: transform 0.4s ease; }
  .blog-card:hover .blog-card__img img { transform: scale(1.04); }

  .portfolio-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(255,54,33,0.18); }
  .portfolio-card__img img { transition: transform 0.4s ease; }
  .portfolio-card:hover .portfolio-card__img img { transform: scale(1.04); }

  .cta-banner { padding: 60px 56px; }
  .cta-banner__btns { flex-direction: row; justify-content: center; }
  .cta-banner__btns .btn { width: auto; }

  .btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-red); filter: brightness(1.05); }
  .btn-outline:hover { background: var(--color-bg-alt); border-color: var(--color-border-md); }
}

/* ============================================================
   LARGE DESKTOP — 1200px+
   ============================================================ */
@media (min-width: 1200px) {
  .navbar__inner { padding: 0 40px; }
  .container     { padding: 0 40px; }
  .hero__title   { letter-spacing: -2.5px; }
}

/* ============================================================
   ANDROID SAFE AREA (notch + navigation bar)
   ============================================================ */
@supports (padding: env(safe-area-inset-bottom)) {
  .navbar {
    padding-top: env(safe-area-inset-top);
    height: calc(var(--nav-h) + env(safe-area-inset-top));
  }
  .hero {
    padding-top: calc(var(--nav-h) + env(safe-area-inset-top) + 40px);
  }
  .navbar__mobile-menu {
    top: calc(var(--nav-h) + env(safe-area-inset-top));
    padding-bottom: calc(120px + env(safe-area-inset-bottom));
  }
  .footer {
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
  }
}

/* ============================================================
   DESKTOP PREMIUM ENHANCEMENTS — 900px+
   Restores the full Databricks-quality look on large screens
   ============================================================ */
@media (min-width: 900px) {

  /* --- Typography scale up --- */
  body { font-size: 16px; }

  .section-eyebrow { font-size: 12px; letter-spacing: 0.16em; margin-bottom: 12px; }

  .section-title {
    font-size: clamp(32px, 3.5vw, 46px);
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    line-height: 1.12;
  }
  .section-subtitle { font-size: 18px; line-height: 1.8; }
  .section__header  { margin-bottom: 60px; }

  /* --- Hero upgrades --- */
  .hero {
    min-height: 100vh;
    background:
      radial-gradient(ellipse 70% 55% at 50% -5%, rgba(255,54,33,0.10) 0%, transparent 65%),
      radial-gradient(ellipse 40% 35% at 85% 80%, rgba(0,104,255,0.06) 0%, transparent 55%),
      var(--color-bg);
  }
  .hero::before { background-size: 28px 28px; }

  .hero__blob--1 { width: 520px; height: 520px; top: -180px; filter: blur(80px); opacity: 0.45; }
  .hero__blob--2 { width: 360px; height: 360px; bottom: 40px; right: 5%; filter: blur(80px); opacity: 0.45; }
  .hero__blob--3 { width: 260px; height: 260px; bottom: 80px; left: 8%; filter: blur(80px); opacity: 0.45; }

  .hero__badge   { font-size: 13px; padding: 7px 16px; margin-bottom: 28px; }
  .hero__title   { font-size: clamp(48px, 6.5vw, 80px); letter-spacing: -2.5px; margin-bottom: 24px; line-height: 1.07; }
  .hero__subtitle { font-size: 19px; max-width: 520px; margin-bottom: 40px; }

  .hero__ctas    { gap: 14px; margin-bottom: 44px; }
  .hero__trust   { gap: 28px; }
  .hero__trust-item { font-size: 14px; gap: 8px; }

  /* --- Stats strip --- */
  .stats-strip   { padding: 52px 0; }
  .stats-strip__number { font-size: 52px; letter-spacing: -2px; margin-bottom: 6px; }
  .stats-strip__label  { font-size: 13px; letter-spacing: 0.08em; }

  /* --- Navbar --- */
  .navbar { height: 70px; }
  .navbar__logo      { font-size: 20px; gap: 10px; }
  .navbar__logo-mark { width: 36px; height: 36px; font-size: 16px; border-radius: 9px; }
  .navbar__links a   { font-size: 14px; font-weight: 500; padding: 8px 16px; }

  /* --- Buttons --- */
  .btn      { font-size: 14px; padding: 11px 22px; min-height: 44px; }
  .btn-lg   { font-size: 16px; padding: 14px 32px; min-height: 52px; }

  /* --- Service cards --- */
  .service-card      { padding: 36px 32px; border-radius: 16px; }
  .card__icon        { width: 52px; height: 52px; border-radius: 12px; margin-bottom: 22px; }
  .card__icon svg    { width: 24px; height: 24px; }
  .card__title       { font-size: 18px; margin-bottom: 12px; }
  .card__desc        { font-size: 15px; line-height: 1.75; margin-bottom: 20px; }
  .card__link        { font-size: 14px; }
  .services-grid,
  .services-page-grid { gap: 24px; }

  /* --- Blog cards --- */
  .blog-card__body   { padding: 26px; }
  .blog-card__title  { font-size: 18px; margin-bottom: 10px; }
  .blog-card__excerpt { font-size: 14px; margin-bottom: 18px; }
  .blog-grid         { gap: 24px; }

  /* --- Portfolio cards --- */
  .portfolio-card__body  { padding: 22px; }
  .portfolio-card__title { font-size: 17px; }
  .portfolio-grid        { gap: 24px; }

  /* --- Why Us --- */
  .why-us > div:first-child > p { font-size: 16px; line-height: 1.8; }
  .why-us__bullet    { font-size: 15px; gap: 12px; }
  .why-us__right     { padding: 40px; border-radius: 20px; }
  .why-us__stat      { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--color-border); }
  .why-us__stat:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
  .why-us__stat-num  { font-size: 44px; letter-spacing: -1.5px; margin-bottom: 4px; }
  .why-us__stat-label { font-size: 14px; }

  /* --- Testimonial cards --- */
  .testimonial-card  { padding: 32px 28px; }
  .testimonial-card__quote { font-size: 15px; line-height: 1.8; margin-bottom: 22px; }
  .grid-3 { gap: 24px; }

  /* --- CTA Banner --- */
  .cta-banner        { border-radius: 24px; box-shadow: 0 12px 48px rgba(255,54,33,0.28); }
  .cta-banner__title { letter-spacing: -1px; margin-bottom: 14px; }
  .cta-banner__subtitle { font-size: 17px; margin-bottom: 36px; }
  .cta-banner__btns  { gap: 14px; }

  /* --- Page Hero --- */
  .page-hero        { padding: calc(70px + 64px) 0 72px; }
  .page-hero__title { letter-spacing: -1.5px; margin-bottom: 18px; }
  .page-hero__subtitle { font-size: 18px; }

  /* --- About grid --- */
  .about-grid p  { font-size: 16px; line-height: 1.85; }
  .value-card    { padding: 24px; gap: 18px; }
  .value-card__icon  { width: 42px; height: 42px; }
  .value-card__title { font-size: 15px; }
  .value-card__desc  { font-size: 14px; }
  .tech-badge    { font-size: 13px; padding: 6px 14px; min-height: auto; }

  /* --- Contact --- */
  .contact-info__title { font-size: 26px; }
  .contact-info__desc  { font-size: 16px; line-height: 1.8; }
  .contact-info__item-value { font-size: 15px; }
  .contact-form  { border-radius: 20px; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 15px; padding: 20px 16px 8px; }
  .form-group label  { font-size: 14px; left: 17px; top: 14px; }

  /* --- Stepper --- */
  .stepper__step { padding: 36px 24px; }
  .stepper__num  { font-size: 34px; margin-bottom: 14px; }
  .stepper__title { font-size: 17px; margin-bottom: 8px; }
  .stepper__desc  { font-size: 14px; }

  /* --- Footer --- */
  .footer        { padding: 72px 0 40px; }
  .footer__grid  { margin-bottom: 56px; }
  .footer__brand-desc { font-size: 15px; line-height: 1.8; }
  .footer__col-title  { font-size: 13px; margin-bottom: 18px; }
  .footer__col-links a { font-size: 14px; line-height: 1; padding: 6px 0; min-height: auto; }
  .footer__copy  { font-size: 13px; }

  /* --- Section padding --- */
  .section { padding: 96px 0; }

  /* --- Blog single --- */
  .blog-single__header { padding: calc(70px + 56px) 0 48px; }
  .blog-single__content { font-size: 17px; }
  .blog-single__content h2 { font-size: 28px; }
  .blog-single__content h3 { font-size: 22px; }

  /* --- Pagination --- */
  .pagination { margin-top: 56px; gap: 8px; }
  .pagination a,
  .pagination span { width: 40px; height: 40px; font-size: 14px; }

  /* --- Filter bar --- */
  .filter-bar    { overflow: visible; flex-wrap: wrap; margin-bottom: 40px; }
  .filter-btn    { font-size: 14px; padding: 9px 22px; }
  .filter-btn:hover { border-color: var(--color-border-md); color: var(--color-text); background: var(--color-bg-alt); }

  /* --- Logos strip --- */
  .logos-strip   { padding: 44px 0; }
  .logos-strip__item { font-size: 13px; padding: 9px 22px; letter-spacing: 0.1em; }
}

/* ============================================================
   WIDE DESKTOP — 1200px+ final polish
   ============================================================ */
@media (min-width: 1200px) {
  .hero__title   { font-size: clamp(56px, 6vw, 88px); }
  .section-title { font-size: clamp(36px, 3vw, 48px); }
  .services-grid,
  .services-page-grid,
  .blog-grid,
  .portfolio-grid { gap: 28px; }
  .grid-3        { gap: 28px; }
  .why-us        { gap: 80px; }
  .about-grid    { gap: 80px; }
  .contact-grid  { gap: 72px; }
  .footer__grid  { gap: 56px; }
}