/* =====================================================
   formaes IPTV - Static Site CSS
   ===================================================== */

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

:root {
  --background: 222 29% 6%;
  --foreground: 220 33% 96%;
  --card: 224 32% 12%;
  --card-foreground: 220 33% 96%;
  --popover: 224 27% 8%;
  --popover-foreground: 220 33% 96%;
  --primary: 217 91% 60%;
  --primary-foreground: 220 33% 96%;
  --secondary: 224 27% 8%;
  --secondary-foreground: 220 33% 96%;
  --muted: 224 27% 8%;
  --muted-foreground: 219 13% 50%;
  --accent: 44 97% 48%;
  --accent-foreground: 222 29% 6%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 220 33% 96%;
  --border: 224 20% 18%;
  --input: 224 20% 18%;
  --ring: 44 97% 48%;
  --radius: 0.75rem;
  --surface: 224 27% 8%;
  --surface-2: 224 32% 12%;
  --text-secondary: 218 18% 70%;
  --text-muted: 219 15% 64%;
  --brand: 44 97% 48%;
  --brand-dark: 44 100% 39%;
  --cta: 142 71% 33%;
  --cta-foreground: 0 0% 100%;
  --cta-hover: 142 71% 28%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

h1, h2, h3, h4, h5, h6 { color: hsl(var(--foreground)); }

section { scroll-margin-top: 5rem; }

a { text-decoration: none; }

img { max-width: 100%; height: auto; }

/* ===================== LAYOUT ===================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

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

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.logo .brand { color: hsl(var(--brand)); }
.logo .rest { color: hsl(var(--foreground)); }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s, background 0.15s;
  color: hsl(var(--text-secondary));
}
.nav-link:hover { color: hsl(var(--foreground)); background: hsl(var(--surface)); }
.nav-link.active { color: hsl(var(--brand)); background: hsl(var(--surface-2)); }

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: hsl(var(--cta));
  color: hsl(var(--cta-foreground));
  font-weight: 600;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: background 0.15s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-cta:hover { background: hsl(var(--cta-hover)); }
.btn-cta.lg { padding: 1rem 2rem; font-size: 1.125rem; font-weight: 700; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  font-weight: 600;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  transition: background 0.15s;
}
.btn-outline:hover { background: hsl(var(--surface)); }

.header-cta-wrap { display: none; }
@media (min-width: 1024px) { .header-cta-wrap { display: block; } }

.btn-hamburger {
  display: flex;
  padding: 0.5rem;
  color: hsl(var(--foreground));
  background: none;
  border: none;
  cursor: pointer;
}
@media (min-width: 1024px) { .btn-hamburger { display: none; } }

.mobile-menu {
  display: none;
  background: hsl(var(--surface));
  border-top: 1px solid hsl(var(--border));
}
.mobile-menu.open { display: block; }
.mobile-nav {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav .nav-link {
  display: block;
  padding: 0.75rem 1rem;
}
.mobile-nav .btn-cta {
  margin-top: 0.5rem;
  justify-content: center;
  padding: 0.75rem 1.25rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-desc {
  margin-top: 0.75rem;
  color: hsl(var(--text-secondary));
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-heading {
  color: hsl(var(--foreground));
  font-weight: 600;
  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 {
  color: hsl(var(--text-secondary));
  font-size: 0.875rem;
  transition: color 0.15s;
}
.footer-links a:hover { color: hsl(var(--brand)); }

.footer-contact-text {
  color: hsl(var(--text-secondary));
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid hsl(var(--border));
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }

.footer-bottom p {
  color: hsl(var(--text-muted));
  font-size: 0.75rem;
}

/* ===================== WHATSAPP FLOAT ===================== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: hsl(var(--cta));
  color: hsl(var(--cta-foreground));
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: background 0.15s, transform 0.15s;
  font-weight: 600;
  font-size: 0.875rem;
  animation: pulse-glow 2.5s ease-in-out infinite;
}
.whatsapp-float:hover { background: hsl(var(--cta-hover)); transform: scale(1.03); }
.whatsapp-float span { display: none; }
@media (min-width: 640px) { .whatsapp-float span { display: inline; } }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,0,0,0.4); }
  50% { box-shadow: 0 4px 30px rgba(34,197,94,0.5); }
}

/* ===================== BREADCRUMBS ===================== */
.breadcrumbs {
  background: hsl(var(--surface));
  border-bottom: 1px solid hsl(var(--border));
  padding: 0.75rem 0;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.875rem;
}
.breadcrumb-list a { color: hsl(var(--text-secondary)); transition: color 0.15s; }
.breadcrumb-list a:hover { color: hsl(var(--brand)); }
.breadcrumb-list .sep { color: hsl(var(--text-muted)); }
.breadcrumb-list .current { color: hsl(var(--foreground)); }

/* ===================== BADGE ===================== */
.badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--brand));
  background: hsla(var(--brand), 0.1);
  border-radius: 9999px;
  border: 1px solid hsla(var(--brand), 0.2);
}

