/* ============================================================
   PureTV.ca — Shared Stylesheet
   Design DNA cloned from iptvstore.ca:
   - Clean white background, modern professional aesthetic
   - Plus Jakarta Sans typography
   - Vibrant blue accent (#146ef5) with secondary green (#38d996)
   - Dark navy footer (#1a1a1a)
   - Light grey cards (#f5f5f5), 12px border-radius
   - Soft shadows, pill-shaped CTA buttons
============================================================ */

:root {
  --primary: #146ef5;
  --primary-hover: #0d5fd6;
  --primary-light: #e8f0ff;
  --secondary: #38d996;
  --secondary-hover: #25b97a;
  --text-dark: #1a1a1a;
  --text-body: #2d2d2d;
  --text-muted: #555;
  --text-light: #757575;
  --border: #e7e7e7;
  --border-hard: #d9d9d9;
  --bg-white: #ffffff;
  --bg-light: #f5f5f5;
  --bg-card: #f0f0f0;
  --bg-soft: #fafafa;
  --footer-bg: #1a1a1a;
  --footer-text: #ffffff;
  --footer-muted: #b0b0b0;
  --shadow-sm: 0 2px 8px rgba(20, 110, 245, 0.06);
  --shadow-md: 0 6px 24px rgba(20, 110, 245, 0.10);
  --shadow-lg: 0 16px 48px rgba(20, 110, 245, 0.14);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  --container: 1200px;
  --transition: all 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--primary); }
ul, ol { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font); font-weight: 800; line-height: 1.2; color: var(--text-dark); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p { margin-bottom: 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 9999; background: var(--primary); color: #fff; padding: 8px 16px; border-radius: 6px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border: none; border-radius: var(--radius-pill);
  font-family: var(--font); font-size: 1rem; font-weight: 700;
  cursor: pointer; text-align: center; transition: var(--transition);
  text-decoration: none; min-height: 48px; gap: 8px;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: var(--secondary-hover); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary); border: 2px solid #fff; }
