/* =====================================================
   Phoenix IT Solutions — Complete Stylesheet
   Theme: Phoenix Fire · Red + Blue · pnxsolutions.com
   Layout: Flexbox + CSS Grid only. No hacks.
   ===================================================== */

/* ── Google Fonts fallback import ── */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap");

/* ─────────────────────────────────────────
   CSS VARIABLES
───────────────────────────────────────── */
:root {
  --red:           #FF2200;
  --red-deep:      #CC0022;
  --red-bright:    #FF5500;
  --red-muted:     rgba(255, 34, 0, 0.14);
  --blue:          #0055FF;
  --blue-bright:   #3388FF;
  --blue-deep:     #0033CC;
  --blue-muted:    rgba(0, 85, 255, 0.14);
  --orange:        #FF8800;
  --gold:          #FFCC00;
  --green:         #22CC55;

  --bg:            #080608;
  --bg-2:          #0c080c;
  --bg-card:       #130810;
  --bg-card-2:     #0e0610;
  --border:        rgba(255, 255, 255, 0.07);
  --border-red:    rgba(255, 34, 0, 0.25);
  --border-blue:   rgba(0, 85, 255, 0.25);

  --text:          #F2F0F4;
  --text-2:        #B8B0BC;
  --text-3:        #7A7080;

  --font:          'Inter', system-ui, sans-serif;
  --font-display:  'Space Grotesk', system-ui, sans-serif;

  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  --section-pad:   6rem 0;
  --nav-h:         72px;
}

/* ─────────────────────────────────────────
   RESET
───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* ─────────────────────────────────────────
   LAYOUT UTILITIES
───────────────────────────────────────── */
.section-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-header {
  margin-bottom: 3.5rem;
  max-width: 560px;
}

/* ─────────────────────────────────────────
   ACCESSIBILITY
───────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  background: var(--red-bright);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ─────────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-bright);
  border: 1px solid var(--border-red);
  background: var(--red-muted);
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}
.section-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red-bright);
}
.section-tag.blue {
  color: var(--blue-bright);
  border-color: var(--border-blue);
  background: var(--blue-muted);
}
.section-tag.blue::before { background: var(--blue-bright); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1rem;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.7;
}

.gradient-text-red {
  background: linear-gradient(135deg, var(--red-bright) 0%, var(--orange) 50%, var(--red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-blue {
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 80, 0, 0.4);
  transition: all 0.25s ease;
  box-shadow: 0 4px 24px rgba(204, 0, 34, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 34, 0, 0.5);
  background: linear-gradient(135deg, var(--red-bright) 0%, var(--red) 100%);
}
.btn-primary.btn-large { padding: 1rem 2rem; font-size: 1rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.btn-ghost.btn-large { padding: 1rem 2rem; font-size: 1rem; }

.btn-outline-blue {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  color: var(--blue-bright);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 100px;
  border: 1px solid var(--border-blue);
  background: var(--blue-muted);
  transition: all 0.25s ease;
}
.btn-outline-blue:hover {
  background: rgba(0, 85, 255, 0.25);
  border-color: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 85, 255, 0.3);
}

/* ─────────────────────────────────────────
   REVEAL ANIMATION
───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─────────────────────────────────────────
   TOPBAR / NAVBAR
───────────────────────────────────────── */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.topbar.scrolled {
  background: rgba(8, 6, 8, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

/* Navbar inner: 3 columns — logo | nav | cta */
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  height: 42px;
  width: 42px;
  object-fit: cover;
  border-radius: 10px;
  filter: drop-shadow(0 0 10px rgba(255, 68, 0, 0.5));
  transition: filter 0.3s ease;
}
.logo-img:hover { filter: drop-shadow(0 0 16px rgba(255, 68, 0, 0.8)); }
.logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo-text span { color: var(--red-bright); }

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  flex: 1;
}
.nav-links > a {
  display: inline-flex;
  align-items: center;
  height: 2.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  padding: 0 0.8rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}
