/* =====================================================
   OS NÁUFRAGOS IPTV — Static Site CSS
   Design tokens from original Tailwind/CSS variables
   ===================================================== */

:root {
  --background: hsl(220, 30%, 7%);
  --foreground: hsl(220, 30%, 92%);
  --card: hsl(215, 30%, 11%);
  --card-foreground: hsl(220, 30%, 92%);
  --primary: hsl(130, 80%, 25%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(243, 47%, 53%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(215, 20%, 18%);
  --muted-foreground: hsl(215, 18%, 63%);
  --accent: hsl(0, 89%, 47%);
  --accent-foreground: hsl(0, 0%, 100%);
  --destructive: hsl(0, 84%, 60%);
  --border: hsl(215, 20%, 18%);
  --radius: 0.75rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-color: var(--border); }

html { scroll-behavior: smooth; }

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

section { scroll-margin-top: 5rem; }
h1,h2,h3,h4,h5,h6 { scroll-margin-top: 5rem; }

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

/* =====================================================
   LAYOUT UTILITIES
   ===================================================== */
.container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (max-width: 768px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
}

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background-color: rgba(10, 13, 20, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}

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

.site-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 0;
}

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

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.15s;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }

.btn-cta-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: filter 0.15s;
  border: none;
  cursor: pointer;
}
.btn-cta-header:hover { filter: brightness(1.1); }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}

.nav-mobile {
  display: none;
  background-color: var(--card);
  border-top: 1px solid var(--border);
  padding: 0 1rem 1rem;
}

.nav-mobile.open { display: block; }

.nav-mobile-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(215, 220, 255, 0.08);
  color: var(--muted-foreground);
  transition: color 0.15s;
}
.nav-mobile-link:hover, .nav-mobile-link.active { color: var(--primary); }

.btn-cta-mobile {
  display: block;
  text-align: center;
  margin-top: 1rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

@media (max-width: 767px) {
  .nav-desktop, .btn-cta-header-wrap { display: none !important; }
  .nav-mobile-toggle { display: block; }
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background-color: var(--card);
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  padding-bottom: 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

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

.footer-brand-desc {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.footer-heading {
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.footer-bottom p + p { margin-top: 0.25rem; }

/* =====================================================
   WHATSAPP FLOAT
   ===================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: filter 0.15s;
  font-size: 0.875rem;
  font-weight: 600;
  animation: pulse-glow 2s ease-in-out infinite;
}
.whatsapp-float:hover { filter: brightness(1.1); }

@media (max-width: 640px) { .whatsapp-float-text { display: none; } }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px hsl(130, 80%, 25%, 0.4), 0 10px 25px rgba(0,0,0,0.3); }
  50% { box-shadow: 0 0 40px hsl(130, 80%, 25%, 0.7), 0 10px 25px rgba(0,0,0,0.3); }
}

/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb-nav {
  padding-top: 5rem;
  padding-bottom: 0.5rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  list-style: none;
}

.breadcrumb-list a:hover { color: var(--primary); transition: color 0.15s; }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--foreground); font-weight: 500; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  transition: filter 0.15s;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  cursor: pointer;
  border: none;
}
.btn-primary:hover { filter: brightness(1.1); }

.btn-outline-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  transition: background-color 0.15s;
}
.btn-outline-primary:hover { background-color: rgba(27,124,46,0.1); }

.btn-outline-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--secondary);
  color: var(--secondary);
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  transition: background-color 0.15s;
}
.btn-outline-secondary:hover { background-color: rgba(97, 93, 193, 0.1); }

.btn-sm-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: filter 0.15s;
}
.btn-sm-primary:hover { filter: brightness(1.1); }

/* =====================================================
   CARDS
   ===================================================== */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.card-hover { transition: border-color 0.15s; }
.card-hover:hover { border-color: rgba(27,124,46,0.5); }

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(97,93,193,0.1), var(--background), var(--background));
}

.hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-content {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(27,124,46,0.15);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; }
}

/* =====================================================
   SOCIAL PROOF SECTION
   ===================================================== */
.social-proof {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: rgba(32, 40, 56, 0.5);
}

.social-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

@media (max-width: 768px) {
  .social-proof-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* =====================================================
   SECTION TITLES
   ===================================================== */
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--muted-foreground); }
.text-fg { color: var(--foreground); }
.text-accent { color: var(--accent); }

