/* ==========================================================================
   7DIGIT AGENCY - DESIGN SYSTEM & GLOBAL STYLES
   Neo-Brutalist High-Tech Glassmorphic Hybrid Aesthetic
   ========================================================================== */

/* 1. IMPORTS & GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&family=Syne:wght@700;800&display=swap');

@font-face {
  font-family: 'North Railway DEMO';
  src: local('North Railway DEMO'), local('North Railway'), local('NorthRailway-DEMO'), local('NorthRailwayDEMO');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* 2. DESIGN TOKENS & CSS VARIABLES */
:root {
  /* Core Palette */
  --bg: #faf9ff;             /* Crisp lavender-white background */
  --bg2: #ede9fe;            /* Soft violet container surface */
  --fg: #1e1b4b;             /* Ultra-deep navy-violet (Primary Text & Borders) */
  
  /* Accent Gradient Tokens */
  --accent1: #7c3aed;        /* Electric Violet (Primary Accent) */
  --accent2: #a78bfa;        /* Glowing Lavender (Secondary Highlight) */
  --accent3: #c4b5fd;        /* Light Pastel Violet (Subtle Gradients) */
  --accent4: #4c1d95;        /* Deep Imperial Purple (Dark Accent / Badges) */
  
  /* Glassmorphism Tokens */
  --glass: rgba(255, 255, 255, 0.65);
  --glass-dark: rgba(30, 27, 75, 0.85);
  --glass-border: rgba(30, 27, 75, 0.15);
  
  /* Cyber Glow Neon Palette */
  --cyber-purple: #7b2ff7;
  --cyber-cyan: #00c6ff;
  --cyber-magenta: #f107a3;

  /* Font Families */
  --font-display: 'Syne', 'North Railway DEMO', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;  /* Metadata & Tags */

  /* Neo-Brutalist Metrics */
  --border-width: 3px;
  --shadow-brutal: 6px 6px 0px 0px var(--fg);
  --shadow-brutal-lg: 10px 10px 0px 0px var(--fg);
  --radius-card: 1.5em;

  /* Elevation Scale (soft depth shadows, layered under the brutalist hard-shadows) */
  --elev-1: 0 1px 2px rgba(30, 27, 75, 0.06), 0 2px 6px rgba(30, 27, 75, 0.05);
  --elev-2: 0 4px 10px rgba(30, 27, 75, 0.08), 0 8px 24px rgba(30, 27, 75, 0.08);
  --elev-3: 0 10px 24px rgba(30, 27, 75, 0.12), 0 20px 48px rgba(30, 27, 75, 0.14);
  --elev-4: 0 20px 40px rgba(30, 27, 75, 0.16), 0 32px 80px rgba(76, 29, 149, 0.18);

  /* Z-Index Scale */
  --z-base: 1;
  --z-section: 2;
  --z-marquee: 5;
  --z-nav: 100;
  --z-overlay: 9998;
  --z-cursor: 9999;
}

/* Dark Mode Overrides (Optional / Section Based) */
.dark-theme {
  --bg: #0f0d26;
  --bg2: rgba(255, 255, 255, 0.05);
  --fg: #ffffff;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.2);
}

/* 3. CORE RESET & BASE STYLES */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: initial; /* Handled by Lenis */
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  background-color: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  min-height: 100vh;
}

#webgl-canvas {
  display: none;
}

/* 4. CUSTOM MAGNETIC CURSOR */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: var(--accent1);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent1);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
}

body.cursor-hover .cursor {
  width: 16px;
  height: 16px;
  background-color: var(--cyber-cyan);
}

body.cursor-hover .cursor-ring {
  width: 65px;
  height: 65px;
  border-color: var(--cyber-cyan);
  background-color: rgba(0, 198, 255, 0.1);
}

/* 5. TYPOGRAPHY ARCHITECTURE */
h1, h2, h3, .font-display {
  font-family: var(--font-display);
  font-style: normal;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5.2rem);
}

h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.5rem);
  line-height: 1.12;
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  line-height: 1.25;
}

p, .font-body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}