.nav-links > a:hover,
.nav-links > a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  height: 2.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  padding: 0 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}
.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}
.nav-dropdown-trigger svg { transition: transform 0.2s ease; flex-shrink: 0; }
.nav-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 248px;
  background: rgba(13, 8, 16, 0.98);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 34, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 300;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all 0.15s ease;
}
.nav-dropdown-menu a:hover {
  background: var(--red-muted);
  color: var(--text);
}
.nav-dropdown-menu a svg {
  width: 16px;
  height: 16px;
  color: var(--red-bright);
  flex-shrink: 0;
}
.dropdown-divider { height: 1px; background: var(--border); margin: 0.4rem 0.5rem; }
.dropdown-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red-bright);
  transition: all 0.15s ease;
}
.dropdown-footer-link:hover { background: var(--red-muted); }

/* CTA button */
.topbar-cta {
  display: flex;
  align-items: center;
  padding: 0.55rem 1.2rem;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s ease;
  box-shadow: 0 2px 12px rgba(204, 0, 34, 0.35);
}
.topbar-cta:hover {
  box-shadow: 0 4px 20px rgba(255, 34, 0, 0.5);
  transform: translateY(-1px);
}

/* Hamburger (hidden on desktop) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(8, 6, 8, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem 2rem;
  z-index: 199;
  flex-direction: column;
  gap: 0.25rem;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 10px;
  transition: all 0.15s;
}
.mobile-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.mobile-nav-section {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 1rem 1rem 0.25rem;
  margin-top: 0.5rem;
}
.mobile-nav-cta {
  margin-top: 1rem;
  padding: 0.9rem 1rem !important;
  text-align: center;
  background: linear-gradient(135deg, var(--red), var(--red-deep)) !important;
  color: #fff !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
}

/* ─────────────────────────────────────────
   HERO — clean grid layout (no absolute overlap)
───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Background elements */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
}
.hero-glow-red {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--red) 0%, transparent 70%);
  top: -200px;
  left: -200px;
}
.hero-glow-blue {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--blue) 0%, transparent 70%);
  top: 10%;
  right: -100px;
}

.circuit-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 34, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 34, 0, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(0, 85, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 85, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 20px 20px, 20px 20px;
  mask-image: radial-gradient(ellipse at 60% 40%, rgba(0,0,0,0.4) 0%, transparent 70%);
}

/* Ember particles */
.ember { position: absolute; border-radius: 50%; animation: floatEmber linear infinite; pointer-events: none; }
.ember-1 { width: 4px; height: 4px; background: var(--red-bright); left: 15%; bottom: 20%; animation-duration: 6s; opacity: 0.8; }
.ember-2 { width: 3px; height: 3px; background: var(--orange); left: 30%; bottom: 10%; animation-duration: 8s; animation-delay: 1.5s; opacity: 0.6; }
.ember-3 { width: 5px; height: 5px; background: var(--red); left: 55%; bottom: 15%; animation-duration: 7s; animation-delay: 0.5s; opacity: 0.7; }
.ember-4 { width: 3px; height: 3px; background: var(--gold); left: 70%; bottom: 25%; animation-duration: 9s; animation-delay: 2s; opacity: 0.5; }
.ember-5 { width: 4px; height: 4px; background: var(--red-bright); left: 85%; bottom: 12%; animation-duration: 6.5s; animation-delay: 1s; opacity: 0.7; }
.ember-6 { width: 3px; height: 3px; background: var(--orange); left: 45%; bottom: 30%; animation-duration: 10s; animation-delay: 3s; opacity: 0.5; }

@keyframes floatEmber {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0.8; }
  25%  { transform: translateY(-60px) translateX(15px) scale(1.2); }
  50%  { transform: translateY(-120px) translateX(-10px) scale(0.9); opacity: 0.6; }
  75%  { transform: translateY(-200px) translateX(20px) scale(1.1); }
  100% { transform: translateY(-320px) translateX(0) scale(0.5); opacity: 0; }
}

/* Hero main area: 2-column grid (text | visual) */
.hero-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
}

/* For hero sections that don't use .hero-main wrapper (legacy support) */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

/* Hero visual: in document flow, no absolute */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: phoenixFloat 6s ease-in-out infinite;
}
.hero-phoenix-img {
  width: min(420px, 100%);
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 50px rgba(255, 68, 0, 0.45)) drop-shadow(0 0 100px rgba(0, 85, 255, 0.2));
}
@keyframes phoenixFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
  animation: fadeSlideUp 0.8s ease both;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Hero headline */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  display: block;
}
.headline-line { display: block; animation: fadeSlideUp 0.8s ease both; }
.headline-line:nth-child(1) { animation-delay: 0.1s; color: var(--red-bright); }
.headline-line:nth-child(2) { animation-delay: 0.2s; color: var(--text); }
.headline-line:nth-child(3) { animation-delay: 0.3s; color: var(--blue-bright); }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  animation: fadeSlideUp 0.8s ease 0.4s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: fadeSlideUp 0.8s ease 0.5s both;
}

