/* ==========================================================================
   SM SECURE STUDIO - Executive-Grade B2B Security Platform
   Color Palette: Deep Slate/Zinc (#09090b / #121217), Subtle 1px borders (#27272a),
   Controlled Accents (#06b6d4 / #0284c7 / #10b981), Pure Sans Typography.
   ========================================================================== */

:root {
  --bg-primary: #09090b;
  --bg-secondary: #121217;
  --card-bg: rgba(18, 18, 23, 0.72);
  --card-bg-hover: rgba(24, 24, 32, 0.85);
  --card-border: #27272a;
  --card-border-glow: #3f3f46;
  --card-border-emerald: rgba(16, 185, 129, 0.25);

  --accent-cyan: #06b6d4;
  --accent-cyan-subtle: rgba(6, 182, 212, 0.12);
  --accent-emerald: #10b981;
  --accent-emerald-subtle: rgba(16, 185, 129, 0.12);
  --accent-amber: #f59e0b;
  --accent-crimson: #ef4444;

  --text-primary: #f8fafc;
  --text-muted: #a1a1aa;
  --text-dim: #94a3b8;

  --font-sans: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Ensure Font Awesome glyphs use font-display: swap to prevent Flash of Invisible Text (FOIT) */
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2") format("woff2");
}

@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-brands-400.woff2") format("woff2");
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
}

body {
  position: relative;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  min-height: 100vh;
  line-height: 1.6;
}

/* Atmospheric Background - Subtle & Executive */
.digital-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -3;
}

.scanlines {
  display: none; /* Removed retro hacker scanlines for executive enterprise aesthetic */
}

.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -4;
}

.aurora-blob {
  position: absolute;
  filter: blur(160px);
  border-radius: 50%;
  opacity: 0.07;
}

.aurora-blob.one {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-cyan), transparent);
  top: -150px;
  right: -100px;
}

.aurora-blob.two {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #3b82f6, transparent);
  bottom: 10%;
  left: -200px;
}

.aurora-blob.three {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-emerald), transparent);
  top: 45%;
  right: 15%;
  opacity: 0.05;
}

/* Typography & Layout Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
  font-size: 1rem;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #38bdf8;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section Architecture */
section {
  padding: 96px 0;
  position: relative;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.section-divider {
  width: 48px;
  height: 2px;
  background: var(--card-border-glow);
  margin: 18px auto 0 auto;
  border-radius: var(--radius-full);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth), background var(--transition-smooth);
}

.glass-card:hover {
  background: var(--card-bg-hover);
  border-color: var(--card-border-glow);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

/* Buttons System - Professional B2B Aesthetics */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
  border: none;
  outline: none;
  text-decoration: none;
}

.upi-mobile-btn {
  will-change: transform;
}

