/* =====================================================
   BITNEKA PREMIUM CSS — Top Tech Company Design
   Dark Mode · Gradient Text · Blob · Glow · Premium
   ===================================================== */

/* ── Permanent Dark Mode Variables (Default) ──────── */
:root {
  --bg-page:       #000000;
  --bg-surface:    #0E0E0E;
  --bg-card:       #111111;
  --bg-card-hover: #1A1A1A;
  --text-primary:  #ffffff;
  --text-body:     #A0A0A0;
  --text-muted:    #6B6B6B;
  --border-color:  rgba(255, 255, 255, 0.07);
  --header-bg:     rgba(0, 0, 0, 0.88);
  --footer-bg:     #000000;
  --shadow-glow:   0 0 60px rgba(79, 110, 247, 0.15);
  --noise-opacity: 0.025;
  --blob-opacity:  0.25;
  --transition-theme: background .35s ease, color .35s ease, border-color .35s ease;

  /* Canonical Semantic Theme Tokens (Dark Mode Default) */
  --background-primary:   #000000;
  --background-secondary: #0E0E0E;
  --background-tertiary:  #111111;
  --surface-primary:      #111111;
  --surface-secondary:    #141414;
  --surface-elevated:     #1A1A1A;
  --surface-subtle:       #0A0A0A;
  --text-secondary:       #A0A0A0;
  --text-tertiary:        #6B6B6B;
  --border-subtle:        rgba(255, 255, 255, 0.05);
  --border-default:       rgba(255, 255, 255, 0.07);
  --border-strong:        rgba(255, 255, 255, 0.13);
  --icon-primary:         #7FA8FF;
  --icon-secondary:       #A0A0A0;
  --icon-muted:           #6B6B6B;
  --accent-primary:       #4f6ef7;
  --accent-hover:         #7FA8FF;
  --accent-soft:          rgba(79, 110, 247, 0.10);
  --accent-secondary:     #c084fc;
  --success:              #34d399;
  --success-soft:         rgba(52, 211, 153, 0.10);
  --warning:              #fbbf24;
  --error:                #f87171;
  --shadow-sm:            0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-md:            0 8px 30px -4px rgba(0, 0, 0, 0.7);
  --shadow-lg:            0 20px 56px -10px rgba(0, 0, 0, 0.85);
  --focus-ring:           0 0 0 3px rgba(79, 110, 247, 0.25);
}

[data-theme="dark"] {
  --bg-page:       #000000;
  --bg-surface:    #0E0E0E;
  --bg-card:       #111111;
  --bg-card-hover: #1A1A1A;
  --text-primary:  #ffffff;
  --text-body:     #A0A0A0;
  --text-muted:    #6B6B6B;
  --border-color:  rgba(255, 255, 255, 0.07);
  --header-bg:     rgba(0, 0, 0, 0.88);
  --shadow-glow:   0 0 60px rgba(79, 110, 247, 0.15);
  --noise-opacity: 0.025;
  --blob-opacity:  0.25;

  /* Canonical Semantic Theme Tokens (Dark Mode) */
  --background-primary:   #000000;
  --background-secondary: #0E0E0E;
  --background-tertiary:  #111111;
  --surface-primary:      #111111;
  --surface-secondary:    #141414;
  --surface-elevated:     #1A1A1A;
  --surface-subtle:       #0A0A0A;
  --text-secondary:       #A0A0A0;
  --text-tertiary:        #6B6B6B;
  --border-subtle:        rgba(255, 255, 255, 0.05);
  --border-default:       rgba(255, 255, 255, 0.07);
  --border-strong:        rgba(255, 255, 255, 0.13);
  --icon-primary:         #7FA8FF;
  --icon-secondary:       #A0A0A0;
  --icon-muted:           #6B6B6B;
  --accent-primary:       #4f6ef7;
  --accent-hover:         #7FA8FF;
  --accent-soft:          rgba(79, 110, 247, 0.10);
  --accent-secondary:     #c084fc;
  --success:              #34d399;
  --success-soft:         rgba(52, 211, 153, 0.10);
  --warning:              #fbbf24;
  --error:                #f87171;
  --shadow-sm:            0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-md:            0 8px 30px -4px rgba(0, 0, 0, 0.7);
  --shadow-lg:            0 20px 56px -10px rgba(0, 0, 0, 0.85);
  --focus-ring:           0 0 0 3px rgba(79, 110, 247, 0.25);
}

/* Apply theme tokens */
body {
  background: var(--bg-page);
  color: var(--text-body);
  transition: var(--transition-theme);
}

.site-header {
  background: var(--header-bg) !important;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-theme);
}

