/*
Theme Name: Toucan IPTV
Theme URI: https://toucan-iptv.shop
Description: Bright streaming storefront for Toucan IPTV — Elementor + Rank Math.
Author: Toucan IPTV
Author URI: https://toucan-iptv.shop
Template: hello-elementor
Version: 4.0.2
Text Domain: toucan-iptv
Tags: elementor, streaming, nordic, iptv
*/

:root {
  --bg: #ffffff;
  --mist: #eef4f6;
  --ink: #0f1c2e;
  --mute: #5b6b7c;
  --line: #d7e2e8;
  --teal: #129990;
  --teal-deep: #0b6f69;
  --coral: #ff5c3a;
  --coral-deep: #e24424;
  --card: #ffffff;
  --navy: #102033;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Plus Jakarta Sans", "Avenir Next", ui-sans-serif, system-ui, sans-serif;
  --header-h: 4.25rem;
  --radius: 1.15rem;
  --shadow: 0 12px 40px rgba(16, 32, 51, 0.08);
}

html { scroll-behavior: smooth; }

body,
body.elementor-page,
body.elementor-default,
.site-main,
.page-content,
.elementor,
main {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.elementor-page .site-header,
body.elementor-page .site-footer,
body.hfe-header-enabled .site-header,
body.hfe-footer-enabled .site-footer {
  display: none !important;
}

.elementor-section.tcn-bleed > .elementor-container,
.tcn-bleed > .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
}

.tcn-bleed .elementor-widget-wrap,
.tcn-bleed .elementor-widget-html,
.elementor-widget-html > .elementor-widget-container {
  padding: 0 !important;
  margin: 0 !important;
}

::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.tcn-wrap { width: min(1140px, calc(100% - 2rem)); margin-inline: auto; }
.tcn-wrap-sm { width: min(680px, calc(100% - 2rem)); margin-inline: auto; }

