/* ─── Telisco Main Styles ─────────────────────────────────────────────────── */
:root {
  --blue: #1A6FF4;
  --blue-light: #EBF3FF;
  --blue-dark: #1057C8;
  --text: #111111;
  --text-muted: #6b7280;
  --text-hint: #9ca3af;
  --border: #e5e7eb;
  --bg: #ffffff;
  --bg-alt: #f8f9fb;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
  font-size: 18px; font-weight: 500; letter-spacing: -0.3px;
}
.logo-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 18px; height: 18px; }
.logo-mark-sm { width: 24px; height: 24px; border-radius: 6px; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: 14px; color: var(--text-muted);
  text-decoration: none; transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-hamburger {
  display: none; background: none; border: none;
  font-size: 20px; cursor: pointer; color: var(--text);
}
.nav-mobile {
  display: none; flex-direction: column;
  background: var(--bg); padding: 1rem 2rem;
  border-bottom: 0.5px solid var(--border);
}
.nav-mobile a {
  padding: 0.75rem 0; color: var(--text-muted);
  text-decoration: none; font-size: 16px;
  border-bottom: 0.5px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-simple .nav-links { display: none; }
.nav-secure { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--blue); color: #fff;
  border: none; border-radius: var(--radius);
  padding: 10px 20px; font-size: 14px; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  font-family: inherit;
}
.btn-primary:hover { background: var(--blue-dark); }
.btn-primary:active { transform: scale(0.98); }
.btn-full { width: 100%; justify-content: center; padding: 14px 20px; font-size: 15px; }
.btn-ghost {
  width: 100%; margin-top: 10px; padding: 12px;
  background: none; border: 0.5px solid var(--border);
  border-radius: var(--radius); font-size: 14px; cursor: pointer;
  color: var(--text-muted); font-family: inherit;
}
.btn-ghost:hover { color: var(--text); }

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  max-width: 700px; margin: 0 auto;
  padding: 5rem 2rem 3rem; text-align: center;
}
.hero-badge {
  display: inline-block; background: var(--blue-light); color: var(--blue);
  font-size: 12px; font-weight: 500; letter-spacing: 0.02em;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.1; letter-spacing: -1px;
  margin-bottom: 1.25rem; color: var(--text);
  font-weight: 400;
}
.hero h1 em { color: var(--blue); font-style: italic; }
.hero p { font-size: 17px; color: var(--text-muted); line-height: 1.7; margin-bottom: 2.5rem; }

.search-wrap { max-width: 480px; margin: 0 auto; }
.search-bar {
  display: flex; align-items: center;
  border: 0.5px solid var(--border); border-radius: var(--radius);
  background: var(--bg); overflow: hidden;
  transition: border-color 0.15s;
  box-shadow: var(--shadow);
}
.search-bar:focus-within { border-color: var(--blue); }
.search-icon { width: 16px; height: 16px; margin-left: 14px; color: var(--text-hint); flex-shrink: 0; }
.search-bar input {
  flex: 1; border: none; outline: none;
  padding: 14px 12px; font-size: 15px;
  background: transparent; color: var(--text);
  font-family: inherit;
}
.search-bar input::placeholder { color: var(--text-hint); }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 1rem; }
.chip {
  font-size: 13px; padding: 5px 12px;
  border: 0.5px solid var(--border); border-radius: 20px;
  cursor: pointer; background: var(--bg);
  color: var(--text-muted); transition: all 0.15s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }

/* ─── Trust Bar ───────────────────────────────────────────────────────────── */
.trust-bar {
  display: flex; justify-content: center; gap: 0;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  background: var(--bg-alt);
}
.trust-item {
  flex: 1; max-width: 160px; text-align: center;
  padding: 1.25rem 1rem;
  border-right: 0.5px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-item strong { display: block; font-size: 16px; font-weight: 500; color: var(--blue); }
.trust-item span { font-size: 12px; color: var(--text-muted); }

/* ─── Sections ────────────────────────────────────────────────────────────── */
.section { padding: 4rem 2rem; }
.section-alt { background: var(--bg-alt); }
.section-inner { max-width: 960px; margin: 0 auto; }
.section-label {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-hint); margin-bottom: 0.5rem;
}
.section h2, .section-inner h2 {
  font-size: clamp(22px, 3vw, 30px); font-weight: 500;
  letter-spacing: -0.5px; margin-bottom: 2.5rem;
}

