/* ── Coderyx Frontend Design System ─────────────────────────────────────── */

/* ── Root variables ─────────────────────────────────────── */
:root {
  --cyan:        #00f0ff;
  --purple:      #7b61ff;
  --bg:          #050505;
  --mid:         #07111f;
  --muted:       #6b7a99;
  --border:      rgba(0, 240, 255, 0.12);
  --glass-bg:    rgba(7, 17, 31, 0.55);
  --glass-border: rgba(0, 240, 255, 0.14);
  --banner-h:    0px;
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: auto;
  overflow-x: hidden;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: #e2e8f0;
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}

@media (max-width: 768px) {
  body { cursor: auto; }
}

a { text-decoration: none; }
ul, ol { list-style: none; }
img, svg { max-width: 100%; }
img { height: auto; }
button { font-family: inherit; }

/* ── Custom Scrollbar ────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--mid); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--cyan), var(--purple));
  border-radius: 2px;
}

/* ── Selection ───────────────────────────────────────────── */
::selection {
  background: rgba(0, 240, 255, 0.18);
  color: #fff;
}

/* ── Typography ──────────────────────────────────────────── */
.font-display { font-family: 'Space Grotesk', system-ui, sans-serif; }

/* ── Glass card ──────────────────────────────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
}

/* ── Gradient text ───────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-rev {
  background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Glow utilities ──────────────────────────────────────── */
.glow-cyan  { box-shadow: 0 0 30px rgba(0,240,255,0.25), 0 0 60px rgba(0,240,255,0.1); }
.glow-purple { box-shadow: 0 0 30px rgba(123,97,255,0.25), 0 0 60px rgba(123,97,255,0.1); }
.text-glow-cyan { text-shadow: 0 0 20px rgba(0,240,255,0.6); }
.text-glow-purple { text-shadow: 0 0 20px rgba(123,97,255,0.6); }

/* ── Grid overlay ────────────────────────────────────────── */
.grid-overlay {
  background-image:
    linear-gradient(rgba(0,240,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* ── Animated underline ──────────────────────────────────── */
.anim-underline { position: relative; }
.anim-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  height: 1px; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transition: width 0.35s cubic-bezier(0.16,1,0.3,1);
}
.anim-underline:hover::after { width: 100%; }

/* ── Noise texture ───────────────────────────────────────── */
.noise { position: relative; }
.noise::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 180px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

/* ── Input styles ────────────────────────────────────────── */
.cx-input {
  width: 100%;
  background: rgba(7,17,31,0.8);
  border: 1px solid rgba(0,240,255,0.12);
  border-radius: 12px;
  padding: 14px 18px;
  color: #e2e8f0;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  font-family: inherit;
}
.cx-input::placeholder { color: var(--muted); }
.cx-input:focus {
  border-color: rgba(0,240,255,0.45);
  box-shadow: 0 0 0 3px rgba(0,240,255,0.08), 0 0 20px rgba(0,240,255,0.12);
}
.cx-input option { background: #07111f; }

/* ── Button styles ───────────────────────────────────────── */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #fff;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease;
  border: none;
  cursor: pointer;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 40px rgba(0,240,255,0.35), 0 16px 40px rgba(0,0,0,0.4);
  color: #fff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border: 1px solid rgba(0,240,255,0.25);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: rgba(0,240,255,0.85);
  background: rgba(0,240,255,0.04);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, background 0.25s ease,
              transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease;
  cursor: pointer;
}
.btn-ghost:hover {
  border-color: rgba(0,240,255,0.6);
  background: rgba(0,240,255,0.08);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(0,240,255,0.18);
  color: var(--cyan);
}

/* ── Label tag ───────────────────────────────────────────── */
.label-tag {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid rgba(0,240,255,0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,240,255,0.06);
}

/* ── Section spacing ─────────────────────────────────────── */
.section { padding: 8rem 1.5rem; }
@media (max-width: 768px) { .section { padding: 5rem 1.25rem; } }

/* ── Container ───────────────────────────────────────────── */
.container {
  width: min(100%, 1280px);
  margin: 0 auto;
}

/* ── Animated cursor ─────────────────────────────────────── */
#cursor-outer {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(0,240,255,0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s, opacity 0.2s;
  will-change: transform;
}
#cursor-dot {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  will-change: transform;
}
body:has(a:hover) #cursor-outer,
body:has(button:hover) #cursor-outer {
  width: 52px; height: 52px;
  border-color: rgba(0,240,255,0.9);
  background: rgba(0,240,255,0.05);
}

/* ── No-scrollbar ────────────────────────────────────────── */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.protected-contact {
  user-select: none;
  -webkit-user-select: none;
}

