/* ==========================================================================
   T SOFTWARE — ULTRA-MODERN WEB3, AI & FULL-STACK ENTERPRISE DESIGN SYSTEM
   Brand Palette derived from T Software Logo (#2563EB, #1E3A8A, #06B6D4, #8B5CF6)
   ========================================================================== */

:root {
  --bg-primary: #040711;
  --bg-secondary: #080d1e;
  --bg-card: rgba(13, 21, 46, 0.65);
  --bg-card-hover: rgba(20, 32, 68, 0.85);
  --bg-glass: rgba(10, 16, 36, 0.75);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --brand-blue: #3b82f6;
  --brand-royal: #1d4ed8;
  --brand-cyan: #06b6d4;
  --brand-violet: #8b5cf6;
  --brand-emerald: #10b981;
  --brand-amber: #f59e0b;
  
  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-glow: rgba(59, 130, 246, 0.45);
  --border-cyan: rgba(6, 182, 212, 0.45);
  
  --gradient-brand: linear-gradient(135deg, #3b82f6 0%, #06b6d4 50%, #8b5cf6 100%);
  --gradient-blue: linear-gradient(135deg, #60a5fa 0%, #2563eb 50%, #1e3a8a 100%);
  --gradient-web3: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
  --gradient-surface: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(4, 7, 17, 0.95) 100%);
  
  --shadow-glow: 0 0 35px rgba(59, 130, 246, 0.25);
  --shadow-card: 0 20px 45px -15px rgba(0, 0, 0, 0.7);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-blue);
}

/* Ambient Background Glows & Grid */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 15%, rgba(59, 130, 246, 0.14), transparent 38%),
    radial-gradient(circle at 88% 22%, rgba(139, 92, 246, 0.12), transparent 38%),
    radial-gradient(circle at 50% 80%, rgba(6, 182, 212, 0.1), transparent 42%),
    var(--bg-primary);
}

.cyber-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 35%, black 35%, transparent 90%);
}

/* Container & Layout Utilities */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 110px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(8, 13, 30, 0.4) 0%, rgba(12, 20, 44, 0.7) 50%, rgba(8, 13, 30, 0.4) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-cyan);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.28);
  margin-bottom: 18px;
}

.eyebrow .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 10px var(--brand-cyan);
  animation: pulse 2s infinite;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR & NAVBAR
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, rgba(29, 78, 216, 0.25), rgba(6, 182, 212, 0.2), rgba(139, 92, 246, 0.25));
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  padding: 8px 0;
  position: relative;
  z-index: 101;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
}

.badge-hot {
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-right a {
  color: #cbd5e1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.top-bar-right a:hover {
  color: var(--brand-cyan);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 7, 17, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(4, 7, 17, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 33px;
  max-width: 162px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.35));
  transition: transform 0.25s ease;
}

.brand-logo:hover img {
  transform: scale(1.03);
}

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

.nav-links > li {
  position: relative;
  flex-shrink: 0;
}

.nav-links > li > a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.81rem;
  font-weight: 600;
  padding: 7px 9px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: #fff;
  background: rgba(59, 130, 246, 0.14);
}

.nav-caret {
  font-size: 0.68rem;
  opacity: 0.75;
  transition: transform 0.2s ease;
}

.has-dropdown:hover .nav-caret {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: rgba(8, 13, 30, 0.96);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.has-dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.nav-dropdown a i {
  width: 18px;
  text-align: center;
  color: var(--brand-cyan);
  font-size: 0.9rem;
}

.nav-dropdown a:hover {
  background: rgba(59, 130, 246, 0.18);
  color: #fff;
  transform: translateX(3px);
}

.nav-pill-new {
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: 99px;
  background: rgba(139, 92, 246, 0.28);
  border: 1px solid rgba(139, 92, 246, 0.55);
  color: #ddd6fe;
  font-weight: 700;
  line-height: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 8px 25px -4px rgba(59, 130, 246, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -4px rgba(6, 182, 212, 0.65);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-primary);
  border-color: rgba(148, 163, 184, 0.28);
}

.btn-outline:hover {
  border-color: var(--brand-cyan);
  background: rgba(6, 182, 212, 0.1);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.81rem;
  gap: 6px;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: var(--brand-cyan);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.22s ease;
  flex-shrink: 0;
}

.mobile-menu-btn:hover,
.mobile-menu-btn.active {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: 75px 0 95px;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 54px;
  align-items: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.8vw, 3.55rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.dynamic-word-wrap {
  display: inline-block;
  position: relative;
}

.hero-description {
  font-size: 1.14rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 630px;
}

.hero-capability-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
}

.cap-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 99px;
  font-size: 0.81rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: all 0.2s;
}