/* ─── Plans Grid ──────────────────────────────────────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.plan-card {
  border: 0.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.25rem; background: var(--bg);
  cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s;
  display: flex; flex-direction: column;
}
.plan-card:hover { border-color: var(--blue); box-shadow: 0 4px 20px rgba(26,111,244,0.08); }
.plan-card.featured { border-color: var(--blue); border-width: 1.5px; }
.plan-tag {
  font-size: 11px; font-weight: 500; color: var(--blue);
  background: var(--blue-light); padding: 3px 9px;
  border-radius: 20px; width: fit-content; margin-bottom: 0.75rem;
}
.plan-flag { font-size: 30px; margin-bottom: 0.5rem; line-height: 1; }
.plan-name { font-size: 16px; font-weight: 500; margin-bottom: 2px; }
.plan-region { font-size: 13px; color: var(--text-muted); margin-bottom: 1rem; }
.plan-data { font-size: 28px; font-weight: 500; color: var(--blue); letter-spacing: -0.5px; }
.plan-data span { font-size: 14px; color: var(--text-muted); font-weight: 400; }
.plan-meta { font-size: 12px; color: var(--text-muted); margin: 0.5rem 0 1rem; }
.plan-footer {
  margin-top: auto; padding-top: 1rem;
  border-top: 0.5px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.plan-price { font-size: 22px; font-weight: 500; }
.plan-select {
  font-size: 13px; font-weight: 500; color: var(--blue);
  background: var(--blue-light); border: none; border-radius: 8px;
  padding: 7px 14px; cursor: pointer; font-family: inherit;
  transition: background 0.15s;
}
.plan-select:hover { background: #d6e8ff; }

.plan-skeleton {
  border: 0.5px solid var(--border); border-radius: var(--radius-lg);
  height: 220px; background: linear-gradient(90deg, var(--bg-alt) 25%, #f0f2f5 50%, var(--bg-alt) 75%);
  background-size: 200% 100%; animation: shimmer 1.4s infinite;
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

.no-results { text-align: center; padding: 3rem; }
.no-results p { color: var(--text-muted); margin-bottom: 1rem; }

/* ─── Steps ───────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 500; margin-bottom: 1rem;
}
.step h3 { font-size: 16px; font-weight: 500; margin-bottom: 0.5rem; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.compat-note {
  margin-top: 2.5rem; padding: 1rem 1.25rem;
  background: var(--bg); border: 0.5px solid var(--border);
  border-radius: var(--radius); font-size: 13px; color: var(--text-muted);
  display: flex; align-items: flex-start; gap: 10px;
}
.compat-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }

/* ─── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-item { border-bottom: 0.5px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 1.1rem 0; font-size: 15px; font-weight: 500;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  color: var(--text); font-family: inherit;
}
.faq-q span { font-size: 18px; color: var(--text-muted); transition: transform 0.2s; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 1rem; font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.footer { border-top: 0.5px solid var(--border); padding: 2rem; }
.footer-inner { max-width: 960px; margin: 0 auto; }
.footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 1rem; font-size: 16px; font-weight: 500; }
.footer-links { display: flex; gap: 1.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--text-hint); }

/* ─── Modal ───────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  display: none; align-items: center; justify-content: center;
  z-index: 1000; padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg); border-radius: 20px;
  padding: 2rem; width: 100%; max-width: 420px;
  position: relative; box-shadow: 0 24px 64px rgba(0,0,0,0.15);
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--bg-alt); border: none; border-radius: 50%;
  width: 28px; height: 28px; cursor: pointer; font-size: 13px; color: var(--text-muted);
}
.modal-flag { font-size: 40px; margin-bottom: 0.75rem; }
.modal h3 { font-size: 22px; font-weight: 500; margin-bottom: 4px; }
.modal-region { font-size: 14px; color: var(--text-muted); margin-bottom: 1.5rem; }
.modal-rows { margin-bottom: 1.5rem; }
.modal-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 0.5px solid var(--border);
  font-size: 14px;
}
.modal-row span { color: var(--text-muted); }
.modal-row strong { font-weight: 500; }
.modal-row-price { border-bottom: none; padding-top: 14px; }
.modal-row-price strong { font-size: 20px; }
.price-blue { color: var(--blue); }
.modal-secure {
  display: flex; align-items: center; gap: 6px; justify-content: center;
  margin-top: 0.75rem; font-size: 12px; color: var(--text-hint);
}
.modal-secure svg { width: 12px; height: 14px; }

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .trust-bar { flex-wrap: wrap; }
  .trust-item { min-width: 33%; border-right: none; border-bottom: 0.5px solid var(--border); }
}

/* ─── Emoji rendering fix ─────────────────────────────────────────────────── */
.chip, .plan-flag, .trust-item strong {
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', 'DM Sans', sans-serif;
}

/* ─── Filter groups ───────────────────────────────────────────────────────── */
.filter-group { margin-top: 1rem; text-align: left; }
.filter-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-hint); margin-bottom: 0.5rem; padding-left: 2px;
}
.chip .emoji { font-family: 'Segoe UI Emoji','Apple Color Emoji','Noto Color Emoji',sans-serif; }