.card {
  background: var(--bg-card);
  border-color: var(--border-color);
  transition: background .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.card:hover {
  background: var(--bg-card-hover);
}

/* Dark mode text overrides */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5 {
  color: var(--text-primary);
}

[data-theme="dark"] p,
[data-theme="dark"] li {
  color: var(--text-body);
}

[data-theme="dark"] .nav-links a {
  color: rgba(255, 255, 255, 0.72);
}

[data-theme="dark"] .section-head .eyebrow,
[data-theme="dark"] .eyebrow {
  color: #34d399;
}

[data-theme="dark"] .page-hero {
  background: #000000;
}

[data-theme="dark"] .stat-box,
[data-theme="dark"] .achievement-grid,
[data-theme="dark"] .partner-card,
[data-theme="dark"] .review-card,
[data-theme="dark"] .job-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .perf-card {
  background: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-body);
}

[data-theme="dark"] .tech-marquee {
  background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .tech-track span {
  background: #111111;
  color: rgba(255, 255, 255, 0.65);
}

[data-theme="dark"] .contact-group input,
[data-theme="dark"] .contact-group textarea,
[data-theme="dark"] .contact-group select {
  background: #0E0E0E;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.10);
}

[data-theme="dark"] .contact-group label {
  color: rgba(255, 255, 255, 0.55);
}

[data-theme="dark"] .section-intro,
[data-theme="dark"] .hero-sub,
[data-theme="dark"] .achievement-content p,
[data-theme="dark"] .testimonial-text {
  color: var(--text-body);
}

[data-theme="dark"] .mobile-menu {
  background: #000000;
}

[data-theme="dark"] .mobile-menu a {
  color: rgba(255, 255, 255, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

/* ── Gradient Text ───────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #0d5bff 0%, #7c3aed 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

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

/* ── Animated Hero Blobs ─────────────────────────── */
.hero-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: var(--blob-opacity, 0.5);
  will-change: transform;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #0d5bff 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: blobDrift1 12s ease-in-out infinite;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  bottom: -100px;
  left: 10%;
  animation: blobDrift2 15s ease-in-out infinite;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
  top: 30%;
  left: 40%;
  animation: blobDrift3 10s ease-in-out infinite;
}

@keyframes blobDrift1 {
  0%, 100% { transform: translate(0, 0)   scale(1); }
  33%       { transform: translate(-40px, 30px) scale(1.08); }
  66%       { transform: translate(30px, -20px) scale(0.95); }
}

@keyframes blobDrift2 {
  0%, 100% { transform: translate(0, 0)   scale(1); }
  40%       { transform: translate(50px, -40px) scale(1.1); }
  70%       { transform: translate(-30px, 20px) scale(0.92); }
}

@keyframes blobDrift3 {
  0%, 100% { transform: translate(0, 0)   scale(1); }
  50%       { transform: translate(-60px, 40px) scale(1.15); }
}

/* ── Cursor Glow Spotlight ───────────────────────── */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(circle, rgba(13,91,255,0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity .3s ease;
  will-change: left, top;
}

[data-theme="dark"] .cursor-glow {
  background: radial-gradient(circle, rgba(13,91,255,0.14) 0%, transparent 70%);
}

/* ── Scroll Progress Bar ─────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #0d5bff, #7c3aed, #06b6d4);
  z-index: 9999;
  transition: width .1s linear;
  border-radius: 0 999px 999px 0;
}

/* ── Page Load Transition ────────────────────────── */
.page-transition {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0d5bff, #7c3aed);
  z-index: 99999;
  transform: translateY(100%);
  transition: transform .5s cubic-bezier(.77, 0, .175, 1);
}

.page-transition.entering {
  transform: translateY(0%);
}

.page-transition.leaving {
  transform: translateY(-100%);
}

/* ── Premium Pill Buttons ────────────────────────── */
.btn {
  border-radius: 999px !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease !important;
}

.btn-primary {
  background: linear-gradient(135deg, #0d5bff 0%, #0a3fcc 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px -8px rgba(13,91,255,0.45), 0 0 0 0 rgba(13,91,255,0) !important;
  animation: none !important;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 16px 40px -8px rgba(13,91,255,0.55), 0 0 0 4px rgba(13,91,255,0.1) !important;
  color: #ffffff !important;
}

.cta-btn,
.btn-primary.cta-btn {
  color: #ffffff !important;
}

.cta-btn .cta-arrow,
.btn-primary .cta-arrow {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease !important;
}

.cta-btn:hover .cta-arrow,
.btn-primary:hover .cta-arrow {
  background: #ffffff !important;
  color: #0d5bff !important;
}

.btn-ghost {
  border-radius: 999px !important;
  border: 1.5px solid var(--border-color) !important;
}

[data-theme="dark"] .btn-ghost {
  color: #c8d4f0 !important;
  border-color: rgba(99,130,255,0.3) !important;
}

[data-theme="dark"] .btn-ghost:hover {
  background: rgba(13,91,255,0.15) !important;
}

/* Magnetic button wrapper */
.btn-magnetic {
  display: inline-block;
}

/* ── Social Proof Bar ────────────────────────────── */
.social-proof-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.proof-item .proof-stars {
  color: #f59e0b;
  font-size: 12px;
  letter-spacing: 1px;
}

.proof-item strong {
  color: var(--text-primary);
}

.proof-divider {
  width: 1px;
  height: 20px;
  background: var(--border-color);
}

/* ── 3D Card Tilt ────────────────────────────────── */
.card-tilt {
  transform-style: preserve-3d;
  transform: perspective(1000px);
  transition: transform .1s ease;
}

.card-tilt-inner {
  transform: translateZ(8px);
}

/* ── Floating Mockup Card in Hero ───────────────── */
.hero-mockup {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 290px;
  margin-left: auto;
  margin-right: 40px;
  padding: 40px 0;
}

.hero-mockup-card {
  background: rgba(10, 15, 35, 0.22) !important;
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  border: 1px solid rgba(99, 130, 255, 0.12);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 12px 30px -6px rgba(0,0,0,0.28);
  width: 100%;
  margin: 0;
  animation: floatSoft 7s ease-in-out infinite;
}

[data-theme="dark"] .hero-mockup-card {
  background: rgba(10, 14, 30, 0.50) !important;
  border-color: rgba(99,130,255,0.22);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #22c55e; }

.mockup-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(13,91,255,0.1);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.mockup-metric {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.mockup-metric-value {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-primary, #0b0f19);
  line-height: 1;
}

[data-theme="dark"] .mockup-metric-value {
  color: #f0f4ff;
}

.mockup-metric-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.mockup-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 70px;
  margin-bottom: 16px;
}

.mockup-bar {
  flex: 1;
  border-radius: 6px 6px 4px 4px;
  background: linear-gradient(180deg, #0d5bff 0%, #0a3fcc 100%);
  animation: barGrow .8s ease-out forwards, pulseBar 2.5s ease-in-out infinite .8s;
  transform-origin: bottom;
}

.mockup-bar:nth-child(1) { height: 40%; animation-delay: .1s; }
.mockup-bar:nth-child(2) { height: 65%; animation-delay: .2s; background: linear-gradient(180deg, #7c3aed, #5b21b6); }
.mockup-bar:nth-child(3) { height: 50%; animation-delay: .3s; }
.mockup-bar:nth-child(4) { height: 85%; animation-delay: .4s; background: linear-gradient(180deg, #06b6d4, #0891b2); }
.mockup-bar:nth-child(5) { height: 70%; animation-delay: .5s; }

@keyframes barGrow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

.mockup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.mockup-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #22c55e;
}

.mockup-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0.1); }
}

.mockup-users {
  display: flex;
}

.mockup-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--bg-card);
  margin-left: -8px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.mockup-avatar:nth-child(1) { background: #0d5bff; }
.mockup-avatar:nth-child(2) { background: #7c3aed; }
.mockup-avatar:nth-child(3) { background: #06b6d4; }
.mockup-avatar:first-child  { margin-left: 0; }

/* ── Floating Mini Cards (Hero Accents) ─────────── */
.hero-accent-card {
  position: absolute;
  background: rgba(15, 20, 40, 0.55);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid rgba(99, 130, 255, 0.2);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 16px 32px -8px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.07);
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  animation: floatSoft 8s ease-in-out infinite;
}

[data-theme="dark"] .hero-accent-card {
  background: rgba(8, 12, 28, 0.60);
  border-color: rgba(99,130,255,0.25);
  color: #c8d4f0;
}

/* "Deployment successful" — top RIGHT corner (ABOVE the card) */
.hero-accent-card.top-left {
  top: -10px; 
  right: -20px; 
  left: auto;
  transform: none;
  animation-delay: -2s;
  z-index: 2;
}

/* "60% faster delivery" — bottom RIGHT corner (BELOW the card) */
.hero-accent-card.bottom-right {
  bottom: -10px; 
  right: -20px; 
  left: auto;
  transform: none;
  animation-delay: -4s;
  z-index: 2;
}

.accent-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ── Typewriter Cursor ───────────────────────────── */
.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--blue);
  margin-left: 2px;
  vertical-align: middle;
  animation: cursorBlink 1s step-end infinite;
}

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

/* ── Noise Texture Overlay ───────────────────────── */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* ── Counter Number ──────────────────────────────── */
.stat-number[data-count] {
  transition: color .3s;
}

/* ── Gradient Border Cards ───────────────────────── */
.card-gradient-border {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius);
}

.card-gradient-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  background: linear-gradient(135deg, rgba(13,91,255,0.4), rgba(124,58,237,0.2), rgba(6,182,212,0.2));
  z-index: -1;
  opacity: 0;
  transition: opacity .3s ease;
}

.card-gradient-border:hover::before {
  opacity: 1;
}

/* ── Section Badge / Pill ────────────────────────── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(13,91,255,0.08);
  border: 1px solid rgba(13,91,255,0.18);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

[data-theme="dark"] .section-badge {
  background: rgba(13,91,255,0.12);
  border-color: rgba(99,130,255,0.25);
  color: #7fa8ff;
}

/* ── CTA Arrow Hover Effect ──────────────────────── */
.btn .btn-arrow {
  display: inline-block;
  transition: transform .2s ease;
  margin-left: 4px;
}

.btn:hover .btn-arrow {
  transform: translate(3px, -3px);
}

/* ── Bento Grid ──────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s ease;
  position: relative;
  overflow: hidden;
}

.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(13,91,255,0.06), transparent);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -16px rgba(13,91,255,0.2);
}

.bento-card:hover::after {
  opacity: 1;
}

.bento-card.span-2 {
  grid-column: span 2;
}

[data-theme="dark"] .bento-card {
  background: #111827;
  border-color: rgba(99,130,255,0.12);
}

/* ── 404 Page ────────────────────────────────────── */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-page);
  position: relative;
  overflow: hidden;
}

.page-404-number {
  font-size: clamp(120px, 20vw, 220px);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #0d5bff 0%, #7c3aed 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.page-404 h2 {
  font-size: clamp(22px, 3vw, 32px);
  color: var(--text-primary, #0b0f19);
  margin-bottom: 16px;
}

.page-404 p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto 32px;
}

.countdown-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 20px;
}

