/* ============================================
   N3Rah – Luxury Software & Web Engineering CSS
   Obsidian Dark Mode | Glassmorphism | 3D Tilt
   Interactive Estimator | Modals | Micro-Interactions
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600;1,700&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Space+Mono:wght@400;700&display=swap');

:root {
  --bg-deep: #030712;
  --bg-main: #0b0f19;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(99, 102, 241, 0.5);

  --accent: #6366f1;
  /* Indigo primary */
  --accent2: #a855f7;
  /* Purple accent */
  --accent3: #06b6d4;
  /* Cyan highlight */
  --accent-gold: #f59e0b;
  /* Amber gold hint */
  --green: #10b981;

  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --gradient: linear-gradient(135deg, var(--accent), var(--accent2));
  --gradient-gold: linear-gradient(135deg, #f59e0b, #ec4899);
  --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.5), rgba(168, 85, 247, 0.5));

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 50px rgba(99, 102, 241, 0.25);

  --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --font: 'Montserrat', 'Plus Jakarta Sans', sans-serif;
  --font-title: 'Montserrat', 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

/* ---------- LIGHT THEME OVERRIDES ---------- */
body.light {
  --bg-deep: #f8fafc;
  --bg-main: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: rgba(255, 255, 255, 1);
  --border: rgba(99, 102, 241, 0.22);
  --border-glow: rgba(99, 102, 241, 0.45);

  --text-primary: #020617;
  --text-secondary: #1e293b;
  --text-muted: #475569;

  --shadow-sm: 0 4px 16px rgba(99, 102, 241, 0.08);
  --shadow-md: 0 12px 40px rgba(99, 102, 241, 0.12);
  --shadow-glow: 0 0 50px rgba(99, 102, 241, 0.15);
}

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

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

*,
*::before,
*::after {
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.3s ease, box-shadow 0.4s ease;
}

.reveal,
.cursor-dot,
.cursor-ring,
.tech-marquee-content {
  transition-duration: unset !important;
}

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

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ---------- AMBIENT GLOW BACKGROUNDS ---------- */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ambient-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.18;
}

.bg-glow-1 {
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

.bg-glow-2 {
  bottom: 10%;
  right: -100px;
  background: radial-gradient(circle, var(--accent2) 0%, transparent 70%);
}

body.light .ambient-glow {
  opacity: 0.25;
}

/* ---------- STANDARD NORMAL SYSTEM CURSOR ---------- */
.cursor-dot,
.cursor-ring {
  display: none !important;
}

/* ---------- CONTAINER ---------- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* ---------- AIRTABLE-STYLE MODERN HEADER NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 74px;
  z-index: 1000;
  background: rgba(3, 7, 18, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

body.light .navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 1.2vw, 1.5rem);
}

.nav-logo,
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid rgba(99, 102, 241, 0.5);
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), 0 0 14px rgba(99, 102, 241, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}

.footer-logo-img,
.footer-brand img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(99, 102, 241, 0.45);
  object-fit: cover;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.55), 0 0 18px rgba(99, 102, 241, 0.3);
  transition: transform 0.25s ease;
}

.nav-logo:hover .nav-logo-img,
.footer-logo:hover .footer-logo-img {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 6px 22px rgba(99, 102, 241, 0.55);
}

.logo-name-row {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: center;
  letter-spacing: -0.4px;
}

.logo-n {
  color: var(--text-primary);
}

.logo-3 {
  color: var(--accent);
}

.logo-rah {
  color: var(--accent2);
}

.logo-tech {
  font-family: var(--font-title);
  font-size: 0.7rem;
  color: var(--accent3);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(6, 182, 212, 0.12);
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid rgba(6, 182, 212, 0.3);
  margin-left: 0.35rem;
}

.nav-tagline {
  font-family: var(--font-title);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-top: 3px;
  line-height: 1.2;
  white-space: nowrap !important;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  margin-left: clamp(0.75rem, 1.2vw, 1.5rem);
  min-width: 0;
}

.nav-group-left {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 0.9vw, 1.25rem);
  flex-shrink: 1;
  min-width: 0;
}

.nav-link {
  font-size: clamp(0.78rem, 0.85vw, 0.88rem);
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.35rem 0.15rem;
  white-space: nowrap;
}

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

.nav-link.active {
  color: var(--text-primary);
  font-weight: 700;
}

.dropdown-chevron {
  transition: transform 0.2s ease;
  opacity: 0.7;
}

.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 270px;
  background: rgba(11, 15, 25, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
}

body.light .nav-dropdown-menu {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dropdown-link-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(3px);
}

body.light .dropdown-link-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

.dd-icon {
  font-size: 1.25rem;
}

.dd-text {
  display: flex;
  flex-direction: column;
}

.dd-text strong {
  font-size: 0.86rem;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

.dd-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Right Nav Actions (Contact Sales, Get Proposal, Free Audit) */
.nav-actions-right {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.6vw, 10px);
  flex-shrink: 0;
  margin-left: 1rem;
}

.btn-nav-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.42rem 0.85rem;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-primary);
  background: transparent;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-nav-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-nav-outline.active {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.6);
  color: #a5b4fc;
}

body.light .btn-nav-outline {
  border-color: rgba(15, 23, 42, 0.2);
  color: #0f172a;
}

body.light .btn-nav-outline:hover {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.4);
}

body.light .btn-nav-outline.active {
  background: rgba(99, 102, 241, 0.12);
  border-color: #6366f1;
  color: #4f46e5;
}

.btn-nav-primary {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border: none;
  border-radius: 8px;
  padding: 0.45rem 1rem;
  font-weight: 700;
  font-size: 0.82rem;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-nav-primary:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.55);
}

/* Free Audit CTA Navigation Badge Button */
.btn-nav-audit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(168, 85, 247, 0.22));
  border: 1px solid rgba(99, 102, 241, 0.5);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.25);
  transition: all 0.22s ease;
  flex-shrink: 0;
}

.btn-nav-audit .audit-sparkle {
  color: #f59e0b;
  font-size: 0.85rem;
  line-height: 1;
  display: inline-block;
  animation: sparkleTwinkle 2s ease-in-out infinite alternate;
}

.btn-nav-audit:hover {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  border-color: #818cf8;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.5);
}

.btn-nav-audit:hover .audit-sparkle {
  color: #fef08a;
}

/* Light Theme: Font Color and Background adapt cleanly */
body.light .btn-nav-audit {
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
  border: 1.5px solid #6366f1;
  color: #312e81;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.15);
}

body.light .btn-nav-audit .audit-sparkle {
  color: #d97706;
}

