/*
Theme Name: Nordic IPTV
Theme URI: https://nordiciptv.fi
Author: Nordic IPTV
Author URI: https://nordiciptv.fi
Description: Premium IPTV-palvelu Suomessa – Paras valikoima kanavia ja VOD-sisältöä pohjoismaisille käyttäjille.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nordic-iptv
Tags: iptv, finland, streaming, entertainment, responsive
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colors */
  --primary: #0a1628;
  --primary-light: #111d35;
  --primary-mid: #162442;
  --secondary: #00d4ff;
  --secondary-glow: rgba(0, 212, 255, 0.15);
  --accent: #ff6b35;
  --accent-hover: #ff8c5a;
  --gold: #ffd700;
  --gold-glow: rgba(255, 215, 0, 0.15);
  --success: #00e676;
  --text-white: #ffffff;
  --text-light: #c8d6e5;
  --text-muted: #8395a7;
  --card-bg: rgba(22, 36, 66, 0.6);
  --card-border: rgba(0, 212, 255, 0.1);
  --card-hover-border: rgba(0, 212, 255, 0.3);
  --overlay: rgba(10, 22, 40, 0.85);
  --gradient-hero: linear-gradient(135deg, #0a1628 0%, #0d2137 40%, #112a4a 100%);
  --gradient-cta: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
  --gradient-blue: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --border-radius-lg: 24px;

  /* Shadows */
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);
  --shadow-btn: 0 4px 20px rgba(255, 107, 53, 0.4);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--primary);
  color: var(--text-light);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

video,
iframe,
embed,
object {
  max-width: 100%;
}

table {
  max-width: 100%;
}

/* Responsive table wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.3rem; }

p { margin-bottom: 1rem; }

ul, ol { list-style: none; }

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header .section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--secondary);
  margin-bottom: 12px;
  padding: 6px 16px;
  background: var(--secondary-glow);
  border-radius: 30px;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.highlight {
  color: var(--secondary);
}

.highlight-accent {
  color: var(--accent);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-cta);
  color: var(--text-white);
  border: none;
  font-weight: 600;
  box-shadow: var(--shadow-glow);
  animation: pulse-shadow 3s infinite alternate;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
  color: var(--text-white);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background: var(--secondary-glow);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1.1rem;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
}

.site-header.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
  text-decoration: none;
}

.site-logo:hover {
  color: var(--text-white);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-cta);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.site-logo span {
  color: var(--secondary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a:not(.btn) {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}

.nav-menu a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

.nav-menu a:not(.btn):hover,
.nav-menu a:not(.btn).active {
  color: var(--text-white);
}

.nav-menu a:not(.btn):hover::after,
.nav-menu a:not(.btn).active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 8px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.mobile-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text-white);
  transition: var(--transition);
  border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--secondary-glow);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '⚡';
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.hero-stat-number span {
  color: var(--secondary);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float-y 6s ease-in-out infinite;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255,107,53,0.3) 0%, rgba(0,0,0,0) 70%);
  z-index: 0;
  border-radius: 50%;
  animation: pulse-scale 4s ease-in-out infinite alternate;
  filter: blur(40px);
}

.hero-device {
  position: relative;
  background: var(--primary-light);
  border: 2px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.hero-screen {
  background: linear-gradient(135deg, #1a2a4a, #0d1f38);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero-screen-icon {
  font-size: 4rem;
}

.hero-screen h3 {
  font-size: 1.4rem;
}

.hero-screen p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.channel-bubbles {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}

.channel-bubble {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-mid);
  border: 2px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  animation: pulse 3s ease-in-out infinite;
}

.channel-bubble:nth-child(2) { animation-delay: 0.3s; }
.channel-bubble:nth-child(3) { animation-delay: 0.6s; }
.channel-bubble:nth-child(4) { animation-delay: 0.9s; }
.channel-bubble:nth-child(5) { animation-delay: 1.2s; }
.channel-bubble:nth-child(6) { animation-delay: 1.5s; }

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--primary-light);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 40px 0;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--secondary-glow);
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.trust-item h4 {
  font-size: 1rem;
  color: var(--text-white);
}

.trust-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-blue);
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--secondary-glow);
  border: 1px solid rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-section {
  background: var(--gradient-hero);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-hover-border);
  box-shadow: var(--shadow-glow);
}

.pricing-card.featured {
  border-color: var(--secondary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.05);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-cta);
  color: var(--text-white);
  padding: 6px 24px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--card-border);
}

.pricing-plan-name {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  margin-bottom: 16px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
}

.pricing-value {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-original {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-discount {
  display: inline-block;
  background: rgba(0, 230, 118, 0.15);
  color: var(--success);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 8px;
}

.pricing-quality {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.quality-badge {
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--primary-mid);
  color: var(--text-light);
  border: 1px solid var(--card-border);
}

.quality-badge.gold {
  background: var(--gold-glow);
  color: var(--gold);
  border-color: rgba(255, 215, 0, 0.3);
}

.pricing-features {
  flex: 1;
  margin-bottom: 30px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

/* ============================================================
   CHANNELS / SHOWCASE
   ============================================================ */
