/* ==========================================================================
   VIKTOR ALEXEYEV - COSMIC PURPLE LUXURY DESIGN SYSTEM
   Exact 1:1 match to reference design: Deep obsidian, glowing violet orb,
   glass pills, statistics graphs, cosmic portals, and full RTL Arabic support.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg-black: #030006;
  --bg-deep: #080112;
  --bg-card: rgba(16, 7, 28, 0.65);
  --bg-card-hover: rgba(26, 12, 45, 0.85);
  --bg-card-subtle: rgba(22, 10, 38, 0.45);
  
  --purple-glow: #a855f7;
  --purple-vibrant: #8b5cf6;
  --purple-deep: #6d28d9;
  --purple-light: #c084fc;
  --purple-accent: #d946ef;
  
  --border-subtle: rgba(139, 92, 246, 0.18);
  --border-glow: rgba(168, 85, 247, 0.45);
  --border-bright: rgba(192, 132, 252, 0.7);

  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  --font-arabic: 'Cairo', sans-serif;

  --radius-pill: 9999px;
  --radius-card: 18px;
  --radius-sm: 10px;
}

/* RTL OVERRIDES FOR ARABIC */
html[dir="rtl"] {
  --font-heading: var(--font-arabic);
  --font-body: var(--font-arabic);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-black);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-black);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Cosmic Nebula Background & Particle Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.cosmic-nebula-top {
  position: fixed;
  top: -150px;
  right: -100px;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22) 0%, rgba(168, 85, 247, 0.1) 40%, transparent 70%);
  filter: blur(90px);
  z-index: 1;
  pointer-events: none;
}

.cosmic-nebula-left {
  position: fixed;
  top: 40%;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.16) 0%, transparent 65%);
  filter: blur(100px);
  z-index: 1;
  pointer-events: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* Glowing text */
.text-purple-glow {
  color: var(--purple-light);
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
  text-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}

/* ==========================================================================
   NAVIGATION BAR (Capsule Pill Style)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.2rem 0;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(3, 0, 7, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo (AZ / VA Style) */
.brand-logo-cosmic {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-monogram {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: #fff;
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-main-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  line-height: 1.1;
}

.brand-sub-title {
  font-size: 0.65rem;
  color: var(--purple-light);
  line-height: 1.1;
}

/* Capsule Nav Menu */
.nav-capsule {
  display: flex;
  align-items: center;
  background: rgba(18, 9, 32, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 4px 6px;
  backdrop-filter: blur(16px);
  list-style: none;
}

.nav-capsule li a {
  display: inline-block;
  padding: 0.45rem 1.15rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
}

.nav-capsule li a:hover {
  color: #fff;
}

.nav-capsule li a.active {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.6) 0%, rgba(168, 85, 247, 0.45) 100%);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.35);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

/* Language selector */
.lang-selector {
  display: flex;
  align-items: center;
  background: rgba(18, 9, 32, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover { color: #fff; }

.lang-btn.active {
  background: var(--purple-vibrant);
  color: #fff;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}

/* Pill CTA Buttons */
.btn-pill-purple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.65rem 1.45rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.45);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-pill-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.7);
}

.btn-pill-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: rgba(22, 10, 38, 0.6);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.65rem 1.45rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-pill-glass:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--border-glow);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
  transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION (Cosmic Wizard & Glowing Orb)
   ========================================================================== */
.hero-section {
  padding-top: 140px;
  padding-bottom: 50px;
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2rem;
}

.hero-kicker {
  font-size: 0.92rem;
  font-weight: 500;
  color: #e2e8f0;
  margin-bottom: 0.8rem;
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-btn-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

/* Hero Right Side - Wizard Art & Glowing Orb */
.hero-visual-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-artwork-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.35);
}

.hero-artwork-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: contrast(1.1) brightness(1.05);
  transition: transform 0.6s ease;
}

.hero-artwork-frame:hover img {
  transform: scale(1.03);
}

/* Interactive Glowing Orb overlay */
.cosmic-orb-glow {
  position: absolute;
  top: 48%;
  left: 49%;
  transform: translate(-50%, -50%);
  width: 95px;
  height: 95px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.85) 0%, rgba(168, 85, 247, 0.6) 40%, rgba(124, 58, 237, 0) 70%);
  border-radius: 50%;
  filter: blur(10px);
  animation: pulseOrb 3s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes pulseOrb {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; filter: blur(12px); }
}

/* ==========================================================================
   METRICS BAR (Floating Glass Capsule)
   ========================================================================== */