body.light .btn-nav-audit:hover {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-color: #4f46e5;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

body.light .btn-nav-audit:hover .audit-sparkle {
  color: #fef08a;
}

@keyframes sparkleTwinkle {
  0% {
    transform: scale(0.9) rotate(0deg);
    opacity: 0.85;
  }

  100% {
    transform: scale(1.18) rotate(15deg);
    opacity: 1;
  }
}

.btn-nav-signin {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.42rem 0.5rem;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.btn-nav-signin:hover {
  color: var(--text-primary);
}

/* Intermediate screen responsiveness: hide redundant outline contact button below 1280px */
@media (max-width: 1280px) {
  .btn-nav-outline {
    display: none !important;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  transform-origin: center;
}

/* ---------- SECTION COMMONS ---------- */
.section {
  padding: 4.25rem 0;
  position: relative;
  z-index: 1;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header .section-tag,
.section-header .section-title,
.section-header .section-sub,
.section-header .hero-title,
.section-header .hero-sub {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.section-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

.section-sub {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.text-center {
  text-align: center !important;
}

.text-center .section-sub,
.text-center .hero-sub,
.text-center .section-tag,
.text-center .section-title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.cta-section {
  text-align: center !important;
}

.cta-section .container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 2.25rem;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(180, 132, 84, 0.35);
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(180, 132, 84, 0.55);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 2.25rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  background: var(--accent-light);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.12);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible,
.blog-card.visible,
.testimonial-card.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  visibility: visible !important;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.5rem;
  padding: 7.5rem 2rem 4.5rem;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---------- LUXURY HERO BANNER BACKDROP ---------- */
.hero-banner-backdrop {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 120%;
  max-width: 1600px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-banner-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.38;
  filter: saturate(1.3) contrast(1.15);
  transform: scale(1.04);
  animation: heroBannerFloat 22s ease-in-out infinite alternate;
}

@keyframes heroBannerFloat {
  0% {
    transform: scale(1.03) translateY(0px);
  }

  100% {
    transform: scale(1.07) translateY(-14px);
  }
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 45%, rgba(3, 7, 18, 0.1) 0%, rgba(3, 7, 18, 0.78) 72%, var(--bg-deep) 100%),
    linear-gradient(to bottom, rgba(3, 7, 18, 0.75) 0%, transparent 20%, transparent 70%, var(--bg-deep) 100%),
    linear-gradient(to right, var(--bg-deep) 0%, transparent 15%, transparent 85%, var(--bg-deep) 100%);
  pointer-events: none;
}

.hero-banner-grid {
  position: absolute;
  inset: 0;
  background-size: 44px 44px;
  background-image:
    linear-gradient(to right, rgba(99, 102, 241, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(99, 102, 241, 0.06) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 65% 55% at 50% 45%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 45%, black 40%, transparent 80%);
  pointer-events: none;
}

body.light .hero-banner-img {
  opacity: 0.16;
  filter: saturate(1.1) brightness(1.25);
}

body.light .hero-banner-overlay {
  background:
    radial-gradient(ellipse 75% 65% at 50% 45%, rgba(248, 250, 252, 0.2) 0%, rgba(248, 250, 252, 0.85) 72%, var(--bg-deep) 100%),
    linear-gradient(to bottom, rgba(248, 250, 252, 0.8) 0%, transparent 20%, transparent 70%, var(--bg-deep) 100%),
    linear-gradient(to right, var(--bg-deep) 0%, transparent 15%, transparent 85%, var(--bg-deep) 100%);
}

body.light .hero-banner-grid {
  background-image:
    linear-gradient(to right, rgba(99, 102, 241, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
}

.hero-content {
  flex: 1.1;
  max-width: 620px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.typed-wrapper {
  display: inline-block;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-height: 1.2em;
}

.typed-cursor {
  -webkit-text-fill-color: var(--accent);
  animation: blink 0.9s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-top {
  display: flex;
  align-items: baseline;
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-primary);
  line-height: 1;
}

.stat-plus {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.6rem;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero Visual Card Window */
.hero-visual {
  flex: 0.9;
  max-width: 500px;
  position: relative;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  z-index: 2;
}

.hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulseGlow 5s ease-in-out infinite;
}

@keyframes pulseGlow {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.hero-card-window {
  width: 100%;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
}

body.light .hero-card-window {
  background: rgba(255, 255, 255, 0.9);
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

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

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

.dot.red {
  background: #ff5f56;
}

.dot.yellow {
  background: #ffbd2e;
}

.dot.green {
  background: #27c93f;
}

.window-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.window-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--green);
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.window-body {
  padding: 1.25rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.8;
  color: #cbd5e1;
  overflow-x: auto;
  word-break: break-word;
}

body.light .window-body {
  color: #334155;
}

.code-line {
  margin-bottom: 0.2rem;
}

.code-line.indent {
  padding-left: 1.5rem;
}

.c-keyword {
  color: #f472b6;
  font-weight: 700;
}

.c-string {
  color: #38bdf8;
}

.c-prop {
  color: #a78bfa;
}

.c-func {
  color: #34d399;
}

.c-comment {
  color: #64748b;
  font-style: italic;
}

.window-footer {
  padding: 0.85rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1rem;
}

.metric-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Floating Micro Cards */
.floating-card {
  position: absolute;
  background: rgba(11, 15, 25, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: var(--shadow-md);
  z-index: 3;
  animation: floatCard 5s ease-in-out infinite;
}

body.light .floating-card {
  background: rgba(255, 255, 255, 0.92);
}

.fc-icon {
  font-size: 1.4rem;
}

.fc-text {
  display: flex;
  flex-direction: column;
}

.fc-text strong {
  font-size: 0.85rem;
  font-weight: 700;
}

.fc-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.fc1 {
  top: -20px;
  left: -30px;
  animation-delay: 0s;
}

.fc2 {
  bottom: -20px;
  right: -20px;
  animation-delay: 1.8s;
}

.fc3 {
  bottom: 30%;
  left: -40px;
  animation-delay: 0.9s;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* =========================================
   TECH STACK MARQUEE
   ========================================= */
.techstack-section {
  background: var(--bg-main);
  padding: 2.25rem 0;
  border-y: 1px solid var(--border);
}

.tech-marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.tech-marquee-content {
  display: inline-flex;
  gap: 1.25rem;
  animation: marquee 30s linear infinite;
}

.tech-marquee-wrapper:hover .tech-marquee-content {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}

.tech-pill:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* =========================================
   TOP SUMMARY / KEY TAKEAWAY (SEO + AEO)
   ========================================= */
.top-summary {
  padding: 2rem 0 1.5rem;
  position: relative;
}

.summary-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: var(--radius-md);
  text-align: center;
}

.summary-date {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

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

.summary-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.summary-link:hover {
  border-bottom-color: var(--accent);
}

.cta-team-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}

.cta-team-link:hover {
  color: var(--accent2);
}

/* Light theme overrides for top summary */
[data-theme="light"] .summary-inner {
  background: rgba(99, 102, 241, 0.04);
  border-color: rgba(99, 102, 241, 0.15);
}

[data-theme="light"] .summary-date {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text-muted);
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-section {
  background: var(--bg-deep);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

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

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

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

.service-icon-wrap {
  width: 54px;
  height: 54px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: rgba(99, 102, 241, 0.25);
}

.service-icon {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.service-card h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.service-features li {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.service-features li::before {
  content: '✦';
  color: var(--accent);
  font-size: 0.7rem;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition), color var(--transition);
}

.service-link:hover {
  color: var(--accent2);
}

.service-card-cta {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.12));
  border-color: rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-cta-inner {
  text-align: center;
  position: relative;
}

.cta-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
  pointer-events: none;
}

.cta-tag {
  display: block;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.service-cta-inner h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* =========================================
   PROCESS SECTION (METHODOLOGY)
   ========================================= */
.process-section {
  background: var(--bg-main);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
}

.process-step:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.3);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 1rem;
}

.step-content h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.step-tags span {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* =========================================
   PRODUCTS SECTION
   ========================================= */
.products-section {
  background: var(--bg-deep);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.product-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateY(-4px);
}

.product-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-badge.new {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--green);
}

.product-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.product-icon {
  font-size: 2.2rem;
}

.product-info h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
}

.product-category {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.product-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.product-tags span {
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* =========================================
   INTERACTIVE ESTIMATOR SECTION
   ========================================= */
.estimator-section {
  background: var(--bg-main);
}

.estimator-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.estimator-options {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.est-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.est-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.est-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.est-pill {
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.est-pill.active,
.est-pill:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--accent);
  color: var(--text-primary);
}

.est-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.est-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.est-check:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

.est-check input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.estimator-result {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: sticky;
  top: 100px;
}

.result-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.result-price {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.result-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.result-summary {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.2);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  width: 100%;
  margin-bottom: 1.75rem;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-section {
  background: var(--bg-deep);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text .section-title {
  text-align: left;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
  line-height: 1.75;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0;
}

.value-pill {
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
}

.about-visual {
  position: relative;
  height: 400px;
}

.about-card-stack {
  position: relative;
  height: 100%;
}

.about-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.65rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
}

.about-card:hover {
  transform: translateX(8px);
}

.ac-icon {
  font-size: 1.85rem;
  flex-shrink: 0;
}

.about-card div {
  display: flex;
  flex-direction: column;
}

.about-card strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.about-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.ac1 {
  top: 30px;
  left: 0;
  width: 280px;
}

.ac2 {
  top: 140px;
  right: 0;
  width: 280px;
}

.ac3 {
  bottom: 40px;
  left: 30px;
  width: 280px;
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonials-section {
  background: var(--bg-main);
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.testimonial-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
}

.t-stars {
  color: var(--accent-gold);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.testimonial-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  font-style: italic;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.t-author div {
  display: flex;
  flex-direction: column;
}

.t-author strong {
  font-size: 0.92rem;
}

.t-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

/* =========================================
   TEAM SECTION (HOME & STANDALONE)
   ========================================= */
.team-section {
  background: var(--bg-deep);
  position: relative;
  z-index: 1;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.25rem;
  max-width: 1050px;
  margin: 0 auto;
}

.team-member-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.team-member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--transition);
}

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

.team-member-card:hover::before {
  opacity: 1;
}

.member-avatar-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  padding: 5px;
  background: var(--gradient-glow);
  box-shadow: var(--shadow-sm);
}

.member-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  background: var(--bg-main);
  transition: transform 0.3s ease;
}

.team-member-card:hover .member-avatar {
  transform: scale(1.04);
}

.member-role-badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  white-space: nowrap;
  background: var(--bg-card-solid);
  border: 1px solid rgba(180, 132, 84, 0.4);
  color: var(--accent-gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.member-name {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.member-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.member-bio {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  text-align: center;
}

.member-skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.skill-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: var(--accent-light);
  border: 1px solid rgba(180, 132, 84, 0.25);
  color: var(--text-secondary);
}

.member-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
}

.member-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.25s ease;
}

.member-action-btn:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.member-action-btn.btn-nfc {
  grid-column: span 2;
  background: var(--gradient);
  color: #fff;
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(180, 132, 84, 0.3);
}

.member-action-btn.btn-nfc:hover {
  box-shadow: 0 6px 20px rgba(180, 132, 84, 0.5);
}

/* =========================================
   BLOGS & INSIGHTS SECTION
   ========================================= */
.blogs-section {
  background: var(--bg-main);
  position: relative;
  z-index: 1;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 960px) {
  .blogs-grid {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  }
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
}

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

.blog-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.blog-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-thumb {
  transform: scale(1.05);
}

.blog-category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  background: rgba(12, 20, 19, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(180, 132, 84, 0.4);
  color: var(--accent-gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-body {
  padding: 1.75rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.blog-meta-dot {
  opacity: 0.5;
}

.blog-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}

.blog-excerpt {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

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

.blog-author-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.blog-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--accent);
}

.blog-author-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.blog-read-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.blog-read-link:hover {
  gap: 0.6rem;
  color: var(--accent-hover);
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-section {
  background: var(--bg-deep);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

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

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 1.75rem 1.4rem;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-section {
  background: var(--bg-main);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: flex-start;
}

.contact-info .section-title {
  text-align: left;
}

.contact-info>p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.ci-icon {
  width: 48px;
  height: 48px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item div {
  display: flex;
  flex-direction: column;
}

.contact-item strong {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.contact-item a,
.contact-item span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.contact-item a:hover {
  color: var(--accent);
}

/* Contact Form */
.contact-form-wrap {
  background: rgba(11, 15, 25, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(99, 102, 241, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.light .contact-form-wrap {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.form-group label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.88rem;
  min-height: 38px;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group textarea {
  min-height: 75px;
  resize: vertical;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
}

.form-group select option {
  background: #0b0f19;
  color: #f8fafc;
}

body.light .form-group select option {
  background: #f8fafc;
  color: #0f172a;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

/* Security Shield & Form Validation Styling */
.security-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.75rem;
  padding: 0.5rem;
  background: rgba(16, 185, 129, 0.06);
  border: 1px dashed rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-sm);
  text-align: center;
}

.security-badge .shield-icon {
  font-size: 0.95rem;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.08) !important;
}

#hpCheck {
  display: none !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  pointer-events: none !important;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: rgba(3, 7, 18, 0.98);
  border-top: 1px solid var(--border);
  padding: 3rem 0 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

body.light .footer {
  background: rgba(241, 245, 249, 0.98);
}

/* Flat 4-column grid: brand + 3 link columns in one row */
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.5rem 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

/* .footer-links becomes transparent — children flow into parent grid */
.footer-links {
  display: contents;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand .nav-logo {
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  max-width: 260px;
  line-height: 1.55;
}

.footer-socials {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform 0.2s ease;
  text-decoration: none;
  color: var(--text-secondary);
}

.social-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--accent);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
}

.footer-col a {
  font-size: 0.84rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
  text-decoration: none;
  line-height: 1.55;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.15rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  max-width: 1240px;
  margin: 0 auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* =========================================
   PRODUCT SPECS MODAL OVERLAY
   ========================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  max-width: 650px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-md);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
}

.modal-header-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.modal-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.modal-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.modal-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.modal-spec-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.modal-spec-item span {
  color: var(--accent);
  font-weight: 700;
}

/* =========================================
   TOAST NOTIFICATIONS
   ========================================= */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: rgba(11, 15, 25, 0.95);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-md);
  animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   THEME TOGGLE BUTTON
   ========================================= */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.9rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.1);
  color: var(--text-primary);
}

.theme-icon {
  font-size: 1rem;
  line-height: 1;
  display: none;
}

.theme-icon-dark {
  display: inline;
}

body.light .theme-icon-dark {
  display: none;
}

body.light .theme-icon-light {
  display: inline;
}

/* =========================================
   FLOATING ACTION HUB: WHATSAPP & N3BOT
   ========================================= */
.whatsapp-btn {
  position: fixed;
  bottom: 6.75rem;
  right: 2rem;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  text-decoration: none;
  filter: drop-shadow(0 6px 20px rgba(37, 211, 102, 0.45));
  transition: transform 0.25s ease, bottom 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.12) translateY(-3px);
}

.whatsapp-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.whatsapp-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2.5px solid rgba(37, 211, 102, 0.6);
  animation: waPulse 2.2s ease-out infinite;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  70%,
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  background: #0f172a;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: opacity 0.25s ease;
}

.whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ── N3Bot Floating Launcher Button ── */
.n3bot-launcher {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #06b6d4 100%);
  background-size: 200% 200%;
  animation: botGradShift 4s ease infinite;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5), 0 0 35px rgba(168, 85, 247, 0.35);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
  outline: none;
}

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

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.n3bot-launcher:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 14px 40px rgba(99, 102, 241, 0.65), 0 0 45px rgba(6, 182, 212, 0.5);
}

.n3bot-launcher-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(99, 102, 241, 0.6);
  animation: botPulse 2.5s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  pointer-events: none;
}

@keyframes botPulse {
  0% {
    transform: scale(0.96);
    opacity: 0.8;
  }

  60%,
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.n3bot-launcher-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.n3bot-launcher-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.n3bot-launcher.active .n3bot-launcher-icon {
  transform: rotate(90deg);
}

.n3bot-launcher-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #10b981;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #030712;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
  animation: badgePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badgePop {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

/* ── Teaser Notification Bubble ── */
.n3bot-teaser {
  position: fixed;
  bottom: 2.2rem;
  right: calc(2rem + 72px);
  z-index: 9989;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 16px;
  padding: 0.75rem 1rem;
  max-width: 280px;
  color: #f8fafc;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  opacity: 0;
  transform: translateX(15px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.n3bot-teaser.show {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.n3bot-teaser-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.n3bot-teaser-text {
  font-size: 0.82rem;
  line-height: 1.35;
}

.n3bot-teaser-text strong {
  display: block;
  color: #a5b4fc;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.n3bot-teaser-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1rem;
  cursor: pointer;
  padding: 2px 4px;
  margin-left: -4px;
  transition: color 0.2s ease;
}

.n3bot-teaser-close:hover {
  color: #ffffff;
}

/* =========================================
   N3BOT CHATBOT WINDOW OVERLAY
   ========================================= */
.n3bot-window {
  position: fixed;
  bottom: 6.75rem;
  right: 2rem;
  width: 410px;
  max-width: calc(100vw - 2.5rem);
  height: 620px;
  max-height: calc(100vh - 8.5rem);
  z-index: 9995;
  background: rgba(11, 15, 25, 0.94);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 50px rgba(99, 102, 241, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px) scale(0.95);
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.n3bot-window.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* ── Chatbot Header ── */
.n3bot-header {
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.75) 0%, rgba(15, 23, 42, 0.85) 100%);
  border-bottom: 1px solid rgba(99, 102, 241, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
}

.n3bot-header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.n3bot-avatar-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.5);
  flex-shrink: 0;
}

.n3bot-avatar-wrap svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.n3bot-online-dot {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #0b0f19;
  box-shadow: 0 0 8px #10b981;
}

.n3bot-title-wrap h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-title);
  letter-spacing: -0.01em;
}

.n3bot-title-wrap .n3bot-badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(99, 102, 241, 0.25);
  border: 1px solid rgba(99, 102, 241, 0.5);
  color: #a5b4fc;
  padding: 1px 6px;
  border-radius: 10px;
  letter-spacing: 0.05em;
}

.n3bot-title-wrap p {
  font-size: 0.76rem;
  color: #94a3b8;
  margin: 2px 0 0 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.n3bot-header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.n3bot-tool-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.88rem;
}

.n3bot-tool-btn:hover {
  background: rgba(99, 102, 241, 0.25);
  color: #ffffff;
  border-color: rgba(99, 102, 241, 0.45);
}

.n3bot-tool-btn.active {
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.2);
}

/* ── Chat Messages Container ── */
.n3bot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scroll-behavior: smooth;
}

.n3bot-messages::-webkit-scrollbar {
  width: 5px;
}

.n3bot-messages::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

.n3bot-messages::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.3);
  border-radius: 4px;
}

.n3bot-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.6);
}

