/* ============================================
   CopilotHub - Main Stylesheet
   Clean, flat design. No shadows, gradients, or border-radius.
   ============================================ */

/* ============================================
   HTML CLASS COMPATIBILITY LAYER
   The HTML uses slightly different class names than the
   original CSS. This section maps everything cleanly so
   nothing breaks visually.
   ============================================ */

/* --- Navbar aliases --- */
.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.navbar-brand:hover { color: var(--text); }

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  list-style: none;
}

.nav-links li a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 400;
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--text);
}

.nav-links li a.active::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

/* Hamburger button (alias for mobile-toggle) */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 6px;
  align-items: center;
  justify-content: center;
}

.hamburger svg {
  display: block;
}

/* When nav-cta is an <a> instead of a wrapper */
a.nav-cta {
  display: inline-flex;
}

/* --- Section base styling for HTML section classes --- */
.hero,
.features,
.pricing,
.comparison,
.how-it-works,
.testimonials,
.faq,
.cta-section {
  padding: 96px 0;
}

.hero {
  padding: 136px 0 96px;
  position: relative;
}

.cta-section {
  padding: 80px 0;
  text-align: center;
}

/* Unified section background, no inter-section borders */
.hero,
.features,
.pricing,
.comparison,
.how-it-works,
.testimonials,
.faq,
.cta-section,
.page-hero,
.section {
  background: var(--primary);
  border-top: none;
  border-bottom: none;
}

/* --- Section Header (alias) --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* --- Hero --- */
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-content .badge {
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-content .badge svg {
  width: 14px;
  height: 14px;
}

/* --- Buttons additions --- */
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.btn-block {
  width: 100%;
}

/* --- Feature Cards (alias) --- */
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 32px 28px;
  transition: border-color var(--transition), background var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card:hover {
  border-color: var(--text-dim);
  background: var(--secondary);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(35, 134, 54, 0.12);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

/* Reset earlier features-grid divider treatment so feature-card borders are visible */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: transparent;
  border: none;
}

/* --- Pricing aliases --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  border: none;
  background: transparent;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 40px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition);
}

.pricing-card:last-child {
  border-right: 1px solid var(--border);
}

.pricing-card:hover {
  border-color: var(--text-dim);
  background: var(--card-bg);
}

.pricing-card.featured {
  border-color: var(--accent);
  background: var(--card-bg);
  padding-top: 56px;
}

.pricing-card.featured:hover {
  border-color: var(--accent);
}

.pricing-card.featured::before {
  content: none;
}

.pricing-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  color: #fff;
  padding: 6px 0;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.pricing-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
  font-size: 1.25rem;
  margin: 0 0 8px 0;
  color: var(--text);
  font-weight: 600;
}

.pricing-header p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
  margin-top: 12px;
}

.pricing-header .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}

.pricing-header .price span {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.5;
}

.pricing-features li svg {
  flex-shrink: 0;
}

/* --- Comparison table polish --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  background: var(--card-bg);
}

.comparison-table thead tr {
  background: var(--secondary);
}

.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.comparison-table th:not(:first-child),
.comparison-table td:not(:first-child) {
  text-align: center;
}

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

.comparison-table td svg {
  vertical-align: middle;
}

/* --- How It Works (alias) --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: transparent;
  border: none;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  text-align: center;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: border-color var(--transition);
}

.step-card:hover {
  border-color: var(--text-dim);
}

.step-card .step-number {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.step-icon {
  width: 56px;
  height: 56px;
  background: rgba(35, 134, 54, 0.1);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0 8px;
}

.step-icon svg {
  width: 26px;
  height: 26px;
}

.step-card h3 {
  font-size: 1.05rem;
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* --- Testimonials (alias) --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  border: none;
  background: transparent;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card:last-child {
  border-right: 1px solid var(--border);
}

.testimonial-card .stars {
  display: flex;
  gap: 2px;
  margin: 0;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  font-style: normal;
  margin: 0;
  border: none;
  padding: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-info strong {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 600;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- FAQ (alias) --- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
}

.faq-item {
  background: var(--card-bg);
  border: none;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item:hover {
  background: var(--secondary);
}

.faq-item.active {
  background: var(--secondary);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
  font-size: 0.95rem;
  font-family: inherit;
  gap: 16px;
}

.faq-question span {
  flex: 1;
}

.faq-icon {
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* --- CTA Section content --- */
.cta-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cta-content p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

/* --- Footer (alias) --- */
.footer {
  background: var(--primary);
  padding: 64px 0 28px;
}

.footer-col h4 {
  margin-bottom: 16px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-col h4.footer-brand {
  color: var(--text);
  font-size: 1.1rem;
  text-transform: none;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-brand .brand-mark,
.footer-brand .brand-mark { color: var(--accent); flex-shrink: 0; }
.navbar-brand .brand-text,
.footer-brand .brand-text { color: var(--text); }

.footer-col > p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: var(--text-dim);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--transition);
}

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

/* --- Stat card (used as fade-in stat-card) --- */
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color var(--transition);
}