.cap-pill:hover {
  border-color: var(--brand-cyan);
  background: rgba(6, 182, 212, 0.12);
  transform: translateY(-1px);
}

.cap-pill i {
  color: var(--brand-cyan);
  font-size: 0.85rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.metric-item p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 500;
}

/* Hero Right Visual — Interactive Multi-Stack Command Center */
.hero-visual {
  position: relative;
  padding-top: 24px;
}

.command-card {
  background: rgba(10, 17, 38, 0.85);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.command-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #10b981; }

.command-tabs {
  display: flex;
  gap: 6px;
}

.cmd-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.cmd-tab.active {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.45);
  color: #fff;
}

.command-body {
  padding: 22px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  min-height: 295px;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 60%);
}

.code-block {
  display: none;
  animation: fadeIn 0.3s ease;
}

.code-block.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.code-comment { color: #64748b; }
.code-kw { color: #c084fc; font-weight: 600; }
.code-fn { color: #38bdf8; }
.code-str { color: #34d399; }
.code-num { color: #fbbf24; }

.command-footer {
  padding: 14px 20px;
  background: rgba(8, 13, 28, 0.95);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-emerald);
  font-weight: 600;
}

.floating-badge {
  position: absolute;
  background: rgba(13, 22, 48, 0.92);
  border: 1px solid rgba(6, 182, 212, 0.4);
  backdrop-filter: blur(12px);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  animation: floatY 4s ease-in-out infinite;
}

.floating-badge.badge-top-right {
  top: -36px;
  right: 12px;
}

.floating-badge.badge-bottom-left {
  bottom: -28px;
  left: 12px;
  animation-delay: 2s;
}

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

.fb-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
}

.fb-text strong {
  display: block;
  font-size: 0.85rem;
  color: #fff;
}

.fb-text span {
  font-size: 0.73rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   TRUSTED CLIENTS MARQUEE (Using real client logos from tsoftware.in)
   ========================================================================== */
.clients-bar {
  padding: 42px 0;
  background: rgba(8, 13, 30, 0.7);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.clients-label {
  text-align: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 700;
}

.marquee-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
  padding: 8px 0;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: scrollMarquee 28s linear infinite;
}

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

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

.client-logo-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 12px 24px;
  border-radius: 14px;
  height: 82px;
  width: 190px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px -6px rgba(15, 23, 42, 0.14);
  transition: all 0.25s ease;
}

.client-logo-card:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--brand-blue);
  box-shadow: 0 12px 26px -6px rgba(37, 99, 235, 0.25);
}

.client-logo-card img {
  max-height: 56px;
  max-width: 146px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ==========================================================================
   ALL DEVELOPMENT CAPABILITIES HUB (Filterable 12-Service Matrix)
   ========================================================================== */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.filter-btn {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-btn:hover {
  color: #fff;
  border-color: rgba(59, 130, 246, 0.5);
}

.filter-btn.active {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

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

.service-card.featured-blockchain {
  border-color: rgba(139, 92, 246, 0.45);
  background: linear-gradient(160deg, rgba(30, 27, 75, 0.65) 0%, rgba(13, 21, 46, 0.85) 100%);
}

.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--brand-cyan);
}

.service-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(6, 182, 212, 0.12);
  color: var(--brand-cyan);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.service-card p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  font-size: 0.84rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li i {
  color: var(--brand-cyan);
  font-size: 0.78rem;
}

.service-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.stack-chip {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.85);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.14);
}

/* ==========================================================================
   BLOCKCHAIN & WEB3 DEEP-DIVE SHOWCASE
   ========================================================================== */
.web3-showcase {
  background: radial-gradient(circle at 80% 30%, rgba(139, 92, 246, 0.18), transparent 45%),
              radial-gradient(circle at 20% 70%, rgba(6, 182, 212, 0.15), transparent 45%),
              rgba(7, 11, 26, 0.95);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-xl);
  padding: 56px;
  box-shadow: var(--shadow-card);
}