.btn-light:hover { background: var(--primary-light); color: var(--primary); }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ── HEADER / NAV ── */
.site-header {
  background: #fff; position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 1px 0 var(--border);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; max-width: var(--container); margin: 0 auto; padding: 18px 24px; }
.logo {
  font-family: var(--font); font-size: 1.65rem; font-weight: 900; color: var(--text-dark); letter-spacing: -0.02em;
}
.logo span { color: var(--primary); }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a { color: var(--text-dark); font-weight: 600; font-size: 0.95rem; position: relative; }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
.nav-menu a.active::after { content: ""; position: absolute; bottom: -8px; left: 0; right: 0; height: 2px; background: var(--primary); border-radius: 2px; }
.nav-menu .nav-cta { background: var(--primary); color: #fff; padding: 10px 22px; border-radius: var(--radius-pill); }
.nav-menu .nav-cta:hover { background: var(--primary-hover); color: #fff; }
.lang-switch { font-weight: 700 !important; padding: 6px 12px; border: 1.5px solid var(--border-hard); border-radius: 6px; }
.lang-switch:hover { border-color: var(--primary); color: var(--primary); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--text-dark); border-radius: 2px; }

/* ── HERO ── */
.hero {
  position: relative; padding: 80px 0 100px; background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -200px; right: -150px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(20, 110, 245, 0.10) 0%, transparent 70%); border-radius: 50%;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero-text .badge {
  display: inline-block; background: var(--primary-light); color: var(--primary); padding: 8px 18px;
  border-radius: var(--radius-pill); font-weight: 700; font-size: 0.9rem; margin-bottom: 20px;
}
.hero-text h1 { margin-bottom: 22px; }
.hero-text h1 .accent { color: var(--primary); }
.hero-text .subtitle { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 32px; max-width: 560px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; font-size: 0.92rem; color: var(--text-muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust span::before { content: "✓"; color: var(--secondary); font-weight: 800; }
.hero-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ── DISCOUNT BAR ── */
.discount-bar {
  background: linear-gradient(90deg, var(--primary), var(--primary-hover));
  color: #fff; padding: 12px 20px; text-align: center; font-weight: 700; font-size: 0.95rem;
}
.discount-bar strong { background: rgba(255,255,255,0.18); padding: 3px 10px; border-radius: 6px; margin: 0 4px; }

/* ── SECTIONS ── */
.section { padding: 80px 0; }
.section-light { background: var(--bg-light); }
.section-soft { background: var(--bg-soft); }
.section-primary { background: var(--primary); color: #fff; }
.section-primary h2, .section-primary h3 { color: #fff; }
.section-dark { background: var(--text-dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-title { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-title .eyebrow { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; margin-bottom: 12px; display: block; }
.section-title h2 { margin-bottom: 18px; }
.section-title p { color: var(--text-muted); font-size: 1.08rem; }

/* ── GRIDS ── */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(3, 1fr); }

/* ── PRICING CARDS ── */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pricing-card {
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 36px 28px; transition: var(--transition); position: relative; display: flex; flex-direction: column;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.pricing-card.featured { background: var(--text-dark); color: #fff; border-color: var(--text-dark); }
.pricing-card.featured h3, .pricing-card.featured .price-amount { color: #fff; }
.pricing-card.featured .price-old { color: #888; }
.pricing-card.featured .pricing-features li { color: #ddd; }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--secondary); color: #fff; padding: 6px 18px; border-radius: var(--radius-pill);
  font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
}
.pricing-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.pricing-card .plan-tag { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 18px; }
.price-block { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.price-old { color: var(--text-light); text-decoration: line-through; font-size: 1rem; }
.price-amount { font-size: 2.6rem; font-weight: 900; color: var(--text-dark); letter-spacing: -0.02em; line-height: 1; margin: 4px 0; }
.price-amount .currency { font-size: 1.3rem; vertical-align: super; font-weight: 800; }
.price-period { color: var(--text-muted); font-size: 0.92rem; }
.price-save { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 4px 10px; border-radius: 6px; font-size: 0.78rem; font-weight: 800; margin-top: 6px; }
.pricing-features { margin-bottom: 28px; flex: 1; }
.pricing-features li { padding: 6px 0 6px 26px; position: relative; color: var(--text-body); font-size: 0.94rem; }
.pricing-features li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px; background: var(--primary-light); color: var(--primary);
  border-radius: 50%; font-size: 0.7rem; font-weight: 900; display: flex; align-items: center; justify-content: center;
}
.pricing-card.featured .pricing-features li::before { background: rgba(56, 217, 150, 0.18); color: var(--secondary); }
.pricing-card .btn { width: 100%; }

/* ── FEATURE CARDS ── */
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 26px; text-align: center; transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.feature-icon {
  width: 64px; height: 64px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); color: var(--primary); border-radius: 16px; font-size: 1.8rem;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* ── STEPS ── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.step {
  background: #fff; border-radius: var(--radius); padding: 36px 28px; text-align: center;
  border: 1px solid var(--border); position: relative;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; background: var(--primary); color: #fff;
  border-radius: 50%; font-size: 1.5rem; font-weight: 900; margin-bottom: 20px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--text-muted); margin: 0; }

/* ── TRIAL CTA BAR ── */
.trial-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #fff; padding: 56px 40px; border-radius: var(--radius-lg); text-align: center;
  box-shadow: var(--shadow-lg);
}
.trial-cta h2 { color: #fff; margin-bottom: 14px; }
.trial-cta p { color: rgba(255,255,255,0.92); max-width: 640px; margin: 0 auto 28px; font-size: 1.1rem; }
.trial-cta .btn-light { font-size: 1.05rem; }

/* ── TESTIMONIALS ── */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: #fff; padding: 28px; border-radius: var(--radius); border: 1px solid var(--border);
}
.testimonial-stars { color: #f4b400; font-size: 1.1rem; margin-bottom: 14px; }
.testimonial-text { color: var(--text-body); margin-bottom: 18px; font-size: 0.97rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.testimonial-name { font-weight: 700; color: var(--text-dark); }
.testimonial-location { color: var(--text-muted); font-size: 0.85rem; }

/* ── FAQ ── */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 14px; overflow: hidden;
}
.faq-question {
  width: 100%; background: none; border: none; padding: 22px 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font); font-size: 1.05rem; font-weight: 700; color: var(--text-dark);
  text-align: left; cursor: pointer;
}
.faq-question::after { content: "+"; color: var(--primary); font-size: 1.6rem; font-weight: 800; transition: var(--transition); }
.faq-item.open .faq-question::after { content: "−"; }
.faq-answer { padding: 0 26px 22px; color: var(--text-muted); line-height: 1.75; display: none; }
.faq-item.open .faq-answer { display: block; }

/* ── CHANNELS ── */
.channel-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.channel-tab {
  background: #fff; border: 1.5px solid var(--border); padding: 10px 22px;
  border-radius: var(--radius-pill); cursor: pointer; font-weight: 600; font-size: 0.92rem; color: var(--text-dark);
}
.channel-tab:hover, .channel-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.channels-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.channel-item {
  background: #fff; border: 1px solid var(--border); padding: 16px; border-radius: var(--radius-sm);
  text-align: center; font-weight: 600; color: var(--text-dark); font-size: 0.92rem; transition: var(--transition);
}
.channel-item:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }

/* ── CATEGORY THUMBS (image cards) ── */
.category-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.category-thumb { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.category-thumb:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category-thumb img { width: 100%; height: 160px; object-fit: cover; }

/* ── FORMS ── */
.form-wrap {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow-sm); max-width: 520px; margin: 0 auto;
}
.form-wrap.wide { max-width: 720px; }
.form-wrap h3 { margin-bottom: 8px; }
.form-wrap .form-intro { color: var(--text-muted); margin-bottom: 24px; font-size: 0.95rem; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; font-size: 0.93rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--border-hard); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 1rem; color: var(--text-dark); background: #fff; transition: var(--transition);
  min-height: 48px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(20, 110, 245, 0.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group .honeypot { position: absolute; left: -9999px; }
.form-trust {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  font-size: 0.85rem; color: var(--text-muted); margin-top: 16px;
}
.form-trust span { display: inline-flex; align-items: center; gap: 4px; }
.form-trust span::before { content: "🔒"; font-size: 0.9rem; }
.form-message { padding: 12px 16px; border-radius: 8px; margin-top: 16px; font-weight: 600; }
.form-message--success { background: #e7f9ef; color: #1a7c4a; }
.form-message--error { background: #fde9e9; color: #b32424; }

/* ── BREADCRUMBS ── */
.breadcrumbs {
  background: var(--bg-light); padding: 18px 0; font-size: 0.92rem; color: var(--text-muted);
}
.breadcrumbs a { color: var(--primary); font-weight: 600; }
.breadcrumbs .sep { margin: 0 8px; color: var(--text-light); }

/* ── PAGE HEADER ── */
.page-hero {
  background: linear-gradient(180deg, #f8faff 0%, #fff 100%); padding: 70px 0 40px; text-align: center;
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { color: var(--text-muted); max-width: 700px; margin: 0 auto; font-size: 1.1rem; }

/* ── LEGAL CONTENT ── */
.legal-content { max-width: 880px; margin: 0 auto; }
.legal-content h2 { font-size: 1.5rem; margin: 32px 0 14px; padding-top: 12px; }
.legal-content h3 { font-size: 1.18rem; margin: 22px 0 10px; }
.legal-content p, .legal-content li { color: var(--text-body); line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { padding-left: 22px; list-style: disc; }
.legal-content ul li { margin-bottom: 6px; }
.legal-content strong { color: var(--text-dark); }
.legal-meta { background: var(--bg-light); padding: 18px 22px; border-radius: var(--radius-sm); margin-bottom: 28px; font-size: 0.92rem; }

/* ── ABOUT GRID ── */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.split.reverse { grid-template-columns: 0.9fr 1.1fr; }

/* ── STATS BAR ── */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; background: #fff;
  padding: 32px 24px; border-radius: var(--radius); box-shadow: var(--shadow-md);
  margin: -60px auto 0; max-width: 1100px; position: relative; z-index: 2;
}
.stat { text-align: center; }
.stat-number { font-size: 2.2rem; font-weight: 900; color: var(--primary); line-height: 1; letter-spacing: -0.02em; }
.stat-label { color: var(--text-muted); font-size: 0.92rem; margin-top: 6px; }

/* ── SETUP / HOWTO STEPS LIST ── */
.howto-step { background: #fff; border-left: 4px solid var(--primary); padding: 24px 28px; margin-bottom: 18px; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow-sm); }
.howto-step h3 { margin-bottom: 10px; }
.howto-step h3 strong { color: var(--primary); margin-right: 8px; }

/* ── FOOTER ── */
.site-footer {
  background: var(--footer-bg); color: var(--footer-text); padding: 64px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { color: #fff; }
.footer-brand .logo span { color: var(--primary); }
.footer-brand p { color: var(--footer-muted); margin: 16px 0; max-width: 360px; }
.footer-brand .address { font-size: 0.9rem; color: var(--footer-muted); line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--footer-muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid #2a2a2a; padding-top: 22px; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  color: var(--footer-muted); font-size: 0.88rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
  .hero { padding: 50px 0 70px; }
  .hero-inner, .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4, .grid-6, .steps-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; gap: 14px; box-shadow: 0 8px 24px rgba(0,0,0,0.10); border-top: 1px solid var(--border); }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }
  .section { padding: 56px 0; }
}
@media (max-width: 600px) {
  .hero-text h1 { font-size: 2.1rem; }
  .pricing-grid, .grid-2, .grid-3, .grid-4, .grid-6, .steps-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trial-cta { padding: 36px 24px; }
  .form-wrap { padding: 24px 20px; }
}