.stat-card:hover {
  border-color: var(--text-dim);
}

.stat-card .number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-card .label {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: transparent;
  border: none;
}

/* --- Trust grid: use plain cards instead of divider pattern --- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: transparent;
  border: none;
}

.trust-grid .card,
.security-grid .card {
  border: 1px solid var(--border);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: transparent;
  border: none;
}

/* --- Use cases --- */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  background: transparent;
  border: none;
}

.use-case-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color var(--transition);
}

.use-case-card:hover {
  border-color: var(--text-dim);
  background: var(--card-bg);
}

/* --- Activation steps --- */
.activation-steps {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--card-bg);
}

.activation-step {
  display: flex;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  background: transparent;
  align-items: flex-start;
}

.activation-step:last-child {
  border-bottom: none;
}

.activation-step .step-num {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  flex-shrink: 0;
}

.activation-step h4 {
  font-size: 1rem;
  color: var(--text);
  margin: 0 0 4px 0;
  font-weight: 600;
}

.activation-step p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

/* --- Contact --- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--card-bg);
}

.contact-info-card {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-card:last-child {
  border-bottom: none;
}

.contact-info-card .icon {
  width: 40px;
  height: 40px;
  background: rgba(35, 134, 54, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-info-card .icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-card h4 {
  margin: 0 0 4px 0;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
}

.contact-info-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}

/* --- About grid --- */
.about-content h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* --- Tables: discount + matrix wrappers + borders --- */
.discount-table,
.matrix-table {
  background: var(--card-bg);
}

.discount-table th,
.matrix-table th {
  font-weight: 600;
}

.matrix-table td svg,
.discount-table td svg {
  vertical-align: middle;
}

/* --- Form polish --- */
.contact-form .form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238B949E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* --- Hero overrides for clean centering --- */
.hero .container {
  display: flex;
  justify-content: center;
}

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

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
  font-weight: 700;
}

/* --- Page Hero adjustments --- */
.page-hero .container {
  max-width: 760px;
}

/* --- General spacing helpers --- */
.fade-in {
  /* keep transition but ensure it never blocks layout */
  will-change: opacity, transform;
}

/* --- Misc: ensure SVGs in flex contexts are not stretched --- */
svg { flex-shrink: 0; }

/* --- End of compatibility layer --- */

/* ============================================
   BLOG STYLES
   ============================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition);
  overflow: hidden;
}

.blog-card:hover {
  border-color: var(--text-dim);
  color: inherit;
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
}

.blog-card-image svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.blog-card-meta .dot {
  width: 3px;
  height: 3px;
  background: var(--text-dim);
}

.blog-card-tag {
  color: var(--accent);
}

.blog-card h3 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--text);
  font-weight: 600;
  line-height: 1.4;
}

.blog-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.blog-card-footer {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}

.blog-card-footer svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.blog-card:hover .blog-card-footer svg {
  transform: translateX(4px);
}

/* --- Featured blog --- */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--card-bg);
  border: 1px solid var(--border);
  margin-bottom: 48px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition);
  overflow: hidden;
}

.blog-featured:hover {
  border-color: var(--text-dim);
  color: inherit;
}

.blog-featured .blog-card-image {
  aspect-ratio: auto;
  border-bottom: none;
  border-right: 1px solid var(--border);
  min-height: 280px;
}

.blog-featured .blog-card-image svg {
  width: 72px;
  height: 72px;
}

.blog-featured .blog-card-body {
  padding: 40px;
  justify-content: center;
}

.blog-featured h3 {
  font-size: 1.5rem;
}

/* --- Blog post (single article) --- */
.blog-post {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.blog-post-header {
  text-align: center;
  margin-bottom: 48px;
}

.blog-post-header .blog-card-meta {
  justify-content: center;
  margin-bottom: 20px;
}

.blog-post-header h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.blog-post-header .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.blog-post-cover {
  width: 100%;
  aspect-ratio: 21 / 9;
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 48px;
}

.blog-post-cover svg {
  width: 80px;
  height: 80px;
  opacity: 0.4;
}

.blog-content {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.8;
}

.blog-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.blog-content h3 {
  font-size: 1.2rem;
  margin: 32px 0 12px;
  font-weight: 600;
}

.blog-content p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.blog-content ul,
.blog-content ol {
  margin: 0 0 18px 24px;
  color: var(--text-muted);
  padding-left: 0;
}

.blog-content ul li,
.blog-content ol li {
  margin-bottom: 8px;
  list-style: disc;
  padding-left: 4px;
}

.blog-content ol li {
  list-style: decimal;
}

.blog-content strong {
  color: var(--text);
  font-weight: 600;
}

.blog-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-content code {
  background: var(--secondary);
  border: 1px solid var(--border);
  padding: 2px 6px;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 0.875em;
  color: var(--text);
}

.blog-content pre {
  background: var(--secondary);
  border: 1px solid var(--border);
  padding: 20px;
  overflow-x: auto;
  margin: 18px 0;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text);
}