/* ── Message Rows & Bubbles ── */
.n3bot-msg-row {
  display: flex;
  gap: 0.65rem;
  animation: msgFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes msgFadeIn {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.n3bot-msg-row.bot {
  align-items: flex-start;
}

.n3bot-msg-row.user {
  justify-content: flex-end;
}

.n3bot-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.n3bot-msg-avatar svg {
  width: 15px;
  height: 15px;
  fill: #ffffff;
}

.n3bot-msg-bubble {
  max-width: 84%;
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  border-radius: 18px;
  word-wrap: break-word;
}

.n3bot-msg-row.bot .n3bot-msg-bubble {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  border-top-left-radius: 4px;
}

.n3bot-msg-row.user .n3bot-msg-bubble {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top-right-radius: 4px;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.n3bot-msg-bubble p {
  margin: 0 0 0.5rem 0;
}

.n3bot-msg-bubble p:last-child {
  margin-bottom: 0;
}

.n3bot-msg-bubble ul,
.n3bot-msg-bubble ol {
  margin: 0.4rem 0 0.5rem 1.2rem;
  padding: 0;
}

.n3bot-msg-bubble li {
  margin-bottom: 0.28rem;
}

.n3bot-msg-bubble strong {
  color: #ffffff;
  font-weight: 700;
}

.n3bot-msg-bubble code {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1px 5px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #93c5fd;
}

.n3bot-msg-time {
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 4px;
  display: block;
}

.n3bot-msg-row.user .n3bot-msg-time {
  text-align: right;
  color: rgba(255, 255, 255, 0.7);
}

/* ── Rich Action Buttons inside Bot Responses ── */
.n3bot-actions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.n3bot-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.15);
  color: #c7d2fe;
  border: 1px solid rgba(99, 102, 241, 0.4);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.n3bot-action-btn:hover {
  background: rgba(99, 102, 241, 0.35);
  color: #ffffff;
  border-color: rgba(99, 102, 241, 0.8);
  transform: translateY(-1px);
}

.n3bot-action-btn.primary {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.n3bot-action-btn.primary:hover {
  filter: brightness(1.15);
}

.n3bot-action-btn.whatsapp {
  background: rgba(37, 211, 102, 0.18);
  color: #4ade80;
  border-color: rgba(37, 211, 102, 0.45);
}

.n3bot-action-btn.whatsapp:hover {
  background: rgba(37, 211, 102, 0.35);
  color: #ffffff;
  border-color: #22c55e;
}

/* ── Suggested Prompt Chips Container ── */
.n3bot-chips-wrapper {
  margin-top: 0.25rem;
}

.n3bot-chips-title {
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.n3bot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.n3bot-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  padding: 0.4rem 0.75rem;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.n3bot-chip:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.55);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ── Typing Indicator ── */
.n3bot-typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.65rem 0.95rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  border-top-left-radius: 4px;
  width: fit-content;
}

.n3bot-typing-indicator span {
  width: 6px;
  height: 6px;
  background: #a5b4fc;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.n3bot-typing-indicator span:nth-child(1) {
  animation-delay: -0.32s;
}

.n3bot-typing-indicator span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typingBounce {

  0%,
  80%,
  100% {
    transform: scale(0.4);
    opacity: 0.4;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ── Inline Lead Proposal Form inside Bot ── */
.n3bot-lead-card {
  margin-top: 0.75rem;
  padding: 0.85rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 14px;
}

.n3bot-lead-card h4 {
  font-size: 0.82rem;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.n3bot-lead-card input,
.n3bot-lead-card textarea,
.n3bot-lead-card select {
  width: 100%;
  background: rgba(3, 7, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font-size: 0.8rem;
  color: #ffffff;
  margin-bottom: 0.45rem;
  font-family: inherit;
  box-sizing: border-box;
}

.n3bot-lead-card input:focus,
.n3bot-lead-card textarea:focus,
.n3bot-lead-card select:focus {
  outline: none;
  border-color: #818cf8;
}

.n3bot-lead-submit {
  width: 100%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.n3bot-lead-submit:hover {
  filter: brightness(1.15);
}

/* ── Chatbot Footer Input Bar ── */
.n3bot-footer {
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid rgba(99, 102, 241, 0.22);
  flex-shrink: 0;
}

.n3bot-input-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(3, 7, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 0.35rem 0.5rem 0.35rem 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.n3bot-input-form:focus-within {
  border-color: rgba(99, 102, 241, 0.75);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.n3bot-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
}

.n3bot-input::placeholder {
  color: #64748b;
  font-size: 0.82rem;
}

.n3bot-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.n3bot-send-btn:hover:not(:disabled) {
  transform: scale(1.06);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
}

.n3bot-send-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.n3bot-send-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.n3bot-footnote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.4rem;
  padding: 0 0.25rem;
  font-size: 0.68rem;
  color: #64748b;
}

.n3bot-footnote span {
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ── Light Mode Overrides for N3Bot ── */
body.light .n3bot-window {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 35px rgba(99, 102, 241, 0.18);
}

body.light .n3bot-header {
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  border-bottom-color: rgba(99, 102, 241, 0.2);
}

body.light .n3bot-title-wrap h3 {
  color: #0f172a;
}

body.light .n3bot-title-wrap p {
  color: #475569;
}

body.light .n3bot-tool-btn {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #475569;
}

body.light .n3bot-tool-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  color: #1e1b4b;
}

body.light .n3bot-msg-row.bot .n3bot-msg-bubble {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #1e293b;
}

body.light .n3bot-msg-bubble strong {
  color: #0f172a;
}

body.light .n3bot-msg-bubble code {
  background: #e2e8f0;
  color: #3b82f6;
  border-color: #cbd5e1;
}

body.light .n3bot-chip {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

body.light .n3bot-chip:hover {
  background: rgba(99, 102, 241, 0.15);
  color: #1e1b4b;
  border-color: #818cf8;
}

body.light .n3bot-footer {
  background: #f8fafc;
  border-top-color: #e2e8f0;
}

body.light .n3bot-input-form {
  background: #ffffff;
  border-color: #cbd5e1;
}

body.light .n3bot-input {
  color: #0f172a;
}

body.light .n3bot-input::placeholder {
  color: #94a3b8;
}

body.light .n3bot-lead-card {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

body.light .n3bot-lead-card h4 {
  color: #0f172a;
}

body.light .n3bot-lead-card input,
body.light .n3bot-lead-card textarea,
body.light .n3bot-lead-card select {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

body.light .n3bot-teaser {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(99, 102, 241, 0.35);
  color: #1e293b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

body.light .n3bot-teaser-text strong {
  color: #4338ca;
}

body.light .n3bot-teaser-close {
  color: #64748b;
}

/* =========================================
   BODY NAV LOCK & TOUCH DEVICE OVERRIDES
   ========================================= */
body.nav-open {
  overflow: hidden !important;
  touch-action: none;
}

@media (hover: none),
(pointer: coarse) {
  body {
    cursor: auto !important;
  }

  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }

  a,
  button,
  input,
  select,
  textarea,
  .nav-link,
  .nav-cta,
  .social-btn,
  .est-pill {
    cursor: pointer !important;
  }
}

/* =========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */

/* Desktop & Laptop Tweaks (Max Width: 1200px) */
@media (max-width: 1200px) {
  .hero-section {
    gap: 2.5rem;
    padding: 8rem 2rem 5rem;
  }

  .about-grid,
  .contact-grid {
    gap: 3.5rem;
  }

  .estimator-grid {
    gap: 2.5rem;
  }
}

/* Large Tablet / Small Laptop Viewports (Max Width: 1100px) */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-section {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 8rem;
    min-height: auto;
  }

  .hero-content {
    max-width: 768px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-sub {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    max-width: 520px;
    height: auto;
    min-height: 360px;
    margin: 1.5rem auto 0;
  }

  .hero-card-window {
    width: 100%;
  }

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

  .estimator-result {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }
}

/* Medium Tablets & Mobile Landscape (Max Width: 992px) */
@media (max-width: 992px) {
  .section {
    padding: 5.5rem 0;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .about-text .section-title,
  .contact-info .section-title {
    text-align: center;
    font-size: clamp(1.85rem, 5vw, 2.5rem);
    line-height: 1.18;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .about-text,
  .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .contact-info .section-tag {
    align-self: center;
  }

  .contact-info>p {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .contact-items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .about-values {
    justify-content: center;
  }

  /* Redesign hardcoded about cards for fluid stacking */
  .about-visual {
    height: auto;
    margin-top: 1rem;
  }

  .about-card-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: auto;
    max-width: 480px;
    margin: 0 auto;
  }

  .about-card {
    position: static;
    width: 100%;
    transform: none !important;
  }
}

/* =============================================
   MOBILE CARD NAVBAR (Max Width: 1024px)
   Card-style dropdown matching reference design
   ============================================= */
@media (max-width: 1024px) {

  /* --- Navbar Wrapper --- */
  .navbar {
    position: fixed;
    top: 0.65rem;
    left: 0;
    right: 0;
    padding: 0 0.85rem;
    z-index: 100000;
    pointer-events: none;
  }

  /* --- Card Container --- */
  .nav-container {
    pointer-events: auto;
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 0.75rem 0.85rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: rgba(13, 19, 35, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 24px rgba(99, 102, 241, 0.12);
    transition: border-radius 0.35s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    overflow: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .nav-container::-webkit-scrollbar {
    display: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-container::before {
    display: none !important;
  }

  body.light .nav-container {
    background: rgba(255, 255, 255, 0.97);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  }

  /* --- Logo --- */
  .nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  /* --- Hamburger Toggle Button --- */
  .hamburger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    transition: background 0.25s ease;
  }

  .hamburger:hover,
  .hamburger:active {
    background: rgba(255, 255, 255, 0.12);
  }

  body.light .hamburger {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
  }

  body.light .hamburger:hover {
    background: rgba(0, 0, 0, 0.08);
  }

  /* Hamburger X animation */
  .hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

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

  /* --- Collapsible Navigation Links --- */
  .nav-links {
    display: flex !important;
    position: fixed !important;
    top: calc(0.65rem + 54px) !important;
    left: 0.85rem !important;
    right: 0.85rem !important;
    max-width: 420px !important;
    margin: 0 auto !important;
    bottom: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: auto !important;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none !important;
    overflow-y: auto !important;
    padding: 0 1.25rem !important;
    gap: 0.35rem !important;
    background: rgba(11, 15, 25, 0.98) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(99, 102, 241, 0.2) !important;
    transform: translateY(-8px) scale(0.98) !important;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
      padding 0.3s ease;
    z-index: 100001 !important;
  }

  body.light .nav-links {
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15) !important;
  }

  /* Expanded state */
  .nav-links.open {
    max-height: calc(100vh - 85px) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
    padding: 1.25rem 1.25rem 1.75rem !important;
  }

  .nav-group-left {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.4rem !important;
    width: 100% !important;
  }

  .nav-actions-right {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.6rem !important;
    width: 100% !important;
    margin-top: 1rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  body.light .nav-actions-right {
    border-top-color: rgba(0, 0, 0, 0.08) !important;
  }

  /* --- Navigation Link Items --- */
  .nav-link {
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 0.6rem 0.8rem !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
    justify-content: flex-start !important;
    border-radius: 8px !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    color: var(--text-secondary) !important;
    background: transparent !important;
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: var(--text-primary) !important;
  }

  .nav-item-dropdown {
    width: 100% !important;
  }

  .nav-item-dropdown>.nav-link {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .dropdown-chevron {
    transition: transform 0.25s ease !important;
  }

  .nav-item-dropdown.open>.nav-link .dropdown-chevron,
  .nav-item-dropdown.active>.nav-link .dropdown-chevron {
    transform: rotate(180deg) !important;
  }

  .nav-dropdown-menu {
    display: none !important;
    position: static !important;
    opacity: 0 !important;
    visibility: hidden !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transform: none !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 12px !important;
    margin: 0.25rem 0 0.5rem 0.5rem !important;
    padding: 0 6px !important;
    min-width: unset !important;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, padding 0.25s ease !important;
  }

  .nav-item-dropdown.open>.nav-dropdown-menu,
  .nav-item-dropdown.active>.nav-dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 600px !important;
    padding: 8px !important;
  }

  body.light .nav-dropdown-menu {
    background: rgba(0, 0, 0, 0.02) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
  }

  .btn-nav-outline,
  .btn-nav-primary,
  .btn-nav-signin,
  .btn-nav-audit {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
  }

  /* --- Theme Toggle Button --- */
  .theme-toggle {
    width: 100% !important;
    max-width: 100% !important;
    height: 44px !important;
    justify-content: center !important;
    padding: 0 1rem !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-sizing: border-box !important;
  }
}

/* Mobile Navigation Backdrop & Scroll Lock */
body.nav-open {
  overflow: hidden !important;
  touch-action: none !important;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.light .nav-backdrop {
  background: rgba(15, 23, 42, 0.45);
}

body.nav-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.nav-open .whatsapp-btn,
body.nav-open .n3bot-launcher,
body.nav-open .n3bot-teaser {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: scale(0.8) !important;
}

@media (max-width: 768px) {

  /* Mobile instant reveal to prevent blank / black sections */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .team-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .team-member-card {
    padding: 1.75rem 1.25rem;
  }

  .casestudy-card {
    padding: 1.35rem 1.15rem;
    border-radius: var(--radius-lg);
  }

  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .section-title,
  .contact-info .section-title {
    font-size: clamp(1.65rem, 5.5vw, 2.1rem);
    line-height: 1.2;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
  }

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

  /* Grid Collapse */
  .services-grid,
  .products-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .est-checkboxes {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Floating micro cards inside hero visual */
  .floating-card {
    display: none;
  }

  .hero-visual {
    height: auto;
    min-height: unset;
    padding: 1rem 0;
  }

  /* Cards & Sections Padding */
  .service-card,
  .product-card,
  .testimonial-card {
    padding: 1.75rem 1.35rem;
  }

  .estimator-card {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .contact-form-wrap {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  /* Footer Responsive */
  .footer {
    padding: 2.5rem 0 0;
  }

  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    padding: 1rem;
    font-size: 0.76rem;
  }

  /* Modal Responsive */
  .modal-overlay {
    padding: 1.25rem;
  }

  .modal-container {
    padding: 1.75rem 1.25rem;
    max-height: 88vh;
    overflow-y: auto;
    border-radius: var(--radius-lg);
  }

  .modal-title {
    font-size: 1.45rem;
  }

  .modal-specs-list {
    gap: 0.6rem;
  }

  .modal-spec-item {
    font-size: 0.85rem;
    padding: 0.65rem 0.85rem;
  }

  /* Floating Action Hub (WhatsApp & N3Bot) - Split across opposite corners on mobile */
  .whatsapp-btn {
    width: 44px;
    height: 44px;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    left: 1rem;
    right: auto;
    z-index: 9990;
    filter: drop-shadow(0 4px 14px rgba(37, 211, 102, 0.4));
  }

  .whatsapp-icon {
    width: 44px;
    height: 44px;
  }

  .whatsapp-tooltip {
    display: none;
  }

  .n3bot-launcher {
    width: 44px;
    height: 44px;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    right: 1rem;
    left: auto;
    z-index: 9990;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
  }

  .n3bot-launcher-icon {
    width: 20px;
    height: 20px;
  }

  .n3bot-teaser {
    display: none;
  }

  .n3bot-window {
    right: 0.5rem;
    left: 0.5rem;
    bottom: 4.5rem;
    width: calc(100vw - 1rem);
    max-width: calc(100vw - 1rem);
    height: calc(100vh - 6.5rem);
    max-height: calc(100vh - 6.5rem);
    border-radius: 20px;
  }
}

/* Small Phones & Phablets (Max Width: 576px) */
@media (max-width: 576px) {
  .nav-tagline {
    display: none !important;
  }

  .logo-name-row {
    font-size: 1.15rem;
  }

  .nav-logo-img {
    width: 36px;
    height: 36px;
  }

  .container {
    padding: 0 1.1rem;
  }

  .hero-section {
    padding-top: 6rem;
    padding-bottom: 3rem;
  }

  .hero-title {
    font-size: clamp(1.65rem, 6.8vw, 2.2rem) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.02em;
  }

  .typed-wrapper {
    min-height: 2.3em;
    display: inline-block;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
    margin-bottom: 2.75rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.4rem;
    font-size: 0.92rem;
  }

  .hero-stats {
    width: 100%;
    max-width: 360px;
    margin: 1.25rem auto 1.5rem;
    padding: 0.85rem 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
    text-align: center;
  }

  body.light .hero-stats {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
  }

  .stat-num {
    font-size: 1.45rem;
  }

  .stat-plus {
    font-size: 1.15rem;
  }

  .stat-label {
    font-size: 0.68rem;
    line-height: 1.3;
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: break-word;
    padding: 0 2px;
  }

  .stat-divider {
    display: none;
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.25rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    padding: 0.85rem 0.75rem;
    font-size: 0.74rem;
  }

  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 5rem;
  }

  .toast {
    width: 100%;
    font-size: 0.85rem;
  }

  /* Section Title & Contact Responsive Tuning */
  .section-title,
  .contact-info .section-title {
    font-size: clamp(1.35rem, 5.2vw, 1.75rem);
    line-height: 1.25;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .contact-info .section-title .gradient-text {
    display: block;
    margin-top: 0.25rem;
  }

  .contact-info>p {
    font-size: 0.92rem;
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-bottom: 1.75rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .contact-items {
    width: 100%;
    max-width: 100%;
    gap: 1.15rem;
    padding-right: 0.5rem;
  }

  .contact-item {
    gap: 0.85rem;
    width: 100%;
    max-width: 100%;
  }

  .contact-item a,
  .contact-item span {
    word-break: break-word;
    overflow-wrap: break-word;
    font-size: 0.88rem;
  }

  /* Prevent floating action buttons from covering text or inputs */
  .whatsapp-btn {
    bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px)) !important;
    left: 0.85rem !important;
    right: auto !important;
  }

  .n3bot-launcher {
    bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px)) !important;
    right: 0.85rem !important;
    left: auto !important;
  }

  .contact-section {
    padding-bottom: 5.5rem;
  }
}

/* Extra Small Phones & Foldables (Max Width: 380px) */
@media (max-width: 380px) {
  .container {
    padding: 0 0.85rem;
  }

  /* Navigation Logo shrink for 320px screens */
  .nav-logo-img {
    width: 34px;
    height: 34px;
  }

  .logo-name-row {
    font-size: 1.05rem;
  }

  .logo-tech {
    font-size: 0.6rem;
    padding: 1px 4px;
    margin-left: 0.15rem;
  }

  .hero-badge {
    font-size: 0.65rem;
    padding: 0.35rem 0.65rem;
  }

  .est-pills {
    flex-direction: column;
  }

  .est-pill {
    width: 100%;
    text-align: center;
  }

  .product-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    top: 1rem;
    right: 1rem;
  }

  .estimator-card,
  .contact-form-wrap {
    padding: 1.25rem 0.85rem;
  }

  .service-card,
  .product-card,
  .testimonial-card {
    padding: 1.35rem 1rem;
  }

  .section-title,
  .contact-info .section-title {
    font-size: clamp(1.18rem, 5.8vw, 1.45rem);
    line-height: 1.28;
  }

  .contact-item {
    gap: 0.65rem;
  }

  .ci-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .contact-item strong {
    font-size: 0.86rem;
  }

  .contact-item a,
  .contact-item span {
    font-size: 0.82rem;
  }

  .whatsapp-btn {
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px)) !important;
    left: 0.75rem !important;
    right: auto !important;
  }

  .n3bot-launcher {
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px)) !important;
    right: 0.75rem !important;
    left: auto !important;
  }
}

/* ============================================
   SEO, AEO & GEO LUXURY COMPONENTS
   Top AI Summary Box, Key Takeaways, Direct Answers
   ============================================ */

.top-summary {
  padding: 1.5rem 0 2.5rem;
  position: relative;
  z-index: 10;
}

.summary-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 27, 75, 0.75));
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 35px rgba(99, 102, 241, 0.15);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.summary-card:hover {
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(99, 102, 241, 0.25);
}

.summary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #a855f7, #06b6d4);
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-badge-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.summary-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #a5b4fc;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.summary-topic {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.summary-meta-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.summary-author-link {
  color: #c7d2fe;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.summary-author-link:hover {
  color: #818cf8;
  text-decoration: underline;
}

.summary-date {
  color: var(--text-muted);
}

.summary-meta-dot {
  color: rgba(255, 255, 255, 0.2);
}

.summary-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.summary-definition {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #e2e8f0;
  background: rgba(99, 102, 241, 0.08);
  border-left: 3px solid #6366f1;
  padding: 0.85rem 1.25rem;
  border-radius: 0 8px 8px 0;
}

.summary-text {
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.summary-link,
.summary-citation {
  color: #818cf8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.summary-link:hover,
.summary-citation:hover {
  color: #a5b4fc;
  text-decoration: underline;
}

.summary-takeaways {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 0.5rem 0;
}

.takeaway-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.takeaways-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.5rem;
}

.takeaway-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.takeaway-icon {
  font-size: 1.2rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.takeaway-content {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.takeaway-content strong {
  color: #ffffff;
  display: inline;
  margin-right: 0.25rem;
}

.takeaway-content a {
  color: #818cf8;
  text-decoration: none;
}

.takeaway-content a:hover {
  text-decoration: underline;
}

.summary-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.summary-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.summary-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
  color: #ffffff;
}

.summary-action-btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  box-shadow: none;
}

.summary-action-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(99, 102, 241, 0.4);
  color: #ffffff;
}

/* ---------- DIRECT ANSWER SIGNALS (AEO & GEO) ---------- */
.direct-answer-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(168, 85, 247, 0.05));
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-left: 4px solid #6366f1;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1.4rem;
  margin: 1.25rem auto 2rem;
  max-width: 920px;
  text-align: left;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.direct-answer-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.4);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.direct-answer-text {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

.direct-answer-text strong {
  color: var(--text-primary);
}

.direct-answer-text a {
  color: #818cf8;
  text-decoration: none;
  font-weight: 600;
}

.direct-answer-text a:hover {
  text-decoration: underline;
}

/* Light Theme Overrides for Summary & Direct Answer */
body.light .summary-card {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid rgba(99, 102, 241, 0.25);
  box-shadow: 0 16px 48px rgba(99, 102, 241, 0.08);
}

body.light .summary-definition {
  background: rgba(99, 102, 241, 0.06);
  color: #1e293b;
}

body.light .summary-takeaways {
  background: #f1f5f9;
  border-color: rgba(99, 102, 241, 0.15);
}

body.light .takeaway-title {
  color: #0f172a;
}

body.light .takeaway-content {
  color: #334155;
}

body.light .takeaway-content strong {
  color: #0f172a;
}

body.light .summary-action-btn.secondary {
  background: #ffffff;
  border-color: rgba(99, 102, 241, 0.2);
  color: #1e293b;
}

body.light .direct-answer-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), #ffffff);
  border-color: rgba(99, 102, 241, 0.2);
  border-left-color: #6366f1;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.06);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-logo-img {
    width: 48px;
    height: 48px;
  }

  .summary-card {
    padding: 1.5rem 1.25rem;
  }

  .takeaways-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .summary-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .summary-meta-top {
    flex-wrap: wrap;
    font-size: 0.78rem;
  }

  .direct-answer-box {
    padding: 0.9rem 1.1rem;
    margin: 1rem 0 1.5rem;
  }
}

/* ==========================================================================
   PUBLIC MODAL OVERLAY & TOAST NOTIFICATION SYSTEM
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-container {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 680px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  animation: modalScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalScaleUp {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: #ef4444;
}

.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  color: var(--text-primary);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem;
  font-weight: 600;
  pointer-events: auto;
  animation: toastSlideIn 0.3s ease-out;
  max-width: 380px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   CASE STUDIES & CLIENT PORTFOLIO STYLES
   ========================================= */
.casestudies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.casestudy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.casestudy-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.12);
}