.mn, p.mn, .tag, .label-mono {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Text Mask Reveal Wrappers */
.title-wrap {
  overflow: hidden;
  display: block;
}

.title-wrap h1, .title-wrap h2, .title-wrap h3 {
  display: block;
  will-change: transform;
}

/* 6. HEADER & NAVIGATION */
.navbar {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 1280px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.75rem;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid var(--fg);
  border-radius: 100px;
  box-shadow: var(--elev-2), 4px 4px 0px 0px var(--fg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar:hover {
  box-shadow: var(--elev-3), 6px 6px 0px 0px var(--fg);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--fg);
}

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

.nav-brand-logo {
  width: 38px;
  height: 38px;
  background: var(--accent1);
  border: 2px solid var(--fg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 2px 2px 0px var(--fg);
}

.nav-brand-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--fg);
  letter-spacing: 0.08em;
  position: relative;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent1);
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: var(--accent1);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--bg2);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  border: 1.5px solid var(--fg);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent1);
  color: #fff;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  border: 2px solid var(--fg);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 3px 3px 0px var(--fg);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--fg);
  background: var(--cyber-purple);
}

/* 7. VIEWPORT-LOCKED HERO SECTION */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 7rem 1.5rem 3rem;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, rgba(0, 198, 255, 0.15) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-header {
  position: relative;
  z-index: 2;
  text-align: center;
  user-select: none;
}

.hero-header-1 h1 {
  color: var(--fg);
  font-size: clamp(2.5rem, 8vw, 5.8rem);
  text-transform: uppercase;
  line-height: 1.0;
}

.hero-header-2 {
  margin-top: 0.1em;
}

#hero-typed {
  display: inline-block;
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(2.2rem, 6.5vw, 4.8rem);
  line-height: 1.05;
  min-height: 1em;
  color: var(--accent1);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 2px 2px 0px var(--fg);
}

#hero-typed::after {
  content: "|";
  display: inline-block;
  color: var(--accent1);
  animation: blink 0.7s step-end infinite;
  margin-left: 0.04em;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-sub {
  max-width: 680px;
  margin: 1.5rem auto 2.5rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-sub p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--fg);
  opacity: 0.9;
}

.hero-sub .location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--bg2);
  border: 2px solid var(--fg);
  padding: 0.4em 1em;
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-bottom: 1rem;
  box-shadow: 3px 3px 0px var(--fg);
}

/* Interactive Media Frame (Hero Scaling Frame) */
.hero-img-holder {
  position: relative;
  width: 100%;
  max-width: 750px;
  margin-top: 1rem;
  z-index: 2;
}

.hero-img-frame {
  position: relative;
  width: 100%;
  height: 300px;
  background: var(--bg2);
  border: 3.5px solid var(--fg);
  border-radius: 2rem;
  box-shadow: var(--elev-4), var(--shadow-brutal-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  transition: transform 0.1s linear;
}

.hero-img-frame-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 38px;
  background: var(--fg);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.4rem;
  z-index: 3;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.window-dot.red { background: #ef4444; }
.window-dot.yellow { background: #f59e0b; }
.window-dot.green { background: #10b981; }

.window-title {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #fff;
  letter-spacing: 0.1em;
}

.hero-slides-container {
  width: 100%;
  height: 100%;
  padding-top: 38px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg2) 0%, var(--accent3) 100%);
}

.hero-slide {
  position: absolute;
  inset: 38px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-slide-info h4 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  text-transform: uppercase;
  color: var(--fg);
  font-style: italic;
}

.hero-slide-info p {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent4);
  margin-top: 0.2rem;
}

.hero-slide-stat {
  background: var(--bg);
  border: 2px solid var(--fg);
  padding: 0.75rem 1.25rem;
  border-radius: 1rem;
  box-shadow: 4px 4px 0px var(--fg);
  text-align: right;
}

.hero-slide-stat .val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent1);
}

.hero-slide-stat .lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
}

/* 8. CONTINUOUS MARQUEE STRIPS */
.home-marquee {
  width: 100%;
  overflow: hidden;
  border-top: 3px solid var(--fg);
  border-bottom: 3px solid var(--fg);
  padding: 1rem 0;
  background: var(--accent4);
  position: relative;
  z-index: 5;
  box-shadow: 0 4px 20px rgba(76, 29, 149, 0.25);
}