/* Trust signals below hero buttons */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  animation: fadeSlideUp 0.8s ease 0.6s both;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-3);
}
.trust-item svg { color: var(--red-bright); flex-shrink: 0; }

/* Stats strip — below hero grid, full width */
.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  background: rgba(8, 6, 8, 0.7);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.4rem 3rem;
  gap: 0.2rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--red-bright), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.75rem; color: var(--text-3); font-weight: 500; letter-spacing: 0.04em; white-space: nowrap; }
.stat-divider { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }

/* ─────────────────────────────────────────
   TECH / TRUSTED STRIP
───────────────────────────────────────── */
.tech-strip,
.trusted-strip {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.tech-strip::before,
.trusted-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 85, 255, 0.04) 0%, transparent 100%);
  pointer-events: none;
}
.tech-strip-label {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 2rem;
}
.tech-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}
.tech-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  cursor: default;
  min-width: 90px;
  transition: all 0.25s ease;
}
.tech-logo-item svg { width: 38px; height: 38px; }
.tech-logo-item span { font-size: 0.72rem; font-weight: 500; color: var(--text-3); white-space: nowrap; transition: color 0.25s; }
.tech-logo-item:hover {
  border-color: var(--border-blue);
  background: var(--blue-muted);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 85, 255, 0.15);
}
.tech-logo-item:hover span { color: var(--blue-bright); }

/* ─────────────────────────────────────────
   SERVICES SECTION
───────────────────────────────────────── */
.services {
  padding: var(--section-pad);
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 34, 0, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* 3-column grid on desktop, 2 on tablet, 1 on mobile */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

/* Service card */
.service-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.025) 0%, var(--bg-card) 70%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, var(--blue) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover {
  border-color: var(--border-red);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 34, 0, 0.1);
}
.service-card:hover::before { opacity: 1; }

/* Featured card variant */
.service-card--featured {
  border-color: var(--border-red);
  background: linear-gradient(135deg, rgba(255, 34, 0, 0.06) 0%, var(--bg-card) 60%);
}
.service-card--featured:hover {
  box-shadow: 0 12px 40px rgba(255, 34, 0, 0.18);
}

/* Wide card (unused on homepage but kept for services page) */
.service-card--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: flex-start;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-muted);
  border: 1px solid var(--border-red);
  border-radius: 13px;
  color: var(--red-bright);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card:hover .service-icon {
  background: rgba(255, 34, 0, 0.2);
  border-color: var(--red-bright);
  box-shadow: 0 0 16px rgba(255, 34, 0, 0.25);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.7;
}

.service-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
  width: 100%;
}

.service-mini-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.service-mini-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-3);
}
.service-mini-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red-bright);
  flex-shrink: 0;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}
.service-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--blue-bright);
  background: var(--blue-muted);
  border: 1px solid var(--border-blue);
  padding: 0.22rem 0.6rem;
  border-radius: 100px;
}

.service-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red-bright);
  margin-top: auto;
  transition: gap 0.2s, color 0.2s;
}
.service-cta-link:hover { color: var(--orange); gap: 0.65rem; }
.service-cta-link svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform 0.2s; }
.service-cta-link:hover svg { transform: translateX(3px); }

.services-view-all { text-align: center; margin-top: 2.5rem; }

/* ─────────────────────────────────────────
   PROCESS SECTION
───────────────────────────────────────── */
.process-section {
  padding: var(--section-pad);
  background: var(--bg-2);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.process-step:hover { border-color: var(--border-red); transform: translateY(-4px); }
.process-step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 34, 0, 0.1);
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  line-height: 1;
}
.process-step-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-muted);
  border: 1px solid var(--border-red);
  border-radius: 10px;
  color: var(--red-bright);
  margin-bottom: 1.2rem;
}
.process-step-icon svg { width: 22px; height: 22px; }
.process-step h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 0.6rem; }
.process-step p { font-size: 0.85rem; color: var(--text-2); line-height: 1.65; }