/* ════════════════════════════════════════════════════════════
   DISCOUNT BANNER
════════════════════════════════════════════════════════════ */
#discount-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  min-height: 44px; height: auto;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding: 6px 2.5rem;
  background: linear-gradient(90deg,#08172e 0%,#0c1f3a 50%,#08172e 100%);
  border-bottom: 1px solid rgba(0,240,255,0.18);
  overflow: hidden;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
#discount-banner.visible { transform: translateY(0); }
#discount-banner .shimmer-line {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,transparent 0%,#00f0ff 30%,#7b61ff 70%,transparent 100%);
  opacity: 0.65;
}
#discount-banner .banner-text {
  font-size: 0.75rem; font-weight: 700; color: #fff;
  letter-spacing: 0.01em; white-space: nowrap;
}
#discount-banner .banner-text span { color: var(--cyan); }
#discount-banner .countdown-pill {
  display: inline-flex; align-items: center; gap: 3px;
  background: rgba(0,240,255,0.07);
  border: 1px solid rgba(0,240,255,0.2);
  border-radius: 7px; padding: 2px 9px;
}
#discount-banner .seg {
  display: inline-flex; flex-direction: column; align-items: center; min-width: 28px;
}
#discount-banner .seg-val {
  font-family: monospace; font-weight: 800; font-size: 0.9rem; color: #fff; line-height: 1;
}
#discount-banner .seg-lbl {
  font-size: 0.44rem; color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 0.08em;
}
#discount-banner .seg-colon {
  font-family: monospace; font-weight: 800; font-size: 0.9rem;
  color: rgba(255,255,255,0.35); align-self: flex-start; margin-top: 1px; line-height: 1;
}
#discount-banner .claim-btn {
  padding: 3px 13px; border-radius: 6px; font-weight: 700;
  font-size: 0.7rem; cursor: pointer; border: none;
  background: linear-gradient(135deg,#00f0ff,#7b61ff);
  color: #050505; letter-spacing: 0.04em; white-space: nowrap;
}
#discount-banner .dismiss-btn {
  position: absolute; right: 10px;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.3); font-size: 0.78rem; line-height: 1; padding: 4px 6px;
}

/* ════════════════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: var(--banner-h);
  left: 0; right: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(3,5,8,0.75) 0%, rgba(3,5,8,0) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 20px 0;
  transition: background 0.3s ease, border-bottom 0.3s ease, padding 0.3s ease, top 0.35s ease;
}
#navbar.scrolled {
  background: rgba(7,17,31,0.82);
  border-bottom: 1px solid rgba(0,240,255,0.09);
  padding: 12px 0;
}

.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo img { height: 38px; width: auto; object-fit: contain; }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
@media (max-width: 1023px) { .nav-links { display: none; } }

.nav-links a, .nav-links .svc-btn {
  font-size: 0.875rem; font-weight: 500; color: #a8b5c8;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links .svc-btn:hover { color: #fff; }

.svc-dropdown-wrap {
  position: relative;
}

.svc-chevron {
  transition: transform 0.2s;
}
.svc-dropdown-wrap.open .svc-chevron { transform: rotate(180deg); }

.svc-dropdown {
  position: absolute;
  top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%);
  width: 240px; border-radius: 14px;
  background: rgba(7,17,31,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0,240,255,0.12);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 40px rgba(0,240,255,0.06);
  padding: 0.5rem;
  z-index: 10;
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(8px) scale(0.97);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.svc-dropdown-wrap.open .svc-dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.svc-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 0.7rem 0.875rem; border-radius: 10px;
  color: #a8b5c8; font-size: 0.84rem; font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.svc-dropdown a:hover { color: #fff; }
.svc-dropdown .svc-icon {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.svc-dropdown .svc-arrow {
  margin-left: auto; opacity: 0.4;
}

.nav-ctas {
  display: flex; align-items: center; gap: 0.75rem;
}
@media (max-width: 1023px) { .nav-ctas { display: none; } }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px; width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; padding: 0;
}
@media (max-width: 1023px) { .hamburger { display: flex; } }

.hamburger span {
  display: block; height: 1.5px; background: #fff;
  transition: all 0.3s;
}
.hamburger span:nth-child(1) { width: 24px; }
.hamburger span:nth-child(2) { width: 16px; }
.hamburger span:nth-child(3) { width: 24px; }
.hamburger.open span:nth-child(1) { width: 24px; transform: rotate(45deg) translateY(6.5px); }
.hamburger.open span:nth-child(2) { width: 0; opacity: 0; }
.hamburger.open span:nth-child(3) { width: 24px; transform: rotate(-45deg) translateY(-6.5px); }

/* Mobile menu */
#mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(5,5,8,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.5rem;
  padding-top: 6rem; padding-bottom: 3rem;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
#mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-svc-label {
  color: #6b7a99; font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.15em;
  margin-bottom: -8px;
}
.mobile-menu-link {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 1.3rem; color: #fff;
  display: flex; align-items: center; gap: 10px;
  transition: color 0.2s;
}
.mobile-nav-link {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 1.9rem; color: #a8b5c8;
  transition: color 0.2s;
}
.mobile-nav-link:hover { color: #fff; }
.mobile-divider {
  width: 80%; height: 1px;
  background: rgba(0,240,255,0.08);
  margin: 0.5rem 0;
}
.mobile-ctas { display: flex; gap: 1rem; margin-top: 1rem; }

/* ════════════════════════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════════════════════════ */
#home {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

#hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
}

.hero-overlay-dark {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background: rgba(5,5,8,0.52);
}
.hero-overlay-vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 0%, rgba(5,5,8,0.96) 100%);
}
.hero-overlay-gradient {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(to bottom, rgba(5,5,8,0.78) 0%, transparent 28%, transparent 70%, rgba(5,5,8,0.92) 100%);
}
.hero-overlay-grid {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,240,255,0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,255,0.038) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-content {
  position: relative; z-index: 10;
  text-align: center;
  padding: calc(7rem + var(--banner-h)) 1.5rem 6rem;
  max-width: 1100px; margin: 0 auto;
  will-change: transform;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px;
  border: 1px solid rgba(0,240,255,0.22);
  border-radius: 100px;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,240,255,0.06);
  backdrop-filter: blur(8px);
  margin-bottom: 2.5rem;
  opacity: 0; animation: heroFadeUp 0.85s 0.3s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-badge .pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