.home-marquee-track {
  display: flex;
  gap: 2.5em;
  width: max-content;
  animation: hmScroll 20s linear infinite;
}

.home-marquee-track span {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bg);
  white-space: nowrap;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 1.5em;
}

.home-marquee-track .dot {
  color: var(--cyber-cyan);
  font-size: 1.2rem;
}

.home-marquee:hover .home-marquee-track {
  animation-play-state: paused;
}

@keyframes hmScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* 9. BENTO GRID SERVICES SECTION */
.services-section {
  position: relative;
  padding: 7rem 1.5rem;
  max-width: 1320px;
  margin: 0 auto;
  z-index: 2;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent1);
  margin-bottom: 0.75rem;
  background: var(--bg2);
  border: 1.5px solid var(--fg);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.75em;
  width: 100%;
}

.bento-card-span-8 { grid-column: span 8; }
.bento-card-span-4 { grid-column: span 4; }
.bento-card-span-6 { grid-column: span 6; }
.bento-card-span-12 { grid-column: span 12; }

.bento-card {
  position: relative;
  background: var(--bg2);
  border: 3px solid var(--fg);
  border-radius: var(--radius-card);
  box-shadow: var(--elev-2), var(--shadow-brutal);
  padding: 2rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent1);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.bento-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--elev-4), 10px 10px 0px 0px var(--fg);
}

.bento-card.accent-hover:hover::before {
  transform: scaleY(1);
}

.bento-card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bento-card:hover .bento-card-content,
.bento-card:hover .bento-card-content h3,
.bento-card:hover .bento-card-content p,
.bento-card:hover .bento-card-content .mn {
  color: #fff;
}

.bento-card-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent1);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.3s;
}

.bento-card:hover .bento-card-num {
  color: var(--accent3);
}

.bento-card-icon {
  width: 40px;
  height: 40px;
  background: var(--bg);
  border: 2px solid var(--fg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--fg);
  box-shadow: 2.5px 2.5px 0px var(--fg);
}

.bento-card h3 {
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  color: var(--fg);
  transition: color 0.3s;
  word-break: break-word;
}

.bento-card p {
  font-size: 0.95rem;
  color: var(--fg);
  opacity: 0.85;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  transition: color 0.3s, opacity 0.3s;
}

.service-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.service-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  background: var(--bg);
  border: 1.5px solid var(--fg);
  border-radius: 50px;
  color: var(--fg);
  box-shadow: 2px 2px 0px var(--fg);
  transition: background 0.3s, color 0.3s;
}

.bento-card:hover .service-pill {
  background: var(--fg);
  color: var(--bg);
}

.bento-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent1);
  text-decoration: none;
  transition: gap 0.25s ease, color 0.25s ease;
}

.bento-card-link i { font-size: 1rem; transition: transform 0.25s ease; }
.bento-card-link:hover { gap: 0.65rem; }
.bento-card-link:hover i { transform: translateX(3px); }

.bento-card:hover .bento-card-link {
  color: #fff;
}

/* 12. INDUSTRIES WE EMPOWER SECTION */
.industries-section {
  padding: 7rem 1.5rem;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--fg);
  border: 3.5px solid var(--fg);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-brutal);
}

.ind-cell {
  background: var(--bg);
  padding: 2.5em 1.75em;
  display: flex;
  flex-direction: column;
  gap: 0.85em;
  transition: background 0.35s, color 0.35s, transform 0.2s;
  cursor: default;
}

.ind-cell:hover {
  background: var(--accent1);
  color: #ffffff;
}

.ind-cell-icon {
  font-size: 2rem;
  color: var(--accent1);
  transition: color 0.35s;
}

.ind-cell:hover .ind-cell-icon {
  color: var(--cyber-cyan);
}

.ind-cell-name {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--fg);
  transition: color 0.35s;
}

.ind-cell:hover .ind-cell-name {
  color: #ffffff;
}

.ind-cell-desc {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg);
  opacity: 0.7;
  line-height: 1.5;
  transition: color 0.35s, opacity 0.35s;
}

.ind-cell:hover .ind-cell-desc {
  color: #ffffff;
  opacity: 0.9;
}

