/* ==========================================================================
   NIRVAAH AI - ULTRA-FLUID 60FPS PERFORMANCE & MOBILE-FIRST DESIGN SYSTEM
   Theme: Deep Space Dark (#070710), Electric Lime (#7ce700), Neon Cyan (#00f0ff)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg-dark: #070710;
  --bg-dark-card: rgba(15, 16, 28, 0.85);
  --bg-dark-solid: #0d0e18;
  --bg-dark-hover: rgba(24, 26, 45, 0.95);
  
  --accent-lime: #7ce700;
  --accent-lime-hover: #6bc800;
  --accent-cyan: #00f0ff;
  --accent-purple: #a855f7;

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(124, 231, 0, 0.4);
  --grid-line: rgba(255, 255, 255, 0.03);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Text Swapping Utilities for Responsive Buttons */
.btn-mobile-text {
  display: none;
}

.btn-full-text {
  display: inline;
}

.process-milestones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Background Grid Overlay */
.bg-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  z-index: -2;
  pointer-events: none;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.85;
  will-change: transform;
}

/* Announcement Bar */
.top-announcement {
  background: #04040a;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 8px 14px;
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-glass);
}

.top-announcement .lime-text {
  color: var(--accent-lime);
  font-weight: 700;
}

/* Navbar & Mobile Menu */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(7, 7, 16, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 1000;
  padding: 16px 0;
  will-change: transform;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-symbol {
  width: 38px;
  height: 38px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sacred-logo-svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 10px rgba(124, 231, 0, 0.5));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  will-change: transform, filter;
}

.brand-logo:hover .sacred-logo-svg {
  transform: rotate(180deg) scale(1.08);
  filter: drop-shadow(0 0 20px rgba(124, 231, 0, 0.9));
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.brand-subtext {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent-lime);
}

/* Mobile Hamburger Menu Toggle Button */
.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--accent-lime);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-menu-btn:active {
  transform: scale(0.95);
}

/* Button System */
.btn-lime {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-lime);
  color: #000;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 25px rgba(124, 231, 0, 0.35);
  will-change: transform;
}

.btn-lime:hover {
  background: var(--accent-lime-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 35px rgba(124, 231, 0, 0.6);
}

.btn-dark-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease;
  will-change: transform;
}

.btn-dark-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

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

section {
  padding: 90px 0;
  position: relative;
  contain: content;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-lime);
  margin-bottom: 14px;
}

.tag-square {
  width: 8px;
  height: 8px;
  background: var(--accent-lime);
  display: inline-block;
  box-shadow: 0 0 10px var(--accent-lime);
}

.section-title-large {
  font-size: 3.2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* Hero Section */
.hero {
  padding: 70px 0 90px 0;
  position: relative;
}

.pixel-block-topleft {
  position: absolute;
  top: 20px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 20px);
  gap: 3px;
  z-index: 1;
}

.pixel-block-bottomright {
  position: absolute;
  bottom: 20px;
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, 20px);
  gap: 3px;
  z-index: 1;
}

.px-box {
  width: 20px;
  height: 20px;
  background: var(--accent-lime);
  box-shadow: 0 0 8px var(--accent-lime);
}

.px-box.empty {
  background: transparent;
  box-shadow: none;
}

.hero-main-typography {
  text-align: center;
  margin: 20px 0;
  position: relative;
  z-index: 2;
}

.hero-giant-heading {
  font-size: 5.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  line-height: 1;
}

.hero-emblem-badge {
  width: 100px;
  height: 100px;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(124, 231, 0, 0.25);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  will-change: transform;
}

.hero-emblem-badge:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 0 50px rgba(124, 231, 0, 0.45);
}

.hero-subcaption {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 24px auto 36px auto;
  font-weight: 400;
  line-height: 1.6;
}

.hero-actions-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Client Ticker / Marquee */
.client-strip-section {
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  background: #05050b;
  padding: 20px 0;
}

.client-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  align-items: center;
}

.client-logo-item {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  padding: 10px;
  border-right: 1px solid var(--border-glass);
  transition: color 0.2s ease;
}

.client-logo-item:last-child {
  border-right: none;
}

.client-logo-item:hover {
  color: var(--accent-lime);
}

/* Dark Glass Cards */
.dark-glass-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  will-change: transform;
}

.dark-glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 20px 50px rgba(124, 231, 0, 0.15);
}

