/* ==========================================================================
   FRENTIS TECH — PRODUCTION STYLESHEET
   Engineered for maximum speed, zero layout shift (CLS: 0), and clean typography.
   Author: Frentis Tech Engineering Team (Pune & Satara)
   Website: https://frentistech.com
   ========================================================================== */

:root {
  --bg-primary: #0a0f1d;
  --bg-secondary: #111827;
  --bg-card: #162035;
  --bg-card-hover: #1c2a46;
  --bg-subtle: #1e293b;
  
  --border-color: #24324d;
  --border-light: #334466;
  --border-accent: rgba(59, 130, 246, 0.4);

  --text-main: #f3f4f6;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-light: #ffffff;

  --accent-primary: #2563eb;
  --accent-blue: #3b82f6;
  --accent-hover: #1d4ed8;
  --accent-emerald: #10b981;
  --accent-green-dark: #059669;
  --accent-amber: #f59e0b;
  --accent-purple: #8b5cf6;

  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);

  --container-width: 1200px;
  --transition: all 0.2s ease-in-out;
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(37, 99, 235, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
}

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

a:hover {
  color: #60a5fa;
  text-decoration: underline;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Top Notification / Engineering Header Bar */
.top-bar {
  background-color: #060913;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
  padding: 8px 0;
  color: var(--text-muted);
}

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

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

.top-bar a {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar a:hover {
  color: var(--text-light);
  text-decoration: none;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-emerald);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  display: inline-block;
  animation: pulse 2s infinite;
}

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

/* Main Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(10, 15, 29, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.site-header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 74px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  font-family: var(--font-mono);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-name span {
  color: var(--accent-blue);
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-mono);
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

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

.nav-link:hover, .nav-link.active {
  color: var(--text-light);
  text-decoration: none;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-blue);
  border-radius: 2px;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-light);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.94rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.3;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), #1d4ed8);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.6);
  color: #fff;
}

.btn-whatsapp {
  background-color: var(--accent-emerald);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-whatsapp:hover {
  background-color: var(--accent-green-dark);
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  background-color: var(--bg-card);
  border-color: var(--border-light);
  color: var(--text-light);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  border-radius: 9999px;
  font-family: var(--font-mono);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.badge-blue {
  background-color: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-green {
  background-color: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-amber {
  background-color: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Section Common Styles */
.section {
  padding: 80px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: -0.8px;
  line-height: 1.25;
  margin-top: 12px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Hero Section */
.hero-section {
  padding: 85px 0 65px;
  border-bottom: 1px solid var(--border-color);
  background: radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin: 16px 0 20px;
}

.hero-content h1 span.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p.hero-lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.cred-item svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* Hero Engineering Terminal / Code Showcase */
.code-window {
  background-color: #0b1120;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.window-header {
  background-color: #111a2e;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

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

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

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

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

.window-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.7;
  color: #93c5fd;
  overflow-x: auto;
}

.window-body .c-comment { color: #64748b; }
.window-body .c-keyword { color: #f43f5e; font-weight: 600; }
.window-body .c-string { color: #34d399; }
.window-body .c-prop { color: #38bdf8; }
.window-body .c-val { color: #fbbf24; }

/* Engineering Stat Strip */
.stat-strip {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stat-box {
  border-right: 1px solid var(--border-color);
  padding-right: 20px;
}

.stat-box:last-child {
  border-right: none;
  padding-right: 0;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-light);
  font-family: var(--font-mono);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat-number span.stat-unit {
  color: var(--accent-blue);
  font-size: 1.4rem;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 6px;
}

.stat-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Cards & Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background-color: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.card-feature-list {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
}

.card-feature-list li {
  font-size: 0.86rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.card-feature-list li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* Comparison Table / Architecture Differentiator */
.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background-color: var(--bg-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background-color: #0f172a;
  color: var(--text-light);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.comparison-table th.col-highlight {
  background-color: #1e3a8a;
  color: #ffffff;
  border-bottom: 2px solid var(--accent-blue);
}

.comparison-table td.col-highlight {
  background-color: rgba(37, 99, 235, 0.05);
  font-weight: 500;
  color: #f1f5f9;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.badge-pill-yes {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-emerald);
  font-weight: 600;
  font-size: 0.85rem;
}

.badge-pill-no {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #ef4444;
  font-weight: 500;
  font-size: 0.85rem;
}

/* Backlinks & Ecosystem Directory Cards */
.ecosystem-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.ecosystem-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.15);
}

.ecosystem-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 12px;
}

.ecosystem-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
}

.ecosystem-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.ecosystem-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tech-tag {
  background-color: #0b1120;
  border: 1px solid var(--border-color);
  color: #94a3b8;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  padding: 3px 8px;
  border-radius: 4px;
}

.ecosystem-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent-blue);
  padding: 10px 14px;
  background-color: #0f172a;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: var(--transition);
}

.ecosystem-link:hover {
  background-color: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
  text-decoration: none;
}

/* Location Highlight Cards (Pune & Satara) */
.location-box {
  background: linear-gradient(180deg, var(--bg-card) 0%, #0d1527 100%);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  position: relative;
}

.location-box h3 {
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.location-box .location-tagline {
  color: var(--accent-blue);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-mono);
  margin-bottom: 16px;
}

.location-address {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.location-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.area-pill {
  background-color: #1e293b;
  border: 1px solid #334155;
  color: #cbd5e1;
  font-size: 0.78rem;
  padding: 3px 9px;
  border-radius: 4px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item summary {
  padding: 18px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background-color: var(--bg-card-hover);
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-family: var(--font-mono);
  color: var(--accent-blue);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 24px 20px;
  color: #94a3b8;
  font-size: 0.94rem;
  line-height: 1.65;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 6px;
  padding-top: 14px;
}

/* Contact / Project Estimator Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
}

.form-label span.req {
  color: #f43f5e;
}

.form-control {
  background-color: #0b1120;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 12px 14px;
  color: #f8fafc;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.radio-card {
  border: 1px solid var(--border-color);
  background-color: #0b1120;
  border-radius: 6px;
  padding: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
}

.radio-card:hover {
  border-color: var(--border-light);
}

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
  padding: 10px 0;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent-blue);
}

.breadcrumb-sep {
  color: var(--text-dim);
}

/* Footer */
.site-footer {
  background-color: #060913;
  border-top: 1px solid var(--border-color);
  padding: 70px 0 30px;
  margin-top: auto;
}

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

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.2px;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-blue);
  transform: translateX(3px);
  text-decoration: none;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-contact-item svg {
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 3px;
}

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

.footer-bottom a {
  color: var(--text-muted);
}

/* Floating Action / WhatsApp CTA */
.floating-whatsapp {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 999;
  background-color: #25d366;
  color: #ffffff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  cursor: pointer;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.floating-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0a0f1d;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 92px;
  right: 32px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 99;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  color: var(--text-light);
  border-color: var(--accent-blue);
  background-color: var(--bg-card-hover);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-box:nth-child(2) {
    border-right: none;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    width: 100%;
    background-color: #0b1120;
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-xl);
  }
  .main-nav.active {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    margin-bottom: 18px;
  }
  .header-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .header-cta-group .btn {
    width: 100%;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .stat-strip {
    grid-template-columns: 1fr;
  }
  .stat-box {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
  }
  .stat-box:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .radio-group {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .top-bar-right {
    display: none;
  }
}