.tcn-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #e6f6f4;
  color: var(--teal-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tcn-display {
  margin: 0.7rem 0 0;
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.tcn-lead {
  margin: 0.85rem 0 0;
  max-width: 38rem;
  color: var(--mute);
  font-size: 1.02rem;
  line-height: 1.7;
}

.tcn-rule { display: none; }

.tcn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease),
    border-color 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.tcn-btn:hover { transform: translateY(-1px); }
.tcn-btn:active { transform: scale(0.98); }
.tcn-btn-ice {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 92, 58, 0.28);
}
.tcn-btn-ice:hover { background: var(--coral-deep); color: #fff; }
.tcn-btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.tcn-btn-ghost:hover { border-color: var(--ink); }
.tcn-btn-beak {
  background: var(--teal);
  color: #fff;
}
.tcn-btn-beak:hover { background: var(--teal-deep); color: #fff; }
.tcn-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }

/* Header */
.tcn-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.tcn-top-inner {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.tcn-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: auto;
}
.tcn-mark {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 38%, #fff 0 18%, transparent 19%),
    conic-gradient(from 200deg, #129990 0 52%, #102033 52% 74%, #ff5c3a 74% 100%);
  flex-shrink: 0;
}
.tcn-wordmark {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.tcn-wordmark em { font-style: normal; color: var(--teal); }
.tcn-geo { display: none; }
.tcn-top-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--mute);
}
.tcn-top-links a:hover { color: var(--ink); }
.tcn-top-links .tcn-btn { min-height: 2.4rem; padding: 0.4rem 1rem; font-size: 0.86rem; }
.tcn-burger {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.tcn-burger span,
.tcn-burger span::before,
.tcn-burger span::after {
  display: block;
  width: 14px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}
.tcn-burger span::before,
.tcn-burger span::after { content: ""; position: absolute; left: 0; }
.tcn-burger span::before { top: -5px; }
.tcn-burger span::after { top: 5px; }
.tcn-nav-panel { display: none; }
.tcn-top.is-open .tcn-nav-panel {
  display: flex;
  flex-direction: column;
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--line);
  background: #fff;
}
.tcn-nav-panel a {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
}

/* Hero */
.tcn-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.4rem, 6vw, 4.6rem) 0 3.2rem;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(18, 153, 144, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(255, 92, 58, 0.08), transparent 50%),
    #fff;
}
.tcn-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.tcn-hero h1 {
  margin: 0.85rem 0 0;
  font-size: clamp(2.4rem, 5.6vw, 4.15rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.tcn-hero h1 span { color: var(--teal); }
.tcn-lat {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.35rem;
}
.tcn-lat span,
.tcn-chip {
  display: inline-flex;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 650;
}
.tcn-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.tcn-panel {
  background: var(--navy);
  color: #e8f1f4;
  border-radius: 1.6rem;
  padding: 1.35rem 1.35rem 1.2rem;
  box-shadow: 0 24px 50px rgba(16, 32, 51, 0.22);
}
.tcn-panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #9eb0bd;
}
.tcn-panel-bar i {
  display: flex;
  gap: 0.3rem;
}
.tcn-panel-bar i b {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #ff5c3a;
}
.tcn-panel-bar i b:nth-child(2) { background: #ffc14d; }
.tcn-panel-bar i b:nth-child(3) { background: #2ad4a8; }
.tcn-panel ul { margin: 0; padding: 0; list-style: none; }
.tcn-panel li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.72rem 0.8rem;
  margin-bottom: 0.4rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 650;
}
.tcn-panel li em {
  font-style: normal;
  color: #7ee0d4;
  font-size: 0.75rem;
  font-weight: 700;
}
.tcn-panel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-top: 1rem;
}
.tcn-panel-stats div {
  padding: 0.7rem 0.55rem;
  border-radius: 0.85rem;
  background: rgba(18, 153, 144, 0.18);
  text-align: center;
}
.tcn-panel-stats strong { display: block; font-size: 1.05rem; }
.tcn-panel-stats span { font-size: 0.68rem; color: #9eb0bd; }

.tcn-side { display: none; }

.tcn-mast {
  padding: clamp(2.4rem, 5vw, 3.8rem) 0 2rem;
  background: linear-gradient(180deg, #eef8f6, #fff 80%);
}
.tcn-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.9rem;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--mute);
}
.tcn-crumbs li + li::before { content: "/"; margin-right: 0.35rem; color: #b3c2cc; }
.tcn-mast h1 {
  margin: 0.55rem 0 0;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}
.tcn-mast p { margin: 0.85rem 0 0; max-width: 40rem; color: var(--mute); }

.tcn-band { padding: clamp(2.6rem, 5.5vw, 4.4rem) 0; }
.tcn-band-soft { background: var(--mist); }

.tcn-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.tcn-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.3rem;
  box-shadow: var(--shadow);
}
.tcn-card b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.7rem;
  background: #e6f6f4;
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 800;
}
.tcn-card h3 {
  margin: 0.85rem 0 0.4rem;
  font-size: 1.08rem;
  font-weight: 750;
}
.tcn-card p { margin: 0; color: var(--mute); font-size: 0.92rem; }

.tcn-rows { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tcn-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.tcn-row b {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  background: #e6f6f4;
  color: var(--teal-deep);
  font-size: 0.75rem;
}
.tcn-row h3 { margin: 0.75rem 0 0.35rem; font-size: 1.08rem; font-weight: 750; }
.tcn-row p { margin: 0; color: var(--mute); font-size: 0.92rem; }

.tcn-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.6rem;
  align-items: start;
}

.tcn-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tcn-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
}
.tcn-list strong { display: block; font-size: 1.02rem; font-weight: 750; }
.tcn-list span { display: block; margin-top: 0.3rem; color: var(--mute); font-size: 0.9rem; }

.tcn-plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.tcn-plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  padding: 1.35rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.tcn-plan.is-pick {
  border-color: var(--teal);
  background: #f3fbfa;
  box-shadow: 0 16px 36px rgba(18, 153, 144, 0.16);
}
.tcn-plan-badge {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 0.7rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--mute);
  font-size: 0.7rem;
  font-weight: 750;
}
.tcn-plan.is-pick .tcn-plan-badge {
  background: var(--teal);
  color: #fff;
}
.tcn-plan h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}
.tcn-plan .tcn-sum {
  margin: 0.45rem 0 0.2rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.tcn-plan small { color: var(--mute); font-size: 0.82rem; }
.tcn-plan ul {
  margin: 0.9rem 0 1.1rem;
  padding: 0;
  list-style: none;
  flex: 1;
}
.tcn-plan li {
  position: relative;
  padding: 0.28rem 0 0.28rem 1.15rem;
  color: var(--mute);
  font-size: 0.88rem;
}
.tcn-plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
}
.tcn-plan .tcn-btn { width: 100%; }