.hero-svg-icon {
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-primary {
  background: #0369a1;
  color: #ffffff;
  font-weight: 600;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(24, 24, 32, 0.8);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(39, 39, 42, 0.9);
  border-color: #3f3f46;
  color: #fff;
  transform: translateY(-1px);
}

.btn-emerald {
  background: #047857;
  color: #ffffff;
  font-weight: 600;
  border: 1px solid rgba(52, 211, 153, 0.3);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-emerald:hover {
  background: #059669;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   TOP STICKY NAVBAR
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  transition: all var(--transition-fast);
}

.header.scrolled {
  background: rgba(9, 9, 11, 0.96);
  border-bottom-color: #3f3f46;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #18181b;
  color: #38bdf8;
  font-weight: 700;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  border: 1px solid #27272a;
  border-radius: var(--radius-sm);
}

.logo-text-box {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.logo-subtitle {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  color: #cbd5e1;
  letter-spacing: 0.08em;
}

/* Quick Status Indicator in Navbar */
.nav-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(18, 18, 23, 0.75);
  border: 1px solid var(--card-border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.status-dot-pulse {
  width: 7px;
  height: 7px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #38bdf8;
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  transition: all var(--transition-fast);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO DASHBOARD SECTION
   ========================================================================== */
.hero {
  padding: 80px 0 100px 0;
  position: relative;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero-badge-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(18, 18, 23, 0.8);
  border: 1px solid var(--card-border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: #e4e4e7;
}

.hero-badge-bar i {
  color: #38bdf8;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-subtitle-box {
  min-height: 36px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  color: #38bdf8;
  font-weight: 600;
}

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

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Holographic Profile Badge */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.profile-container {
  position: relative;
  width: 100%;
  max-width: 350px;
  height: 480px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.profile-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: #121217;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}

.profile-image-wrap {
  width: 100%;
  flex: 1;
  min-height: 0;
  height: 395px;
  position: relative;
  overflow: hidden;
  background: #18181b;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  display: block;
}

.profile-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #18181b 0%, #09090b 100%);
  color: #38bdf8;
}

.profile-avatar-fallback i {
  font-size: 4.5rem;
  margin-bottom: 12px;
  opacity: 0.85;
}

.profile-laser-line {
  display: none; /* Removed sci-fi laser scan for corporate B2B credibility */
}

.profile-badge-footer {
  padding: 16px 20px;
  background: #18181b;
  border-top: 1px solid var(--card-border);
  position: relative;
  z-index: 2;
}

.profile-badge-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.profile-badge-sub {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Floating Badges - Clean Executive Tags */
.floating-badge {
  position: absolute;
  background: rgba(18, 18, 23, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--card-border);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: #f4f4f5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 3;
}

.floating-badge.one {
  top: 15px;
  right: -5px;
  border-color: rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

.floating-badge.two {
  bottom: 88px;
  left: -10px;
  border-color: rgba(52, 211, 153, 0.3);
  color: #34d399;
}

/* ==========================================================================
   ABOUT & STATS SECTION
   ========================================================================== */
.about {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

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

.about-desc p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.stat-card {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-md);
}

.stat-val {
  display: block;
  font-family: var(--font-sans);
  font-size: 2.2rem;
  font-weight: 800;
  color: #f4f4f5;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.stat-lbl {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.stat-lbl {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* Code Panel (security-profile.json) */
.code-panel {
  background: #090d16;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.code-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.7);
  border-bottom: 1px solid var(--card-border);
}

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

.loader-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}

.loader-dots span:nth-child(1) { background: #ef4444; }
.loader-dots span:nth-child(2) { background: #f59e0b; }
.loader-dots span:nth-child(3) { background: #10b981; }

.code-panel-file {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.code-panel-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.7;
  overflow-x: auto;
}

.code-line {
  display: flex;
  gap: 16px;
}

.code-num {
  color: #94a3b8;
  user-select: none;
  min-width: 20px;
  text-align: right;
}

.code-text {
  color: #e2e8f0;
}

.c-keyword { color: #f43f5e; font-weight: 600; }
.c-var { color: #38bdf8; }
.c-string { color: #a3e635; }
.c-bool { color: #fb923c; }

/* ==========================================================================
   COMPLIMENTARY WEBSITE AUDIT LEAD SECTION (#free-audit)
   ========================================================================== */
.free-audit-section {
  padding: 60px 0 20px 0;
  position: relative;
  z-index: 2;
}

.free-audit-card {
  padding: 44px;
  background: linear-gradient(135deg, rgba(24, 24, 27, 0.75) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.free-audit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-emerald), transparent);
}

.free-audit-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.free-audit-info .section-badge {
  margin-bottom: 14px;
}

.free-audit-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
}

.free-audit-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}

.free-audit-perks {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.free-audit-perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.free-audit-perks li i {
  color: var(--accent-emerald);
  margin-top: 3px;
  font-size: 1rem;
  flex-shrink: 0;
}

.free-audit-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: #6ee7b7;
}

.free-audit-form-wrap {
  background: rgba(9, 9, 11, 0.65);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.free-audit-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.free-audit-form select.form-field {
  background: #18181b;
  color: #fff;
  cursor: pointer;
}

.audit-status-banner {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-top: 14px;
  animation: fadeIn 0.3s ease;
}

.audit-status-banner.success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #a7f3d0;
}

.audit-status-banner.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fecaca;
}

@media (max-width: 992px) {
  .free-audit-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .free-audit-card {
    padding: 30px 20px;
  }
}

/* ==========================================================================
   SERVICES & REVENUE BENTO HUB (6 PILLARS)
   ========================================================================== */
.services-section {
  position: relative;
  background: var(--bg-primary);
}

.services-filter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}

.service-tab-btn {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.service-tab-btn:hover {
  background: rgba(30, 41, 59, 0.7);
  color: #fff;
  border-color: rgba(6, 182, 212, 0.3);
}

.service-tab-btn.active {
  background: #18181b;
  border-color: #3f3f46;
  color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.bento-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
  gap: 28px;
}

.bento-service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px 32px;
  background: #121217;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all var(--transition-smooth);
}

.bento-service-card:hover {
  background: #18181f;
  border-color: var(--card-border-glow);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.5);
}

.bento-card-header {
  margin-bottom: 24px;
}

.bento-card-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.bento-badge-category {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #cbd5e1;
  letter-spacing: 0.05em;
}

.bento-badge-highlight {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  color: #d4d4d8;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bento-service-title {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 700;
  color: #f4f4f5;
  margin-bottom: 14px;
  line-height: 1.35;
}

.bento-pricing-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 24px;
}

.bento-price-tag {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.bento-billing-type {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 500;
  color: #cbd5e1;
}

.bento-deliverables-list {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.bento-deliverables-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 400;
  font-style: normal;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

.bento-deliverables-list li i {
  color: #38bdf8;
  font-size: 0.85rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.bento-card-action {
  margin-top: auto;
}

.bento-card-action .btn {
  width: 100%;
}

/* ==========================================================================
   JOIN THE CYBER & TECH SQUAD (#join-squad)
   ========================================================================== */
.squad-section {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

.squad-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.squad-perks-list {
  list-style: none;
  margin: 28px 0;
}

.squad-perks-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.squad-perks-list li i {
  font-size: 1.1rem;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 8px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.squad-perk-text h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.squad-perk-text p {
  font-size: 0.92rem;
}

/* Squad Member ID Card Preview */
.squad-card-preview {
  position: relative;
  background: linear-gradient(145deg, #0e172a 0%, #070a12 100%);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.squad-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.squad-card-logo {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

.squad-card-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.squad-card-id-num {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 16px;
}

.squad-card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.squad-meta-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.squad-meta-item strong {
  font-size: 0.92rem;
  color: #e2e8f0;
}

.squad-card-barcode {
  height: 36px;
  background: repeating-linear-gradient(
    90deg,
    #fff,
    #fff 2px,
    transparent 2px,
    transparent 4px,
    #fff 4px,
    #fff 7px,
    transparent 7px,
    transparent 9px
  );
  opacity: 0.7;
  border-radius: 4px;
}

/* ==========================================================================
   EXPERIENCE TIMELINE & CERTIFICATIONS
   ========================================================================== */
.experience {
  background: var(--bg-primary);
}

.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 36px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 8px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-emerald), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 38px;
}

.timeline-node {
  position: absolute;
  top: 12px;
  left: -36px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
}

.timeline-card {
  padding: 24px;
}

.timeline-header {
  margin-bottom: 12px;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-emerald);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.timeline-comp {
  font-size: 0.95rem;
  color: var(--accent-cyan);
}

.timeline-body {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Certifications Showcase */
.certs-section {
  background: var(--bg-secondary);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 24px;
}

.cert-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.cert-icon {
  font-size: 1.8rem;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.cert-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
  color: #fff;
}

.cert-issuer {
  font-size: 0.88rem;
  color: var(--accent-emerald);
  font-weight: 600;
  margin-bottom: 4px;
}

.cert-date {
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.cert-id {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.8);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  word-break: break-all;
}

/* ==========================================================================
   CASE STUDIES SECTION & MODAL
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 28px;
}

.project-card {
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-img-box {
  position: relative;
  width: 100%;
  height: 200px;
  background: #111827;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-preview-icon {
  font-size: 3.5rem;
  color: var(--accent-cyan);
  opacity: 0.75;
  transition: transform var(--transition-smooth);
}

.project-card:hover .case-preview-icon {
  transform: scale(1.1);
  color: var(--accent-emerald);
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.project-tag {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  color: #d4d4d8;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.project-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

/* Modal Popup Overlay (Zero Initial Layout Shift & Hardware Accelerated) */
.modal-overlay,
#modalOverlay,
#upiModalOverlay,
.modal-wrapper,
.upi-modal-wrapper {
  display: none !important;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active,
#modalOverlay.active,
#upiModalOverlay.active {
  display: flex !important;
}

.modal-overlay.active .modal-wrapper,
#modalOverlay.active .modal-wrapper,
#upiModalOverlay.active .upi-modal-wrapper {
  display: flex !important;
}

.modal-wrapper {
  background: #0d1322;
  border: 1px solid var(--card-border-glow);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--card-border);
}

.modal-title-box h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-nav-tabs {
  display: flex;
  padding: 0 28px;
  border-bottom: 1px solid var(--card-border);
  background: rgba(15, 23, 42, 0.5);
}

.modal-tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 14px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

.modal-tab-btn:hover {
  color: #fff;
}

.modal-tab-btn.active {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

.modal-content-area {
  padding: 28px;
  overflow-y: auto;
  flex-grow: 1;
}

.modal-pane {
  display: none;
}

.modal-pane.active {
  display: block;
}

.modal-pane h4 {
  font-size: 1.1rem;
  margin-bottom: 14px;
  color: #fff;
}

.modal-list {
  list-style: none;
}

.modal-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.modal-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

.modal-tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-tool-pill {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 28px;
  border-top: 1px solid var(--card-border);
  background: rgba(15, 23, 42, 0.6);
}

/* ==========================================================================
   INITIATE CONTACT & SCOPE FORM
   ========================================================================== */
.contact {
  background: var(--bg-secondary);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: flex-start;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.contact-info p {
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-node {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-node-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.contact-node-detail {
  display: flex;
  flex-direction: column;
}

.contact-lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #cbd5e1;
  letter-spacing: 0.05em;
}

.contact-val {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.social-rack {
  display: flex;
  gap: 12px;
}

.social-rack-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.social-rack-btn:hover {
  background: var(--accent-cyan);
  color: #07090e;
  transform: translateY(-2px);
}

/* Contact Scope Form */
.contact-form-box {
  padding: 36px;
}

.form-row-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #e2e8f0;
}

.form-field {
  width: 100%;
  background: rgba(11, 15, 25, 0.8);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-field:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.2);
}

/* Honeypot field (hidden from legitimate users, traps bots) */
.honeypot-input {
  opacity: 0 !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
}

/* Footer */
.footer {
  background: #040609;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  padding: 44px 0 36px 0;
  width: 100%;
  position: relative;
  z-index: 10;
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}

.footer-copy {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  display: inline-block;
  padding: 4px 0;
}

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

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1400px) {
  .nav-status-pill {
    display: none;
  }
  .nav-menu {
    gap: 18px;
  }
  .nav-link {
    font-size: 0.88rem;
  }
}

@media (max-width: 1024px) {
  .hero-layout, .about-layout, .squad-layout, .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    order: -1;
    margin: 0 auto;
  }
  .nav-status-pill {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(9, 9, 11, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 28px 24px 36px 24px;
    gap: 18px;
    transform: translateY(-150%);
    transition: transform var(--transition-smooth);
    border-bottom: 1px solid var(--card-border);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    z-index: 999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }
  .nav-menu.active {
    transform: translateY(0);
  }
  .nav-menu .nav-link {
    font-size: 1.05rem;
    padding: 8px 0;
    width: 100%;
    border-bottom: 1px solid rgba(39, 39, 42, 0.4);
  }
  .nav-menu .nav-link:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
    word-break: break-word;
  }
  .hero-title {
    font-size: 2.3rem;
    word-break: break-word;
  }
  .hero {
    padding: 60px 0 80px 0;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .form-row-dual {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 14px;
  }
  .bento-services-grid, .projects-grid, .certs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .bento-service-card {
    padding: 24px 20px;
  }
  .floating-badge.one {
    right: 0px;
    top: 10px;
  }
  .floating-badge.two {
    left: -5px;
    bottom: 84px;
  }
  .contact-form-box {
    padding: 24px 18px;
  }
  .footer {
    padding: 36px 0 28px 0;
  }
  .footer-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .footer-links {
    justify-content: center;
    gap: 12px 18px;
    width: 100%;
  }
  .footer-copy {
    text-align: center;
    font-size: 0.85rem;
  }
}

@media (max-width: 540px) {
  .nav-actions .btn-sm {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .hero-title {
    font-size: 1.95rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .profile-container {
    max-width: 280px;
    height: 330px;
  }
  .profile-image-wrap {
    height: 220px;
  }
  .floating-badge {
    font-size: 0.65rem;
    padding: 6px 10px;
  }
  .floating-badge.one {
    right: 0px;
    top: 8px;
  }
  .floating-badge.two {
    left: -4px;
    bottom: 74px;
  }
  .stat-val {
    font-size: 1.8rem;
  }
  .footer {
    padding: 30px 0 24px 0;
  }
  .footer-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    width: 100%;
  }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 10px;
    width: 100%;
  }
  .footer-links a {
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
  }
  .footer-links a:hover, .footer-links a:active {
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.08);
    border-color: rgba(6, 182, 212, 0.25);
  }
  .footer-copy {
    font-size: 0.8rem;
    line-height: 1.6;
    text-align: center;
    padding: 0 4px;
    color: var(--text-dim);
  }
}

/* Executive Lab Teaser Card */
.lab-teaser-card {
  background: #121217;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  transition: all var(--transition-smooth);
}

.lab-teaser-card:hover {
  border-color: var(--card-border-glow);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5);
}

.lab-teaser-content {
  max-width: 680px;
}

.lab-teaser-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.lab-teaser-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.lab-teaser-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.lab-teaser-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: #e4e4e7;
}

.lab-teaser-features span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lab-teaser-features span i {
  color: #38bdf8;
}

.lab-teaser-action {
  flex-shrink: 0;
}

/* Secondary Offerings Banner */
.secondary-offerings-banner {
  background: #121217;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.secondary-offerings-text h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.secondary-offerings-text p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.secondary-offerings-links {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

@media (max-width: 820px) {
  .lab-teaser-card, .secondary-offerings-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
  }
  .secondary-offerings-links {
    width: 100%;
    flex-direction: column;
  }
  .secondary-offerings-links .btn {
    width: 100%;
  }
}