/* 13. HOW WE WORK (4-STEP PROCESS) */
.how-we-work-section {
  padding: 7rem 1.5rem;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--fg);
  border: 3.5px solid var(--fg);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-brutal);
}

.hw-step {
  background: var(--bg);
  padding: 2.5em 1.75em;
  display: flex;
  flex-direction: column;
  gap: 0.85em;
  transition: background 0.35s;
}

.hw-step:hover {
  background: var(--bg2);
}

.hw-step-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent1);
  letter-spacing: 0.1em;
}

.hw-step h3 {
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 800;
}

.hw-step p {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.55;
}

/* 14. PINNED HORIZONTAL SCROLL SHOWCASE (GSAP ScrollTrigger) */
.showcase-pinned-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #7c3aed;
  color: #fff;
  padding: 6rem 0;
  z-index: 4;
}

.showcase-pinned-header {
  padding: 0 3rem 3rem;
  max-width: 1320px;
  margin: 0 auto;
}

.showcase-pinned-header h2 {
  color: #fff;
}

.showcase-pinned-header p {
  color: var(--accent2);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.portfolio-track-container {
  width: 100%;
  overflow: hidden;
}

.portfolio-track {
  display: flex;
  gap: 2.5rem;
  padding: 0 3rem;
  width: max-content;
  will-change: transform;
}

.portfolio-card {
  width: 440px;
  background: #ffffff;
  border: 3px solid var(--fg);
  border-radius: 1.75rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 8px 8px 0px 0px var(--fg);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}

.portfolio-card:hover {
  border-color: #7c3aed;
  transform: translateY(-8px);
  box-shadow: 12px 12px 0px 0px var(--fg);
}

.pf-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.pf-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  background: #7c3aed;
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  text-transform: uppercase;
  border: 1.5px solid var(--fg);
  box-shadow: 2px 2px 0px var(--fg);
}

.portfolio-card h3 {
  color: #7c3aed;
  font-size: 1.45rem;
  font-style: normal;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.portfolio-card p {
  color: var(--fg);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.pf-metric-box {
  background: #ede9fe;
  border: 2px solid var(--fg);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 3px 3px 0px var(--fg);
}

.pf-metric-box .val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #7c3aed;
}

.pf-metric-box .lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--fg);
  font-weight: 700;
  text-transform: uppercase;
}

/* 14.5 CEO SAYS / LEADERSHIP VISION SECTION */
.ceo-section {
  position: relative;
  padding: 5rem 1.5rem 4rem;
  background: #0d0b24;
  color: #ffffff;
  overflow: hidden;
  z-index: 3;
  border-top: 3.5px solid var(--fg);
}

.ceo-section-glow {
  position: absolute;
  top: 50%;
  left: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.15) 0%, rgba(124, 58, 237, 0.1) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.ceo-container {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
  position: relative;
  z-index: 2;
  width: 100%;
}

.ceo-content {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  justify-content: center;
  padding-bottom: 0;
}

.ceo-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cyber-cyan);
}

.ceo-main-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  text-transform: uppercase;
}

.ceo-main-title .highlight {
  color: #7C3AED;
}

.ceo-quote-wrap {
  background: rgba(0, 0, 0, 0.12);
  border-left: 4px solid var(--accent1);
  padding: 0.85rem 1.25rem;
  border-radius: 0 0.85rem 0.85rem 0;
  margin: 0.5rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ceo-quote-wrap .quote-icon {
  font-size: 1.8rem;
  color: #7C3AED;
  flex-shrink: 0;
}

.ceo-typed-text {
  color: #7C3AED;
  position: relative;
}

.ceo-typed-text::after {
  content: "|";
  display: inline-block;
  color: #7C3AED;
  animation: blink 0.7s step-end infinite;
  margin-left: 0.04em;
}

.ceo-narrative p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.ceo-narrative strong {
  color: #ffffff;
}

.ceo-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1rem 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ceo-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ceo-meta-item .val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cyber-cyan);
}

.ceo-meta-item .lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.ceo-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--accent1);
  color: #ffffff;
  padding: 0.9rem 1.85rem;
  border-radius: 50px;
  border: 2px solid #ffffff;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: none;
  transition: transform 0.25s, background 0.25s;
  width: fit-content;
  margin-top: 0.5rem;
}