/* ===================== SECTIONS ===================== */
.pt-header { padding-top: 4rem; }

.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.bg-background { background: hsl(var(--background)); }
.bg-surface { background: hsl(var(--surface)); }
.bg-surface-2 { background: hsl(var(--surface-2)); }

.text-brand { color: hsl(var(--brand)); }
.text-brand-dark { color: hsl(var(--brand-dark)); }
.text-foreground { color: hsl(var(--foreground)); }
.text-secondary { color: hsl(var(--text-secondary)); }
.text-muted { color: hsl(var(--text-muted)); }
.text-cta { color: hsl(var(--cta)); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding: 4rem 0 6rem;
  background: hsl(var(--background));
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding: 6rem 0; } }

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsla(var(--brand), 0.05), transparent, hsla(var(--primary), 0.05));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }
}

.hero-text {
  flex: 1;
  text-align: center;
}
@media (min-width: 1024px) { .hero-text { text-align: left; } }

.hero-text h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .hero-text h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-text h1 { font-size: 3.75rem; } }

.hero-text p {
  color: hsl(var(--text-secondary));
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 36rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 1024px) { .hero-text p { font-size: 1.25rem; } }

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
@media (min-width: 1024px) { .hero-ctas { align-items: flex-start; } }

.hero-image { flex: 1; display: flex; justify-content: center; }
@media (min-width: 1024px) { .hero-image { justify-content: flex-end; } }

.hero-image img {
  width: 100%;
  max-width: 28rem;
  border-radius: 1rem;
}
@media (min-width: 1024px) { .hero-image img { max-width: 36rem; } }

/* ===================== SOCIAL PROOF ===================== */
.social-proof {
  padding: 3rem 0;
  background: hsl(var(--surface));
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
}

.proof-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 4rem;
  text-align: center;
}

.proof-item p:first-child {
  font-size: 1.875rem;
  font-weight: 800;
  color: hsl(var(--brand));
}
.proof-item p:first-child.white { color: hsl(var(--foreground)); }
.proof-item p:last-child {
  color: hsl(var(--text-secondary));
  font-size: 0.875rem;
}

/* ===================== CARD / BOX ===================== */
.card {
  background: hsl(var(--surface-2));
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  padding: 1.5rem;
  transition: border-color 0.15s;
}
.card:hover { border-color: hsla(var(--brand), 0.3); }
.card.highlight {
  border-color: hsl(var(--brand));
  background: hsla(var(--brand), 0.05);
  box-shadow: 0 0 0 1px hsla(var(--brand), 0.3);
}

/* ===================== ICON BOX ===================== */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: hsla(var(--brand), 0.1);
  color: hsl(var(--brand));
  margin-bottom: 1rem;
}
.icon-box.circle {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
}
.icon-box.lg {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
}

/* ===================== GRID HELPERS ===================== */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.max-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }

/* ===================== SECTION HEADER ===================== */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-size: 1.875rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .section-header h2 { font-size: 2.25rem; } }
.section-header p {
  color: hsl(var(--text-secondary));
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
}

/* ===================== FAQ ACCORDION ===================== */
.faq-item {
  background: hsl(var(--surface-2));
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 1.25rem;
  color: hsl(var(--foreground));
  font-weight: 600;
  font-size: 0.875rem;
  list-style: none;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-plus {
  color: hsl(var(--brand));
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] .faq-plus { transform: rotate(45deg); }

.faq-body {
  padding: 0 1.25rem 1.25rem;
  color: hsl(var(--text-secondary));
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ===================== TAG FILTER ===================== */
.tag-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.tag-btn {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface-2));
  color: hsl(var(--text-secondary));
  cursor: pointer;
  transition: all 0.15s;
}
.tag-btn:hover { border-color: hsla(var(--brand), 0.3); }
.tag-btn.active {
  background: hsl(var(--brand));
  color: hsl(var(--background));
  border-color: hsl(var(--brand));
}

/* ===================== TESTIMONIAL ===================== */
.testimonial-card {
  background: hsl(var(--surface-2));
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  padding: 1.5rem;
}
.testimonial-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: hsl(var(--background));
  flex-shrink: 0;
}
.star-row {
  display: flex;
  gap: 0.125rem;
  margin-bottom: 0.75rem;
}
.star { color: hsl(var(--brand)); font-size: 1rem; }
.star.empty { color: hsl(var(--text-muted)); }