.channels-section {
  background: var(--primary-light);
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.channel-category {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
}

.channel-category:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-4px);
}

.channel-cat-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.channel-category h4 {
  margin-bottom: 8px;
}

.channel-category p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* ============================================================
   VOD SECTION
   ============================================================ */
.vod-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.vod-card {
  background: var(--primary-light);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  transition: var(--transition);
  aspect-ratio: 2/3;
  position: relative;
  display: block;
}

.vod-card:hover {
  transform: scale(1.05);
  border-color: var(--secondary);
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.vod-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.vod-card:hover .vod-poster {
  transform: scale(1.1);
}

.vod-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 10px 15px;
  background: linear-gradient(to top, rgba(10, 14, 23, 0.95) 0%, rgba(10, 14, 23, 0) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.vod-title {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-shadow: 0 2px 5px rgba(0,0,0,0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
/* ============================================================
   SEO CONTENT SECTIONS
   ============================================================ */
.seo-content-section {
  background: var(--primary-mid);
}

.seo-article {
  max-width: 1100px;
  margin: 0 auto;
}

.seo-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
}

.seo-text-col p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.seo-text-col h3 {
  color: var(--text-white);
  font-size: 1.15rem;
  margin-top: 24px;
  margin-bottom: 12px;
}

.seo-text-col a {
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.seo-text-col a:hover {
  color: var(--accent);
}

.seo-text-col strong {
  color: var(--text-white);
}

@media (max-width: 768px) {
  .seo-text-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ============================================================
   DEVICES SECTION
   ============================================================ */
.devices-section {
  background: var(--primary-light);
}

.devices-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.device-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 30px 16px;
  text-align: center;
  transition: var(--transition);
}

.device-card:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.device-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.device-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.device-card p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 30px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--card-hover-border);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-white);
  font-size: 0.95rem;
}

.testimonial-location {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--card-hover-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-white);
  font-size: 1rem;
  transition: var(--transition);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}

.faq-question:hover {
  color: var(--secondary);
}

.faq-toggle {
  font-size: 1.2rem;
  transition: var(--transition);
  color: var(--secondary);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-mid), var(--primary-light));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--success);
  font-size: 0.9rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--primary);
  border-top: 1px solid var(--card-border);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  line-height: 1.7;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition-bounce);
  animation: pulse-shadow-green 2s infinite alternate;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
  color: white;
}

/* ============================================================
   BLOG LISTING
   ============================================================ */
.blog-hero {
  background: var(--gradient-hero);
  padding: 140px 0 60px;
  text-align: center;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.post-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.post-card:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.post-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--primary-mid), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-thumbnail-placeholder {
  font-size: 3rem;
}

.post-card-body {
  padding: 24px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.post-category {
  background: var(--secondary-glow);
  color: var(--secondary);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.post-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.post-card-body h3 a {
  color: var(--text-white);
}

.post-card-body h3 a:hover {
  color: var(--secondary);
}

.post-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary);
}

.read-more:hover {
  gap: 10px;
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-hero {
  background: var(--gradient-hero);
  padding: 140px 0 60px;
}

.single-hero .post-category {
  margin-bottom: 16px;
  display: inline-block;
}

.single-hero h1 {
  max-width: 800px;
}

.single-hero .post-meta {
  margin-top: 20px;
  font-size: 0.9rem;
}

.single-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 60px 0;
}

.single-content {
  max-width: 100%;
}

.single-content h2 {
  font-size: 1.6rem;
  margin: 40px 0 16px;
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
}

.single-content h3 {
  font-size: 1.3rem;
  margin: 30px 0 12px;
}

.single-content p {
  margin-bottom: 20px;
  line-height: 1.9;
  color: var(--text-light);
}

.single-content ul,
.single-content ol {
  margin: 20px 0;
  padding-left: 24px;
}

.single-content ul {
  list-style: disc;
}

.single-content ol {
  list-style: decimal;
}

.single-content li {
  margin-bottom: 8px;
  color: var(--text-light);
  line-height: 1.7;
}

.single-content blockquote {
  border-left: 4px solid var(--secondary);
  padding: 20px 24px;
  margin: 24px 0;
  background: var(--card-bg);
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.single-content blockquote p {
  color: var(--text-light);
  font-style: italic;
  margin: 0;
}

.single-content img {
  border-radius: var(--border-radius-sm);
  margin: 24px 0;
  max-width: 100%;
  height: auto;
}

.single-content iframe {
  max-width: 100%;
}

.single-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.single-content th,
.single-content td {
  padding: 12px 16px;
  border: 1px solid var(--card-border);
  text-align: left;
}

.single-content th {
  background: var(--primary-mid);
  color: var(--text-white);
  font-weight: 600;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-widget h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--card-border);
}

