/* =========================================================
   Fastaze — Canadian IPTV (cloned from sharktv.ca Design DNA)
   Palette: blue #0D52D6 + orange #E96631 on white
   Fonts: Montserrat
========================================================= */

:root {
  --bg: #ffffff;
  --surface: #f7f8fb;
  --card: #ffffff;
  --nav-bg: #ffffff;
  --primary: #0D52D6;
  --primary-hover: #0a40a8;
  --accent: #E96631;
  --accent-hover: #c4521f;
  --text: #1a1f2e;
  --text-muted: #696973;
  --border: #E2E2E2;
  --border-strong: #cfd3da;
  --footer-bg: #0a2a6d;
  --footer-text: #e8edf8;
  --footer-link: #ffffff;
  --footer-muted: #b8c4dc;
  --shadow-sm: 0 1px 3px rgba(13, 82, 214, 0.06);
  --shadow-md: 0 4px 14px rgba(13, 82, 214, 0.10);
  --shadow-lg: 0 10px 34px rgba(13, 82, 214, 0.14);
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* === HEADER === */
.topbar {
  background: var(--primary);
  color: #fff;
  font-size: 12.5px;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar a:hover { color: #ffd1b8; }
.topbar-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-nav a { font-weight: 500; }
.topbar-meta { font-weight: 600; }

.site-header {
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 16px; }

.logo {
  font-weight: 900; font-size: 26px; color: var(--primary);
  letter-spacing: -0.5px; line-height: 1; display: inline-flex; align-items: baseline;
}
.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  color: var(--text); font-weight: 600; font-size: 14px;
  padding: 8px 12px; border-radius: var(--radius-sm); transition: all .15s ease;
}
.nav-links a:hover, .nav-links a.active { background: rgba(13,82,214,.08); color: var(--primary); }

.header-cta {
  display: inline-block; background: var(--accent); color: #fff !important;
  font-weight: 700; font-size: 13.5px; padding: 10px 20px;
  border-radius: var(--radius); text-transform: uppercase; letter-spacing: .5px;
}
.header-cta:hover { background: var(--accent-hover); color: #fff !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; }

/* === HERO === */
.hero {
  background: linear-gradient(135deg, #0D52D6 0%, #1e6cf0 60%, #4988f5 100%);
  color: #fff;
  padding: 70px 0 60px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(233,102,49,.25), transparent 50%);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(28px, 4.4vw, 48px); line-height: 1.1; font-weight: 800; margin-bottom: 18px; letter-spacing: -0.5px; color: #fff; }
.hero h1 .accent { color: #ffd1b8; }
.hero p.lead { font-size: clamp(15px, 1.5vw, 18px); margin-bottom: 24px; max-width: 540px; color: #e8edf8; }
.hero-stats { display: flex; gap: 30px; margin: 26px 0; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 26px; font-weight: 800; color: #ffd1b8; }
.hero-stats div span { font-size: 13px; color: #cfd9f0; }

.btn { display: inline-block; font-weight: 700; padding: 13px 26px; border-radius: var(--radius); cursor: pointer; border: 0; font-size: 14.5px; text-transform: uppercase; letter-spacing: .4px; transition: all .15s ease; text-align: center; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-block { display: block; width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Trial mini-form (hero right) */
.hero-form {
  background: #fff; color: var(--text); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-lg);
}
.hero-form h3 { color: var(--primary); font-size: 22px; margin-bottom: 6px; font-weight: 800; }
.hero-form .sub { color: var(--text-muted); font-size: 13.5px; margin-bottom: 18px; }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-weight: 600; font-size: 13px; color: var(--text); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 11px 14px; min-height: 44px;
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  font: inherit; font-size: 14.5px; background: #fff; color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,82,214,.15); }
textarea.form-control { min-height: 110px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; }
.form-trust { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 10px; }
.form-trust::before { content: "🔒 "; }
.form-message { padding: 10px 14px; border-radius: var(--radius); margin-top: 10px; font-size: 13.5px; }
.form-message--success { background: #e6f4ea; color: #166534; border: 1px solid #b7e0c1; }
.form-message--error { background: #fdecec; color: #b91c1c; border: 1px solid #f5b5b5; }

/* === SECTIONS === */
.section { padding: 64px 0; }
.section-alt { background: var(--surface); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; color: var(--text); margin-bottom: 12px; letter-spacing: -0.4px; }
.section-head .eyebrow { display: inline-block; color: var(--accent); font-weight: 700; font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.section-head p { color: var(--text-muted); font-size: 16px; }

/* === TRUST BADGES === */
.trust-row { background: var(--surface); padding: 32px 0; border-bottom: 1px solid var(--border); }
.trust-row .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { text-align: center; padding: 14px; }
.trust-item .ico { width: 48px; height: 48px; line-height: 48px; margin: 0 auto 10px; background: rgba(13,82,214,.08); border-radius: 50%; color: var(--primary); font-size: 22px; }
.trust-item h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .5px; }
.trust-item p { font-size: 13px; color: var(--text-muted); }

/* === PRICING === */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.price-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 22px; text-align: center; position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.price-card.featured { border-color: var(--accent); box-shadow: var(--shadow-md); }
.price-card.featured::before {
  content: "BEST VALUE"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; padding: 5px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
}
.price-card .pkg-img { width: 90px; height: 90px; margin: 0 auto 14px; }
.price-card .pkg-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; border: 2px solid var(--border); padding: 4px; background: #fff; }
.price-card h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.price-card .term { color: var(--text-muted); font-size: 13px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .8px; }
.price-card .price { font-size: 36px; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.price-card .price small { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.price-card .save { color: var(--accent); font-weight: 600; font-size: 12.5px; margin-bottom: 16px; min-height: 18px; }
.price-card ul { list-style: none; margin: 0 0 22px; padding: 0; text-align: left; }
.price-card ul li { padding: 7px 0 7px 22px; position: relative; font-size: 13.5px; color: var(--text); border-bottom: 1px dashed var(--border); }
.price-card ul li:last-child { border-bottom: 0; }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; top: 7px; color: var(--accent); font-weight: 800; }

/* === FEATURE GRID === */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px 22px; transition: all .2s ease;
}
.feature:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature .ico { width: 52px; height: 52px; line-height: 52px; text-align: center; background: rgba(13,82,214,.08); color: var(--primary); border-radius: var(--radius); font-size: 24px; margin-bottom: 14px; }
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.feature p { color: var(--text-muted); font-size: 14px; }
.feature ul { list-style: none; padding: 0; margin: 8px 0 0; }
.feature ul li { padding: 4px 0 4px 18px; position: relative; font-size: 13.5px; color: var(--text); }
.feature ul li::before { content: "▸"; position: absolute; left: 0; color: var(--accent); }

/* === CITIES === */
.cities-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.city-pill {
  background: var(--card); border: 1px solid var(--border); padding: 9px 18px;
  border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--text);
}
.city-pill:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* === DEVICES === */
.devices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.device-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 16px; text-align: center; transition: all .2s ease;
}
.device-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.device-card .d-ico { font-size: 32px; color: var(--primary); margin-bottom: 10px; }
.device-card h4 { font-size: 14px; font-weight: 700; margin: 0; color: var(--text); }
.device-card p { font-size: 12.5px; color: var(--text-muted); margin-top: 4px; }

/* === FAQ === */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
  list-style: none; padding: 18px 22px; cursor: pointer; font-weight: 700;
  color: var(--text); display: flex; justify-content: space-between; align-items: center;
  font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; color: var(--primary); font-weight: 400; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] { border-color: var(--primary); }
.faq-item .answer { padding: 0 22px 18px; color: var(--text-muted); font-size: 14.5px; }
.faq-item .answer p + p { margin-top: 10px; }

/* === TABLES === */
.tbl-wrap { overflow-x: auto; }
table.styled { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
table.styled th, table.styled td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
table.styled th { background: var(--primary); color: #fff; font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: .5px; }
table.styled tr:nth-child(even) td { background: var(--surface); }
table.styled tr:last-child td { border-bottom: 0; }

/* === CHANNEL CATEGORIES === */
.channel-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.chan-card {
  background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--accent);
  padding: 18px 20px; border-radius: var(--radius);
}
.chan-card h4 { font-size: 15px; color: var(--primary); margin-bottom: 4px; font-weight: 700; }
.chan-card .count { font-size: 24px; font-weight: 800; color: var(--text); display: block; margin-bottom: 4px; }
.chan-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* === CONTENT (legal/long copy) === */
.content-block { background: #fff; padding: 40px; border: 1px solid var(--border); border-radius: var(--radius-lg); max-width: 900px; margin: 0 auto; }
.content-block h1, .content-block h2, .content-block h3 { color: var(--text); font-weight: 800; }
.content-block h1 { font-size: 32px; margin-bottom: 16px; color: var(--primary); }
.content-block h2 { font-size: 22px; margin: 28px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block; }
.content-block h3 { font-size: 17px; margin: 18px 0 8px; }
.content-block p, .content-block li { font-size: 15px; color: var(--text); margin-bottom: 12px; line-height: 1.7; }
.content-block ul, .content-block ol { margin: 0 0 14px 22px; }
.content-block li { margin-bottom: 6px; }
.content-block .meta { color: var(--text-muted); font-size: 13px; margin-bottom: 24px; }

/* === BREADCRUMBS === */
.crumbs { background: var(--surface); padding: 14px 0; border-bottom: 1px solid var(--border); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--text-muted); }
.crumbs a { color: var(--primary); }
.crumbs li:last-child { color: var(--text-muted); }

/* === CTA STRIP === */
.cta-strip {
  background: linear-gradient(135deg, var(--accent) 0%, #f08055 100%);
  color: #fff; padding: 50px 0; text-align: center;
}
.cta-strip h2 { color: #fff; font-size: 30px; margin-bottom: 10px; }
.cta-strip p { font-size: 16px; margin-bottom: 22px; color: #fff6f0; }
.cta-strip .btn { background: #fff; color: var(--accent); }
.cta-strip .btn:hover { background: #0a2a6d; color: #fff; }

/* === FOOTER === */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 50px 0 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; }
.footer-grid h5 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--footer-muted); font-size: 13.5px; }
.footer-grid a:hover { color: #fff; }
.footer-brand .logo { color: #fff; }
.footer-brand .logo span { color: #ffb893; }
.footer-brand p { color: var(--footer-muted); font-size: 13.5px; margin-top: 12px; line-height: 1.7; }
.footer-brand .addr { font-style: normal; margin-top: 14px; font-size: 13px; color: var(--footer-muted); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; text-align: center; font-size: 12.5px; color: var(--footer-muted); }
.footer-bottom a { color: #ffb893; }

/* === REFERRAL/CTA FORM === */
.referral {
  background: linear-gradient(135deg, #f7f8fb 0%, #ffffff 100%);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px; max-width: 800px; margin: 0 auto;
}
.referral h3 { color: var(--primary); font-size: 22px; margin-bottom: 8px; }
.referral .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* === BLOG TEASER === */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .2s ease; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card .img-wrap { height: 160px; background: #f0f2f7; overflow: hidden; }
.blog-card img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .body { padding: 18px 20px; }
.blog-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; line-height: 1.4; color: var(--text); }
.blog-card p { font-size: 13px; color: var(--text-muted); }

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: 30px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .devices { grid-template-columns: repeat(3, 1fr); }
  .trust-row .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; border-top: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 14px; }
  .header-cta { display: none; }
  .site-header .container { position: relative; }
  .topbar-nav { gap: 10px; font-size: 11.5px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .devices { grid-template-columns: repeat(2, 1fr); }
  .referral .row { grid-template-columns: 1fr; }
  .hero { padding: 50px 0 40px; }
  .section { padding: 48px 0; }
  .content-block { padding: 24px; }
  .hero-stats { gap: 18px; }
}