/* =====================================================
   GRIDS
   ===================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

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

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

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-7 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .grid-7 { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================
   ACCORDION / FAQ
   ===================================================== */
.accordion-item {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  gap: 1rem;
  transition: color 0.15s;
}

.accordion-trigger:hover { color: var(--primary); }

.accordion-trigger .chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease-out;
}

.accordion-item.open .accordion-trigger .chevron { transform: rotate(180deg); }

.accordion-content {
  display: none;
  padding: 0 1.25rem 1rem;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.accordion-item.open .accordion-content { display: block; }

/* =====================================================
   CATEGORY TABS (FAQ / Testimonials)
   ===================================================== */
.tab-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover { border-color: rgba(27,124,46,0.5); color: var(--foreground); }
.tab-btn.active {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(27,124,46,0.2);
}

/* =====================================================
   TABLE
   ===================================================== */
.data-table {
  width: 100%;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  border-collapse: collapse;
}

.data-table thead { background-color: var(--card); }
.data-table th {
  padding: 1rem;
  font-weight: 600;
  color: var(--foreground);
}
.data-table td {
  padding: 1rem;
  color: var(--muted-foreground);
  border-top: 1px solid var(--border);
}

.table-wrap { overflow-x: auto; }

/* =====================================================
   COMPARISON TABLE (home)
   ===================================================== */
.comparison-table { width: 100%; font-size: 0.875rem; border-collapse: collapse; }
.comparison-table th {
  text-align: center;
  padding: 0.75rem 1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  color: var(--muted-foreground);
}
.comparison-table th:first-child { text-align: left; color: var(--foreground); }
.comparison-table th.col-iptv { color: var(--primary); }
.comparison-table td {
  padding: 0.75rem 1rem;
  text-align: center;
  color: var(--muted-foreground);
  border-bottom: 1px solid rgba(215,220,255,0.06);
}
.comparison-table td:first-child { text-align: left; }
.comparison-table tr:hover td { background-color: rgba(32,40,56,0.5); }

.check-yes { color: var(--primary); }
.check-no { color: rgba(239,68,68,0.6); }
.check-partial { color: var(--muted-foreground); }

/* =====================================================
   PLAN CARDS
   ===================================================== */
.plan-card {
  position: relative;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.plan-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.plan-name { font-size: 1.25rem; font-weight: 700; color: var(--foreground); margin-bottom: 0.25rem; }
.plan-duration { font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 0.5rem; }
.plan-desc { font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 1.5rem; }

.plan-features { list-style: none; text-align: left; font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 1.5rem; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.5rem; }

.plan-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: filter 0.15s;
  border: none;
  cursor: pointer;
}
.plan-btn-primary:hover { filter: brightness(1.1); }

.plan-btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background-color 0.15s;
}
.plan-btn-outline:hover { background-color: rgba(27,124,46,0.1); }

/* =====================================================
   CTA SECTIONS
   ===================================================== */
.cta-gradient-primary {
  background: linear-gradient(to right, rgba(27,124,46,0.1), var(--background), rgba(27,124,46,0.1));
}
.cta-gradient-secondary {
  background: linear-gradient(to right, rgba(97,93,193,0.2), rgba(27,124,46,0.1), rgba(97,93,193,0.2));
}
.cta-gradient-card {
  background: linear-gradient(to right, rgba(27,124,46,0.1), var(--card), rgba(27,124,46,0.1));
}