/* BROAD SLIDER / PRICE INDEX LINE (SUPER-SIMPLE & PROMINENT) */
.custom-range-lime-broad {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 18px;
  border-radius: 10px;
  background: linear-gradient(to right, #1a1c30 0%, var(--accent-lime) 50%, var(--accent-cyan) 100%);
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.6), 0 0 15px rgba(124, 231, 0, 0.3);
  cursor: pointer;
  margin: 20px 0 12px 0;
  will-change: transform;
}

.custom-range-lime-broad::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--accent-lime);
  box-shadow: 0 0 20px var(--accent-lime);
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.15s ease;
  will-change: transform;
}

.custom-range-lime-broad::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 30px var(--accent-lime);
}

.price-ticks-broad {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
}

.price-ticks-broad span {
  position: relative;
}

.price-ticks-broad span strong {
  color: var(--accent-lime);
}

/* AGENIO NUMBERED SERVICES GRID (01-08) */
.agenio-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  background: #04040a;
  margin-top: 40px;
}

.agenio-service-col {
  padding: 36px 26px;
  border-right: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 440px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: #06060e;
  position: relative;
}

.agenio-service-col:hover {
  background: rgba(18, 19, 35, 0.95);
  box-shadow: inset 0 0 30px rgba(124, 231, 0, 0.05);
}

.agenio-service-col.dark-highlight {
  background: #0d0e1c;
  border-right-color: rgba(124, 231, 0, 0.2);
}

.col-header-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-lime);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(124, 231, 0, 0.2);
}

.giant-number {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  margin: 20px 0;
  user-select: none;
  transition: color 0.3s ease;
}

.agenio-service-col:hover .giant-number {
  color: rgba(124, 231, 0, 0.15);
}

.service-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 12px;
  border-left: 2px solid var(--accent-lime);
}

.service-feature-list li {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
}

/* Works Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.project-card-modern {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.project-card-modern:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 40px rgba(124, 231, 0, 0.15);
}

.project-img-box {
  height: 220px;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

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

.project-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* INTERACTIVE CLIENT PREVIEWER & DEVICE MOCKUP */
.preview-mockup-card {
  background: #090a16;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  margin-top: 36px;
}

.preview-top-bar {
  background: #05050b;
  border-bottom: 1px solid var(--border-glass);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.browser-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.device-switcher-btns {
  display: flex;
  gap: 8px;
}

.device-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.device-btn.active, .device-btn:hover {
  background: var(--accent-lime);
  color: #000;
  border-color: var(--accent-lime);
}

.preview-viewport-container {
  height: 520px;
  width: 100%;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), margin 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: #000;
  position: relative;
  overflow: hidden;
  will-change: width;
}

.preview-viewport-container.desktop { width: 100%; }
.preview-viewport-container.tablet { width: 768px; margin: 0 auto; border-left: 1px solid var(--border-glass); border-right: 1px solid var(--border-glass); }
.preview-viewport-container.mobile { width: 395px; margin: 0 auto; border-left: 1px solid var(--border-glass); border-right: 1px solid var(--border-glass); }

.preview-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* STRICT CONSTANT HEIGHT & LENGTH STAT CARDS & PAYOUT BOXES */
.roi-calculator-box {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: 40px;
}

.roi-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.roi-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  height: 170px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.roi-stat-val {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--accent-lime);
  white-space: nowrap;
  line-height: 1.2;
  margin-top: 6px;
}

/* Estimator Widget */
.estimator-card {
  background: #090a14;
  border: 1px solid rgba(124, 231, 0, 0.3);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 0 50px rgba(124, 231, 0, 0.1);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.tech-option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.tech-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tech-checkbox-label:hover, .tech-checkbox-label.active {
  border-color: var(--accent-lime);
  background: rgba(124, 231, 0, 0.08);
  color: #fff;
}

.tech-checkbox-label input {
  accent-color: var(--accent-lime);
}

/* FAQ Accordion */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.faq-question i {
  color: var(--accent-lime);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
  max-height: 220px;
  padding: 0 24px 20px 24px;
}

/* Toggle Switch */
.toggle-bar-container {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  padding: 4px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.toggle-switch-btn {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.toggle-switch-btn.active {
  background: var(--accent-lime);
  color: #000;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
  margin-top: 40px;
}

.team-card-minimal {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  will-change: transform;
}

.team-card-minimal:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.team-role-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-lime);
  margin-bottom: 8px;
}

.team-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.team-pedigree-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 14px;
}

/* Footer */
footer {
  background: #030307;
  color: var(--text-muted);
  padding: 60px 0 30px 0;
  border-top: 1px solid var(--border-glass);
  font-size: 0.88rem;
}

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