.hero-headline {
  margin-bottom: 2.2rem;
}
.hero-headline .hero-line {
  display: block;
}
.hero-headline .hero-word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin-right: 0.18em;
}
.hero-headline .hw {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: clamp(3.75rem, 9.5vw, 8rem);
  letter-spacing: -0.035em;
  color: #fff;
  line-height: 0.92;
  will-change: transform;
  transform: translateY(108%);
  opacity: 0;
}
.hero-headline .hw.gradient-word {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 22px rgba(0,240,255,0.35));
}
@media (max-width: 480px) {
  .hero-headline .hw { font-size: clamp(2.8rem, 13vw, 5rem); }
}

.hero-sub {
  color: rgba(255,255,255,0.58);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  max-width: 500px; margin: 0 auto 3rem;
  line-height: 1.8;
  opacity: 0; animation: heroFadeUp 0.85s 0.78s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-sub strong { color: rgba(255,255,255,0.92); font-weight: 500; }

.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: center; margin-bottom: 5.5rem;
  opacity: 0; animation: heroFadeUp 0.85s 0.95s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem; max-width: 460px; margin: 0 auto;
  opacity: 0; animation: heroFadeUp 0.85s 1.12s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-stat { text-align: center; }
.hero-stat .val {
  font-family: 'Space Grotesk', sans-serif; font-weight: 900;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem); line-height: 1;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 12px rgba(0,240,255,0.4));
}
.hero-stat .lbl {
  color: rgba(255,255,255,0.42); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.14em; margin-top: 4px;
}

.hero-scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%); z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.38);
  opacity: 0; animation: fadeIn 0.8s 1.8s ease forwards;
}
.hero-scroll-indicator span {
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(0,240,255,0.53), transparent);
  animation: scrollPulse 1.9s ease-in-out infinite;
}

/* ════════════════════════════════════════════════════════════
   SERVICES SECTION
════════════════════════════════════════════════════════════ */
#services {
  padding: 8rem 1.5rem;
  background: var(--mid);
  position: relative; overflow: hidden;
}
#services .top-border {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,240,255,0.28), transparent);
}
#services .bottom-border {
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(123,97,255,0.28), transparent);
}
@media (max-width: 768px) { #services { padding: 5rem 1.25rem; } }

.services-header { text-align: center; margin-bottom: 4rem; }
.services-header h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 5rem); color: #fff;
  line-height: 1.05; letter-spacing: -0.03em; margin-top: 1.25rem;
}

.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .services-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 1rem;
    padding-bottom: 0.5rem;
  }
  .services-grid::-webkit-scrollbar { display: none; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

.service-card {
  position: relative; border-radius: 20px;
  padding: 2.25rem 2rem;
  background: rgba(5,5,5,0.5);
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: default;
  scroll-snap-align: start;
}
@media (max-width: 900px) {
  .service-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }
}
.service-card:hover {
  transform: translateY(-8px) scale(1.01);
}
.service-card .card-bg-glow {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none; border-radius: 20px;
}
.service-card:hover .card-bg-glow { opacity: 1; }

.service-card .discount-ribbon {
  position: absolute; top: 14px; right: -22px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #050505; font-size: 0.62rem; font-weight: 800;
  padding: 3px 28px; transform: rotate(35deg);
  letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0,240,255,0.4);
  display: none;
}
body.discount-active .discount-ribbon { display: block; }

.service-card .svc-top-line {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
}
.service-card .svc-icon-wrap {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 1.5rem;
}
.service-card h3 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 800;
  font-size: 1.5rem; color: #fff; margin-bottom: 0.5rem;
  overflow-wrap: anywhere;
}
.service-card .svc-tagline {
  color: var(--muted); font-size: 0.84rem; margin-bottom: 1.25rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.service-card .svc-price {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.service-card .price-val {
  font-family: 'Space Grotesk', sans-serif; font-weight: 900;
  font-size: 2rem; line-height: 1;
}
.service-card .price-orig {
  font-size: 1.1rem; text-decoration: line-through; color: var(--muted);
  display: none;
}
body.discount-active .service-card .price-orig { display: inline; }
body.discount-active .service-card .price-discounted { display: inline-block !important; }
.service-card .price-discounted { display: none; }
.service-card .price-period { font-size: 0.85rem; color: var(--muted); }

.service-card .svc-features { margin-bottom: 1.5rem; }
.service-card .svc-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.84rem; color: #a8b5c8;
  padding: 0.3rem 0; border-bottom: 1px solid rgba(255,255,255,0.04);
  overflow-wrap: anywhere;
}
.service-card .svc-feature:last-child { border-bottom: none; }
.service-card .feature-dot {
  width: 5px; height: 5px; border-radius: 50%;
  flex-shrink: 0; margin-top: 6px;
}

.service-card .svc-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.875rem;
  padding: 10px 0;
  transition: gap 0.2s ease;
}
.service-card .svc-cta:hover { gap: 12px; }
.service-card .svc-cta svg { transition: transform 0.2s; }
.service-card .svc-cta:hover svg { transform: translateX(3px); }