.ceo-cta-btn:hover {
  transform: translateY(-2px);
  background: var(--cyber-purple);
}

/* CEO Image Wrapper (Right Column - Person on Right) */
.ceo-image-wrapper {
  position: relative;
  width: 100%;
  min-height: 620px;
  padding: 1.5rem 3rem 0;
  overflow: hidden;
}

.ceo-photo-container {
  position: absolute;
  inset: 1.5rem 3rem 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: 1.5rem;
}

.ceo-photo-container::before {
  content: '';
  position: absolute;
  inset: 1.5rem;
  background: url('../assets/images/ceo/lex.png') center bottom / contain no-repeat;
  filter: blur(28px) saturate(1.15);
  opacity: 0.42;
  transform: scale(1.08);
  z-index: -1;
}

.ceo-photo-glow {
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 65%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.25) 0%, rgba(239, 68, 68, 0.15) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.ceo-img {
  position: absolute;
  bottom: 0;
  right: 50%;
  height: 100%;
  width: auto;
  display: block;
  z-index: 2;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(50%);
  filter: contrast(1.04) saturate(1.05);
  image-rendering: auto;
  transition: transform 0.35s ease;
}

.ceo-photo-container:hover .ceo-img {
  transform: translateX(50%) scale(1.02);
}

/* Social Icons: layered behind the CEO photo (z-index below .ceo-img),
   tucked right behind the head. On hover/focus they fan out sideways
   into a horizontal row, as if sliding out from behind the head. */
.ceo-social-icons {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.ceo-social-icons a {
  position: absolute;
  top: 9%;
  left: 50%;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  background: #fff;
  border: 3px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.25);
  transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ceo-social-icons a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ceo-photo-container:hover .ceo-social-icons,
.ceo-photo-container:focus-within .ceo-social-icons {
  pointer-events: auto;
}

.ceo-photo-container:hover .ceo-social-icons a,
.ceo-photo-container:focus-within .ceo-social-icons a {
  opacity: 1;
}

/* Fan out horizontally from behind the head, left to right */
.ceo-social-icons a:nth-child(1) { transition-delay: 0s; }
.ceo-social-icons a:nth-child(2) { transition-delay: 0.08s; }
.ceo-social-icons a:nth-child(3) { transition-delay: 0.16s; }
.ceo-social-icons a:nth-child(4) { transition-delay: 0.24s; }

.ceo-photo-container:hover .ceo-social-icons a:nth-child(1),
.ceo-photo-container:focus-within .ceo-social-icons a:nth-child(1) { transform: translate(calc(-50% - 148px), -50%) scale(1); }
.ceo-photo-container:hover .ceo-social-icons a:nth-child(2),
.ceo-photo-container:focus-within .ceo-social-icons a:nth-child(2) { transform: translate(calc(-50% - 50px), -50%) scale(1); }
.ceo-photo-container:hover .ceo-social-icons a:nth-child(3),
.ceo-photo-container:focus-within .ceo-social-icons a:nth-child(3) { transform: translate(calc(-50% + 50px), -50%) scale(1); }
.ceo-photo-container:hover .ceo-social-icons a:nth-child(4),
.ceo-photo-container:focus-within .ceo-social-icons a:nth-child(4) { transform: translate(calc(-50% + 148px), -50%) scale(1); }

@media (max-width: 992px) {
  .ceo-section {
    padding: 5rem 1.5rem 3rem;
  }
  .ceo-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ceo-content {
    padding-bottom: 1rem;
    order: 2;
  }
  .ceo-image-wrapper {
    order: 1;
    min-height: 440px;
    padding: 0.75rem 1rem 0;
  }
  .ceo-photo-container {
    inset: 0.75rem 1rem 0;
  }
  .ceo-img {
    height: 440px;
    right: 50%;
    transform: translateX(50%);
  }
  .ceo-meta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .ceo-section {
    padding: 4rem 1rem 2rem;
  }
  .ceo-image-wrapper {
    min-height: 360px;
    padding: 0.5rem 0.25rem 0;
  }
  .ceo-photo-container {
    inset: 0.5rem 0.25rem 0;
  }
  .ceo-img {
    height: 360px;
  }
  .ceo-meta-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  .ceo-meta-item .val {
    font-size: 1.4rem;
  }
  .ceo-social-icons a {
    width: 54px;
    height: 54px;
  }
  .ceo-photo-container:hover .ceo-social-icons a:nth-child(1),
  .ceo-photo-container:focus-within .ceo-social-icons a:nth-child(1) { transform: translate(calc(-50% - 112px), -50%) scale(1); }
  .ceo-photo-container:hover .ceo-social-icons a:nth-child(2),
  .ceo-photo-container:focus-within .ceo-social-icons a:nth-child(2) { transform: translate(calc(-50% - 38px), -50%) scale(1); }
  .ceo-photo-container:hover .ceo-social-icons a:nth-child(3),
  .ceo-photo-container:focus-within .ceo-social-icons a:nth-child(3) { transform: translate(calc(-50% + 38px), -50%) scale(1); }
  .ceo-photo-container:hover .ceo-social-icons a:nth-child(4),
  .ceo-photo-container:focus-within .ceo-social-icons a:nth-child(4) { transform: translate(calc(-50% + 112px), -50%) scale(1); }
}

/* 14.6 VALUE PROPOSITION / "WEBSITE THAT WORKS" SECTION */
.value-prop-section {
  position: relative;
  padding: 6.5rem 1.5rem;
  max-width: 1320px;
  margin: 0 auto;
  z-index: var(--z-section);
}

.value-prop-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.value-prop-content .section-tag { margin-bottom: 1rem; }

.value-prop-content .title-wrap h2 {
  margin-bottom: 1.25rem;
}

.vp-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  opacity: 0.85;
  max-width: 520px;
  margin-bottom: 2rem;
}