.tcn-time {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tcn-time li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
}
.tcn-time li > span:first-child {
  display: inline-flex;
  width: 1.85rem;
  height: 1.85rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
}
.tcn-time strong { display: block; font-size: 1.02rem; font-weight: 750; }
.tcn-time span { color: var(--mute); font-size: 0.88rem; }

.tcn-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.tcn-pull {
  margin: 0;
  padding: 1.25rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.tcn-pull p {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.45;
  color: var(--ink);
}
.tcn-pull footer {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-deep);
}

.tcn-faq { display: grid; gap: 0.55rem; }
.tcn-faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 0 1.1rem;
}
.tcn-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: 750;
}
.tcn-faq summary::-webkit-details-marker { display: none; }
.tcn-faq summary::after { content: "+"; color: var(--teal); font-weight: 700; }
.tcn-faq details[open] summary::after { content: "–"; }
.tcn-faq p { margin: 0 0 1rem; color: var(--mute); max-width: 44rem; }

.tcn-sheet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.tcn-sheet > * {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.tcn-sheet h3 { margin: 0 0 0.4rem; font-size: 1.35rem; font-weight: 800; }
.tcn-sheet p { margin: 0 0 1rem; color: var(--mute); }

.tcn-colophon {
  padding: 3rem 0 1.8rem;
  background: var(--navy);
  color: #d7e4ea;
}
.tcn-colo-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 2.4rem;
}
.tcn-colo-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.tcn-colophon h4 {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7ee0d4;
}
.tcn-colophon ul { margin: 0; padding: 0; list-style: none; }
.tcn-colophon li { margin-bottom: 0.4rem; }
.tcn-colophon a { color: #d7e4ea; font-size: 0.92rem; }
.tcn-colophon a:hover { color: #fff; }
.tcn-colophon p { color: #9eb0bd; font-size: 0.92rem; }
.tcn-colophon .tcn-wordmark { color: #fff; }
.tcn-colophon .tcn-brand { margin-bottom: 0.85rem; }
.tcn-legal {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: #9eb0bd;
}

.tcn-ticket {
  position: fixed;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  z-index: 997;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 1.15rem;
  border-radius: 999px;
  background: var(--navy);
  color: #e8f1f4;
  box-shadow: 0 18px 40px rgba(16, 32, 51, 0.28);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}
.tcn-ticket small {
  font-weight: 600;
  color: #9eb0bd;
  margin-left: 0.4rem;
}
.tcn-ticket .tcn-btn {
  min-height: 2.25rem;
  padding: 0.35rem 0.95rem;
}

.tcn-prose { color: var(--mute); font-size: 1.02rem; line-height: 1.8; }
.tcn-prose h2, .tcn-prose h3 { color: var(--ink); font-weight: 800; letter-spacing: -0.03em; }
.tcn-prose h2 { margin: 2.1rem 0 0.7rem; font-size: 1.7rem; }
.tcn-prose h3 { margin: 1.4rem 0 0.5rem; font-size: 1.25rem; }
.tcn-prose a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.tcn-prose strong { color: var(--ink); }

.single-post .site-main,
.blog .site-main,
.archive .site-main { padding-block: clamp(2rem, 5vw, 3.2rem); color: var(--mute); }
.single-post .entry-title,
.blog .entry-title {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 980px) {
  .tcn-hero-grid,
  .tcn-split,
  .tcn-cards,
  .tcn-rows,
  .tcn-plans,
  .tcn-time,
  .tcn-quotes,
  .tcn-list,
  .tcn-colo-grid,
  .tcn-sheet { grid-template-columns: 1fr 1fr; }
  .tcn-time { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .tcn-hero-grid,
  .tcn-split,
  .tcn-cards,
  .tcn-rows,
  .tcn-plans,
  .tcn-time,
  .tcn-quotes,
  .tcn-list,
  .tcn-colo-grid,
  .tcn-sheet,
  .tcn-colo-links { grid-template-columns: 1fr; }
  .tcn-top-links a:not(.tcn-btn) { display: none; }
  .tcn-burger { display: inline-flex; align-items: center; justify-content: center; }
  .tcn-ticket { width: calc(100% - 1.5rem); justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tcn-btn { transition: none; }
}