.casestudy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.casestudy-badge {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid var(--border-glow);
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.casestudy-badge.new {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.casestudy-client {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.casestudy-title {
  font-family: var(--font-title);
  font-size: 1.45rem;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.casestudy-lead {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.casestudy-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .casestudy-details-grid {
    grid-template-columns: 1fr;
  }
}

.cs-detail-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.cs-detail-box.cs-highlight {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(168, 85, 247, 0.05));
  border-color: var(--border-glow);
}

.cs-detail-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-light);
  margin-bottom: 0.45rem;
  font-weight: 700;
}

.cs-detail-box p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

.casestudy-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.casestudy-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Modal Open & Active unification */
.modal-overlay.active,
.modal-overlay.open {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.modal-overlay.active .modal-container,
.modal-overlay.open .modal-container {
  transform: scale(1) !important;
}

/* =========================================
   GLOBAL ANCHOR SCROLL OFFSET
   Prevents fixed navigation bar from clipping section headers
   ========================================= */
section[id],
.section[id],
div[id] {
  scroll-margin-top: calc(75px + 1.25rem);
}

/* =========================================
   HOMEPAGE CTA BANNER SECTION (Replaces Inline Contact)
   ========================================= */
.cta-banner-section {
  padding: 2.25rem 0 3.25rem;
  position: relative;
  overflow: hidden;
}

.cta-banner-card {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 27, 75, 0.92) 50%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 24px;
  padding: 2.6rem 2.25rem;
  text-align: center;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), 0 0 35px rgba(99, 102, 241, 0.18);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  max-width: 960px;
  margin: 0 auto;
}