/* Portfolio -> E-Commerce Capability Strip */
.vp-scope-row {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg2);
  border: 2px solid var(--fg);
  border-radius: 1.25rem;
  box-shadow: var(--elev-1);
}

.vp-scope-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1;
}

.vp-scope-item i {
  font-size: 1.5rem;
  color: var(--accent1);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.vp-scope-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.vp-scope-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--fg);
  opacity: 0.75;
  line-height: 1.4;
}

.vp-scope-arrow {
  display: flex;
  align-items: center;
  color: var(--accent1);
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* Expanded Feature Cards (was a plain checklist) */
.vp-feature-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.vp-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  background: var(--bg);
  border: 2px solid var(--fg);
  border-radius: 1rem;
  box-shadow: 3px 3px 0px var(--fg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vp-feature-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--elev-2), 5px 5px 0px var(--fg);
}

.vp-feature-card i {
  font-size: 1.5rem;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.vp-feature-title {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 0.2rem;
}

.vp-feature-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--fg);
  opacity: 0.75;
  line-height: 1.45;
}

.vp-contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.vp-contact-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent1);
  width: 100%;
}

/* SEO Keyword Tag Cloud */
.vp-keyword-cloud {
  padding-top: 1.5rem;
  border-top: 1.5px dashed var(--glass-border);
  text-align: center;
}

.vp-keyword-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg);
  opacity: 0.6;
  margin-bottom: 0.9rem;
}

.vp-keyword-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.4rem;
}

.vp-keyword-tags .service-pill {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.32rem 0.7rem;
  box-shadow: 1.5px 1.5px 0px var(--fg);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .vp-keyword-tags .service-pill {
    font-size: 0.62rem;
    padding: 0.28rem 0.6rem;
  }
}

.vp-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg2);
  color: var(--fg);
  border: 2px solid var(--fg);
  padding: 0.75rem 1.35rem;
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--elev-2), 3px 3px 0px var(--fg);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.vp-contact-pill i { font-size: 1.1rem; color: var(--accent1); }

.vp-contact-pill:hover {
  transform: translate(-2px, -3px);
  background: var(--fg);
  color: #fff;
  box-shadow: var(--elev-3), 5px 5px 0px var(--accent1);
}

.vp-contact-pill:hover i { color: var(--cyber-cyan); }

/* Layered depth visual: base photo + floating glass proof-cards, tiltable on desktop */
.value-prop-visual {
  position: relative;
  perspective: 1200px;
}

.vp-card-stack {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

.vp-visual-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 3px solid var(--fg);
  box-shadow: var(--elev-4);
  display: block;
  transform: translateZ(0);
}