/* ===================== CTA SECTION ===================== */
.cta-section {
  padding: 4rem 0;
  background: hsl(var(--surface-2));
  text-align: center;
}
.cta-section h2 {
  font-size: 1.875rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .cta-section h2 { font-size: 2.25rem; } }
.cta-section p {
  color: hsl(var(--text-secondary));
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

/* ===================== TABLE ===================== */
.comparison-table {
  width: 100%;
  font-size: 0.875rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  border-collapse: collapse;
}
.comparison-table th {
  padding: 1rem;
  font-weight: 700;
  text-align: center;
  background: hsl(var(--surface-2));
}
.comparison-table th:first-child { text-align: left; }
.comparison-table th.brand-col { color: hsl(var(--brand)); }
.comparison-table td { padding: 1rem; text-align: center; color: hsl(var(--text-secondary)); }
.comparison-table td:first-child { text-align: left; color: hsl(var(--foreground)); font-weight: 500; }
.comparison-table tr { border-top: 1px solid hsl(var(--border)); }
.comparison-table tr:nth-child(even) td { background: hsla(var(--surface-2), 0.5); }
.check-yes { color: hsl(var(--cta)); }
.check-no { color: hsl(var(--text-muted)); }

/* ===================== PLAN CARD ===================== */
.plan-card {
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface-2));
  position: relative;
}
.plan-card.popular {
  border-color: hsl(var(--brand));
  background: hsla(var(--brand), 0.05);
  box-shadow: 0 0 0 1px hsla(var(--brand), 0.3);
}
.plan-badge {
  position: absolute;
  top: -0.875rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--accent-foreground));
  background: hsl(var(--brand));
  border-radius: 9999px;
  white-space: nowrap;
}
.plan-name { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.25rem; }
.plan-period { color: hsl(var(--brand)); font-weight: 600; font-size: 0.875rem; margin-bottom: 0.5rem; }
.plan-desc { color: hsl(var(--text-secondary)); font-size: 0.875rem; margin-bottom: 1.5rem; line-height: 1.6; }
.plan-features { list-style: none; margin-bottom: 2rem; flex: 1; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: hsl(var(--text-secondary));
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.plan-features .icon-check { color: hsl(var(--cta)); flex-shrink: 0; }

.btn-plan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.15s;
  text-align: center;
}
.btn-plan.primary {
  background: hsl(var(--cta));
  color: hsl(var(--cta-foreground));
  border: none;
}
.btn-plan.primary:hover { background: hsl(var(--cta-hover)); }
.btn-plan.secondary {
  background: hsl(var(--surface));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
}
.btn-plan.secondary:hover { border-color: hsla(var(--brand), 0.3); }

/* ===================== STEP ===================== */
.step-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: hsl(var(--brand));
  color: hsl(var(--accent-foreground));
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* ===================== LINK ARROW ===================== */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: hsl(var(--brand));
  font-weight: 600;
  font-size: 0.875rem;
  transition: color 0.15s;
}
.link-arrow:hover { color: hsl(var(--brand-dark)); }

/* ===================== RATINGS BAR ===================== */
.rating-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: hsl(var(--surface-2));
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
}
.rating-num { font-weight: 800; font-size: 1.125rem; color: hsl(var(--foreground)); }
.rating-count { color: hsl(var(--text-secondary)); font-size: 0.875rem; }

