/* ============================================================
   AHMEEDBAKARE.COM — Design System
   Fonts: Oswald (headings) + Rubik (body)
   Palette: White & Purple — jovial, playful, professional
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ── CSS Variables ── */
:root {
  /* Light mode */
  --bg:            #FFFFFF;
  --bg-section:    #F7F4FF;
  --bg-card:       #EDE9FE;
  --bg-dark:       #130826;
  --text:          #1A0A2E;
  --text-light:    #FFFFFF;
  --muted:         #6B5B8A;
  --subtle:        #A08EC0;
  --accent:        #7C3AED;
  --accent-2:      #A855F7;
  --accent-glow:   rgba(124, 58, 237, 0.15);
  --accent-dim:    rgba(124, 58, 237, 0.08);
  --spark:         #D9FF00;
  --border:        #E5D9F9;
  --border-soft:   rgba(124, 58, 237, 0.12);
  --shadow:        0 4px 24px rgba(124, 58, 237, 0.12);
  --shadow-lg:     0 12px 48px rgba(124, 58, 237, 0.2);
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --radius-full:   100px;
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width:     1200px;

  /* Fill text (ghost watermark) */
  --fill-text-color: rgba(124, 58, 237, 0.06);
}

/* Dark Mode */


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Rubik', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  opacity: 0;
  animation: pageLoad 0.5s ease forwards 0.05s;
  transition: background 0.3s ease, color 0.3s ease;
}

@keyframes pageLoad { to { opacity: 1; } }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Grid Background ── */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: calc(100% / 6) 100px;
  transition: opacity 0.3s ease;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: 'Oswald', sans-serif;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  transition: color 0.3s ease;
}

h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 5vw, 3.4rem); }
h3 { font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: 500; }
h4 { font-size: 1rem; font-weight: 600; }

p { color: var(--muted); line-height: 1.8; transition: color 0.3s ease; }

.label {
  font-family: 'Rubik', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Ghost fill-text (QU style) */
.fill-text {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 700;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px var(--fill-text-color);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.05em;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 20px;
  margin: 0 auto;
}

.section {
  padding: 88px 0;
  position: relative;
  z-index: 1;
}

.section-sm {
  padding: 56px 0;
  position: relative;
  z-index: 1;
}

.section-header { margin-bottom: 56px; }
.section-header .label { margin-bottom: 12px; display: block; }
.section-header h2 { max-width: 640px; }
.section-header p { margin-top: 16px; max-width: 560px; font-size: 1.05rem; }
.section-header.center { text-align: center; }
.section-header.center h2,
.section-header.center p { margin-left: auto; margin-right: auto; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1010; /* Fixed: MUST be higher than .mobile-nav (1000) so header stays interactive! */
  padding: 20px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  background: transparent;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

html.dark .nav.scrolled {
  background: rgba(13, 5, 23, 0.96);
}

/* Mobile: always show a background when scrolled (no backdrop-filter reliance) */
@media (max-width: 1023px) {
  .nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
  }
  html.dark .nav.scrolled {
    background: rgba(13, 5, 23, 0.98);
  }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 1012;
  flex-shrink: 0;
}

.nav-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
}

.nav-links {
  display: none;
  gap: 4px;
}

.nav-links a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: var(--accent-dim);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta { display: none; }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5.5px;
  padding: 10px;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  z-index: 1012;
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, background 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--accent); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--accent); }

/* Mobile Nav Overlay */
.mobile-nav {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 100px 24px 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
}

@media (min-height: 640px) {
  .mobile-nav {
    justify-content: center;
    padding: 80px 24px 40px;
  }
}

html.dark .mobile-nav { background: rgba(13, 5, 23, 0.98); }

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav a {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  transition: color var(--transition), background var(--transition), transform var(--transition);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  width: 100%;
  max-width: 300px;
  text-align: center;
}

.mobile-nav a:hover {
  color: var(--accent);
  background: var(--accent-dim);
  transform: scale(1.02);
}

.mobile-nav a.active {
  color: var(--accent);
  background: var(--accent-dim);
  font-weight: 700;
  box-shadow: inset 0 0 0 1.5px var(--border-soft);
}

.mobile-nav-close {
  display: none !important;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: 'Rubik', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  min-height: 50px;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow);
  filter: brightness(1.08);
}

.btn-outline {
  border: 2px solid var(--border);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
}