.sidebar-widget ul li {
  margin-bottom: 10px;
}

.sidebar-widget ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.sidebar-widget ul a:hover {
  color: var(--secondary);
}

.related-posts {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid var(--card-border);
}

/* ============================================================
   PAGE TEMPLATE
   ============================================================ */
.page-hero {
  background: var(--gradient-hero);
  padding: 140px 0 60px;
  text-align: center;
}

.page-content {
  padding: 60px 0;
}

.page-content .container {
  max-width: 800px;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-hero);
}

.error-code {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 900;
  color: var(--secondary);
  opacity: 0.3;
  line-height: 1;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.pagination a {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-light);
}

.pagination a:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.pagination .current {
  background: var(--gradient-blue);
  color: var(--primary);
  border: none;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up, .fade-in, .zoom-in, .slide-left, .slide-right {
  opacity: 0;
  transition: var(--transition-slow);
  will-change: opacity, transform;
}

.fade-up {
  transform: translateY(40px);
}

.fade-in {
  transform: translateY(0);
}

.zoom-in {
  transform: scale(0.9);
}

.slide-left {
  transform: translateX(-50px);
}

.slide-right {
  transform: translateX(50px);
}

.fade-up.visible, 
.fade-in.visible, 
.zoom-in.visible, 
.slide-left.visible, 
.slide-right.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Add slight staggered delays for grids */
.grid-animate-delay > *:nth-child(1) { transition-delay: 0.1s; }
.grid-animate-delay > *:nth-child(2) { transition-delay: 0.2s; }
.grid-animate-delay > *:nth-child(3) { transition-delay: 0.3s; }
.grid-animate-delay > *:nth-child(4) { transition-delay: 0.4s; }
.grid-animate-delay > *:nth-child(5) { transition-delay: 0.5s; }
.grid-animate-delay > *:nth-child(6) { transition-delay: 0.6s; }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  padding: 16px 0;
  background: var(--primary-light);
  border-bottom: 1px solid var(--card-border);
  font-size: 0.85rem;
}

.breadcrumbs a {
  color: var(--text-muted);
  transition: var(--transition);
}

.breadcrumbs a:hover {
  color: var(--secondary);
}

.breadcrumb-sep {
  color: var(--text-muted);
  margin: 0 4px;
  opacity: 0.5;
}

.breadcrumb-current {
  color: var(--secondary);
  font-weight: 500;
}

/* ============================================================
   RESPONSIVE: TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }

  .features-grid,
  .pricing-grid,
  .testimonials-grid,
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }

  .channels-grid { grid-template-columns: repeat(2, 1fr); }
  .devices-grid { grid-template-columns: repeat(3, 1fr); }
  .vod-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .single-content-wrapper { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE: MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 30px;
    gap: 0;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu a {
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--card-border);
    font-size: 1.1rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 20px;
  }

  .mobile-toggle {
    display: flex;
  }

  .features-grid,
  .pricing-grid,
  .testimonials-grid,
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .trust-items { grid-template-columns: repeat(2, 1fr); }
  .channels-grid { grid-template-columns: repeat(2, 1fr); }
  .devices-grid { grid-template-columns: repeat(3, 1fr); }
  .vod-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }

  .hero-title { font-size: 2rem; }
  .hero-stat-number { font-size: 1.5rem; }
  .hero-stats { gap: 24px; }

  .section-header { margin-bottom: 40px; }

  .btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
  }
}

/* ============================================================
   RESPONSIVE: SMALL MOBILE (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .trust-items { grid-template-columns: 1fr; }
  .devices-grid { grid-template-columns: repeat(2, 1fr); }
  .vod-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-buttons { flex-direction: column; align-items: center; }

  /* Pricing cards mobile polish */
  .pricing-card { padding: 28px 20px; }
  .pricing-value { font-size: 2.8rem; }

  /* Feature cards mobile */
  .feature-card { padding: 28px 20px; }

  /* CTA section */
  .cta-content { padding: 0 8px; }
  .cta-guarantee { font-size: 0.8rem; }

  /* Single post content */
  .single-content h2 { font-size: 1.4rem; }
  .single-content h3 { font-size: 1.2rem; }

  /* Blog cards */
  .post-card-body { padding: 16px; }

  /* Footer */
  .footer-bottom p { font-size: 0.8rem; }

  /* Channels grid */
  .channels-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTINUOUS ANIMATIONS (KEYFRAMES)
   ============================================================ */
@keyframes float-y {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse-shadow {
  0% { box-shadow: 0 0 10px rgba(255, 107, 53, 0.2); }
  100% { box-shadow: 0 0 25px rgba(255, 107, 53, 0.6); }
}

@keyframes pulse-shadow-green {
  0% { box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2); transform: scale(1); }
  100% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6); transform: scale(1.05); }
}

@keyframes pulse-scale {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}