/* ===================== GLOSSARY ===================== */
.glossary-term {
  background: hsl(var(--surface-2));
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  padding: 1rem;
}
.glossary-term h3 {
  color: hsl(var(--brand));
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.glossary-term p {
  color: hsl(var(--text-secondary));
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ===================== INFO BOX ===================== */
.info-box {
  background: hsl(var(--surface-2));
  border: 1px solid hsla(var(--brand), 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.info-box p {
  color: hsl(var(--foreground));
  font-size: 1.125rem;
  line-height: 1.7;
  font-weight: 500;
}

/* ===================== INLINE SVG ICONS ===================== */
.icon {
  display: inline-block;
  vertical-align: middle;
}

/* ===================== UTILS ===================== */
.flex { display: flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-semibold { font-weight: 600; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.leading-relaxed { line-height: 1.7; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.w-full { width: 100%; }
.overflow-x-auto { overflow-x: auto; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.shrink-0 { flex-shrink: 0; }
.italic { font-style: italic; }

/* device grid */
.devices-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.device-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: hsl(var(--surface-2));
  border-radius: var(--radius);
  padding: 1.5rem;
  width: 8rem;
  border: 1px solid hsl(var(--border));
  transition: border-color 0.15s;
}
.device-card:hover { border-color: hsla(var(--brand), 0.3); }
.device-card span { font-size: 0.875rem; color: hsl(var(--text-secondary)); font-weight: 500; }

/* 404 */
.page-404 {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background: hsl(var(--muted));
}
.page-404-inner { text-align: center; }
.page-404-inner h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.page-404-inner p { font-size: 1.25rem; color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.page-404-inner a { color: hsl(var(--primary)); text-decoration: underline; }

.border-y {
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
}

/* Profile row */
.profile-row {
  background: hsl(var(--surface-2));
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .profile-row {
    flex-direction: row;
    align-items: center;
  }
}
.profile-row-info { flex: 1; }
.profile-row-info h3 { font-weight: 700; color: hsl(var(--foreground)); }
.profile-row-info p { font-size: 0.875rem; color: hsl(var(--text-secondary)); }
.profile-row-badge { color: hsl(var(--brand)); font-weight: 700; font-size: 0.875rem; white-space: nowrap; }

/* contact quick links */
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--border));
  transition: all 0.15s;
  color: hsl(var(--foreground));
}
.contact-link:hover {
  border-color: hsla(var(--brand), 0.3);
  background: hsla(var(--brand), 0.05);
}
.contact-link span { font-size: 0.875rem; font-weight: 500; }

/* speed grid */
.speed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .speed-grid { grid-template-columns: repeat(4, 1fr); } }

.speed-card {
  background: hsl(var(--surface-2));
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  padding: 1rem;
  text-align: center;
}
.speed-card .quality { font-weight: 700; color: hsl(var(--foreground)); font-size: 0.875rem; }
.speed-card .speed { color: hsl(var(--brand)); font-weight: 800; font-size: 1.125rem; margin-top: 0.25rem; }

/* content category card */
.cat-card {
  background: hsl(var(--surface-2));
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  padding: 1.5rem;
}
.cat-card-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.cat-card-header h3 { font-weight: 700; color: hsl(var(--foreground)); }

/* install guide */
.install-card {
  background: hsl(var(--surface-2));
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  padding: 1.5rem;
}
.install-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.install-header h3 { font-size: 1.125rem; font-weight: 700; color: hsl(var(--foreground)); }
.install-steps { list-style: none; }
.install-steps li { display: flex; align-items: flex-start; gap: 0.75rem; color: hsl(var(--text-secondary)); font-size: 0.875rem; margin-bottom: 0.5rem; }
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: hsla(var(--brand), 0.1);
  color: hsl(var(--brand));
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.install-tip { color: hsl(var(--text-muted)); font-size: 0.75rem; font-style: italic; margin-top: 1rem; }

/* stability tip */
.stability-card {
  background: hsl(var(--surface-2));
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  padding: 1.25rem;
}
.stability-inner { display: flex; align-items: flex-start; gap: 0.5rem; }
.stability-inner h3 { font-weight: 700; color: hsl(var(--foreground)); font-size: 0.875rem; margin-bottom: 0.25rem; }
.stability-inner p { color: hsl(var(--text-secondary)); font-size: 0.75rem; line-height: 1.6; }

/* problem card */
.problem-card { background: hsl(var(--surface-2)); border-radius: var(--radius); border: 1px solid hsl(var(--border)); padding: 1.25rem; }
.problem-inner { display: flex; align-items: flex-start; gap: 0.75rem; }
.problem-inner h3 { font-weight: 700; color: hsl(var(--foreground)); margin-bottom: 0.25rem; }
.problem-inner p { color: hsl(var(--text-secondary)); font-size: 0.875rem; line-height: 1.6; }

/* prose */
.prose-custom p { color: hsl(var(--text-secondary)); line-height: 1.7; }
.prose-custom h2 { color: hsl(var(--foreground)); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }

/* summary box */
.summary-box {
  background: hsla(var(--brand), 0.05);
  border: 1px solid hsla(var(--brand), 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 3rem;
}
.summary-box h2 { font-weight: 700; color: hsl(var(--foreground)); font-size: 1.125rem; margin-bottom: 0.75rem; }
.summary-box ul { list-style: none; }
.summary-box ul li { color: hsl(var(--text-secondary)); font-size: 0.875rem; margin-bottom: 0.5rem; padding-left: 1rem; position: relative; }
.summary-box ul li::before { content: "•"; position: absolute; left: 0; color: hsl(var(--brand)); }

/* answer box */
.answer-box {
  background: hsl(var(--surface-2));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 3rem;
}
.answer-box h2 { font-weight: 700; color: hsl(var(--foreground)); margin-bottom: 0.5rem; }
.answer-box p { color: hsl(var(--text-secondary)); font-size: 0.875rem; line-height: 1.7; }

/* legal doc */
.legal-section h2 { font-size: 1.25rem; font-weight: 700; color: hsl(var(--foreground)); margin-bottom: 0.75rem; }
.legal-section p { color: hsl(var(--text-secondary)); font-size: 0.875rem; line-height: 1.7; }