/* Mobile swipe arrows */
.swipe-controls {
  display: none;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 0.75rem;
}
@media (max-width: 900px) { .swipe-controls { display: flex; } }

.swipe-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(7,17,31,0.9); border: 1px solid rgba(255,255,255,0.1);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

.swipe-dots {
  display: none;
  justify-content: center; gap: 8px;
  margin-top: 1.25rem;
}
@media (max-width: 900px) { .swipe-dots { display: flex; } }

.swipe-dot {
  height: 8px; border-radius: 4px;
  background: rgba(255,255,255,0.2);
  border: none; cursor: pointer; padding: 0;
  transition: all 0.35s;
  width: 8px;
}
.swipe-dot.active { width: 28px; }

/* ════════════════════════════════════════════════════════════
   PORTFOLIO SECTION
════════════════════════════════════════════════════════════ */
#portfolio {
  padding: 8rem 1.5rem;
  background: var(--bg);
  position: relative; overflow: hidden;
}
@media (max-width: 768px) { #portfolio { padding: 5rem 1.25rem; } }

.portfolio-header { text-align: center; margin-bottom: 4rem; }
.portfolio-header h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 5rem); color: #fff;
  line-height: 1.05; letter-spacing: -0.03em; margin-top: 1.25rem;
}

.portfolio-strip {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: none;
}
.portfolio-strip::-webkit-scrollbar { display: none; }

.port-card {
  flex: 0 0 320px;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: var(--mid);
  border: 1px solid rgba(255,255,255,0.06);
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.port-card:hover { transform: translateY(-6px); }
@media (max-width: 768px) {
  .port-card {
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
  }
}

.port-img {
  width: 100%; height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  position: relative; overflow: hidden;
}
.port-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(7,17,31,0.95) 100%);
}

.port-info { padding: 1.5rem; }
.port-tag {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.port-info h3 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 1.1rem; color: #fff; margin-bottom: 0.5rem;
  overflow-wrap: anywhere;
}
.port-info p {
  font-size: 0.82rem; color: var(--muted); line-height: 1.6;
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
}
.port-info .port-metric {
  font-size: 0.78rem; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Project modal */
#project-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(3,5,8,0.9);
  backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
#project-modal.open { opacity: 1; visibility: visible; }

.modal-box {
  background: rgba(7,17,31,0.95);
  border: 1px solid rgba(0,240,255,0.15);
  border-radius: 20px;
  max-width: 680px; width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s ease;
}
#project-modal.open .modal-box { transform: scale(1); }

.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: none;
  color: #a8b5c8; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.12); }

.modal-emoji { font-size: 3.5rem; margin-bottom: 1rem; }
.modal-tag { margin-bottom: 0.5rem; }
.modal-box h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 800;
  font-size: 1.8rem; color: #fff; margin-bottom: 1rem;
}
.modal-box p { color: #a8b5c8; line-height: 1.75; margin-bottom: 1rem; }
.modal-box h4 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 1rem; color: #fff; margin: 1.25rem 0 0.5rem;
}
.modal-results {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 1rem 0;
}
.modal-result {
  text-align: center; padding: 1rem;
  background: rgba(0,240,255,0.04);
  border: 1px solid rgba(0,240,255,0.1);
  border-radius: 12px;
}
.modal-result .r-val {
  font-family: 'Space Grotesk', sans-serif; font-weight: 900;
  font-size: 1.5rem; color: var(--cyan);
}
.modal-result .r-lbl { font-size: 0.72rem; color: var(--muted); margin-top: 3px; }

.modal-tech { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.5rem; }
.tech-chip {
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 600;
  background: rgba(0,240,255,0.08);
  border: 1px solid rgba(0,240,255,0.15);
  color: rgba(0,240,255,0.8);
}

/* ════════════════════════════════════════════════════════════
   TESTIMONIALS SECTION
════════════════════════════════════════════════════════════ */
#testimonials {
  padding: 8rem 1.5rem;
  background: var(--mid);
  position: relative; overflow: hidden;
}
@media (max-width: 768px) { #testimonials { padding: 5rem 1.25rem; } }

.testi-header { text-align: center; margin-bottom: 4rem; }
.testi-header h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 5rem); color: #fff;
  line-height: 1.05; letter-spacing: -0.03em; margin-top: 1.25rem;
}

.testi-carousel-wrap { position: relative; }

.testi-cards {
  display: flex; gap: 1.25rem;
  overflow: hidden;
  position: relative;
}

.testi-card {
  width: 100%; min-width: 0; padding: 2.5rem;
  background: rgba(5,5,5,0.5);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  transition: border-color 0.3s ease;
  flex-shrink: 0;
  display: none;
}
.testi-card.active { display: block; }

.testi-stars { color: var(--cyan); font-size: 1.2rem; margin-bottom: 1.25rem; }
.testi-quote {
  font-size: 1.1rem; color: #e2e8f0; line-height: 1.8;
  font-style: italic; margin-bottom: 1.75rem;
  overflow-wrap: anywhere;
}
.testi-quote::before { content: '\201C'; }
.testi-quote::after  { content: '\201D'; }

