/* Ads Adviser - Modern Dark Glassmorphism Styling */

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

:root {
  --bg-dark: #070a12;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-glow: rgba(16, 185, 129, 0.3);
  
  --primary-emerald: #10b981;
  --primary-cyan: #06b6d4;
  --primary-indigo: #6366f1;
  --accent-purple: #a855f7;
  --accent-rose: #f43f5e;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --gradient-emerald: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  --gradient-emergency: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  --gradient-dark-card: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --shadow-glow-emerald: 0 0 25px rgba(16, 185, 129, 0.25);
  --shadow-glow-purple: 0 0 25px rgba(139, 92, 246, 0.25);
  --shadow-glow-cyan: 0 0 25px rgba(6, 182, 212, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 85% 40%, rgba(99, 102, 241, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 50% 85%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
              var(--bg-dark);
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, .font-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

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

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

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glass Card Utility */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 12px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.logo-emblem-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.3));
}

.logo-wordmark-img {
  height: 24px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.hero-emblem-display {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.hero-emblem-display img {
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 0 25px rgba(16, 185, 129, 0.4));
  animation: float 4s ease-in-out infinite;
}

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

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary-emerald);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: var(--gradient-emerald);
  color: #06111e;
  box-shadow: var(--shadow-glow-emerald);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

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

.btn-emergency {
  background: var(--gradient-emergency);
  color: #fff;
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.35);
}

.btn-emergency:hover {
  box-shadow: 0 0 30px rgba(244, 63, 94, 0.6);
  transform: translateY(-2px);
}

.btn-telegram {
  background: #229ED9;
  color: #fff;
}

.btn-telegram:hover {
  background: #1d8ec4;
  box-shadow: 0 0 25px rgba(34, 158, 217, 0.4);
}

.btn-messenger {
  background: linear-gradient(135deg, #00B2FF 0%, #006aff 100%);
  color: #fff;
}

.btn-messenger:hover {
  box-shadow: 0 0 25px rgba(0, 106, 255, 0.4);
}

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

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

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-emerald);
  margin-bottom: 24px;
}

.slogan-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-main);
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.slogan-pill span.dot {
  color: var(--primary-emerald);
}

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

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

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

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* Hero Badge Card */
.hero-card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--gradient-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.meta-badge-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.meta-badge-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cyan);
}

.badge-verify-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-emerald);
  background: rgba(16, 185, 129, 0.15);
  padding: 4px 10px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 4px;
}

.hero-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.hero-card-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

/* Emergency Recovery Banner */
.emergency-section {
  padding: 40px 0;
}

.emergency-banner {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.emergency-info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.emergency-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(244, 63, 94, 0.2);
  border: 1px solid rgba(244, 63, 94, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-rose);
  flex-shrink: 0;
}

.emergency-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.emergency-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 600px;
}

/* Section Header */
.section {
  padding: 100px 0;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

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

/* Credentials Grid */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.credential-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.credential-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-emerald);
  opacity: 0.7;
}

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

.credential-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-emerald);
}

.credential-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

.credential-issuer {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.credential-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-cyan);
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}

.credential-link:hover {
  color: var(--primary-emerald);
  gap: 10px;
}

/* Services Filter & Grid */
.category-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}

.tab-btn:hover, .tab-btn.active {
  background: var(--gradient-emerald);
  color: #06111e;
  border-color: transparent;
  box-shadow: var(--shadow-glow-emerald);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.service-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

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

.service-badge-popular {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #c084fc;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
}

.service-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-emerald);
  margin-bottom: 20px;
  transition: all 0.3s;
}

.service-card:hover .service-icon-wrapper {
  background: var(--gradient-emerald);
  color: #06111e;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}

.service-highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.service-highlight-item svg {
  color: var(--primary-cyan);
}

.service-cta-btn {
  width: 100%;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
}

.service-card:hover .service-cta-btn {
  background: var(--gradient-emerald);
  color: #06111e;
  border-color: transparent;
}

/* ROI Calculator Section */
.calculator-box {
  padding: 48px;
  border-radius: var(--radius-xl);
  background: var(--gradient-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.calculator-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.range-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.range-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.range-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-emerald);
}

input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-emerald);
  cursor: pointer;
  box-shadow: var(--shadow-glow-emerald);
}