.footer-col h4 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 1rem;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Floating WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: var(--accent-lime);
  color: #000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 0 25px rgba(124, 231, 0, 0.5);
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.whatsapp-widget:hover {
  transform: scale(1.1) rotate(10deg);
}

/* ==========================================================================
   MOBILE & SMARTPHONE MEDIA QUERIES (320px - 768px)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-giant-heading {
    font-size: 4rem;
  }
  .section-title-large {
    font-size: 2.6rem;
  }
  .agenio-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .estimator-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }

  .container {
    padding: 0 16px;
  }

  .top-announcement {
    font-size: 0.68rem;
    padding: 6px 10px;
  }

  /* Mobile Navbar & Compact Buttons */
  .mobile-menu-btn {
    display: flex;
  }

  .btn-full-text {
    display: none !important;
  }
  .btn-mobile-text {
    display: inline !important;
  }

  .nav-cta-btn {
    padding: 6px 12px !important;
    font-size: 0.76rem !important;
    white-space: nowrap !important;
    border-radius: 20px !important;
    gap: 4px !important;
    box-shadow: 0 0 12px rgba(124, 231, 0, 0.4) !important;
  }

  .brand-logo {
    gap: 6px !important;
  }

  .brand-text {
    font-size: 1.05rem !important;
  }

  .brand-subtext {
    font-size: 0.5rem !important;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100vw;
    background: rgba(7, 7, 16, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border-glass);
    display: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
  }

  .nav-links.mobile-active {
    display: flex;
  }

  .nav-link {
    font-size: 1.05rem;
    width: 100%;
    text-align: center;
    padding: 8px 0;
  }

  /* Mobile 3-Step Milestone Process Grid (Vertical Stack) */
  .process-milestones-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Mobile Hero - Clean Vertical Stack for Heading & Emblem */
  .hero {
    padding: 40px 0 60px 0;
  }

  .hero-giant-heading {
    font-size: 2.2rem;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    line-height: 1.1;
  }

  .hero-emblem-badge {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    margin: 4px 0;
  }

  .hero-emblem-badge svg {
    width: 36px !important;
    height: 36px !important;
  }

  .hero-subcaption {
    font-size: 0.95rem;
    margin: 16px 0 24px 0;
    padding: 0 8px;
  }

  .hero-actions-bar {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-actions-bar .btn-lime, .hero-actions-bar .btn-dark-glass {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  .section-title-large {
    font-size: 1.85rem;
  }

  /* Mobile Services Grid 1-Col */
  .agenio-services-grid {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .agenio-service-col {
    min-height: auto;
    padding: 24px 18px;
    border-right: none;
    border-bottom: 1px solid var(--border-glass);
  }

  .giant-number {
    font-size: 3.2rem;
    margin: 8px 0;
  }

  /* Mobile Ticker Marquee with Hidden Scrollbars */
  .client-strip-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .client-strip-grid::-webkit-scrollbar {
    display: none;
  }

  .client-logo-item {
    flex: 0 0 150px;
    scroll-snap-align: start;
    border-right: 1px solid var(--border-glass);
    font-size: 0.78rem;
    padding: 8px;
  }

  /* Mobile Previewer & Mockup */
  .preview-top-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 14px;
  }

  #preview-site-select {
    width: 100%;
    font-size: 0.8rem;
  }

  .device-switcher-btns {
    display: none; /* Hidden on smartphones as phone screen IS the mobile viewport */
  }

  .preview-viewport-container {
    height: 360px;
  }

  .preview-viewport-container.desktop,
  .preview-viewport-container.tablet,
  .preview-viewport-container.mobile {
    width: 100%;
  }

  /* Mobile ROI Stats Grid */
  .roi-calculator-box {
    padding: 20px 14px;
  }

  .roi-calculator-box > div {
    grid-template-columns: 1fr !important;
  }

  .roi-stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .roi-stat-card {
    height: 110px;
    padding: 14px;
  }

  .roi-stat-val {
    font-size: 1.7rem;
  }

  /* Mobile Broad Slider Ticks */
  .price-ticks-broad {
    font-size: 0.68rem;
  }

  .payout-amount-lime {
    font-size: 2.4rem !important;
  }

  /* Mobile Tech Checkboxes */
  .tech-option-grid {
    grid-template-columns: 1fr;
  }

  .tech-checkbox-label {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  /* Mobile Projects & Team Grid */
  .projects-grid, .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dark-glass-card {
    padding: 24px 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