/* ── Responsive: Dark Mode on Mobile ────────────── */
@media (max-width: 680px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.span-2 {
    grid-column: span 1;
  }
  .hero-mockup-card {
    max-width: 100%;
  }
  .hero-accent-card {
    display: none;
  }
  .social-proof-bar {
    gap: 16px;
  }
  .proof-divider {
    display: none;
  }
}

/* =====================================================
   COMPREHENSIVE DARK MODE FIXES
   Every component, every page — nothing invisible
   ===================================================== */

/* ── Page & Section Backgrounds ─────────────────── */
[data-theme="dark"] body,
[data-theme="dark"] main,
[data-theme="dark"] section {
  background-color: var(--bg-page);
}

[data-theme="dark"] .hero {
  background: #08111f;
}

[data-theme="dark"] .tech-marquee-section,
[data-theme="dark"] .services-section,
[data-theme="dark"] .partners-section,
[data-theme="dark"] .achievements-section,
[data-theme="dark"] .team-performance,
[data-theme="dark"] .testimonials,
[data-theme="dark"] .about,
[data-theme="dark"] .mission,
[data-theme="dark"] .section-pad,
[data-theme="dark"] .contact-section,
[data-theme="dark"] .careers-section,
[data-theme="dark"] .faq-section,
[data-theme="dark"] .choose,
[data-theme="dark"] .exp-section {
  background: var(--bg-page);
}