.cta-box {
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonial-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.testimonial-header { display: flex; align-items: center; justify-content: space-between; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.testimonial-name { font-size: 0.875rem; font-weight: 600; color: var(--foreground); }
.testimonial-location { font-size: 0.75rem; color: var(--muted-foreground); }
.testimonial-text { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }
.testimonial-date { font-size: 0.75rem; color: var(--muted-foreground); }

.stars { display: flex; gap: 2px; }
.star-filled { color: var(--primary); }
.star-empty { color: rgba(215,220,255,0.2); }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

/* =====================================================
   AVATAR COLORS
   ===================================================== */
.avatar-blue { background-color: #2563eb; }
.avatar-emerald { background-color: #059669; }
.avatar-purple { background-color: #7c3aed; }
.avatar-rose { background-color: #e11d48; }
.avatar-amber { background-color: #d97706; }
.avatar-cyan { background-color: #0891b2; }
.avatar-indigo { background-color: #4f46e5; }
.avatar-pink { background-color: #db2777; }
.avatar-teal { background-color: #0d9488; }
.avatar-orange { background-color: #ea580c; }
.avatar-violet { background-color: #7c3aed; }
.avatar-lime { background-color: #65a30d; }
.avatar-sky { background-color: #0284c7; }
.avatar-fuchsia { background-color: #c026d3; }
.avatar-red { background-color: #dc2626; }

/* =====================================================
   CHECKLIST ITEMS
   ===================================================== */
.check-list { list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; }
.check-icon { color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* =====================================================
   INFO CARD / HIGHLIGHTED BOX
   ===================================================== */
.info-card {
  background-color: rgba(27,124,46,0.05);
  border: 1px solid rgba(27,124,46,0.2);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
}

/* =====================================================
   STEPS GRID
   ===================================================== */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background-color: rgba(27,124,46,0.2);
  color: var(--primary);
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step-number-xl {
  display: inline-block;
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* =====================================================
   DETAILS/SUMMARY (Checklist de instalação)
   ===================================================== */
details.install-accordion {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

details.install-accordion summary {
  padding: 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.15s;
  list-style: none;
}

details.install-accordion summary:hover { color: var(--primary); }
details.install-accordion summary::-webkit-details-marker { display: none; }

details.install-accordion .details-body { padding: 0 1.25rem 1.25rem; }
details.install-accordion ol { list-style: none; }
details.install-accordion ol li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}
details.install-accordion ol li .item-num { color: var(--primary); font-weight: 700; }

/* =====================================================
   GLOSSARY
   ===================================================== */
.glossary-list { }
.glossary-item {
  padding: 1rem;
  border-top: 1px solid var(--border);
}
.glossary-item:first-child { border-top: none; }
.glossary-term { font-weight: 600; color: var(--foreground); font-size: 0.875rem; }
.glossary-def { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.25rem; }

/* =====================================================
   CONTACT CHANNELS
   ===================================================== */
.contact-channel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: background-color 0.15s;
}
.contact-channel:hover { background-color: var(--muted); }
.contact-channel-icon {
  width: 40px; height: 40px;
  border-radius: 9999px;
  background-color: rgba(27,124,46,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* =====================================================
   PAGE LAYOUT
   ===================================================== */
.page-main { padding-bottom: 5rem; }
.page-hero { padding: 3rem 0; text-align: center; max-width: 48rem; margin-left: auto; margin-right: auto; }
.page-h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 1.5rem; }
.page-intro { color: var(--muted-foreground); font-size: 1.125rem; }

/* =====================================================
   SECTION SPACING
   ===================================================== */
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-4 { margin-top: 1rem; }

.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; margin-left: auto; margin-right: auto; }

/* =====================================================
   SECTION BACKGROUNDS
   ===================================================== */
.bg-card-30 { background-color: rgba(32, 40, 56, 0.3); }

/* =====================================================
   PROSE (Legal pages)
   ===================================================== */
.prose { color: var(--muted-foreground); line-height: 1.75; }
.prose h2 { font-size: 1.25rem; font-weight: 700; color: var(--foreground); margin-top: 2rem; margin-bottom: 0.5rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.prose ul li { margin-bottom: 0.25rem; }
.prose strong { color: var(--foreground); }

/* =====================================================
   UTILITY
   ===================================================== */
.text-center { text-align: center; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* =====================================================
   404 PAGE
   ===================================================== */
.not-found-page {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: var(--muted);
}
.not-found-inner { text-align: center; }
.not-found-inner h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.not-found-inner p { font-size: 1.25rem; color: var(--muted-foreground); margin-bottom: 1rem; }

/* =====================================================
   SUMMARY FOR PRESSA (FAQ page)
   ===================================================== */
.quick-summary { background-color: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.quick-summary h2 { font-size: 1.125rem; font-weight: 700; color: var(--foreground); margin-bottom: 0.75rem; }
.quick-summary ul { list-style: none; }
.quick-summary li { font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 0.5rem; }
.quick-summary strong { color: var(--foreground); }

/* =====================================================
   STABILITY GUIDE
   ===================================================== */
.stability-guide { background-color: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.stability-item { margin-bottom: 1rem; }
.stability-item:last-child { margin-bottom: 0; }
.stability-tip { font-weight: 600; color: var(--foreground); font-size: 0.875rem; }
.stability-desc { font-size: 0.875rem; color: var(--muted-foreground); }

/* =====================================================
   RESPONSIVE ADJUSTMENTS
   ===================================================== */
@media (max-width: 640px) {
  .btn-primary, .btn-outline-secondary { padding: 0.875rem 1.5rem; font-size: 1rem; }
  .hero-title { font-size: 2rem; }
  .cta-box { padding: 2rem 1.5rem; }
}

/* =====================================================
   PLANS GRID & PLAN CARDS (inner pages)
   ===================================================== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .plans-grid { grid-template-columns: 1fr; }
}

.plan-card {
  position: relative;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.plan-card-popular {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}
.plan-popular-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  white-space: nowrap;
}
.plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.2s, background 0.2s;
  margin-top: auto;
}
.plan-cta-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}
.plan-cta-primary:hover { filter: brightness(1.1); }
.plan-cta-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.plan-cta-outline:hover { background-color: rgba(34,139,34,0.1); }

/* =====================================================
   CTA GRADIENT (inner pages)
   ===================================================== */
.cta-gradient {
  background: linear-gradient(to right, rgba(34,139,34,0.1), var(--card), rgba(34,139,34,0.1));
}

/* =====================================================
   PROSE CONTENT (legal pages)
   ===================================================== */
.prose-content {
  color: var(--muted-foreground);
  line-height: 1.75;
  font-size: 0.9375rem;
}
.prose-content p { margin-bottom: 1.25rem; }
.prose-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.prose-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.prose-content ul li { margin-bottom: 0.25rem; }

/* =====================================================
   GLOSSARY (FAQ page)
   ===================================================== */
.glossary-item {
  padding: 1rem;
  border-top: 1px solid var(--border);
}
.glossary-item:first-child { border-top: none; }
.glossary-item dt {
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.875rem;
}
.glossary-item dd {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
  margin-left: 0;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-card-link { transition: border-color 0.2s; }
.contact-card-link:hover { border-color: rgba(34,139,34,0.5); }
.contact-channel-link { transition: background 0.2s; }
.contact-channel-link:hover { background-color: var(--muted); }

/* =====================================================
   404 PAGE
   ===================================================== */
.not-found-wrap {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: var(--muted);
}
.not-found-inner { text-align: center; }
.not-found-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}
.not-found-msg {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}
.not-found-link {
  color: var(--primary);
  text-decoration: underline;
}
.not-found-link:hover { color: var(--primary); opacity: 0.8; }