/* ─────────────────────────────────────────
   TESTIMONIALS SECTION
───────────────────────────────────────── */
.testimonials-section { padding: var(--section-pad); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 85, 255, 0.12);
}
.testimonial-card--featured {
  border-color: var(--border-red);
  background: linear-gradient(160deg, rgba(255, 34, 0, 0.07) 0%, var(--bg-card) 50%);
}
.testimonial-card--featured:hover {
  border-color: var(--red-bright);
  box-shadow: 0 16px 48px rgba(255, 34, 0, 0.18);
}

.testimonial-rating { display: flex; gap: 0.2rem; }
.testimonial-rating svg { color: #FFB800; }

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.75;
  font-style: italic;
}

.testimonial-result {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.65rem 0.9rem;
  background: rgba(255, 34, 0, 0.06);
  border: 1px solid rgba(255, 34, 0, 0.15);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red-bright);
}
.testimonial-result svg { flex-shrink: 0; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--blue));
}
.testimonial-meta { display: flex; flex-direction: column; gap: 0.2rem; }
.testimonial-name { font-size: 0.88rem; font-weight: 700; color: var(--text); }
.testimonial-role { font-size: 0.75rem; color: var(--text-3); }

/* ─────────────────────────────────────────
   PRODUCTS SECTION (homepage preview)
───────────────────────────────────────── */
.products-section {
  padding: var(--section-pad);
  background: var(--bg-2);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 85, 0, 0.04) 0%, rgba(0, 85, 255, 0.04) 100%);
  pointer-events: none;
}
.product-card:hover { border-color: var(--border-red); box-shadow: 0 8px 40px rgba(255, 34, 0, 0.12); }
.product-card-header { display: flex; align-items: center; justify-content: space-between; }
.product-icon-wrap {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--red-muted) 0%, var(--blue-muted) 100%);
  border: 1px solid var(--border-red);
  border-radius: 16px;
}
.product-badge { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-bright); background: var(--blue-muted); border: 1px solid var(--border-blue); padding: 0.3rem 0.75rem; border-radius: 100px; }
.product-name { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.product-tagline { font-size: 1rem; font-weight: 500; color: var(--red-bright); margin-top: -0.5rem; }
.product-desc { font-size: 0.95rem; color: var(--text-2); line-height: 1.7; }
.product-features { display: flex; flex-direction: column; gap: 0.55rem; padding: 1rem; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border); border-radius: var(--radius); }
.product-features li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: var(--text-2); }
.product-features li svg { flex-shrink: 0; }
.product-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); }
.product-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.product-tags span { font-size: 0.75rem; font-weight: 500; color: var(--text-3); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); padding: 0.2rem 0.65rem; border-radius: 100px; }
.product-status { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; font-weight: 600; }
.product-status--building { color: var(--orange); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 6px var(--orange); animation: pulseDot 1.8s ease-in-out infinite; }
.product-status--live { color: var(--green); }
.status-dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); animation: pulseDot 1.8s ease-in-out infinite; }

/* ─────────────────────────────────────────
   WHY SECTION
───────────────────────────────────────── */
.why-section { padding: var(--section-pad); position: relative; overflow: hidden; }
.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 0% 50%, rgba(255, 34, 0, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 600px 400px at 100% 50%, rgba(0, 85, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; position: relative; z-index: 1; }
.why-desc { font-size: 1rem; color: var(--text-2); line-height: 1.75; margin-bottom: 2.5rem; }
.why-pillars { display: flex; flex-direction: column; gap: 1.5rem; }
.pillar { display: flex; gap: 1rem; align-items: flex-start; }
.pillar-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--red-muted); border: 1px solid var(--border-red); border-radius: 10px; color: var(--red-bright); flex-shrink: 0; }
.pillar-icon svg { width: 18px; height: 18px; }
.pillar strong { display: block; font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 0.3rem; }
.pillar p { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; }

.company-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2rem; position: relative; overflow: hidden; }
.company-card-glow { position: absolute; bottom: -40px; right: -40px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255, 34, 0, 0.12) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.company-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.8rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.cc-logo-img { width: 48px; height: 48px; object-fit: cover; border-radius: 10px; }
.cc-name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text); }
.cc-type { font-size: 0.8rem; color: var(--text-3); margin-top: 0.15rem; }
.company-facts { display: flex; flex-direction: column; gap: 0.8rem; }
.fact-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 0.85rem; }
.fact-key { color: var(--text-3); font-weight: 500; flex-shrink: 0; }
.fact-val { color: var(--text-2); text-align: right; }
.fact-val a { color: var(--blue-bright); }
.fact-val a:hover { color: var(--text); }