.vp-float-card {
  position: absolute;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid var(--fg);
  border-radius: 1.1rem;
  padding: 0.9rem 1.15rem;
  box-shadow: var(--elev-3);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transform: translateZ(60px);
  z-index: 2;
}

.vp-float-card i {
  font-size: 1.4rem;
  color: var(--accent1);
}

.vp-float-card .vp-float-val {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--fg);
}

.vp-float-card .vp-float-lbl {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg);
  opacity: 0.7;
}

.vp-card-1 { top: -1.25rem; left: -1.25rem; }
.vp-card-2 { bottom: -1.25rem; right: -1.25rem; }

@media (max-width: 1000px) {
  .value-prop-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .value-prop-visual { order: -1; }
  .vp-card-stack { transform: none !important; }
}

@media (max-width: 768px) {
  .vp-scope-row { flex-direction: column; }
  .vp-scope-arrow { transform: rotate(90deg); align-self: center; }
}

@media (max-width: 600px) {
  .value-prop-section { padding: 4.5rem 1rem; }
  .vp-float-card { padding: 0.7rem 0.9rem; }
  .vp-card-1 { top: -0.75rem; left: -0.75rem; }
  .vp-card-2 { bottom: -0.75rem; right: -0.75rem; }
  .vp-feature-title { font-size: 0.95rem; }
  .vp-feature-desc { font-size: 0.82rem; }
}

/* 14.7 HONEST NOTE CALLOUT (SERVICE PAGES) */
.honest-note-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem 6rem;
  position: relative;
  z-index: var(--z-section);
}

.honest-note-box {
  background: var(--bg2);
  border: 2.5px dashed var(--fg);
  border-radius: var(--radius-card);
  padding: 2rem 2.25rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: var(--elev-1);
}

.honest-note-box i {
  font-size: 1.8rem;
  color: var(--accent1);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.honest-note-box h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.honest-note-box p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.6;
}

.honest-note-box a {
  color: var(--accent1);
  font-weight: 700;
  text-decoration: underline;
}

/* 15. DYNAMIC CTA CAPSULE BUTTON SECTION */
.contact-cta {
  position: relative;
  padding: 5rem 1.5rem 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  background: var(--bg);
  margin-top: -2px;
}

.contact-cta h2 {
  max-width: 800px;
  margin-bottom: 3rem;
}

.contact-button {
  position: relative;
  width: min(85%, 620px);
  min-height: 200px;
  border: 3px solid var(--fg);
  border-radius: 20em;
  background: linear-gradient(45deg, var(--accent1), var(--accent2), var(--cyber-magenta), var(--accent4));
  background-size: 400% 400%;
  animation: gradientMove 10s ease-in-out infinite;
  box-shadow: 6px 6px 0px 0px var(--fg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 2rem 3rem;
}

.contact-button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0px 0px var(--fg);
}

.contact-button::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 200%;
  background: repeating-linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.12) 0px,
    rgba(0, 0, 0, 0.12) 15px,
    transparent 15px,
    transparent 30px
  );
  animation: stripeMove 30s linear infinite;
  z-index: 1;
}

.contact-button-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.contact-button-text h3 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-style: normal;
  font-weight: 800;
  color: #fff;
  text-shadow: 2px 2px 0px var(--fg);
}

.contact-button-text span {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--fg);
  color: #fff;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  box-shadow: 2px 2px 0px rgba(0,0,0,0.3);
}

@keyframes gradientMove {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes stripeMove {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

/* 16. FOOTER ARCHITECTURE */
.site-footer {
  background: var(--fg);
  color: var(--bg);
  border-top: 3.5px solid var(--fg);
  padding: 5rem 1.5rem 2.5rem;
  position: relative;
  z-index: 3;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.footer-brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer-brand h2 {
  color: #fff;
  font-size: 2.8rem;
  line-height: 1.0;
}

.footer-brand p {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent2);
  max-width: 360px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--accent3);
  margin-bottom: 1.25rem;
  letter-spacing: 0.1em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--cyber-cyan);
}

.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