/* Ghost WA button — white bg, black text, purple border, black icon */
.btn-wa-ghost {
  background: #FFFFFF;
  color: #111111;
  border: 2px solid var(--accent);
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.1);
}

.btn-wa-ghost:hover {
  transform: translateY(-2px);
  background: var(--accent-dim);
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.18);
}

html.dark .btn-wa-ghost {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--accent);
}

.btn-dark {
  background: var(--bg-dark);
  color: white;
}

html.dark .btn-dark {
  background: var(--accent);
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.82rem;
  min-height: 40px;
}

/* Arrow circle button (LC style) */
.btn-circle {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.btn-circle-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-circle-icon svg { stroke: white; width: 20px; height: 20px; }

.btn-circle:hover .btn-circle-icon {
  transform: scale(1.08) rotate(-5deg);
  box-shadow: 0 8px 24px var(--accent-glow);
}

/* ── Section backgrounds ── */
.bg-section { background: var(--bg-section); }
.bg-card    { background: var(--bg-card); }
.bg-dark-section {
  background: var(--bg-dark);
  color: var(--text-light);
}
.bg-dark-section .label { color: var(--accent-2); }
.bg-dark-section h2 { color: var(--text-light); }
.bg-dark-section p { color: rgba(255,255,255,0.6); }
html.dark .bg-dark-section { background: #080110; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  padding: 120px 0 60px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-blur {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: blobFloat 8s ease-in-out infinite alternate;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #A855F7, transparent 70%);
  top: -100px;
  right: 10%;
}

.blob-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #7C3AED, transparent 70%);
  bottom: 0;
  left: 5%;
  animation-delay: 3s;
}

@keyframes blobFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(20px, -30px) scale(1.05); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 600px;
}

.hero-tag {
  display: inline-block;
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.hero-tag-dot {
  display: none;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.hero h1 { margin-bottom: 24px; }

.hero h1 .accent-word {
  color: var(--accent);
  position: relative;
}

.hero-sub {
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-portrait-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-fill-text {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Oswald', sans-serif;
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 700;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--fill-text-color);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-portrait {
  position: relative;
  z-index: 1;
  max-height: 520px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px var(--accent-glow));
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── Marquee ── */
.marquee-section {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg);
  position: relative;
  z-index: 1;
  transition: background 0.3s ease;
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}

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

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 32px;
  font-family: 'Rubik', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.marquee-item .spark {
  color: var(--accent);
  font-size: 0.9rem;
}

/* Marquee — tools/languages style: monospace-ish separator dots */
.marquee-item + .marquee-item::before {
  content: '·';
  color: var(--accent);
  margin-right: 32px;
}

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

/* ── Platform Section ── */
.platform-section {
  padding: 64px 0;
  position: relative;
  z-index: 1;
}

/* Reduce padding for compact variant */
.section-compact {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

/* Portrait-left layout for platform section */
.platform-grid-portrait {
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.platform-portrait-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 340px;
}

.platform-portrait-wrap .hero-fill-text {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(2.5rem, 8vw, 6rem);
}

/* Big attention-grabbing heading */
.platform-heading-big {
  font-size: clamp(1.75rem, 3.8vw, 2.85rem) !important;
  line-height: 1.15 !important;
  margin-bottom: 24px !important;
  font-weight: 700;
}

/* Typed/highlighted phrase */
.typed-highlight {
  display: inline-block;
  position: relative;
  color: var(--accent);
  white-space: nowrap;
}

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

.platform-statement h2 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

.platform-statement p {
  font-size: 1.05rem;
  margin-bottom: 28px;
}

/* Hero text-only (no portrait column) */
.hero-text-only {
  grid-template-columns: 1fr !important;
  justify-items: center;
  text-align: center;
}

.hero-content-wide {
  max-width: 820px;
  text-align: center;
}

.hero-content-wide .hero-tag {
  justify-content: center;
}

.hero-content-wide .hero-actions {
  justify-content: center;
}

.hero-content-wide .hero-sub {
  margin: 0 auto 36px;
}

.platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
}

.platform-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.platform-pill .pill-icon { font-size: 1rem; }

.guide-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--accent-dim);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--muted);
}

.guide-note strong { color: var(--accent); }

/* ── Connect / Journey CTA band ── */
.connect-band {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 56px 28px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

@media (min-width: 640px) {
  .connect-band {
    padding: 72px 48px;
  }
}

html.dark .connect-band {
  background: var(--bg-card);
  border-color: var(--border);
}

.connect-band-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.connect-band-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.12), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(70px);
}