.cta-banner-card:hover {
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.6), 0 0 45px rgba(99, 102, 241, 0.3);
}

body.light .cta-banner-card {
  background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.12);
}

/* Diagonal Corner Line Accents matching theme */
.cta-corner-decor {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.cta-corner-decor.left {
  top: 0;
  left: 0;
}

.cta-corner-decor.right {
  top: 0;
  right: 0;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-title, 'Outfit', sans-serif);
  font-size: clamp(1.65rem, 2.7vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff !important;
  margin: 0 0 0.65rem 0;
  letter-spacing: -0.02em;
}

body.light .cta-title {
  color: #0f172a !important;
}

.cta-desc {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(0.88rem, 1.2vw, 0.96rem);
  color: #94a3b8;
  line-height: 1.55;
  margin: 0 auto 1.5rem auto;
  max-width: 580px;
  font-weight: 400;
}

body.light .cta-desc {
  color: #475569;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* Theme Indigo-Purple Gradient Button */
.cta-btn-strategy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  color: #ffffff !important;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.72rem 1.65rem;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 44px;
  cursor: pointer;
}

.cta-btn-strategy:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(99, 102, 241, 0.6);
}

/* Theme Glassmorphic Email Button */
.cta-btn-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.07);
  color: #e2e8f0 !important;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.72rem 1.55rem;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 44px;
  cursor: pointer;
}

