/* =====================================================
   SMSárlita.hu – Stíluslap
   ===================================================== */

/* --- Alapok & Változók --- */
:root {
  --blue-50:  #E6F1FB;
  --blue-100: #B5D4F4;
  --blue-600: #185FA5;
  --blue-700: #0C447C;
  --blue-900: #042C53;
  --green-50: #EAF3DE;
  --green-800:#27500A;
  --amber-50: #FAEEDA;
  --amber-800:#633806;
  --gray-50:  #F1EFE8;
  --gray-200: #B4B2A9;
  --gray-500: #5F5E5A;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  background: #f8f9fb;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1rem 0;
}

/* --- Navigáció --- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: #fff;
  border: 0.5px solid #e0e0e0;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  position: sticky;
  top: 1rem;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-600);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  font-size: 13px;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--blue-600); }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
  padding: 4px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border: 0.5px solid #e0e0e0;
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  gap: 4px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 14px;
  color: #333;
  text-decoration: none;
  padding: 8px 4px;
  border-bottom: 0.5px solid #f0f0f0;
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--blue-600); }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #185FA5 0%, #0c447c 100%);
  padding: 3rem 2rem;
  text-align: center;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.hero p {
  font-size: 15px;
  color: var(--blue-100);
  max-width: 520px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--blue-600);
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.hero-cta:hover { background: var(--blue-50); }

/* --- Statisztikák --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 2rem;
}

.stat-card {
  background: #fff;
  border: 0.5px solid #e0e0e0;
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-card .num {
  font-size: 26px;
  font-weight: 700;
  color: var(--blue-600);
}

.stat-card .lbl {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  line-height: 1.4;
}

/* --- Szekciók --- */
.section { margin-bottom: 2.5rem; }

.section-title {
  font-size: 20px;
  font-weight: 600;
  color: #111;
  margin-bottom: 0.4rem;
}

.section-sub {
  font-size: 14px;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.category-label {
  font-size: 11px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 1.25rem 0 0.6rem;
}

/* --- Csempék --- */
.use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.use-case-card {
  background: #fff;
  border: 0.5px solid #e0e0e0;
  border-radius: var(--radius-lg);
  padding: 1rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.use-case-card:hover {
  box-shadow: 0 4px 12px rgba(24, 95, 165, 0.1);
  transform: translateY(-2px);
}

.use-case-card.highlight {
  border-color: var(--blue-600);
  border-width: 1.5px;
}

.card-icon {
  width: 22px;
  height: 22px;
  color: var(--blue-600);
  margin-bottom: 8px;
  display: block;
}

.use-case-card h3 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #111;
}

.use-case-card p {
  font-size: 12px;
  color: #555;
  line-height: 1.5;
}

.use-case-card strong { color: #111; }

.tag {
  display: inline-block;
  font-size: 10px;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: 99px;
  padding: 2px 8px;
  margin-top: 8px;
  font-weight: 500;
}

/* --- Összehasonlító táblázat --- */
.filter-row {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: #fff;
  border: 0.5px solid #ccc;
  border-radius: 99px;
  padding: 5px 16px;
  font-size: 12px;
  cursor: pointer;
  color: #555;
  transition: all 0.15s;
}

.filter-btn:hover { border-color: var(--blue-600); color: var(--blue-600); }

.filter-btn.active {
  background: var(--blue-600);
  color: #fff;
  border-color: var(--blue-600);
}

.compare-wrap { overflow-x: auto; margin-bottom: 0.5rem; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 580px;
}

thead tr { background: var(--blue-600); }

thead th {
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}

thead th:first-child { border-radius: var(--radius-md) 0 0 0; }
thead th:last-child  { border-radius: 0 var(--radius-md) 0 0; }

tbody tr { border-bottom: 0.5px solid #ebebeb; }
tbody tr:nth-child(even) { background: #fafafa; }
tbody tr:hover { background: var(--blue-50); }

tbody td {
  padding: 10px 14px;
  color: #222;
  vertical-align: top;
}

tbody td:first-child { font-weight: 600; }

.price-badge {
  display: inline-block;
  background: var(--blue-50);
  color: var(--blue-700);
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
}

.price-badge.green { background: var(--green-50); color: var(--green-800); }
.price-badge.amber { background: var(--amber-50); color: var(--amber-800); }
.price-badge.gray  { background: #f0f0f0; color: #666; }

.check { color: #3B6D11; font-weight: 600; }
.dash  { color: #aaa; }

.best-badge {
  display: inline-block;
  background: var(--green-50);
  color: var(--green-800);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 99px;
  margin-left: 6px;
  vertical-align: middle;
  font-weight: 600;
}

.highlight-row { border-left: 3px solid #3B6D11; }

#comp-table a { text-decoration: none; color: #222;}

.note {
  font-size: 11px;
  color: #888;
  margin-top: 3px;
  line-height: 1.4;
}

.table-note {
  font-size: 11px;
  color: #888;
  margin-top: 0.5rem;
}

/* --- GYIK --- */
.faq-item {
  border: 0.5px solid #e0e0e0;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
  background: #fff;
}

.faq-q {
  width: 100%;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: none;
  text-align: left;
  color: #111;
  transition: color 0.15s;
}

.faq-q span { flex: 1; }

.faq-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: #888;
}

.faq-item.open .faq-q { color: var(--blue-600); }
.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-a {
  padding: 0 16px;
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 16px 14px;
}

/* --- Footer --- */
.footer {
  border-top: 0.5px solid #e0e0e0;
  margin-top: 2rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.footer-disclaimer {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: #f5f5f5;
  border-radius: var(--radius-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-600);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--blue-600); }

.footer-bottom {
  border-top: 0.5px solid #e0e0e0;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 11px;
  color: #888;
}

.footer-bottom a {
  color: #888;
  text-decoration: none;
}

.footer-bottom a:hover { color: var(--blue-600); }

/* --- Reszponzív --- */
@media (max-width: 600px) {
  body { padding: 0.75rem 0.75rem 0; }

  .nav-links { display: none; }
  .nav-hamburger { display: block; }

  .hero { padding: 2rem 1.25rem; }
  .hero h1 { font-size: 20px; }

  .stats-row { grid-template-columns: 1fr; }

  .use-cases { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