.testi-author { display: flex; align-items: center; gap: 1rem; }
.testi-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; flex-shrink: 0;
}
.testi-author-name {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 1rem; color: #fff;
  overflow-wrap: anywhere;
}
.testi-author-role { font-size: 0.8rem; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }

.testi-controls {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 2rem;
}
.testi-nav { display: flex; gap: 8px; }
.testi-nav-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(7,17,31,0.9);
  border: 1px solid rgba(0,240,255,0.15);
  color: var(--cyan); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.testi-nav-btn:hover {
  background: rgba(0,240,255,0.08);
  border-color: rgba(0,240,255,0.4);
}
.testi-dots { display: flex; gap: 6px; align-items: center; }
.testi-dot {
  height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.2);
  border: none; cursor: pointer; padding: 0;
  transition: all 0.35s;
  width: 6px;
}
.testi-dot.active { width: 24px; background: var(--cyan); }
.testi-progress {
  width: 80px; height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 1px; overflow: hidden;
}
.testi-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transition: width 0.1s linear;
}

/* Stats row under testimonials */
.testi-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; margin-top: 4rem;
  background: rgba(0,240,255,0.08);
  border: 1px solid rgba(0,240,255,0.08);
  border-radius: 16px; overflow: hidden;
}
.testi-stat {
  text-align: center; padding: 2rem;
  background: rgba(5,5,5,0.5);
}
.testi-stat .s-val {
  font-family: 'Space Grotesk', sans-serif; font-weight: 900;
  font-size: 2.5rem; line-height: 1;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.testi-stat .s-lbl { color: var(--muted); font-size: 0.82rem; margin-top: 6px; }

/* ════════════════════════════════════════════════════════════
   ABOUT SECTION
════════════════════════════════════════════════════════════ */
#about {
  padding: 8rem 1.5rem;
  background: var(--mid);
  position: relative; overflow: hidden;
}
#about .top-line {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,240,255,0.28), transparent);
}
#about .bottom-line {
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(123,97,255,0.28), transparent);
}
@media (max-width: 768px) { #about { padding: 5rem 1.25rem; } }

.about-header { text-align: center; margin-bottom: 5rem; }
.about-header h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 5rem); color: #fff;
  line-height: 1.05; letter-spacing: -0.03em; margin-top: 1.25rem;
}

.about-stats {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1rem; margin-bottom: 5rem;
}
@media (min-width: 768px) { .about-stats { grid-template-columns: repeat(4,1fr); } }

.about-stat-card {
  text-align: center; padding: 2.5rem 1rem;
  background: rgba(5,5,5,0.5);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-stat-card:hover { transform: translateY(-5px) scale(1.05); }
.about-stat-card .a-val {
  font-family: 'Space Grotesk', sans-serif; font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1;
  filter: drop-shadow(0 0 18px currentColor);
}
.about-stat-card .a-lbl { color: var(--muted); font-size: 0.8rem; margin-top: 8px; }

.strengths-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 1rem; margin-bottom: 6rem;
}
.strength-card {
  padding: 1.75rem; border-radius: 16px;
  background: rgba(5,5,5,0.6);
  border: 1px solid rgba(0,240,255,0.08);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.strength-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,240,255,0.28);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.strength-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0,240,255,0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.1rem;
}
.strength-card h4 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 1.05rem; color: #fff; margin-bottom: 8px;
}
.strength-card p { color: var(--muted); font-size: 0.84rem; line-height: 1.65; }

.process-heading { text-align: center; margin-bottom: 3.5rem; }
.process-heading h3 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem); color: #fff;
  letter-spacing: -0.03em; margin-top: 0.75rem;
}

.process-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1rem; position: relative;
}
@media (max-width: 900px) {
  .process-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
  }
  .process-grid::-webkit-scrollbar { display: none; }
  .process-grid .process-connector { display: none !important; }
}

.process-connector {
  position: absolute; top: 2.4rem; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg,rgba(0,240,255,0.2),rgba(123,97,255,0.2),rgba(0,240,255,0.2));
  pointer-events: none;
}

.process-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 2rem 1.5rem;
  background: rgba(5,5,5,0.55); border-radius: 16px;
  border: 1px solid rgba(0,240,255,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: start;
}
@media (max-width: 900px) {
  .process-step {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }
}
.process-step:hover { transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }

.step-dot {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; position: relative; z-index: 1;
}
.step-dot-inner { width: 8px; height: 8px; border-radius: 50%; background: #050505; }
.step-num {
  font-family: 'Space Grotesk', sans-serif; font-weight: 900;
  font-size: 3rem; line-height: 1; opacity: 0.12; margin-bottom: 0.75rem;
}
.process-step h4 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 1.1rem; color: #fff; margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.process-step p { color: var(--muted); font-size: 0.84rem; line-height: 1.65; overflow-wrap: anywhere; }

/* ════════════════════════════════════════════════════════════
   CONTACT SECTION
════════════════════════════════════════════════════════════ */
#contact {
  padding: 8rem 1.5rem;
  background: var(--bg);
  position: relative; overflow: hidden;
}
@media (max-width: 768px) { #contact { padding: 5rem 1.25rem; } }

.contact-glow-1 {
  position: absolute; bottom: -80px; left: 25%;
  width: 320px; height: 320px; border-radius: 50%;
  background: var(--cyan); filter: blur(80px);
  opacity: 0.15; pointer-events: none;
}
.contact-glow-2 {
  position: absolute; top: 80px; right: 25%;
  width: 256px; height: 256px; border-radius: 50%;
  background: var(--purple); filter: blur(80px);
  opacity: 0.1; pointer-events: none;
}

.contact-header { text-align: center; margin-bottom: 4rem; }
.contact-header h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 5rem); color: #fff;
  line-height: 1.05; letter-spacing: -0.03em; margin-top: 1.25rem;
}
.contact-header p { color: var(--muted); font-size: 1.1rem; max-width: 400px; margin: 1rem auto 0; }