/* ─────────────────────────────────────────
   CONTACT CTA SECTION (homepage)
───────────────────────────────────────── */
.contact { padding: var(--section-pad); position: relative; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; pointer-events: none; }
.contact-glow-red { position: absolute; top: -100px; left: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255, 34, 0, 0.1) 0%, transparent 70%); border-radius: 50%; }
.contact-glow-blue { position: absolute; bottom: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(0, 85, 255, 0.1) 0%, transparent 70%); border-radius: 50%; }
.contact-content { position: relative; z-index: 1; max-width: 680px; }
.contact-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--text); margin-bottom: 1.2rem; }
.contact-desc { font-size: 1.05rem; color: var(--text-2); line-height: 1.75; margin-bottom: 2.5rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer { background: #050305; border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; flex-wrap: wrap; }
.footer-logo-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.footer-logo-img { height: 36px; width: 36px; object-fit: cover; border-radius: 8px; }
.footer-brand-name { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--text); }
.footer-tagline { font-size: 0.85rem; color: var(--text-3); max-width: 220px; line-height: 1.6; }
.footer-col { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.3rem; }
.footer-col a { font-size: 0.875rem; color: var(--text-3); transition: color 0.2s; }
.footer-col a:hover { color: var(--text-2); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8rem; color: var(--text-3); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.8rem; color: var(--text-3); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--text-2); }

/* ─────────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero-glow-red { position: absolute; top: -150px; left: -150px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255, 34, 0, 0.12) 0%, transparent 70%); border-radius: 50%; filter: blur(40px); }
.page-hero-glow-blue { position: absolute; bottom: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(0, 85, 255, 0.1) 0%, transparent 70%); border-radius: 50%; filter: blur(40px); }
.page-hero-grid { background-image: linear-gradient(rgba(255,34,0,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,34,0,0.025) 1px, transparent 1px); background-size: 60px 60px; position: absolute; inset: 0; }

.page-hero-content { position: relative; z-index: 2; }
.page-breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--text-3); margin-bottom: 1.5rem; }
.page-breadcrumb a { color: var(--text-3); transition: color 0.2s; }
.page-breadcrumb a:hover { color: var(--text-2); }
.page-breadcrumb svg { width: 12px; height: 12px; opacity: 0.5; }
.page-hero-title { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; color: var(--text); margin-bottom: 1.25rem; }
.page-hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-2); max-width: 600px; line-height: 1.7; margin-bottom: 2.5rem; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ─────────────────────────────────────────
   SERVICE DETAIL PAGES
───────────────────────────────────────── */
.service-overview { padding: 6rem 0; }
.service-overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.service-overview-body { display: flex; flex-direction: column; gap: 1.5rem; }
.service-overview-body p { font-size: 1rem; color: var(--text-2); line-height: 1.8; }
.service-check-list { display: flex; flex-direction: column; gap: 0.7rem; }
.service-check-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.95rem; color: var(--text-2); line-height: 1.5; }
.service-check-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--green); }

.service-stats-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.service-stat-item { display: flex; flex-direction: column; gap: 0.2rem; }
.service-stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; background: linear-gradient(135deg, var(--red-bright), var(--orange)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.service-stat-label { font-size: 0.82rem; color: var(--text-3); font-weight: 500; }
.service-stat-divider { height: 1px; background: var(--border); }

/* Deliverables */
.deliverables-section { padding: 6rem 0; }
.deliverables-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3.5rem; }
.deliverable-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; display: flex; flex-direction: column; gap: 0.75rem; transition: all 0.3s ease; }
.deliverable-card:hover { border-color: var(--border-blue); box-shadow: 0 8px 32px rgba(0, 85, 255, 0.1); }
.deliverable-icon { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; background: var(--blue-muted); border: 1px solid var(--border-blue); border-radius: 10px; color: var(--blue-bright); }
.deliverable-icon svg { width: 22px; height: 22px; }
.deliverable-card h4 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: var(--text); }
.deliverable-card p { font-size: 0.84rem; color: var(--text-2); line-height: 1.65; }