.connect-band-content {
  position: relative;
  z-index: 1;
}

/* Eyebrow label above heading */
.connect-eyebrow {
  font-family: 'Rubik', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 14px;
}

.connect-band-content h2 {
  color: var(--text);
  font-size: clamp(1.45rem, 3.5vw, 2.3rem);
  max-width: 640px;
  margin: 0 auto 42px;
  line-height: 1.3;
}

/* Journey step cards */
.connect-journey {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 44px;
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 280px;
  padding: 16px 20px;
  background: var(--accent-dim);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  transition: var(--transition);
}

.journey-step:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.journey-step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 2px;
  box-shadow: var(--shadow-sm);
}

.journey-step-num-dest {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.journey-step-mid {
  position: relative;
  background: var(--bg);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

html.dark .journey-step-mid {
  background: var(--bg-dark);
}

.journey-step-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 2px;
}

.journey-step-label {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  line-height: 1.2;
}

.journey-step-sub {
  font-family: 'Rubik', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}

.journey-connector {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
  margin: 4px 0;
}

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

html.dark .service-card { background: var(--bg-card); }

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-dim), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--accent-dim);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon-wrap {
  background: var(--accent);
  border-color: var(--accent);
}

/* Service image cards */
.service-img-wrap {
  width: 100%;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.05);
}

.service-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.65rem, 5.5vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  color: var(--text);
  transition: color var(--transition);
}

.service-card:hover h3 {
  color: var(--accent);
}

.service-card p {
  font-size: 0.92rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.service-tag {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-section);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

html.dark .service-tag { background: rgba(255,255,255,0.05); }

/* ── Recent Projects (horizontal scroll carousel) ── */
.projects-carousel-wrap {
  position: relative;
  overflow: hidden;
}

.projects-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.projects-carousel::-webkit-scrollbar { display: none; }

.project-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 2/3;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover img { transform: scale(1.06); }

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 8, 38, 0.95) 0%, rgba(19, 8, 38, 0.3) 40%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .project-card-overlay { opacity: 1; }

.project-card-overlay h3 { color: white; font-size: 1.1rem; margin-bottom: 4px; }
.project-card-overlay p { color: var(--accent-2); font-size: 0.78rem; margin: 0; }

.project-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(124, 58, 237, 0.85);
  backdrop-filter: blur(10px);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
}

.carousel-nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: flex-end;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--muted);
  background: var(--bg);
}

.carousel-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

html.dark .carousel-btn { background: var(--bg-card); }

/* ── Our Approach (Process cards — LC style) ── */
.process-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.process-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  padding: 40px 28px 32px;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.process-num {
  font-family: 'Oswald', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-glow);
  -webkit-text-stroke: 1px var(--border-soft);
  color: transparent;
  line-height: 1;
  margin-bottom: 16px;
  transition: color var(--transition);
}

.process-card:hover .process-num {
  -webkit-text-stroke-color: var(--accent);
}

.process-card h3 { margin-bottom: 10px; }
.process-card p  { font-size: 0.92rem; }

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.testimonial-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: var(--transition);
}

html.dark .testimonial-card { background: var(--bg-card); }

.testimonial-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 12px;
  right: 20px;
  font-family: 'Oswald', sans-serif;
  font-size: 5rem;
  color: var(--accent-dim);
  line-height: 1;
  pointer-events: none;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: #FFC107;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }

.testimonial-avatar-initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  flex-shrink: 0;
}

.testimonial-name { font-weight: 700; font-size: 0.9rem; }
.testimonial-role { font-size: 0.78rem; color: var(--muted); }

/* Testimonial screenshots slider */
.reviews-slider-wrap {
  position: relative;
  overflow: hidden;
}

.reviews-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.reviews-slider::-webkit-scrollbar { display: none; }

.review-img-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.review-img-card:hover { transform: scale(1.02); }
.review-img-card img { width: 100%; height: auto; }

/* ── Books ── */
.books-section { position: relative; z-index: 1; }

.book-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.book-row:last-child { border-bottom: none; }

.book-cover-wrap {
  position: relative;
  max-width: 280px;
  margin: 0 auto;
}

.book-cover {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 20px 20px 60px var(--accent-glow), 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.book-cover:hover {
  transform: rotate(-2deg) scale(1.03);
  box-shadow: 28px 28px 80px var(--accent-glow);
}

.book-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--spark, #D9FF00);
  color: #0f172a;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(217, 255, 0, 0.45);
  z-index: 2;
}