/* 17. RESPONSIVE BREAKPOINTS (MATCHING UI.MD SPEC) */
@media (max-width: 1100px) {
  .bento-card-span-8, .bento-card-span-6, .bento-card-span-4 { grid-column: span 12; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .hw-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar {
    width: calc(100% - 1rem);
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
  }
  .nav-brand { flex-shrink: 1; min-width: 0; gap: 0.4rem; }
  .nav-brand-logo-img { height: 30px; }
  .nav-brand-text { font-size: 1.05rem; }
  .nav-links { display: none; }
  .nav-status {
    min-width: 0;
    flex: 1;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.3rem 0.5rem;
    font-size: 0.62rem;
    line-height: 1.15;
    text-align: center;
  }
  .nav-status span:last-child { min-width: 0; overflow-wrap: anywhere; }
  .status-dot { width: 6px; height: 6px; flex-shrink: 0; }
  .nav-cta {
    flex-shrink: 0;
    gap: 0.3rem;
    padding: 0.5rem 0.7rem;
    font-size: 0.62rem;
  }
  .ind-grid { grid-template-columns: 1fr; }
  .hw-steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .portfolio-card { width: 320px; padding: 1.5rem; }
  .contact-button { width: 95%; min-height: 200px; padding: 1.5rem 2rem; }
  .contact-cta { padding: 4rem 1rem 4rem; }
  .hero-img-frame { height: 260px; }
  .hero-slide-info p { font-size: 0.75rem; }
  .hero-slide-stat .val { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .navbar { top: 0.5rem; padding: 0.45rem 0.55rem; gap: 0.3rem; }
  .nav-brand-logo-img { height: 26px; }
  .nav-brand-text { font-size: 0.9rem; }
  .nav-status { padding: 0.25rem 0.35rem; font-size: 0.55rem; }
  .nav-cta { padding: 0.45rem 0.55rem; font-size: 0.56rem; }
  h1 { font-size: clamp(2.8rem, 12vw, 4rem); }
  h2 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .hero-img-frame { height: 220px; }
  .hero-slide { padding: 1rem 1.25rem; }
  .hero-slide-info h4 { font-size: 1.1rem; }
  .hero-slide-stat { padding: 0.5rem 0.85rem; }
  .hero-slide-stat .val { font-size: 1.1rem; }
  .hero-slide-stat .lbl { font-size: 0.6rem; }
}

/* ==========================================================================
   18. CAMPAIGN LANDING PAGE COMPONENTS (Diwali Brand Promotion & similar)
   ========================================================================== */

/* Hero CTA button row */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
  position: relative;
  z-index: 2;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.75rem;
  border-radius: 50px;
  border: 2.5px solid var(--fg);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.hero-btn-primary {
  background: var(--accent1);
  color: #fff;
  box-shadow: 4px 4px 0px var(--fg);
}

.hero-btn-primary:hover {
  transform: translate(-2px, -3px);
  box-shadow: 6px 6px 0px var(--fg);
  background: var(--cyber-purple);
}

.hero-btn-secondary {
  background: var(--bg2);
  color: var(--fg);
  box-shadow: 4px 4px 0px var(--fg);
}

.hero-btn-secondary:hover {
  transform: translate(-2px, -3px);
  box-shadow: 6px 6px 0px var(--fg);
  background: var(--fg);
  color: #fff;
}

/* "Who this fits" 5-column grid on wide screens (falls back to the
   existing .ind-grid responsive rules below 1100px) */
@media (min-width: 1101px) {
  .fit-grid-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* FAQ Accordion */
.faq-section {
  max-width: 880px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  position: relative;
  z-index: 2;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

.faq-item {
  background: var(--bg2);
  border: 2.5px solid var(--fg);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--elev-1);
  transition: box-shadow 0.25s ease;
}

.faq-item.is-open {
  box-shadow: var(--elev-2), 3px 3px 0px var(--fg);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--fg);
  text-align: left;
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--accent1);
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-item.is-open .faq-answer-wrap {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  opacity: 0.78;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .hero-btn { font-size: 0.8rem; padding: 0.75rem 1.25rem; }
  .faq-question { padding: 1rem 1.15rem; font-size: 0.92rem; }
  .faq-answer-inner p { padding: 0 1.15rem 1.15rem; font-size: 0.88rem; }
}