/* Tech used section */
.tech-used-section { padding: 6rem 0; background: var(--bg-2); }
.tech-used-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; margin-top: 3rem; }
.tech-used-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; text-align: center; transition: all 0.25s ease; }
.tech-used-card:hover { border-color: var(--border-blue); background: var(--blue-muted); transform: translateY(-3px); }
.tech-used-card svg { width: 36px; height: 36px; }
.tech-used-card span { font-size: 0.78rem; font-weight: 600; color: var(--text-3); }
.tech-used-card:hover span { color: var(--blue-bright); }

/* ─────────────────────────────────────────
   CTA BANNER
───────────────────────────────────────── */
.cta-banner {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 34, 0, 0.06) 0%, rgba(0, 85, 255, 0.06) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-banner-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; color: var(--text); margin-bottom: 1rem; letter-spacing: -0.02em; }
.cta-banner-desc { font-size: 1.05rem; color: var(--text-2); max-width: 520px; margin: 0 auto 2.5rem; line-height: 1.7; }
.cta-banner-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }

/* ─────────────────────────────────────────
   SERVICES OVERVIEW PAGE
───────────────────────────────────────── */
.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.service-overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-overview-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--red), var(--blue)); opacity: 0; transition: opacity 0.3s; }
.service-overview-card:hover { border-color: var(--border-red); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.4); }
.service-overview-card:hover::before { opacity: 1; }
.service-overview-card .service-icon { width: 52px; height: 52px; }
.service-overview-card .service-icon svg { width: 26px; height: 26px; }
.service-overview-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--text); }
.service-overview-card p { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; flex: 1; }
.service-overview-card .service-cta-link { margin-top: 0.5rem; font-size: 0.875rem; }

/* ─────────────────────────────────────────
   CONTACT PAGE
───────────────────────────────────────── */
.contact-page { padding: 5rem 0 7rem; }
.contact-page-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start; }
.contact-info-col { display: flex; flex-direction: column; gap: 2.5rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--red-muted); border: 1px solid var(--border-red); border-radius: 10px; color: var(--red-bright); flex-shrink: 0; }
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-item h4 { font-size: 0.875rem; font-weight: 600; color: var(--text); margin-bottom: 0.25rem; }
.contact-info-item p, .contact-info-item a { font-size: 0.95rem; color: var(--text-2); line-height: 1.6; }
.contact-info-item a:hover { color: var(--text); }
.contact-form-col { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2.5rem; }
.form-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.form-subtitle { font-size: 0.9rem; color: var(--text-2); margin-bottom: 2rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-2); letter-spacing: 0.02em; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
  color: var(--text);
  font-family: var(--font);
  outline: none;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red-bright);
  box-shadow: 0 0 0 3px rgba(255, 85, 0, 0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group select option { background: #1a0e1a; color: var(--text); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { margin-top: 0.5rem; }
.form-success { display: none; flex-direction: column; align-items: center; text-align: center; gap: 1rem; padding: 2rem; }
.form-success.show { display: flex; }
.form-success svg { color: var(--green); }
.form-success h4 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--text); }
.form-success p { font-size: 0.9rem; color: var(--text-2); }

/* ─────────────────────────────────────────
   CAREERS PAGE
───────────────────────────────────────── */
.careers-page { padding: 5rem 0 7rem; }
.careers-why { padding: 5rem 0; background: var(--bg-2); }
.careers-perks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.perk-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; transition: all 0.3s; }
.perk-card:hover { border-color: var(--border-blue); transform: translateY(-4px); }
.perk-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--blue-muted); border: 1px solid var(--border-blue); border-radius: 10px; color: var(--blue-bright); }
.perk-icon svg { width: 22px; height: 22px; }
.perk-card h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--text); }
.perk-card p { font-size: 0.85rem; color: var(--text-2); line-height: 1.65; }
.job-listings { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 3rem; }
.job-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; transition: all 0.3s; }
.job-card:hover { border-color: var(--border-red); transform: translateY(-2px); }
.job-info { display: flex; flex-direction: column; gap: 0.6rem; }
.job-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text); }
.job-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.job-tag { font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.65rem; border-radius: 100px; }
.job-tag-type { color: var(--blue-bright); background: var(--blue-muted); border: 1px solid var(--border-blue); }
.job-tag-loc { color: var(--text-3); background: rgba(255,255,255,0.04); border: 1px solid var(--border); }
.job-tag-dept { color: var(--red-bright); background: var(--red-muted); border: 1px solid var(--border-red); }