.metrics-capsule-bar {
  background: rgba(16, 7, 28, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.3rem 2.2rem;
  margin-top: 2rem;
  margin-bottom: 5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(124, 58, 237, 0.15);
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.metric-icon {
  font-size: 1.35rem;
  color: var(--purple-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.metric-num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: 0.5px;
}

.metric-label {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ABOUT SECTION (Astronaut & Portal)
   ========================================================================== */
.section-pad {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
}

.about-grid-cosmic {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 3.5rem;
}

.about-portal-frame {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 35px rgba(168, 85, 247, 0.2);
}

.about-portal-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.section-tag-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 0.6rem;
}

.about-heading {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.about-body-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

.about-checklist {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.check-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-vibrant), var(--purple-accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

/* ==========================================================================
   SERVICES SECTION (5 Minimal Glass Cards)
   ========================================================================== */
.center-heading-block {
  text-align: center;
  margin-bottom: 3.5rem;
}

.center-heading-block h2 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.services-row-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}

.service-box-glass {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.8rem 1.3rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px);
  transition: all 0.3s ease;
}

.service-box-glass:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(168, 85, 247, 0.25);
  transform: translateY(-4px);
}

.service-glyph {
  font-size: 1.6rem;
  color: var(--purple-light);
  margin-bottom: 1.2rem;
}

.service-title-text {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.service-body-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   RESULTS / STATS SECTION (Charts & Louder Results)
   ========================================================================== */
.results-grid-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 3.5rem;
}

.results-content-col h2 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.results-cards-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem;
}

.stat-chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.6rem;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  position: relative;
  overflow: hidden;
}

.stat-chart-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.stat-headline-val {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.stat-subtitle-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

/* Mini SVG Graphs */
.mini-chart-wrap {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: flex-end;
}

/* Bar Chart visual */
.bar-chart-visual {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 40px;
  width: 100%;
}

.bar-col {
  flex: 1;
  background: rgba(139, 92, 246, 0.25);
  border-radius: 3px 3px 0 0;
  transition: height 0.5s ease;
}

.bar-col.accent {
  background: linear-gradient(180deg, var(--purple-light), var(--purple-vibrant));
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* Circular Gauge */
.gauge-visual-wrap {
  width: 48px;
  height: 48px;
  position: relative;
}

.gauge-visual-wrap svg {
  transform: rotate(-90deg);
}

.gauge-bg {
  stroke: rgba(139, 92, 246, 0.2);
}
.gauge-fill {
  stroke: var(--purple-light);
  stroke-dasharray: 125;
  stroke-dashoffset: 15;
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.6));
}

/* ==========================================================================
   FEATURED WORKS (The 3 Projects in Cosmic Style)
   ========================================================================== */
.works-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.work-card-cosmic {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
}

.work-card-cosmic:hover {
  border-color: var(--border-glow);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(168, 85, 247, 0.3);
  transform: translateY(-5px);
}

.work-card-thumb {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #000;
}

.work-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card-cosmic:hover .work-card-thumb img {
  transform: scale(1.06);
}

.work-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 1, 18, 0.95) 100%);
}

.work-badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(16, 7, 28, 0.85);
  border: 1px solid var(--border-glow);
  color: var(--purple-light);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.work-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.work-card-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
}

.work-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.work-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.work-btn-row {
  display: flex;
  gap: 0.6rem;
}

.btn-work-main {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-vibrant));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-work-main:hover {
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
  transform: translateY(-2px);
}

.btn-work-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--purple-light);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-work-glass:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--purple-light);
  color: #fff;
}

/* ==========================================================================
   READY TO BUILD / CTA BANNER (With Cosmic Portal)
   ========================================================================== */
.cta-banner-cosmic {
  background: linear-gradient(90deg, rgba(26, 12, 45, 0.9) 0%, rgba(16, 7, 28, 0.85) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2.4rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(124, 58, 237, 0.15);
}

.cta-banner-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
}

.cta-banner-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER (Exact layout of reference)
   ========================================================================== */
.site-footer-cosmic {
  background: #020005;
  border-top: 1px solid rgba(139, 92, 246, 0.15);
  padding: 5rem 0 2rem 0;
  position: relative;
  z-index: 2;
}

.footer-4col-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col-head {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.4rem;
  letter-spacing: 0.5px;
}

.footer-ul-links {
  list-style: none;
}

.footer-ul-links li {
  margin-bottom: 0.75rem;
}

.footer-ul-links a {
  text-decoration: none;
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: all 0.25s ease;
}

.footer-ul-links a:hover {
  color: var(--purple-light);
  padding-inline-start: 4px;
}

/* Newsletter Input Pill */
.newsletter-pill-form {
  display: flex;
  align-items: center;
  background: rgba(22, 10, 38, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 4px 6px;
  margin-top: 1rem;
}

.newsletter-pill-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.5rem 1rem;
  color: #fff;
  font-size: 0.82rem;
  outline: none;
}

.newsletter-pill-btn {
  background: linear-gradient(135deg, var(--purple-vibrant), var(--purple-deep));
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.footer-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .services-row-5 { grid-template-columns: repeat(3, 1fr); }
  .metrics-capsule-bar { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .footer-4col-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.4rem; }
  .nav-capsule {
    position: fixed;
    top: 70px;
    left: 1.5rem;
    right: 1.5rem;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: var(--radius-card);
    display: none;
  }
  .nav-capsule.open { display: flex; }
  .mobile-toggle { display: block; }
  .about-grid-cosmic { grid-template-columns: 1fr; }
  .services-row-5 { grid-template-columns: 1fr; }
  .results-grid-block { grid-template-columns: 1fr; }
  .works-grid-3 { grid-template-columns: 1fr; }
  .metrics-capsule-bar { grid-template-columns: 1fr; border-radius: var(--radius-card); }
  .cta-banner-cosmic { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .footer-4col-grid { grid-template-columns: 1fr; }
}