.book-content {}

.book-genre {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.book-content h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 16px;
}

.book-content p {
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.8;
}

.book-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Portfolio Featured ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  aspect-ratio: 2/3;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-card:hover img { transform: scale(1.05); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 8, 38, 0.95) 0%, rgba(19, 8, 38, 0.2) 40%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay h3 { color: white; font-size: 1.1rem; margin-bottom: 4px; }
.portfolio-overlay p { color: var(--accent-2); font-size: 0.78rem; margin: 0; }
.portfolio-overlay .visit-link {
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.8;
}

.portfolio-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(124, 58, 237, 0.85);
  backdrop-filter: blur(10px);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
}

/* ── Blog — Feature Cards List ── */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.blog-row {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-decoration: none;
  color: inherit;
  position: relative;
}

html.dark .blog-row {
  background: var(--bg-card);
}

.blog-row:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-row-img {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: var(--bg-section);
  position: relative;
}

.blog-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-row:hover .blog-row-img img {
  transform: scale(1.06);
}

.blog-row-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-card-cat {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 12px;
  background: var(--accent-dim);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-full);
  font-family: 'Rubik', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.blog-row h3 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text);
  transition: color var(--transition);
}

.blog-row:hover h3 {
  color: var(--accent);
}

.blog-row p {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 22px;
  max-width: 640px;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rubik', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: gap 0.3s ease, color 0.3s ease;
  margin-top: auto;
}

.blog-row:hover .blog-read-more {
  color: var(--accent);
  gap: 14px;
}

.blog-read-more svg {
  color: var(--accent);
  transition: transform 0.3s ease;
}

/* Keep old blog-card for future use */
.blog-card {
  display: block;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

/* ── Experience / Skills ── */
.skill-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.career-timeline { display: flex; flex-direction: column; gap: 0; }

.career-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 20px;
  position: relative;
}

.career-line-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.career-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 3px var(--accent-glow);
  flex-shrink: 0;
  margin-top: 4px;
}

.career-line-col .line {
  width: 2px;
  flex: 1;
  background: var(--border);
  min-height: 32px;
  margin: 6px 0;
}

.career-item:last-child .line { display: none; }

.career-content {
  padding-bottom: 32px;
}

.career-period {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  display: block;
}

.career-content h4 { font-family: 'Oswald', sans-serif; font-size: 1.05rem; margin-bottom: 4px; }
.career-content p  { font-size: 0.88rem; }

/* Skill circles */
.skills-circles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.skill-circle-item { text-align: center; }

.skill-circle-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0deg, var(--border) 0deg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  position: relative;
  transition: box-shadow 0.3s ease;
}

.skill-circle-ring:hover { box-shadow: 0 0 24px var(--accent-glow); }