/* Alternate surface sections */
[data-theme="dark"] .services-section,
[data-theme="dark"] .achievements-section,
[data-theme="dark"] .team-performance {
  background: var(--bg-surface);
}

/* ── All Text Elements ───────────────────────────── */
[data-theme="dark"] span,
[data-theme="dark"] label,
[data-theme="dark"] td,
[data-theme="dark"] th {
  color: var(--text-body);
}

[data-theme="dark"] strong {
  color: var(--text-primary);
}

[data-theme="dark"] .section-title,
[data-theme="dark"] .section-head h2,
[data-theme="dark"] .section-head h3,
[data-theme="dark"] .services-heading h2,
[data-theme="dark"] .achievement-content h2,
[data-theme="dark"] .achievement-content h3,
[data-theme="dark"] .exp-left h2,
[data-theme="dark"] .mission-grid h2,
[data-theme="dark"] .choose-title,
[data-theme="dark"] .cta-container h2,
[data-theme="dark"] .contact-info h3,
[data-theme="dark"] .partners-heading h2,
[data-theme="dark"] .testimonials-heading h2,
[data-theme="dark"] .faq-heading h2,
[data-theme="dark"] .careers-hero h1,
[data-theme="dark"] .page-hero h1 {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .section-intro,
[data-theme="dark"] .section-head p,
[data-theme="dark"] .hero-sub,
[data-theme="dark"] .achievement-content p,
[data-theme="dark"] .exp-left p,
[data-theme="dark"] .mission-grid p,
[data-theme="dark"] .contact-info p,
[data-theme="dark"] .partners-heading p,
[data-theme="dark"] .testimonials-heading p,
[data-theme="dark"] .choose-card p,
[data-theme="dark"] .perf-card p,
[data-theme="dark"] .faq-body,
[data-theme="dark"] .job-desc,
[data-theme="dark"] .review-text {
  color: var(--text-body) !important;
}

/* ── Hero Section ───────────────────────────────── */
[data-theme="dark"] .hero h1 {
  color: #f0f4ff !important;
}

[data-theme="dark"] .hstat b {
  color: #f0f4ff;
}

[data-theme="dark"] .hstat span {
  color: #94a3b8;
}

[data-theme="dark"] .proof-item {
  color: #94a3b8;
}

[data-theme="dark"] .proof-item strong {
  color: #c8d4f0;
}

/* ── Navigation & Dropdown ──────────────────────── */
[data-theme="dark"] .dropdown-menu {
  background: #111827;
  border-color: rgba(99,130,255,0.15);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

[data-theme="dark"] .dropdown-menu a {
  color: #c8d4f0;
}

[data-theme="dark"] .dropdown-menu a:hover {
  background: rgba(13,91,255,0.12);
  color: #7fa8ff;
}

[data-theme="dark"] .nav-dropdown > a {
  color: #c8d4f0;
}

[data-theme="dark"] .logo img {
  filter: brightness(1);
}

/* ── Service Cards ──────────────────────────────── */
[data-theme="dark"] .service-card {
  border-color: rgba(99,130,255,0.12);
  background: #111827;
}

[data-theme="dark"] .service-card h3 {
  color: #f0f4ff !important;
}

[data-theme="dark"] .service-card p,
[data-theme="dark"] .service-card .service-desc {
  color: #94a3b8 !important;
}

[data-theme="dark"] .services-heading .service-tag {
  color: var(--blue);
  background: rgba(13,91,255,0.1);
}

/* ── Partners Section ───────────────────────────── */
[data-theme="dark"] .partner-logo img,
[data-theme="dark"] .partner-card img {
  filter: brightness(0.8) saturate(0.7);
}

[data-theme="dark"] .partners-section h2 {
  color: var(--text-primary) !important;
}

/* ── Achievements Section ───────────────────────── */
[data-theme="dark"] .achievement-grid {
  background: #111827;
  border-color: rgba(99,130,255,0.12);
}

[data-theme="dark"] .achievement-icon {
  background: rgba(13,91,255,0.15);
  color: #7fa8ff;
}

[data-theme="dark"] .achievement-content h3 {
  color: #f0f4ff !important;
}

/* ── Team Performance Section ───────────────────── */
[data-theme="dark"] .perf-card {
  background: #111827;
  border-color: rgba(99,130,255,0.12);
}

[data-theme="dark"] .perf-card h3,
[data-theme="dark"] .perf-number {
  color: #f0f4ff !important;
}

[data-theme="dark"] .perf-bar-fill {
  background: linear-gradient(90deg, #0d5bff, #7c3aed);
}

[data-theme="dark"] .perf-bar-track {
  background: rgba(99,130,255,0.15);
}

/* ── Testimonials ───────────────────────────────── */
[data-theme="dark"] .testimonial-card {
  background: #111827;
  border-color: rgba(99,130,255,0.12);
}

[data-theme="dark"] .testimonial-name {
  color: #f0f4ff !important;
}

[data-theme="dark"] .testimonial-role {
  color: #64748b !important;
}

[data-theme="dark"] .review-card {
  background: #111827;
  border-color: rgba(99,130,255,0.12);
}

[data-theme="dark"] .review-name {
  color: #f0f4ff !important;
}

[data-theme="dark"] .review-role,
[data-theme="dark"] .review-company {
  color: #64748b !important;
}

/* ── Stat Boxes ─────────────────────────────────── */
[data-theme="dark"] .stat-box {
  background: #111827;
  border-color: rgba(99,130,255,0.12);
}

[data-theme="dark"] .stat-box h3,
[data-theme="dark"] .stat-value {
  color: #f0f4ff !important;
}

[data-theme="dark"] .stat-box p,
[data-theme="dark"] .stat-label {
  color: #94a3b8 !important;
}

/* ── FAQ Section ────────────────────────────────── */
[data-theme="dark"] .faq-item {
  background: #111827;
  border-color: rgba(99,130,255,0.12);
}

[data-theme="dark"] .faq-question {
  color: #f0f4ff !important;
}

[data-theme="dark"] .faq-answer,
[data-theme="dark"] .faq-body {
  color: #94a3b8 !important;
}

[data-theme="dark"] .faq-toggle {
  color: var(--blue);
}

[data-theme="dark"] .cta-section {
  background: #000000 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .cta-container h2 {
  color: #f0f4ff !important;
}

[data-theme="dark"] .cta-container .subtitle {
  color: #94a3b8 !important;
}

/* ── About Page ─────────────────────────────────── */
[data-theme="dark"] .about-wrapper,
[data-theme="dark"] .about-text {
  color: #94a3b8;
}

[data-theme="dark"] .about-text h2,
[data-theme="dark"] .about-text h3 {
  color: #f0f4ff !important;
}

[data-theme="dark"] .choose-card {
  background: #111827;
  border-color: rgba(99,130,255,0.12);
}

[data-theme="dark"] .choose-card h3 {
  color: #f0f4ff !important;
}

[data-theme="dark"] .choose-card .icon {
  background: rgba(13,91,255,0.15);
  color: #7fa8ff;
}

[data-theme="dark"] .exp-section {
  background: var(--bg-surface);
}

[data-theme="dark"] .exp-right .stat-item h3 {
  color: #f0f4ff !important;
}

[data-theme="dark"] .exp-right .stat-item p {
  color: #94a3b8 !important;
}

[data-theme="dark"] .title-line {
  background: linear-gradient(90deg, var(--blue), transparent);
}

/* ── Careers Page ───────────────────────────────── */
[data-theme="dark"] .job-card {
  background: #111827;
  border-color: rgba(99,130,255,0.12);
}

[data-theme="dark"] .job-title {
  color: #f0f4ff !important;
}

[data-theme="dark"] .job-type {
  background: rgba(13,91,255,0.12);
  color: #7fa8ff;
}

[data-theme="dark"] .job-tags span,
[data-theme="dark"] .job-meta span {
  background: rgba(99,130,255,0.1);
  color: #94a3b8;
}

/* ── Contact Page ───────────────────────────────── */
[data-theme="dark"] .contact-form-wrapper,
[data-theme="dark"] .contact-box {
  background: #111827;
  border-color: rgba(99,130,255,0.12);
}

[data-theme="dark"] .contact-group input,
[data-theme="dark"] .contact-group textarea,
[data-theme="dark"] .contact-group select {
  background: #1a2540 !important;
  color: #e2e8f0 !important;
  border-color: rgba(99,130,255,0.2) !important;
}

[data-theme="dark"] .contact-group input::placeholder,
[data-theme="dark"] .contact-group textarea::placeholder {
  color: #4b5563;
}

[data-theme="dark"] .contact-group input:focus,
[data-theme="dark"] .contact-group textarea:focus {
  border-color: var(--blue) !important;
  background: #1e2d4f !important;
}

[data-theme="dark"] .contact-info-item {
  color: #94a3b8;
}

[data-theme="dark"] .contact-info-item i {
  color: var(--blue);
}

/* ── Tech Marquee ───────────────────────────────── */
[data-theme="dark"] .tech-marquee-section {
  background: var(--bg-surface);
}

[data-theme="dark"] .tech-marquee-head h2 {
  color: #f0f4ff !important;
}

/* ── Mobile Menu ────────────────────────────────── */
[data-theme="dark"] .mobile-menu {
  background: #0d1220 !important;
}

[data-theme="dark"] .mobile-menu a {
  color: #c8d4f0 !important;
}

[data-theme="dark"] .mobile-menu .nav-dropdown-mobile > span {
  color: #7fa8ff;
}

[data-theme="dark"] .mmClose svg path {
  stroke: #c8d4f0;
}

/* ── Eyebrow / Tag / Badge Labels ───────────────── */
[data-theme="dark"] .eyebrow,
[data-theme="dark"] .service-tag,
[data-theme="dark"] .section-tag,
[data-theme="dark"] .subtitle {
  color: var(--blue) !important;
}

/* ── Chips in portfolio ─────────────────────────── */
[data-theme="dark"] .chip {
  background: rgba(13,91,255,0.12);
  color: #7fa8ff;
}

/* ── HR dividers ────────────────────────────────── */
[data-theme="dark"] hr {
  border-color: rgba(99,130,255,0.1);
}


/* ── Service Pill filter buttons ────────────────── */
[data-theme="dark"] .service-pill {
  background: #111827;
  border-color: rgba(99,130,255,0.2);
  color: #94a3b8;
}

[data-theme="dark"] .service-pill:hover {
  background: rgba(13,91,255,0.15);
  color: #7fa8ff;
}

[data-theme="dark"] .service-pill.active {
  background: var(--blue);
  color: #fff;
}

/* ── WhatsApp Float ─────────────────────────────── */
[data-theme="dark"] .whatsapp-float {
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

/* ── Section head line / title-line ─────────────── */
[data-theme="dark"] .section-head::after,
[data-theme="dark"] .section-title::after {
  background: var(--blue);
}

/* ── Legal pages (privacy, terms) ───────────────── */
[data-theme="dark"] .card h2 {
  color: #f0f4ff !important;
}

/* ── Scroll bar ─────────────────────────────────── */
[data-theme="dark"] ::-webkit-scrollbar {
  background: #0d1220;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #1e2d4f;
  border-radius: 4px;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: #2d4070;
}

/* =====================================================
   DARK MODE — BUTTON & NAV VISIBILITY CRITICAL FIXES
   ===================================================== */

/* Ghost button — INVISIBLE in dark mode fix */
[data-theme="dark"] .btn-ghost {
  color: #e2e8f0 !important;
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
}
[data-theme="dark"] .btn-ghost:hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.3) !important;
  color: #fff !important;
}

/* Nav CTA area "Let's talk Business" button */
[data-theme="dark"] .nav-cta .btn-ghost {
  color: #e2e8f0 !important;
  border-color: rgba(255,255,255,0.25) !important;
  background: transparent !important;
}
[data-theme="dark"] .nav-cta .btn-ghost:hover {
  background: rgba(255,255,255,0.1) !important;
}

/* Hamburger / icon-btn — SVG stroke fix */
[data-theme="dark"] .icon-btn.nav-toggle {
  color: #e2e8f0;
}
[data-theme="dark"] .icon-btn.nav-toggle svg path {
  stroke: #e2e8f0 !important;
}
[data-theme="dark"] .icon-btn {
  color: #e2e8f0;
  border-color: rgba(255,255,255,0.15);
}
[data-theme="dark"] .icon-btn:hover {
  background: rgba(255,255,255,0.08);
}

/* mmClose button SVG */
[data-theme="dark"] #mmClose svg path,
[data-theme="dark"] .mmClose svg path {
  stroke: #e2e8f0 !important;
}

/* Nav links color in dark */
[data-theme="dark"] .nav-links a {
  color: #c8d4f0 !important;
}
[data-theme="dark"] .nav-links a.active,
[data-theme="dark"] .nav-links a:hover {
  color: #7fa8ff !important;
}
[data-theme="dark"] .nav-link-dropdown {
  color: #c8d4f0 !important;
}

/* Social links in nav */
[data-theme="dark"] .social-links a {
  color: #94a3b8;
}
[data-theme="dark"] .social-links a:hover {
  color: #7fa8ff;
}

/* =====================================================
   DARK MODE — HOME PAGE FULL SCAN FIXES
   Hero · Services · Partners · Achievements · Testimonials
   Performance · CTA · Spacing · Typography
   ===================================================== */

/* ── Hero: ensure all text is bright ────────────── */
[data-theme="dark"] .hero {
  background: transparent;
}
[data-theme="dark"] .hero-overlay {
  background: linear-gradient(
    to bottom right,
    rgba(5,9,20,0.78) 0%,
    rgba(8,13,28,0.65) 100%
  );
}
[data-theme="dark"] .hero h1 {
  color: #f0f4ff !important;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
[data-theme="dark"] .hero .hero-sub {
  color: #94a3b8 !important;
}
[data-theme="dark"] .hero .eyebrow {
  color: #7fa8ff !important;
}
[data-theme="dark"] .hstat {
  border-color: rgba(99,130,255,0.15);
}
[data-theme="dark"] .hstat b {
  color: #f0f4ff !important;
}
[data-theme="dark"] .hstat span {
  color: #64748b !important;
}

/* ── Tech Marquee ───────────────────────────────── */
[data-theme="dark"] .tech-marquee-head .eyebrow {
  color: #7fa8ff !important;
}
[data-theme="dark"] .tech-marquee-head h2 {
  color: #f0f4ff !important;
}
[data-theme="dark"] .tech-marquee-section {
  background: #0d1220 !important;
}
[data-theme="dark"] .tech-track span {
  background: #1a2540 !important;
  color: #94a3b8 !important;
  border-color: rgba(99,130,255,0.1) !important;
}

/* ── Services Section ───────────────────────────── */
[data-theme="dark"] .services-section {
  background: #0d1220 !important;
}
[data-theme="dark"] .services-heading h2 {
  color: #f0f4ff !important;
}
[data-theme="dark"] .services-heading .service-tag {
  color: #7fa8ff !important;
}
[data-theme="dark"] .service-card {
  background: #111827 !important;
  border: 1px solid rgba(99,130,255,0.12) !important;
}
[data-theme="dark"] .service-card h3 {
  color: #f0f4ff !important;
}
[data-theme="dark"] .service-card .overlay {
  background: linear-gradient(to top, rgba(8,12,20,0.95) 0%, transparent 60%) !important;
}

/* ── Partners Section ───────────────────────────── */
[data-theme="dark"] .partners-section {
  background: #080c14 !important;
}
[data-theme="dark"] .partners-section h2,
[data-theme="dark"] .partners-heading h2 {
  color: #f0f4ff !important;
}
[data-theme="dark"] .partners-section p,
[data-theme="dark"] .partners-heading p {
  color: #64748b !important;
}
[data-theme="dark"] .partner-card,
[data-theme="dark"] .partner-logo {
  background: #111827 !important;
  border-color: rgba(99,130,255,0.1) !important;
}
[data-theme="dark"] .partner-card img,
[data-theme="dark"] .partner-logo img {
  filter: brightness(0.95);
  opacity: 0.9;
}

[data-theme="dark"] .partner-card img[src*="shopify"],
[data-theme="dark"] .partner-card img[alt*="Shopify"],
[data-theme="dark"] .partner-logo img[src*="shopify"],
[data-theme="dark"] .partner-logo img[alt*="Shopify"] {
  filter: invert(1) hue-rotate(180deg) brightness(1.1) !important;
  opacity: 1 !important;
}

/* ── Achievements ───────────────────────────────── */
[data-theme="dark"] .achievements-section {
  background: #0d1220 !important;
}
[data-theme="dark"] .achievements-section .section-head h2,
[data-theme="dark"] .achievements-section h2 {
  color: #f0f4ff !important;
}
[data-theme="dark"] .achievements-section .section-head p {
  color: #64748b !important;
}
[data-theme="dark"] .achievement-grid {
  background: #111827 !important;
  border-color: rgba(99,130,255,0.12) !important;
}
[data-theme="dark"] .stat-num,
[data-theme="dark"] .achievement-number {
  color: #7fa8ff !important;
}
[data-theme="dark"] .stat-desc,
[data-theme="dark"] .achievement-label {
  color: #64748b !important;
}

/* ── Team Performance Section ───────────────────── */
[data-theme="dark"] .team-performance {
  background: #080c14 !important;
}
[data-theme="dark"] .team-performance-shell {
  background: linear-gradient(135deg, #0e1726 0%, #152238 100%) !important;
  border: 1px solid rgba(99, 130, 255, 0.2) !important;
  box-shadow: 0 24px 80px -36px rgba(0, 0, 0, 0.6) !important;
}
[data-theme="dark"] .team-performance h2,
[data-theme="dark"] .team-performance h3,
[data-theme="dark"] .team-performance-copy h2 {
  color: #ffffff !important;
}
[data-theme="dark"] .team-performance p,
[data-theme="dark"] .team-performance-copy p {
  color: #cbd5e1 !important;
}
[data-theme="dark"] .team-performance-stats div {
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1px solid rgba(99, 130, 255, 0.25) !important;
  box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.5) !important;
}
[data-theme="dark"] .team-performance-stats strong {
  color: #38bdf8 !important;
  font-weight: 800;
}
[data-theme="dark"] .team-performance-stats span {
  color: #94a3b8 !important;
}
[data-theme="dark"] .perf-card {
  background: #0c0c0c !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
[data-theme="dark"] .perf-card h3 {
  color: #ffffff !important;
}
[data-theme="dark"] .perf-card p {
  color: #94a3b8 !important;
}
[data-theme="dark"] .perf-card-side {
  background: #111111 !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
}
[data-theme="dark"] .perf-card-side h3 {
  color: #ffffff !important;
}
[data-theme="dark"] .perf-card-side p {
  color: #cbd5e1 !important;
}
[data-theme="dark"] .perf-card-floating {
  background: #0c0c0c !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
[data-theme="dark"] .perf-card-floating h3 {
  color: #ffffff !important;
}
[data-theme="dark"] .perf-card-floating p {
  color: #94a3b8 !important;
}
[data-theme="dark"] .perf-pill {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
}
[data-theme="dark"] .perf-score {
  color: #38bdf8 !important;
}

/* ── Testimonials ───────────────────────────────── */
[data-theme="dark"] .testimonials {
  background: #0d1220 !important;
}
[data-theme="dark"] .testimonials h2,
[data-theme="dark"] .testimonials-heading h2 {
  color: #f0f4ff !important;
}
[data-theme="dark"] .testimonials p,
[data-theme="dark"] .testimonials-heading p {
  color: #64748b !important;
}
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .review-card {
  background: #111827 !important;
  border-color: rgba(99,130,255,0.12) !important;
}
[data-theme="dark"] .testimonial-text,
[data-theme="dark"] .review-text {
  color: #94a3b8 !important;
}
[data-theme="dark"] .testimonial-name,
[data-theme="dark"] .review-name {
  color: #e2e8f0 !important;
}
[data-theme="dark"] .testimonial-role,
[data-theme="dark"] .review-role {
  color: #475569 !important;
}
[data-theme="dark"] .star,
[data-theme="dark"] .stars {
  color: #f59e0b !important;
}

/* ── CTA Section ────────────────────────────────── */
[data-theme="dark"] .cta-section {
  background: #000000 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
[data-theme="dark"] .cta-section h2 {
  color: #ffffff !important;
}
[data-theme="dark"] .cta-section p,
[data-theme="dark"] .cta-section .subtitle {
  color: rgba(255, 255, 255, 0.65) !important;
}
[data-theme="dark"] .cta-shape-one,
[data-theme="dark"] .cta-shape-two {
  display: none !important;
}

/* ── Home Page Heading typography fix ───────────── */
[data-theme="dark"] main h2 {
  color: #f0f4ff !important;
}
[data-theme="dark"] main h3 {
  color: #e2e8f0 !important;
}
[data-theme="dark"] main p {
  color: #94a3b8 !important;
}

/* ── Spacing: consistent section gaps in dark ────── */
[data-theme="dark"] section {
  border-bottom: 1px solid rgba(99,130,255,0.05);
}

/* ── Skip link in dark mode ─────────────────────── */
[data-theme="dark"] .skip-link {
  background: #111827;
  color: #7fa8ff;
}

/* ── Page transition gradient in dark ───────────── */
[data-theme="dark"] .page-transition {
  background: linear-gradient(135deg, #0d1220, #1a2540);
}