.blog-content pre code {
  background: none;
  border: none;
  padding: 0;
}

.blog-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 20px;
  margin: 24px 0;
  color: var(--text-muted);
  font-style: normal;
}

.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 32px;
  text-decoration: none;
  transition: color var(--transition);
}

.blog-back:hover {
  color: var(--text);
}

.blog-back svg {
  width: 14px;
  height: 14px;
}

.blog-post-footer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-author-avatar {
  width: 40px;
  height: 40px;
  background: rgba(35, 134, 54, 0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.blog-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.blog-author-info strong {
  font-size: 0.9rem;
  color: var(--text);
}

.blog-author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* End blog styles */

/* --- CSS Variables --- */
:root {
  --primary: #0D1117;
  --secondary: #161B22;
  --accent: #238636;
  --accent-hover: #2ea043;
  --text: #F0F6FC;
  --text-muted: #8B949E;
  --text-dim: #6E7681;
  --border: #30363D;
  --card-bg: #161B22;
  --transition: 0.2s ease;
  --max-width: 1200px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--primary);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul { list-style: none; }

/* --- Utility Classes --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }

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

.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: 3rem; letter-spacing: -0.025em; }
h2 { font-size: 2rem; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

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

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

.btn-outline:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 0.95rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  height: 56px;
  display: flex;
  align-items: center;
  background: var(--primary);
  border-bottom: 1px solid var(--border);
  transition: none;
}

.navbar.scrolled {
  border-bottom-color: var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.nav-brand svg {
  width: 24px;
  height: 24px;
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 400;
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
}

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

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all var(--transition);
}

/* --- Hero Section --- */
.hero {
  padding: 136px 0 96px;
  position: relative;
}

.hero::before {
  display: none;
}

.hero-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 20px;
  color: var(--text);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Cards --- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 28px;
  transition: border-color var(--transition);
  position: relative;
}

.card:hover {
  border-color: var(--text-dim);
}

.card::before {
  display: none;
}

.card:hover::before {
  display: none;
}

.card-icon {
  width: 40px;
  height: 40px;
  background: rgba(35, 134, 54, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Feature Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.features-grid .card {
  border: none;
}

.features-grid .card:hover {
  border: none;
  background: var(--secondary);
}

/* --- Pricing Cards --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border);
}

.pricing-card {
  background: var(--card-bg);
  border: none;
  border-right: 1px solid var(--border);
  padding: 40px;
  position: relative;
}

.pricing-card:last-child {
  border-right: none;
}

.pricing-card:hover {
  background: var(--secondary);
}

.pricing-card.featured {
  border-color: var(--border);
  background: var(--secondary);
}

.pricing-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  color: #fff;
  padding: 6px 0;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 16px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-card .price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-card .features-list {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-card .features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-card .features-list li svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
  border: 1px solid var(--border);
}

.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--secondary);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.comparison-table td {
  font-size: 0.9rem;
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.check-icon {
  color: var(--accent);
}

.cross-icon {
  color: var(--text-dim);
}

/* --- How It Works --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.step-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--card-bg);
}

.step-number {
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.testimonial-card {
  background: var(--card-bg);
  border: none;
  border-right: 1px solid var(--border);
  padding: 32px;
}

.testimonial-card:last-child {
  border-right: none;
}

.testimonial-card .stars {
  color: #F59E0B;
  margin-bottom: 16px;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-style: normal;
  line-height: 1.7;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
}

.testimonial-card .role {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --- FAQ --- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
}

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

.faq-item:last-child {
  border-bottom: none;
}

.faq-item:hover {
  background: var(--secondary);
}

.faq-item.active {
  background: var(--secondary);
}

.faq-question {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  user-select: none;
  gap: 16px;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
  color: var(--text-dim);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-section::before {
  display: none;
}

.cta-section h2 {
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 28px;
}

/* --- Footer --- */
.footer {
  background: var(--primary);
  padding: 64px 0 28px;
}

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

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

.footer h4 {
  margin-bottom: 16px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 500;
}

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

.footer ul li a {
  color: var(--text-dim);
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer ul li a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  color: var(--text-dim);
  font-size: 0.8rem;
}

.footer-bottom > p {
  margin: 0;
  flex: 1;
}

.footer-disclaimer {
  margin-top: 8px !important;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--text-dim);
  opacity: 0.75;
  max-width: 720px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: var(--text-dim);
  transition: color var(--transition);
}

.social-links a:hover {
  color: var(--text);
}

/* --- Contact Form --- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  background: var(--primary);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color var(--transition);
  outline: none;
}

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

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

/* --- Animations (initial states) --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Page-specific hero variants --- */
.page-hero {
  padding: 136px 0 72px;
  text-align: center;
}

.page-hero::before {
  display: none;
}

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- About Page --- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
  align-items: start;
}

.about-content h2 {
  margin-bottom: 16px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.stat-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--card-bg);
  border: none;
}