.skill-circle-inner {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

html.dark .skill-circle-inner { background: var(--bg-card); }

.skill-circle-pct {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.skill-circle-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

/* ── CV Strip ── */
.cv-strip {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.cv-strip::before {
  content: 'CV';
  position: absolute;
  right: -20px;
  top: -20px;
  font-family: 'Oswald', sans-serif;
  font-size: 10rem;
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  line-height: 1;
}

.cv-strip h3 { color: white; font-size: 1.6rem; }
.cv-strip p  { color: rgba(255,255,255,0.75); }

.cv-strip .btn-cv {
  background: white;
  color: var(--accent);
  font-weight: 700;
}

.cv-strip .btn-cv:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ── CTA Before Footer ── */
.cta-band {
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

html.dark .cta-band { background: #080110; border: 1px solid var(--border); }

.cta-band-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-band-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.3), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
}

.cta-band h2 {
  color: white;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-band p {
  color: rgba(255,255,255,0.6);
  margin: 0 auto 36px;
  max-width: 480px;
  position: relative;
  z-index: 1;
}

.cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ── Footer ── */
.footer {
  background: var(--bg-dark);
  padding: 64px 0 28px;
  position: relative;
  z-index: 1;
}

html.dark .footer { background: #050010; }

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer .nav-logo { color: white; }
.footer .nav-logo-dot { background: var(--accent); }

.footer-brand-desc {
  margin-top: 14px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  max-width: 260px;
  line-height: 1.7;
}

.footer-social-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(124,58,237,0.1);
}

.footer-col h4 {
  font-family: 'Rubik', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-col ul a:hover { color: var(--accent-2); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Utility ── */
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--muted); }
.text-center  { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.flex  { display: flex; }
.items-center { align-items: center; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

/* ── Tablet 640px ── */
@media (min-width: 640px) {
  .container { padding: 0 32px; }
  .section   { padding: 104px 0; }

  .hero-actions { flex-wrap: nowrap; }

  .platform-grid-portrait {
    grid-template-columns: 2fr 3fr;
    gap: 60px;
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .process-cards { grid-template-columns: repeat(2, 1fr); }

  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }

  .blog-grid { grid-template-columns: repeat(2, 1fr); }

  /* Transform full-width rows into horizontal feature cards on tablet & desktop */
  .blog-row {
    grid-template-columns: 280px 1fr;
  }
  .blog-row-img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 240px;
  }
  .blog-row-body {
    padding: 32px 36px;
  }

  .book-row { grid-template-columns: 260px 1fr; }
  .book-row.reverse { grid-template-columns: 1fr 260px; }
  .book-row.reverse .book-cover-wrap { order: 2; }
  .book-row.reverse .book-content    { order: 1; }
  .book-cover-wrap { max-width: none; margin: 0; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }

  .skill-grid { grid-template-columns: 1fr 1fr; }

  .skills-circles { grid-template-columns: repeat(4, 1fr); }

  .cta-band-actions { flex-direction: row; justify-content: center; }

  .platform-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Tablet Medium 768px ── */
@media (min-width: 768px) {
  .connect-journey {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
  }
  .journey-step {
    max-width: 200px;
    min-height: 156px;
    justify-content: center;
  }
  .journey-connector {
    transform: rotate(0deg);
    margin: 0 -4px;
  }
}

/* ── Desktop 1024px ── */
@media (min-width: 1024px) {
  .container { padding: 0 40px; }

  .nav-links  { display: flex; }
  .nav-cta    { display: flex; }
  .hamburger  { display: none; }

  /* hero-text-only stays single column */
  .hero-text-only { grid-template-columns: 1fr !important; }

  /* Expand right content column for platform section on desktop so question mark never wraps */
  .platform-grid-portrait {
    grid-template-columns: minmax(280px, 350px) 1fr;
    gap: 64px;
  }

  .services-grid { grid-template-columns: repeat(3, 1fr); }

  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }

  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }

  .blog-row {
    grid-template-columns: 420px 1fr;
  }
  .blog-row-img {
    min-height: 260px;
  }
  .blog-row-body {
    padding: 40px 48px;
  }

  .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; }

  .process-cards { grid-template-columns: repeat(4, 1fr); }
}

/* ── WhatsApp Float ── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 200;
  transition: transform var(--transition), box-shadow var(--transition);
  color: white;
  font-size: 1.4rem;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}

/* ── Page load decorative badge area ── */
.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--accent-dim);
}

.hero-badge span { font-size: 0.9rem; }

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
}

@media (min-width: 480px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}

.stat-item { text-align: left; }

.stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

/* ── Light Mode High Contrast Overrides ── */
body.light-mode,
html:not(.dark) body {
  --bg-card-contrast: #F8F9FC;
  --text-contrast: #1A1A2E;
  --muted-contrast: #4A4A68;
}

html:not(.dark) .showcase-card,
html:not(.dark) .wf-card,
html:not(.dark) .blog-card-full,
html:not(.dark) .metadata-bar,
html:not(.dark) .ux-item-card,
html:not(.dark) .overview-card,
html:not(.dark) .strategy-box,
html:not(.dark) .gallery-stage,
html:not(.dark) .featured-bp-section,
html:not(.dark) .universal-cta-banner {
  background: var(--bg-card-contrast);
  border-color: rgba(0, 0, 0, 0.08);
}

html:not(.dark) .showcase-title,
html:not(.dark) .wf-title,
html:not(.dark) .blog-card-title,
html:not(.dark) .case-title,
html:not(.dark) .section-header h2,
html:not(.dark) .ux-item-title,
html:not(.dark) .universal-cta-banner h2 {
  color: var(--text-contrast);
}

html:not(.dark) .showcase-desc,
html:not(.dark) .wf-desc,
html:not(.dark) .blog-card-snippet,
html:not(.dark) .meta-col p,
html:not(.dark) .ux-item-desc {
  color: var(--muted-contrast);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

@media (max-width: 480px) {
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }
  .floating-whatsapp svg {
    width: 24px;
    height: 24px;
  }
}