.calculator-results {
  background: rgba(7, 10, 18, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-result-card {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
}

.calc-result-title {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.calc-result-val {
  font-size: 2rem;
  font-weight: 800;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

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

.modal-content {
  background: #0d1527;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 580px;
  width: 100%;
  position: relative;
  transform: scale(0.92);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 10px;
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary-emerald);
}

/* Footer */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-glass);
  background: #050810;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 16px;
  max-width: 340px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main);
}

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

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

.footer-links a:hover {
  color: var(--primary-emerald);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-glass);
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Official Channels Section */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.channel-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.channel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--channel-color, var(--primary-emerald));
  opacity: 0.8;
  transition: opacity 0.3s;
}

.channel-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 30px -10px var(--channel-glow, rgba(16, 185, 129, 0.3));
}

.channel-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--channel-bg, rgba(255, 255, 255, 0.05));
  border: 1px solid var(--channel-border, var(--border-glass));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--channel-color, var(--text-main));
  margin-bottom: 16px;
}

.channel-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.channel-handle-tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--channel-color, var(--primary-emerald));
  margin-bottom: 12px;
}

.channel-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.channel-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  transition: gap 0.2s;
}

.channel-card:hover .channel-btn-link {
  color: var(--channel-color, var(--primary-emerald));
  gap: 10px;
}

/* Mobile Navigation Toggle Button */
.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1200;
  pointer-events: auto;
  touch-action: manipulation;
  transition: all 0.2s ease;
}

.mobile-nav-toggle:active {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.15);
}

/* Mobile Drawer Backdrop Overlay */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(7, 10, 18, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: #0d1527;
  border-left: 1px solid var(--border-glass);
  backdrop-filter: blur(24px);
  z-index: 1050;
  padding: 80px 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.85);
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-glass);
}

.mobile-nav-links a:hover {
  color: var(--primary-emerald);
}

/* Mobile Bottom Quick-Action Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(7, 10, 18, 0.92);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glass);
  padding: 10px 16px;
  z-index: 990;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
}

.mobile-bottom-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-bottom-bar .btn {
  padding: 10px 12px;
  font-size: 0.82rem;
  justify-content: center;
  border-radius: var(--radius-md);
}

/* Comprehensive Responsive Breakpoints */
@media (max-width: 992px) {
  .container {
    padding: 0 18px;
  }

  .hero {
    padding: 130px 0 60px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-description {
    margin-bottom: 28px;
  }

  .calculator-box {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 36px;
  }

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

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .mobile-bottom-bar {
    display: block;
  }

  /* Extra space at bottom of page to prevent floating bar overlay */
  body {
    padding-bottom: 64px;
  }

  .hero {
    padding: 110px 0 40px;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .slogan-pill {
    font-size: 0.78rem;
    padding: 5px 14px;
  }

  .status-pill {
    font-size: 0.78rem;
    padding: 5px 12px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

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

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .hero-card {
    padding: 24px 18px;
  }

  .hero-emblem-display img {
    max-width: 150px;
  }

  .category-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 12px;
    margin-bottom: 32px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .category-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    white-space: nowrap;
    padding: 8px 16px;
    font-size: 0.84rem;
    flex-shrink: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 24px 20px;
  }

  .credentials-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .credential-card {
    padding: 22px 18px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .emergency-banner {
    padding: 28px 20px;
    flex-direction: column;
    text-align: center;
  }

  .emergency-info {
    flex-direction: column;
    align-items: center;
  }

  .emergency-title {
    font-size: 1.25rem;
  }

  .emergency-desc {
    font-size: 0.88rem;
  }

  .calculator-box {
    padding: 24px 16px;
  }

  .calculator-results {
    padding: 20px 16px;
  }

  .calc-result-val {
    font-size: 1.6rem;
  }

  .channels-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .channel-card {
    padding: 20px 16px;
  }

  .modal-content {
    padding: 24px 18px;
    max-height: 88vh;
    overflow-y: auto;
  }

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

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

@media (max-width: 480px) {
  .logo-emblem-img {
    height: 34px;
  }

  .logo-wordmark-img {
    height: 20px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }
}