.stat-card .number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

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

/* --- Trust Section --- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.trust-grid .card {
  border: none;
}

/* --- Contact Page Extras --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
}

.contact-info-card {
  background: var(--card-bg);
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-card:last-child {
  border-bottom: none;
}

.contact-info-card .icon {
  width: 36px;
  height: 36px;
  background: rgba(35, 134, 54, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-info-card h4 {
  margin-bottom: 2px;
  font-size: 1rem;
}

.contact-info-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- Bulk Discount Table --- */
.discount-table {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-collapse: collapse;
  border: 1px solid var(--border);
}

.discount-table th,
.discount-table td {
  padding: 12px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.discount-table th {
  background: var(--secondary);
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.discount-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* --- Feature Matrix --- */
.matrix-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
}

.matrix-table th,
.matrix-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.matrix-table th:first-child,
.matrix-table td:first-child {
  text-align: left;
}

.matrix-table th {
  background: var(--secondary);
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* --- Use Cases --- */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.use-case-card {
  background: var(--card-bg);
  border: none;
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: background var(--transition);
}

.use-case-card:hover {
  background: var(--secondary);
}

/* --- Security Section --- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.security-grid .card {
  border: none;
}

/* --- Activation Steps --- */
.activation-steps {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.activation-step {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid var(--border);
  background: var(--card-bg);
}

.activation-step:last-child {
  border-bottom: none;
}

.activation-step:not(:last-child)::after {
  display: none;
}

.activation-step .step-num {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
  font-size: 0.9rem;
}

.activation-step h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.activation-step p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ====================================================================
   GEO Optimization Components (skill: ai-seo)
   - Definition block (AI-extractable 40-60 word answer)
   - Stats strip (Princeton GEO: statistics +37% citation rate)
   - Comparison table (33% of all AI citations)
   - Last-updated freshness signal
   ==================================================================== */

.geo-answer {
  background: var(--card-bg);
  border-left: 3px solid var(--accent);
  padding: 24px 28px;
  margin: 0 0 48px;
}

.geo-answer .geo-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.geo-answer p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
}

.geo-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  margin: 40px 0;
}

.geo-stats .geo-stat {
  background: var(--card-bg);
  padding: 28px 24px;
  text-align: center;
}

.geo-stats .geo-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.geo-stats .geo-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.geo-stats .geo-stat-source {
  font-size: 0.7rem;
  color: var(--text-dim);
  opacity: 0.7;
}

.geo-stats .geo-stat-source a {
  color: var(--text-dim);
  text-decoration: underline;
}

.geo-compare {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
  font-size: 0.92rem;
}

.geo-compare th,
.geo-compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.geo-compare th {
  background: var(--card-bg);
  font-weight: 600;
  color: var(--text);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.geo-compare td:first-child {
  font-weight: 500;
  color: var(--text);
  width: 30%;
}

.geo-compare .yes { color: var(--accent); font-weight: 600; }
.geo-compare .no  { color: var(--text-dim); }

.last-updated {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.last-updated time {
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 640px) {
  .geo-stats { grid-template-columns: 1fr 1fr; }
  .geo-compare { font-size: 0.8rem; }
  .geo-compare th, .geo-compare td { padding: 10px 8px; }
}

/* ===== Floating WhatsApp Button ===== */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 18px;
  background: #25D366;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid #128C7E;
  transition: background 0.15s ease, transform 0.15s ease;
}
.wa-float:hover { background: #128C7E; color: #FFFFFF; transform: translateY(-2px); }
.wa-float svg { width: 28px; height: 28px; flex-shrink: 0; }
.wa-float .wa-label { white-space: nowrap; }
@media (max-width: 640px) {
  .wa-float { padding: 14px; right: 16px; bottom: 16px; }
  .wa-float .wa-label { display: none; }
  .wa-float svg { width: 30px; height: 30px; }
}