.cta-btn-email svg {
  stroke: #a5b4fc;
  flex-shrink: 0;
  transition: stroke 0.2s ease;
}

.cta-btn-email:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: #818cf8;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(99, 102, 241, 0.35);
}

.cta-btn-email:hover svg {
  stroke: #ffffff;
}

body.light .cta-btn-email {
  background: #ffffff;
  color: #0f172a !important;
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

body.light .cta-btn-email svg {
  stroke: #6366f1;
}

body.light .cta-btn-email:hover {
  background: #f8fafc;
  border-color: #6366f1;
}

/* =========================================
   DEDICATED CONTACT PAGE STYLES (contact.html)
   ========================================= */
.contact-hero-section {
  padding-top: 8rem;
  padding-bottom: 3.5rem;
}

.contact-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
}

body.light .trust-pill {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--text-primary);
}

.trust-icon {
  font-size: 1rem;
}

/* Contact Cards Grid */
.contact-channels-section {
  padding: 2.5rem 0 4rem;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.contact-founder-card {
  background: rgba(11, 15, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.contact-founder-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 102, 241, 0.2);
}

.contact-founder-card:hover::before {
  opacity: 1;
}

body.light .contact-founder-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cfc-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.15rem;
}

.cfc-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.cfc-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.cfc-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-light);
  margin-bottom: 0.25rem;
}