/* ─────────────────────────────────────────
   ABOUT PAGE
───────────────────────────────────────── */
.about-story { padding: var(--section-pad); }
.about-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-story-text { display: flex; flex-direction: column; gap: 1.25rem; }
.about-story-text p { font-size: 0.97rem; color: var(--text-2); line-height: 1.8; }
.about-card-stack { position: relative; height: 340px; }
.about-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2rem; position: absolute; width: 100%; }
.about-card h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.75rem; }
.about-card p { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; }
.about-card-1 { top: 0; left: 0; border-color: var(--border-red); z-index: 2; }
.about-card-2 { top: 60px; left: 20px; z-index: 1; }
.values-section { padding: var(--section-pad); background: var(--bg-2); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.value-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem; display: flex; flex-direction: column; gap: 0.75rem; transition: all 0.3s; }
.value-card:hover { border-color: var(--border-blue); transform: translateY(-4px); }
.value-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: rgba(255,34,0,0.15); line-height: 1; }
.value-card h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text); }
.value-card p { font-size: 0.85rem; color: var(--text-2); line-height: 1.65; }

/* ─────────────────────────────────────────
   TECH STACK PAGE
───────────────────────────────────────── */
.tech-stack-page { padding: 5rem 0 7rem; }
.tech-categories { display: flex; flex-direction: column; gap: 3rem; }
.tech-category { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2.5rem; }
.tech-category-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 0.75rem; }
.tech-category-title svg { color: var(--red-bright); }
.tech-detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.tech-detail-card { background: var(--bg-card-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; gap: 0.75rem; transition: all 0.25s ease; }
.tech-detail-card:hover { border-color: var(--border-blue); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,85,255,0.12); }
.tech-detail-header { display: flex; align-items: center; gap: 0.75rem; }
.tech-detail-header svg { width: 32px; height: 32px; flex-shrink: 0; }
.tech-detail-header span { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: var(--text); }
.tech-detail-card p { font-size: 0.82rem; color: var(--text-3); line-height: 1.6; }
.tech-level { display: flex; align-items: center; gap: 0.5rem; }
.tech-level-label { font-size: 0.72rem; font-weight: 600; color: var(--text-3); }
.tech-level-bar { flex: 1; height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.tech-level-fill { height: 100%; background: linear-gradient(90deg, var(--red-bright), var(--blue-bright)); border-radius: 2px; }

/* ─────────────────────────────────────────
   PRODUCTS PAGE (full)
───────────────────────────────────────── */
.products-page { padding: 5rem 0 7rem; }
.dudemates-showcase { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; margin-top: 3.5rem; }
.dudemates-top { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.dudemates-info { padding: 3rem; display: flex; flex-direction: column; gap: 1.5rem; border-right: 1px solid var(--border); }
.dudemates-header { display: flex; align-items: center; gap: 1.25rem; }
.dudemates-app-icon { width: 72px; height: 72px; background: linear-gradient(135deg, var(--red), var(--blue)); border-radius: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dudemates-app-icon svg { width: 40px; height: 40px; color: white; }
.dudemates-title { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.dudemates-subtitle { font-size: 1rem; color: var(--text-2); }
.dudemates-desc { font-size: 0.975rem; color: var(--text-2); line-height: 1.8; }
.dudemates-feature-list { display: flex; flex-direction: column; gap: 0.75rem; }
.dudemates-feature-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.9rem; color: var(--text-2); }
.dudemates-feature-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--red-bright); }
.dudemates-store-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }
.store-btn { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1.3rem; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,0.04); font-size: 0.82rem; font-weight: 600; color: var(--text-2); transition: all 0.25s; }
.store-btn:hover { border-color: var(--border-red); color: var(--text); background: var(--red-muted); }
.store-btn svg { width: 20px; height: 20px; }
.dudemates-visual { padding: 3rem; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at center, rgba(255,34,0,0.08) 0%, rgba(0,85,255,0.05) 60%, transparent 100%); }
.dudemates-mockup { display: flex; gap: 1.5rem; align-items: center; }
.phone-mockup { width: 160px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 28px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.5); transition: transform 0.3s ease; }
.phone-mockup:hover { transform: translateY(-8px); }
.phone-mockup-screen { width: 100%; padding-bottom: 210%; background: linear-gradient(160deg, #1a0e20 0%, #0d0820 50%, #0a1030 100%); position: relative; }
.phone-screen-content { position: absolute; inset: 0; padding: 1rem 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.phone-status-bar { display: flex; justify-content: space-between; font-size: 0.5rem; color: rgba(255,255,255,0.4); margin-bottom: 0.25rem; }
.phone-app-bar { font-size: 0.65rem; font-weight: 700; color: var(--text); text-align: center; padding: 0.3rem 0; }
.phone-feed-item { background: rgba(255,255,255,0.05); border-radius: 8px; padding: 0.5rem; display: flex; gap: 0.4rem; align-items: center; }
.phone-avatar { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; }
.phone-text-lines { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; }
.phone-text-line { height: 4px; background: rgba(255,255,255,0.12); border-radius: 2px; }
.phone-text-line.short { width: 60%; }
.dudemates-bottom { padding: 2rem 3rem; border-top: 1px solid var(--border); background: rgba(255,255,255,0.01); }
.dudemates-tech-row { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.dudemates-tech-label { font-size: 0.8rem; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.dudemates-tech-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.dudemates-tech-tags span { font-size: 0.78rem; font-weight: 600; color: var(--blue-bright); background: var(--blue-muted); border: 1px solid var(--border-blue); padding: 0.25rem 0.7rem; border-radius: 100px; }

/* ─────────────────────────────────────────
   RESPONSIVE — 1024px (tablet landscape)
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-main { grid-template-columns: 1fr; gap: 2rem; padding: 4rem 2rem 3rem; }
  .hero-visual { order: -1; max-width: 320px; margin: 0 auto; }
  .hero-headline { font-size: clamp(2.5rem, 6vw, 4rem); }
  .hero-content { max-width: 100%; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--wide { flex-direction: column; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .service-overview-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-story-grid { grid-template-columns: 1fr; gap: 3rem; }
  .dudemates-top { grid-template-columns: 1fr; }
  .dudemates-info { border-right: none; border-bottom: 1px solid var(--border); }
  .careers-perks-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 1.2rem 2rem; }
}

/* ─────────────────────────────────────────
   RESPONSIVE — 768px (tablet portrait)
───────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-pad: 4.5rem 0; }

  /* Nav: hide desktop links, show hamburger */
  .nav-links,
  .topbar-cta { display: none; }
  .nav-hamburger { display: flex; }
  .topbar-inner { gap: 0; }

  /* Hero */
  .hero-main { padding: 3rem 1.5rem 2.5rem; }
  .hero-visual { max-width: 240px; }
  .hero-headline { font-size: clamp(2.2rem, 7vw, 3rem); }
  .hero-trust { gap: 0.75rem; }
  .stat-item { padding: 1rem 1.5rem; }
  .stat-num { font-size: 1.5rem; }
  .stat-divider { display: none; }

  /* Sections */
  .services-grid { grid-template-columns: 1fr; }
  .services-overview-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .deliverables-grid { grid-template-columns: 1fr; }
  .careers-perks-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .tech-logos { gap: 0.4rem; }
  .tech-logo-item { padding: 0.8rem 1rem; min-width: 78px; }
  .tech-logo-item svg { width: 30px; height: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .dudemates-mockup { justify-content: center; }
  .about-card-stack { height: auto; position: static; display: flex; flex-direction: column; gap: 1rem; }
  .about-card { position: static; }
  .tech-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────
   RESPONSIVE — 480px (mobile)
───────────────────────────────────────── */
@media (max-width: 480px) {
  .section-container { padding: 0 1.25rem; }
  .hero-badge { font-size: 0.72rem; }
  .hero-visual { display: none; }
  .contact-actions { flex-direction: column; }
  .btn-primary.btn-large,
  .btn-outline-blue { width: 100%; justify-content: center; }
  .tech-detail-grid { grid-template-columns: 1fr; }
  .phone-mockup { width: 130px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .stat-item { padding: 0.9rem 1.2rem; width: 50%; }
  .hero-stats { flex-wrap: wrap; }
}