.contact-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2rem; align-items: start;
  max-width: 1200px; margin: 0 auto;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 3fr 2fr; } }

.contact-form-box {
  border-radius: 20px; overflow: hidden;
  background: rgba(7,17,31,0.7);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(0,240,255,0.14);
}
.terminal-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 20px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.t-dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-url {
  margin-left: 12px; color: var(--muted); font-size: 0.75rem;
  font-family: monospace;
}
.cursor-blink {
  display: inline-block; width: 1px; height: 12px;
  background: var(--cyan); margin-left: 2px; margin-bottom: -2px;
  animation: blink 1s step-end infinite;
}
.contact-form { padding: 1.75rem; }
.contact-form .form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 600px) { .contact-form .form-row { grid-template-columns: 1fr; } }
.contact-form .form-group { margin-bottom: 1.25rem; }
.contact-form label {
  display: block; font-size: 0.72rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 8px; font-family: monospace;
}
.contact-form textarea.cx-input { resize: none; }
.contact-form .submit-btn {
  width: 100%; justify-content: center; padding: 16px;
  font-size: 1rem;
}
.contact-form .submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.contact-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-card {
  padding: 1.5rem; border-radius: 16px;
  background: rgba(7,17,31,0.5);
  backdrop-filter: blur(16px);
}
.info-card-inner { display: flex; align-items: flex-start; gap: 1rem; }
.info-emoji { font-size: 1.5rem; }
.info-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 3px; }
.info-value { font-weight: 600; color: #fff; transition: color 0.2s; }
.info-value:hover { color: var(--cyan); }
.info-note { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }

.contact-testimonial {
  padding: 1.5rem; border-radius: 16px;
  background: rgba(0,240,255,0.04);
  border: 1px solid rgba(0,240,255,0.12);
}
.ct-stars { color: var(--cyan); font-size: 1.1rem; margin-bottom: 0.75rem; }
.ct-quote { font-size: 0.875rem; color: #a8b5c8; font-style: italic; line-height: 1.7; margin-bottom: 1rem; }
.ct-author { display: flex; align-items: center; gap: 8px; }
.ct-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,240,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800; color: var(--cyan);
}
.ct-name { font-size: 0.8rem; font-weight: 600; color: #fff; }
.ct-role { font-size: 0.72rem; color: var(--muted); }

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
footer {
  background: var(--mid);
  border-top: 1px solid rgba(0,240,255,0.08);
  padding: 4rem 1.5rem 2rem;
}
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand img { height: 36px; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); font-size: 0.84rem; line-height: 1.7; max-width: 240px; }
.footer-col h5 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 0.875rem; color: #fff;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col a {
  display: block; font-size: 0.84rem; color: var(--muted);
  margin-bottom: 0.65rem; transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem 2rem;
}
.footer-bottom p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
  margin: 0;
  max-width: min(100%, 620px);
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.875rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.footer-social a:hover {
  background: rgba(0,240,255,0.08);
  border-color: rgba(0,240,255,0.3);
  color: var(--cyan);
}

/* ════════════════════════════════════════════════════════════
   INQUIRY MODAL
════════════════════════════════════════════════════════════ */
#inquiry-modal {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(3,5,8,0.92);
  backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
#inquiry-modal.open { opacity: 1; visibility: visible; }

.inquiry-box {
  background: rgba(7,17,31,0.98);
  border: 1px solid rgba(0,240,255,0.15);
  border-radius: 20px;
  max-width: 580px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  transform: scale(0.94) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
#inquiry-modal.open .inquiry-box { transform: scale(1) translateY(0); }

.inquiry-header {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px;
  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.inquiry-header .t-dot { }
.inquiry-header .modal-title {
  margin-left: 12px; font-size: 0.78rem; color: var(--muted); font-family: monospace;
}
.modal-close-btn {
  margin-left: auto; background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.3); font-size: 1.2rem; line-height: 1;
  padding: 4px 6px; transition: color 0.2s;
}
.modal-close-btn:hover { color: #fff; }

.inquiry-progress { height: 3px; background: rgba(255,255,255,0.05); }
.inquiry-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1);
}

.inquiry-body { padding: 2rem; }
.step-counter {
  font-size: 0.72rem; color: var(--muted); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 0.5rem;
}
.inquiry-body h3 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 800;
  font-size: 1.4rem; color: #fff; margin-bottom: 0.5rem;
}
.inquiry-body .step-desc {
  font-size: 0.875rem; color: var(--muted); margin-bottom: 1.75rem;
}

/* Step grids */
.service-option-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.75rem; margin-bottom: 1.5rem;
}
.service-option {
  padding: 1rem; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(5,5,8,0.5);
  cursor: pointer; transition: all 0.2s;
  text-align: left;
}
.service-option:hover {
  border-color: rgba(0,240,255,0.3);
  background: rgba(0,240,255,0.04);
}
.service-option.selected {
  border-color: var(--cyan);
  background: rgba(0,240,255,0.07);
}
.opt-icon { font-size: 1.5rem; margin-bottom: 6px; }
.opt-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.9rem; color: #fff; }
.opt-price { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }

.budget-options { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.budget-option {
  padding: 1rem 1.25rem; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(5,5,8,0.5);
  cursor: pointer; transition: all 0.2s;
  display: flex; justify-content: space-between; align-items: center;
}
.budget-option:hover {
  border-color: rgba(0,240,255,0.3);
  background: rgba(0,240,255,0.04);
}
.budget-option.selected {
  border-color: var(--cyan);
  background: rgba(0,240,255,0.07);
}
.budget-range { font-weight: 600; color: #fff; }
.budget-desc { font-size: 0.78rem; color: var(--muted); }

.inquiry-form-group { margin-bottom: 1.25rem; }
.inquiry-form-group label { display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 8px; }

.inquiry-nav { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.inquiry-nav .btn-ghost { flex: 1; justify-content: center; }
.inquiry-nav .btn-primary { flex: 2; justify-content: center; }

/* Discount summary in modal */
.discount-summary {
  padding: 1rem 1.25rem;
  background: rgba(0,240,255,0.05);
  border: 1px solid rgba(0,240,255,0.15);
  border-radius: 12px; margin-bottom: 1.5rem;
  font-size: 0.84rem; color: #a8b5c8;
  display: none;
}
body.discount-active .discount-summary { display: block; }
.discount-summary strong { color: var(--cyan); }

/* ════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0; transform: scale(0.9);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger helpers */
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }

/* ════════════════════════════════════════════════════════════
   KEYFRAMES
════════════════════════════════════════════════════════════ */
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0) scale(1) blur(0px); }
  from { opacity: 0; transform: translateY(28px); filter: blur(10px); }
}
@keyframes fadeIn {
  to { opacity: 1; } from { opacity: 0; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(0.35); opacity: 1; }
}
@keyframes blink {
  0%, 100% { opacity: 1; } 50% { opacity: 0; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.spin { animation: spin 0.8s linear infinite; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE OVERRIDES
   Applied after all component styles — mobile-first fixes
════════════════════════════════════════════════════════════ */

/* ── Banner: hide countdown on small phones ─────────────── */
@media (max-width: 520px) {
  #discount-banner { padding: 8px 2.75rem 8px 1rem; justify-content: flex-start; gap: 0.4rem; }
  #discount-banner .countdown-pill { display: none; }
  #discount-banner .banner-text { white-space: normal; font-size: 0.72rem; line-height: 1.4; }
}

/* ── Hero: 2-col stats on very small phones ─────────────── */
@media (max-width: 380px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); max-width: 100%; gap: 0.75rem; }
}

/* ── Hero section padding on small phones ───────────────── */
@media (max-width: 480px) {
  .hero-section { padding-left: 1rem; padding-right: 1rem; }
  .hero-btns { flex-direction: column; align-items: center; gap: 0.75rem; }
  .hero-btns .btn-primary,
  .hero-btns .btn-ghost { width: 100%; max-width: 280px; justify-content: center; }
}

/* ── Project Modal ──────────────────────────────────────── */
@media (max-width: 480px) {
  #project-modal { padding: 0.5rem; }
  .modal-box { padding: 1.25rem; margin: 0; border-radius: 16px; max-height: 92vh; }
  .modal-box h2 { font-size: 1.3rem; }
  .modal-emoji { font-size: 2.5rem; margin-bottom: 0.75rem; }
  .modal-results { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .modal-result .r-val { font-size: 1.2rem; }
  .modal-result { padding: 0.75rem; }
}

/* ── Inquiry Modal ──────────────────────────────────────── */
@media (max-width: 480px) {
  #inquiry-modal { padding: 0.5rem; }
  .inquiry-box { border-radius: 16px; }
  .inquiry-body { padding: 1.25rem; }
  .service-option-grid { grid-template-columns: 1fr; }
  .inquiry-body h3 { font-size: 1.2rem; }
}

/* ── Testi stats: 2-col on mobile ───────────────────────── */
@media (max-width: 640px) {
  .testi-stats { grid-template-columns: repeat(2, 1fr); }
  .testi-card { padding: 1.5rem; }
  .testi-quote { font-size: 0.95rem; }
}

/* ── Portfolio strip cards ──────────────────────────────── */
@media (max-width: 480px) {
  .port-card { min-width: 100%; }
}

/* ── Footer ─────────────────────────────────────────────── */
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }
  footer { padding: 3rem 1.25rem 1.5rem; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .footer-social {
    width: 100%;
    justify-content: flex-start;
  }
}
@media (max-width: 400px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col h5 { margin-bottom: 0.75rem; }
}

/* ── Work page ──────────────────────────────────────────── */
@media (max-width: 360px) {
  .work-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .work-filters { gap: 0.5rem; }
  .filter-btn { padding: 6px 14px; font-size: 0.78rem; }
}

/* ── About page process/strengths ───────────────────────── */
@media (max-width: 480px) {
  .strengths-grid { grid-template-columns: 1fr; }
  .about-stat-card { padding: 1.75rem 0.75rem; }
}

/* ── Service cards on mobile ────────────────────────────── */
@media (max-width: 640px) {
  .service-card { padding: 1.75rem 1.25rem; }
  .service-card h3 { font-size: 1.3rem; }
}

/* ── Ensure no horizontal overflow globally ─────────────── */
@media (max-width: 768px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  section { overflow-x: hidden; }
}

/* ── Service detail pages ───────────────────────────────── */
@media (max-width: 480px) {
  .svc-page-hero { padding: calc(8rem + var(--banner-h)) 1rem 4rem; min-height: auto; }
  .svc-hero-title { font-size: clamp(2.4rem, 10vw, 4rem); }
  .svc-stats-row { gap: 1.5rem; }
  .features-grid { grid-template-columns: 1fr; gap: 1rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { padding: 1.5rem 1.25rem; }
}

/* ── Navbar on very small screens ───────────────────────── */
@media (max-width: 360px) {
  .nav-inner { padding: 0 0.75rem; }
  .nav-logo img { height: 30px; }
  .hamburger { width: 34px; height: 34px; }
  .nav-ctas { display: none; }
}

/* ── Responsive layout hardening ─────────────────────────── */
@media (max-width: 1280px) {
  .nav-inner,
  .container,
  .footer-grid,
  .footer-bottom {
    width: 100%;
  }
}

@media (max-width: 1023px) {
  #navbar { padding: 14px 0; }

  .nav-inner {
    padding-inline: clamp(1rem, 4vw, 1.5rem);
  }

  #mobile-menu {
    left: clamp(0.75rem, 3vw, 1.5rem);
    right: clamp(0.75rem, 3vw, 1.5rem);
    width: auto;
    max-height: calc(100dvh - var(--banner-h) - 88px);
    padding: 1rem;
    align-items: stretch;
  }

  .mobile-menu-link,
  .mobile-nav-link {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .mobile-ctas {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .process-grid,
  .portfolio-strip {
    max-width: 100%;
    margin-inline: 0;
    padding-inline: 0;
    scroll-padding-inline: 0;
  }

  .process-step {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .services-grid {
    max-width: 100%;
    margin-inline: 0;
    padding-inline: 0;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .services-grid .service-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }

  #services .swipe-controls,
  #services .swipe-dots {
    display: flex;
  }

  .port-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .section,
  #services,
  #portfolio,
  #testimonials,
  #about,
  #contact {
    padding-inline: clamp(1rem, 4vw, 1.25rem);
  }

  .services-header,
  .portfolio-header,
  .testi-header,
  .about-header,
  .contact-header {
    margin-bottom: 2.75rem;
  }

  .services-header h2,
  .portfolio-header h2,
  .testi-header h2,
  .about-header h2,
  .contact-header h2,
  .process-heading h3 {
    font-size: clamp(2rem, 11vw, 3.25rem);
    line-height: 1.08;
  }

  .label-tag,
  .hero-badge {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }

  .testi-stats,
  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form,
  .terminal-bar {
    padding-inline: 1rem;
  }

  .terminal-url {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 640px) {
  #home {
    min-height: 100dvh;
    align-items: flex-start;
  }

  .hero-content {
    width: 100%;
    padding: calc(6.5rem + var(--banner-h)) 1rem 4.5rem;
  }

  .hero-badge {
    margin-bottom: 1.75rem;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    line-height: 1.45;
  }

  .hero-headline { margin-bottom: 1.5rem; }

  .hero-headline .hero-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 0.18em;
    row-gap: 0.05em;
  }

  .hero-headline .hero-word-wrap { margin-right: 0; }

  .hero-headline .hw {
    font-size: clamp(2.65rem, 15vw, 4.8rem);
    letter-spacing: 0;
    line-height: 0.96;
  }

  .hero-sub {
    margin-bottom: 2rem;
    line-height: 1.65;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 340px);
    margin: 0 auto 2.5rem;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost,
  .mobile-ctas .btn-primary,
  .mobile-ctas .btn-ghost {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    text-align: center;
    padding-inline: 1rem !important;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 340px;
    gap: 1rem;
  }

  .hero-scroll-indicator { display: none; }

  .service-card,
  .process-step,
  .testi-card {
    border-radius: 16px;
  }

  .service-card { padding: 1.65rem 1.35rem; }
  .service-card .svc-price { flex-wrap: wrap; }

  .service-card .price-val,
  .service-card .price-discounted {
    font-size: 1.65rem;
  }

  .testi-stat { padding: 1.35rem 0.75rem; }
  .testi-stat .s-val { font-size: 1.9rem; }

  .contact-glow-1,
  .contact-glow-2 {
    width: 180px;
    height: 180px;
    filter: blur(60px);
  }
}

@media (max-width: 480px) {
  .nav-logo img { height: 32px; }
  #discount-banner { min-height: 42px; }

  .process-step,
  .port-card {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .services-grid .service-card {
    flex-basis: 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .portfolio-strip,
  .services-grid,
  .process-grid {
    gap: 0.875rem;
  }

  .port-info,
  .testi-card,
  .process-step {
    padding: 1.35rem;
  }

  .port-img {
    height: 170px;
  }

  .testi-controls {
    align-items: center;
    flex-direction: column;
    gap: 1rem;
  }

  .testi-progress {
    width: 100%;
    max-width: 220px;
  }

  .testi-stats,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-social { justify-content: flex-start; }
}