.cfc-name {
  font-size: 1.3rem;
  font-weight: 700;
  font-family: var(--font-title);
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.cfc-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.cfc-bio {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cfc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.cfc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  min-height: 44px;
}

.cfc-btn-call {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.cfc-btn-call:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.cfc-btn-wa {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25d366;
}

.cfc-btn-wa:hover {
  background: #25d366;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.cfc-btn-email {
  grid-column: span 2;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #a5b4fc;
}

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

.cfc-btn-nfc {
  grid-column: span 2;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.cfc-btn-nfc:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Contact Form Section Layout */
.contact-form-section {
  padding: 3rem 0 5rem;
  background: rgba(11, 15, 25, 0.3);
}

.contact-form-section .container {
  max-width: 980px;
}

/* Horizontal 3-Step Process Flow Above Form */
.contact-process-flow {
  margin-bottom: 2.75rem;
}

.horizontal-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.h-step-card {
  background: rgba(11, 15, 25, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.35rem 1.15rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.h-step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.15);
}

body.light .h-step-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.h-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
  flex-shrink: 0;
}

.h-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.h-step-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Centered Form Card */
.contact-form-centered {
  max-width: 680px;
  margin: 0 auto;
}

/* =========================================
   RESPONSIVE OVERRIDES FOR CTA & CONTACT PAGE
   ========================================= */
@media (max-width: 995px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 860px) {
  .horizontal-steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .cta-banner-section {
    padding: 1.75rem 0 2.5rem;
  }

  .cta-banner-card {
    padding: 2rem 1.15rem;
    border-radius: 18px;
  }

  .cta-title {
    font-size: 1.45rem;
    margin-bottom: 0.5rem;
  }

  .cta-desc {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }

  .cta-btn-strategy,
  .cta-btn-email {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.15rem;
  }

  .contact-hero-section {
    padding-top: 6.5rem;
    padding-bottom: 2.5rem;
  }

  .contact-trust-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .trust-pill {
    justify-content: center;
  }

  .cfc-actions {
    grid-template-columns: 1fr;
  }

  .cfc-btn-call,
  .cfc-btn-wa,
  .cfc-btn-email,
  .cfc-btn-nfc {
    grid-column: span 1;
    width: 100%;
  }
}