.web3-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.web3-pillars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.web3-pillar-btn {
  text-align: left;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-primary);
}

.web3-pillar-btn:hover,
.web3-pillar-btn.active {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--brand-cyan);
  transform: translateX(6px);
}

.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gradient-web3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}

.pillar-info h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.pillar-info p {
  font-size: 0.83rem;
  color: var(--text-secondary);
}

.web3-detail-panel {
  background: rgba(10, 16, 36, 0.9);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-lg);
  padding: 36px;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.web3-chains {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.chain-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 99px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.82rem;
  font-weight: 600;
  color: #f1f5f9;
}

.web3-deliverables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 26px;
}

.deliverable-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.deliverable-box i {
  color: var(--brand-emerald);
}

/* ==========================================================================
   THE T SOFTWARE APPROACH (Ground-Up From Ground-Zero™)
   ========================================================================== */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.approach-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: all 0.3s ease;
}

.approach-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-5px);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.45), rgba(59, 130, 246, 0.05));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}

.approach-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.approach-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   INTERACTIVE PROJECT ESTIMATOR & ARCHITECTURE BUILDER
   ========================================================================== */
.estimator-card {
  background: linear-gradient(145deg, rgba(13, 21, 46, 0.9), rgba(7, 12, 28, 0.95));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 42px;
}

.est-step-group {
  margin-bottom: 28px;
}

.est-step-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.est-step-label span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.est-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.est-option {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 13px 14px;
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
}

.est-option i {
  color: var(--brand-cyan);
}

.est-option.selected {
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--brand-cyan);
  color: #fff;
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.22);
}

.est-summary {
  background: rgba(4, 7, 17, 0.85);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.est-result-box {
  margin: 18px 0;
  padding: 18px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
}

.est-price-tag {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--brand-cyan);
}

/* ==========================================================================
   BUY SERVER & CLOUD INFRASTRUCTURE PLANS
   ========================================================================== */
.server-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.server-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s ease;
}

.server-card.popular {
  border-color: var(--brand-cyan);
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.12) 0%, rgba(13, 21, 46, 0.85) 100%);
  transform: translateY(-6px);
}

.popular-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  text-transform: uppercase;
}

.server-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.server-specs {
  list-style: none;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.server-specs li {
  font-size: 0.85rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.server-specs li i {
  color: var(--brand-cyan);
}

/* ==========================================================================
   TRAINING & PLACEMENT ACADEMY + TEAM SECTION
   ========================================================================== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.course-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-4px);
}

.founder-spotlight {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 44px;
  align-items: center;
  background: linear-gradient(145deg, rgba(15, 25, 55, 0.85) 0%, rgba(7, 12, 28, 0.95) 100%);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: var(--radius-xl);
  padding: 44px;
  margin-bottom: 56px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.founder-spotlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}

.founder-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(6, 182, 212, 0.4);
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.4), rgba(8, 13, 30, 0.95));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
}

.founder-photo-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.founder-exp-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(4, 7, 17, 0.9);
  border: 1px solid rgba(6, 182, 212, 0.45);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 12px 16px;
  text-align: center;
}

.founder-exp-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--brand-cyan);
}

.founder-exp-badge span {
  font-size: 0.78rem;
  color: #e2e8f0;
}

.founder-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.founder-name {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 6px;
}

.founder-title {
  color: var(--brand-cyan);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.founder-description {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.founder-milestones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.milestone-box {
  background: rgba(10, 17, 38, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 16px;
}

.milestone-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 4px;
}

.milestone-box span {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
  display: block;
}

.team-roster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.member-pill {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.member-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}

.member-meta strong {
  display: block;
  font-size: 0.9rem;
  color: #f8fafc;
}

.member-meta span {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   CONTACT & GLOBAL OFFICES SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
}

.office-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 18px;
}

.office-card h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--brand-cyan);
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 38px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: rgba(4, 7, 17, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 10px;
  padding: 13px 16px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

/* ==========================================================================
   FOOTER & FLOATING WHATSAPP WIDGET
   ========================================================================== */
.site-footer {
  background: #02040a;
  border-top: 1px solid var(--border-subtle);
  padding: 75px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin-bottom: 18px;
  color: #fff;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

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

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

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
}

.social-btn:hover {
  background: var(--gradient-brand);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 99;
  background: #25d366;
  color: #fff;
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
}

/* Prevent any grid child from causing horizontal page overflow */
.hero-grid > *,
.web3-layout > *,
.estimator-grid > *,
.contact-grid > *,
.founder-spotlight > *,
.services-grid > *,
.server-grid > *,
.courses-grid > *,
.testimonials-grid > *,
.footer-grid > * {
  min-width: 0;
  max-width: 100%;
}

/* Responsive Breakpoints */
@media (max-width: 1240px) {
  .nav-est-btn {
    display: none;
  }
  .nav-links > li > a {
    padding: 8px 9px;
    font-size: 0.84rem;
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .web3-layout,
  .estimator-grid,
  .contact-grid,
  .founder-spotlight {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .founder-photo-col {
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
  }
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .approach-grid,
  .server-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .team-roster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .top-bar { display: none; }
  .nav-inner {
    height: 72px;
    gap: 10px;
  }
  .brand-logo img {
    height: 32px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    background: rgba(6, 11, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 6px;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links > li > a {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 0.95rem;
    border-radius: 10px;
  }
  .has-dropdown::after {
    display: none;
  }
  .nav-dropdown {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 100%;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid var(--border-subtle);
    box-shadow: none;
    margin-top: 4px;
    padding: 8px;
    border-radius: 10px;
  }
  .has-dropdown.dropdown-open > .nav-dropdown {
    display: flex;
  }
  .has-dropdown.dropdown-open .nav-caret {
    transform: rotate(180deg);
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .section {
    padding: 70px 0;
  }
  .hero {
    padding: 40px 0 64px;
  }
  .hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.4rem);
    line-height: 1.18;
    word-break: break-word;
  }
  .hero-description {
    font-size: 0.98rem;
  }
  .eyebrow {
    font-size: 0.68rem;
    padding: 5px 12px;
    white-space: normal;
    text-align: left;
  }
  .cap-pill {
    font-size: 0.76rem;
    padding: 6px 11px;
    white-space: normal;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-group .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    padding: 14px 18px;
  }
  .command-header {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 14px;
  }
  .command-tabs {
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 2px;
  }
  .command-body {
    padding: 16px 14px;
    font-size: 0.74rem;
    overflow-x: auto;
    min-height: 240px;
  }
  .command-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .client-logo-card {
    height: 70px;
    width: 155px;
    padding: 10px 18px;
  }
  .client-logo-card img {
    max-height: 46px;
    max-width: 120px;
  }
  .services-grid,
  .approach-grid,
  .server-grid,
  .courses-grid,
  .founder-milestones,
  .est-options-grid,
  .form-row,
  .footer-grid,
  .team-roster-grid,
  .web3-deliverables {
    grid-template-columns: minmax(0, 1fr);
  }
  .founder-spotlight,
  .web3-showcase,
  .estimator-card,
  .contact-form-card,
  .web3-detail-panel {
    padding: 24px 18px;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .floating-badge {
    display: none;
  }
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    padding: 11px 16px;
    font-size: 0.82rem;
  }
}


/* ==========================================================================
   EXECUTIVE WHITE / LIGHT THEME ([data-theme="light"])
   Automatically swaps surfaces, borders, text & uses blue gradient Logo.png
   ========================================================================== */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.92);

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;

  --border-subtle: rgba(15, 23, 42, 0.11);
  --border-glow: rgba(37, 99, 235, 0.45);
  --shadow-card: 0 18px 38px -12px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 12px 32px rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .ambient-bg {
  background:
    radial-gradient(circle at 12% 15%, rgba(59, 130, 246, 0.08), transparent 40%),
    radial-gradient(circle at 88% 22%, rgba(139, 92, 246, 0.07), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(6, 182, 212, 0.07), transparent 45%),
    #f8fafc;
}

[data-theme="light"] .cyber-grid {
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
}

[data-theme="light"] .top-bar {
  background: linear-gradient(90deg, #0f172a, #1e3a8a, #0f172a);
  color: #f8fafc;
}

[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .brand-logo img {
  filter: none;
}

[data-theme="light"] .nav-links > li > a {
  color: #1e293b;
}

[data-theme="light"] .nav-links > li > a:hover,
[data-theme="light"] .nav-links > li > a.active {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.1);
}

[data-theme="light"] .nav-pill-new {
  background: #7c3aed;
  border-color: #6d28d9;
  color: #ffffff;
}

[data-theme="light"] .nav-dropdown {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
}

[data-theme="light"] .nav-dropdown a {
  color: #1e293b;
}

[data-theme="light"] .nav-dropdown a:hover {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
}

[data-theme="light"] .mobile-menu-btn {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.35);
  color: #1d4ed8;
}

[data-theme="light"] .mobile-menu-btn:hover,
[data-theme="light"] .mobile-menu-btn.active {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
}

@media (max-width: 980px) {
  [data-theme="light"] .nav-links {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.14);
  }
  [data-theme="light"] .nav-dropdown {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.1);
  }
}

[data-theme="light"] .eyebrow {
  color: #0369a1 !important;
  background: rgba(2, 132, 199, 0.1) !important;
  border-color: rgba(2, 132, 199, 0.28) !important;
}

[data-theme="light"] .eyebrow .pulse-dot {
  background: #0284c7;
  box-shadow: 0 0 8px #0284c7;
}

[data-theme="light"] .btn-outline {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.2);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .btn-outline:hover {
  border-color: #2563eb;
  color: #1d4ed8;
  background: #eff6ff;
}

[data-theme="light"] .cap-pill {
  background: #ffffff;
  color: #1e293b;
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .cap-pill i {
  color: #0284c7;
}

[data-theme="light"] .floating-badge {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
}

[data-theme="light"] .fb-text strong {
  color: #0f172a;
}

[data-theme="light"] .fb-text span {
  color: #475569;
}

[data-theme="light"] .clients-bar,
[data-theme="light"] .section-alt {
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
}

[data-theme="light"] .filter-btn {
  background: #ffffff;
  color: #1e293b;
  border-color: rgba(15, 23, 42, 0.15);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .filter-btn:hover {
  color: #1d4ed8;
  border-color: #2563eb;
  background: #eff6ff;
}

[data-theme="light"] .filter-btn.active {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

[data-theme="light"] .service-card,
[data-theme="light"] .approach-card,
[data-theme="light"] .server-card,
[data-theme="light"] .course-card,
[data-theme="light"] .office-card,
[data-theme="light"] .contact-form-card,
[data-theme="light"] .testimonial-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.11);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .service-card.featured-blockchain {
  background: linear-gradient(160deg, #f5f3ff 0%, #ffffff 65%);
  border-color: rgba(124, 58, 237, 0.35);
}

[data-theme="light"] .server-card.popular {
  background: linear-gradient(180deg, #ecfeff 0%, #ffffff 65%);
  border-color: #0891b2;
}

[data-theme="light"] .service-icon {
  background: rgba(37, 99, 235, 0.09);
  border-color: rgba(37, 99, 235, 0.22);
  color: #1d4ed8;
}

[data-theme="light"] .service-tag {
  background: rgba(2, 132, 199, 0.1) !important;
  color: #0369a1 !important;
  border-color: rgba(2, 132, 199, 0.25) !important;
}

[data-theme="light"] .service-card h3,
[data-theme="light"] .approach-card h3,
[data-theme="light"] .server-card h3,
[data-theme="light"] .course-card h3,
[data-theme="light"] .founder-name,
[data-theme="light"] .milestone-box strong,
[data-theme="light"] .member-meta strong,
[data-theme="light"] .pillar-info h4,
[data-theme="light"] #w3-title,
[data-theme="light"] #summary-domain,
[data-theme="light"] .contact-form-card h3 {
  color: #0f172a !important;
}

[data-theme="light"] .service-features li,
[data-theme="light"] .server-specs li,
[data-theme="light"] .deliverable-box {
  color: #1e293b;
}

[data-theme="light"] .service-features li i,
[data-theme="light"] .server-specs li i {
  color: #0284c7;
}

[data-theme="light"] .stack-chip {
  background: #f1f5f9;
  color: #334155;
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .web3-showcase,
[data-theme="light"] .estimator-card,
[data-theme="light"] .founder-spotlight {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .web3-pillar-btn,
[data-theme="light"] .web3-detail-panel,
[data-theme="light"] .deliverable-box,
[data-theme="light"] .est-option,
[data-theme="light"] .est-summary,
[data-theme="light"] .est-result-box,
[data-theme="light"] .milestone-box,
[data-theme="light"] .member-pill,
[data-theme="light"] .tech-node {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.13);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .est-option.selected,
[data-theme="light"] .web3-pillar-btn.active {
  background: #eff6ff;
  border-color: #2563eb;
  color: #1e3a8a;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .chain-badge {
  background: #f1f5f9;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.14);
}

[data-theme="light"] .est-step-label,
[data-theme="light"] .form-group label,
[data-theme="light"] .contact-form-card label {
  color: #0f172a;
}

[data-theme="light"] .est-price-tag,
[data-theme="light"] .founder-title,
[data-theme="light"] .office-card h4 {
  color: #1d4ed8;
}

[data-theme="light"] .founder-exp-badge {
  background: rgba(15, 23, 42, 0.92);
}

[data-theme="light"] .form-control {
  background: #f8fafc;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.2);
}

/* Light Mode Footer Styling */
[data-theme="light"] .site-footer {
  background: #ffffff;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .footer-col h4 {
  color: #0f172a;
}

[data-theme="light"] .footer-links a,
[data-theme="light"] .footer-col p,
[data-theme="light"] .footer-links li {
  color: #475569 !important;
}

[data-theme="light"] .footer-links li strong {
  color: #0f172a !important;
}

[data-theme="light"] .footer-links a:hover {
  color: #1d4ed8 !important;
}

[data-theme="light"] .social-btn {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.12);
  color: #1e293b;
}

[data-theme="light"] .social-btn:hover {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
}

[data-theme="light"] .footer-bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  color: #475569;
}

[data-theme="light"] .footer-bottom a {
  color: #475569 !important;
}

[data-theme="light"] .footer-bottom a:hover {
  color: #1d4ed8 !important;
}

/* Theme Toggle Button in Navbar */
.theme-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: var(--brand-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.92rem;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: var(--gradient-brand);
  color: #fff;
  transform: rotate(15deg) scale(1.05);
}

/* ==========================================================================
   MOUSE-TRACKING RADIAL SPOTLIGHT GLOW & SCROLL REVEAL
   ========================================================================== */
.service-card,
.approach-card,
.server-card,
.course-card,
.testimonial-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
}

.service-card::after,
.server-card::after,
.course-card::after,
.testimonial-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    420px circle at var(--mouse-x) var(--mouse-y),
    rgba(56, 189, 248, 0.13),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-card:hover::after,
.server-card:hover::after,
.course-card:hover::after,
.testimonial-card:hover::after {
  opacity: 1;
}

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   FULL-STACK TECH ECOSYSTEM SHOWCASE & TESTIMONIALS
   ========================================================================== */
.tech-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.tech-node {
  background: rgba(13, 21, 46, 0.72);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  transition: all 0.25s ease;
}

.tech-node i {
  font-size: 1.75rem;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tech-node span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.tech-node small {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tech-node:hover {
  transform: translateY(-5px);
  border-color: var(--brand-cyan);
  box-shadow: var(--shadow-glow);
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
}

.stars-row {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 14px;
  display: flex;
  gap: 4px;
}

.testimonial-quote {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   LEGAL PAGES (Terms, Privacy Policy, Refund Policy)
   ========================================================================== */
.legal-hero {
  padding: 70px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 52px;
  max-width: 980px;
  margin: 50px auto 90px;
  box-shadow: var(--shadow-card);
}

.legal-content-card h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--text-primary);
  margin: 32px 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-content-card h2:first-of-type {
  margin-top: 0;
}

.legal-content-card h2 i {
  color: var(--brand-cyan);
  font-size: 1.15rem;
}

.legal-content-card p,
.legal-content-card li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content-card ul {
  padding-left: 22px;
  margin-bottom: 18px;
}

.legal-nav-pills {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

@media (max-width: 1100px) {
  .tech-ecosystem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tech-ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .legal-content-card {
    padding: 28px 20px;
  }
}


/* ==========================================================================
   CUSTOM COMPACT MULTI-LANGUAGE DROPDOWN (ENG ▾) & MOBILE MENU CTA
   ========================================================================== */
.lang-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.lang-trigger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.lang-trigger-btn i.fa-globe {
  color: var(--brand-cyan);
  font-size: 0.9rem;
}

.lang-caret {
  font-size: 0.65rem;
  opacity: 0.75;
  transition: transform 0.2s ease;
}

.lang-dropdown-wrap.open .lang-caret {
  transform: rotate(180deg);
}

.lang-trigger-btn:hover,
.lang-dropdown-wrap.open .lang-trigger-btn {
  border-color: var(--brand-cyan);
  background: rgba(59, 130, 246, 0.2);
}

.lang-menu-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 290px;
  background: rgba(8, 13, 30, 0.98);
  border: 1px solid rgba(59, 130, 246, 0.38);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55), 0 0 24px rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transition: all 0.2s ease;
  z-index: 1200;
}

.lang-dropdown-wrap.open .lang-menu-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-menu-header {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 4px 6px 10px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 8px;
}

.lang-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  max-height: 310px;
  overflow-y: auto;
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-subtle);
  color: #e2e8f0;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: left;
}

.lang-opt .l-code {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.18);
  color: var(--brand-cyan);
  flex-shrink: 0;
}

.lang-opt .l-name {
  font-size: 0.82rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-opt:hover {
  border-color: var(--brand-cyan);
  background: rgba(59, 130, 246, 0.18);
  transform: translateY(-1px);
}

.lang-opt.active {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #ffffff;
}

.lang-opt.active .l-code {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* Light Mode Custom Language Dropdown */
[data-theme="light"] .lang-trigger-btn {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.32);
  color: #1e3a8a;
}

[data-theme="light"] .lang-trigger-btn i.fa-globe {
  color: #1d4ed8;
}

[data-theme="light"] .lang-menu-popover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
}

[data-theme="light"] .lang-opt {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

[data-theme="light"] .lang-opt .l-code {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

[data-theme="light"] .lang-opt:hover {
  background: #eff6ff;
  border-color: #2563eb;
}

[data-theme="light"] .lang-opt.active {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
}

[data-theme="light"] .lang-opt.active .l-code {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

/* Mobile Menu CTA Block (Below Contact inside Hamburger Menu) */
.mobile-menu-cta {
  display: none;
}

@media (max-width: 980px) {
  .nav-quote-btn {
    display: none !important;
  }
  .nav-inner {
    height: 70px;
    gap: 8px;
  }
  .brand-logo img {
    height: 30px;
    max-width: 148px;
  }
  .nav-actions {
    gap: 8px;
  }
  .lang-trigger-btn {
    height: 38px;
    padding: 0 10px;
    font-size: 0.76rem;
  }
  .theme-toggle-btn,
  .mobile-menu-btn {
    width: 38px;
    height: 38px;
  }
  .mobile-menu-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
  }
  .mobile-menu-cta .btn {
    padding: 13px 18px !important;
    font-size: 0.94rem !important;
    border-radius: 12px !important;
  }
  .mobile-menu-cta .btn-primary {
    color: #ffffff !important;
  }
}

@media (max-width: 400px) {
  .brand-logo img {
    height: 26px;
    max-width: 124px;
  }
  .lang-menu-popover {
    right: -44px;
    width: 272px;
  }
}

/* Hide Google Translate top banner & tooltips completely */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover,
.skiptranslate > iframe {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
}

body {
  top: 0px !important;
  position: static !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}


/* ==========================================================================
   SEO FAQ ACCORDION SECTION & FOOTER SEO KEYWORD DIRECTORY
   ========================================================================== */
.faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item.active {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-glow);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-question i {
  color: var(--brand-cyan);
  font-size: 0.9rem;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  display: block;
}

[data-theme="light"] .faq-item {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.11);
  box-shadow: 0 6px 20px -8px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .faq-item.active {
  border-color: #2563eb;
}

[data-theme="light"] .faq-question i {
  color: #1d4ed8;
}

.seo-directory-bar {
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.seo-directory-bar strong {
  color: var(--text-secondary);
  margin-right: 6px;
}

[data-theme="light"] .seo-directory-bar {
  border-top: 1px solid rgba(15, 23, 42, 0.09);
  color: #64748b;
}

[data-theme="light"] .seo-directory-bar strong {
  color: #1e293b;
}
