/*
Theme Name: NicoIPTV
Theme URI: https://nicoiptv.fi
Author: NicoIPTV
Author URI: https://nicoiptv.fi
Description: Premium high-converting IPTV theme for the Finnish market. Lightweight, fast, Gutenberg compatible.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nicoiptv
Tags: one-column, custom-menu, featured-images, translation-ready
*/

/* ============================================
   DESIGN SYSTEM — PREMIUM NICO IPTV SAAS
   ============================================ */

:root {
  /* Colors */
  --c-primary: #0B3C5D;
  --c-primary-dark: #072a42;
  --c-primary-light: #134b73;
  --c-secondary: #E6F2F8;
  --c-secondary-dark: #c8dfe9;
  --c-accent: #00A86B;
  --c-accent-dark: #008a58;
  --c-accent-light: #00c47d;
  --c-white: #ffffff;
  --c-off-white: #F8FAFB;
  --c-gray-50: #f7f8f9;
  --c-gray-100: #eef1f3;
  --c-gray-200: #d8dee3;
  --c-gray-300: #b8c2cb;
  --c-gray-400: #8d9baa;
  --c-gray-500: #6b7a8d;
  --c-gray-600: #4a5568;
  --c-gray-700: #2d3748;
  --c-gray-800: #1a202c;
  --c-gray-900: #0f1419;
  --c-danger: #e53e3e;
  --c-star: #f6c23e;

  /* Typography */
  --ff-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 1.875rem;
  --fs-3xl: 2.25rem;
  --fs-4xl: 3rem;
  --fs-5xl: 3.75rem;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.6;

  /* Spacing */
  --sp-xs: 0.25rem;
  --sp-sm: 0.5rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 6rem;
  --sp-5xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-wide: 1400px;

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(11, 60, 93, 0.05), 0 2px 4px -1px rgba(11, 60, 93, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(11, 60, 93, 0.08), 0 4px 6px -2px rgba(11, 60, 93, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(11, 60, 93, 0.1), 0 10px 10px -5px rgba(11, 60, 93, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(11, 60, 93, 0.15);
  --shadow-glow: 0 0 25px rgba(0, 168, 107, 0.4);
  --shadow-glow-primary: 0 0 25px rgba(11, 60, 93, 0.3);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--c-gray-700);
  background-color: var(--c-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--c-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--c-accent-dark);
}

ul,
ol {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-heading);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--c-primary);
}

h1 {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
}

h2 {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
}

h3 {
  font-size: var(--fs-2xl);
}

h4 {
  font-size: var(--fs-xl);
}

h5 {
  font-size: var(--fs-lg);
}

h6 {
  font-size: var(--fs-md);
}

p {
  margin-bottom: var(--sp-md);
}

.text-accent {
  color: var(--c-accent);
}

.text-white {
  color: var(--c-white);
}

.text-center {
  text-align: center;
}

.text-sm {
  font-size: var(--fs-sm);
}

.text-lg {
  font-size: var(--fs-lg);
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.container--wide {
  max-width: var(--max-width-wide);
}

.section {
  padding: var(--sp-5xl) 0;
}

.section--sm {
  padding: var(--sp-3xl) 0;
}

.section--lg {
  padding: 7rem 0;
}

.section--gray {
  background: var(--c-off-white);
}

.section--dark {
  background: var(--c-primary);
  color: var(--c-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--c-white);
}

.section--secondary {
  background: var(--c-secondary);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--sp-3xl);
}

.section__header p {
  font-size: var(--fs-lg);
  color: var(--c-gray-500);
  margin-top: var(--sp-md);
}

.section__badge {
  display: inline-block;
  background: var(--c-secondary);
  color: var(--c-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  padding: var(--sp-xs) var(--sp-md);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-md);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section--dark .section__badge {
  background: rgba(255, 255, 255, 0.12);
  color: var(--c-white);
}

/* Grid */
.grid {
  display: grid;
  gap: var(--sp-xl);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

/* Flex */
.flex {
  display: flex;
}

.flex--center {
  align-items: center;
  justify-content: center;
}

.flex--between {
  align-items: center;
  justify-content: space-between;
}

.flex--gap {
  gap: var(--sp-md);
}

.flex--gap-lg {
  gap: var(--sp-xl);
}

.flex--wrap {
  flex-wrap: wrap;
}

.flex--col {
  flex-direction: column;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--c-accent);
  color: var(--c-white);
  border-color: var(--c-accent);
  box-shadow: 0 4px 14px rgba(0, 168, 107, 0.3);
}

.btn--primary:hover {
  background: var(--c-accent-dark);
  border-color: var(--c-accent-dark);
  color: var(--c-white);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--c-white);
  color: var(--c-white);
}

.btn--outline {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-gray-200);
}

.btn--outline:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.btn--white {
  background: var(--c-white);
  color: var(--c-primary);
  border-color: var(--c-white);
}

.btn--white:hover {
  background: var(--c-off-white);
  color: var(--c-accent);
}

.btn--lg {
  font-size: var(--fs-md);
  padding: 1.1rem 2.5rem;
}

.btn--sm {
  font-size: var(--fs-sm);
  padding: 0.6rem 1.4rem;
}

.btn--full {
  width: 100%;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 60, 93, 0.05);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  color: var(--c-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.site-logo:hover {
  color: var(--c-primary);
}

.site-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.nav-primary ul {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
}

.nav-primary a {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-gray-600);
  transition: color var(--transition-fast);
  padding: var(--sp-sm) 0;
}

.nav-primary a:hover {
  color: var(--c-accent);
}

.nav-primary .current-menu-item a,
.nav-primary .current_page_item a {
  color: var(--c-accent);
  font-weight: var(--fw-semibold);
}

.nav-cta .btn {
  font-size: var(--fs-sm);
  padding: 0.6rem 1.6rem;
}

@media (min-width: 969px) {
  .nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin-left: var(--sp-xl);
  }

  .nav-primary {
    flex: 1;
    display: flex;
    justify-content: center;
  }
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 968px) {
  .nav-toggle {
    display: flex;
  }

  .nav-wrap {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-gray-100);
    box-shadow: var(--shadow-lg);
    padding: var(--sp-xl);
    transform: translateY(-110%);
    opacity: 0;
    transition: all var(--transition-slow);
    pointer-events: none;
  }

  .nav-wrap.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-primary ul {
    flex-direction: column;
    gap: var(--sp-md);
  }

  .nav-primary a {
    font-size: var(--fs-base);
    display: block;
    padding: var(--sp-sm) 0;
  }

  .nav-cta {
    margin-top: var(--sp-lg);
  }

  .nav-cta .btn {
    width: 100%;
  }
}

/* ============================================
   HERO SECTIONS
   ============================================ */

.hero {
  position: relative;
  padding: 10rem 0 6rem;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 50%, #061e30 100%);
  color: var(--c-white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 168, 107, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 168, 107, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--sp-4xl);
  position: relative;
  z-index: 2;
}

.hero--landing .container {
  grid-template-columns: 1.2fr 0.8fr;
}

@media (max-width: 968px) {

  .hero .container,
  .hero--landing .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--sp-2xl);
  }
}

.hero__content {
  max-width: 650px;
}

.hero__image {
  position: relative;
  width: 100%;
}

/* ============================================
   FOOTER SOCIALS OVERRIDE
   ============================================ */
.footer-socials a:hover {
  color: var(--c-primary) !important;
  transform: translateY(-2px);
}

.footer-socials a {
  transition: all 0.2s ease;
}

.hero__image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), var(--shadow-glow-primary);
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__image::after {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at center, rgba(0, 168, 107, 0.2) 0%, transparent 60%);
  z-index: 1;
  filter: blur(20px);
}

/* Animated Hero Composition */
.hero-animated-composition {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-center-image {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 650px;
}

.floating-item {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
  will-change: transform;
}

.floating-item img {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.channel-badge {
  background: rgba(255, 255, 255, 0.95);
  color: var(--c-primary);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 20px rgba(0, 168, 107, 0.3);
  border: 2px solid var(--c-white);
  white-space: nowrap;
}

.logo-yle {
  background: #00A6DF;
  color: #fff;
}

.logo-mtv3 {
  background: #E2001A;
  color: #fff;
}

.logo-nelonen {
  background: #000;
  color: #fff;
}

.logo-vsport {
  background: #0033A0;
  color: #fff;
}

.float-poster-1 {
  width: 130px;
  top: -5%;
  left: -5%;
  animation: float-1 6s ease-in-out infinite alternate;
}

.float-poster-2 {
  width: 160px;
  bottom: 5%;
  right: -15%;
  animation: float-2 7s ease-in-out infinite alternate;
  z-index: 4;
}

.float-poster-3 {
  width: 110px;
  top: 15%;
  right: -5%;
  animation: float-3 8s ease-in-out infinite alternate;
}

.float-logo-1 {
  top: 8%;
  left: 30%;
  animation: float-2 5s ease-in-out infinite alternate;
}

.float-logo-2 {
  bottom: -2%;
  left: -5%;
  animation: float-3 6.5s ease-in-out infinite alternate;
  z-index: 4;
}

.float-logo-3 {
  bottom: -8%;
  right: 25%;
  animation: float-1 7.5s ease-in-out infinite alternate;
  z-index: 4;
}

.float-logo-4 {
  top: -5%;
  right: 20%;
  animation: float-2 5.5s ease-in-out infinite alternate;
}

@keyframes float-1 {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  100% {
    transform: translateY(-20px) rotate(-6deg);
  }
}

@keyframes float-2 {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  100% {
    transform: translateY(25px) rotate(4deg);
  }
}

@keyframes float-3 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-15px, -15px) scale(1.08);
  }
}

@media (max-width: 968px) {
  .floating-item {
    display: none;
  }
}

/* ============================================
   CSS HERO VIP CARDS
   ============================================ */
.css-hero-cards-wrap {
  perspective: 1200px;
}

.css-card {
  position: absolute;
  width: 250px;
  height: 150px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  will-change: transform;
  overflow: hidden;
}

.css-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 50%);
  opacity: 0.1;
  pointer-events: none;
}

.css-card__chip {
  width: 45px;
  height: 32px;
  background: linear-gradient(135deg, #d4af37 0%, #aa7700 100%);
  border-radius: 6px;
  opacity: 0.9;
  position: relative;
  overflow: hidden;
}

.css-card__chip::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 4px, rgba(0, 0, 0, 0.1) 4px, rgba(0, 0, 0, 0.1) 6px);
}

.css-card__header {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.css-card__wifi {
  position: absolute;
  top: 24px;
  right: 24px;
  opacity: 0.7;
}

/* Basic Card - Back Left */
.css-card--basic {
  background: linear-gradient(135deg, rgba(40, 40, 45, 0.8), rgba(20, 20, 25, 0.9));
  color: var(--c-gray-300);
  transform: translateX(-110px) translateY(20px) rotateY(15deg) rotateZ(-6deg) scale(0.9);
  z-index: 2;
  animation: floatBasic 6s ease-in-out infinite alternate;
}

.css-card--basic .css-card__chip {
  background: linear-gradient(135deg, #a0a0a0, #606060);
}

/* Gold Card - Back Right */
.css-card--gold {
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.15), rgba(40, 40, 40, 0.9));
  color: #FFD700;
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateX(110px) translateY(10px) rotateY(-15deg) rotateZ(6deg) scale(0.9);
  z-index: 3;
  animation: floatGold 7s ease-in-out infinite alternate;
}

/* Premium Card - Front Center */
.css-card--premium {
  background: linear-gradient(135deg, rgba(0, 168, 107, 0.4), rgba(10, 20, 20, 0.95));
  color: var(--c-white);
  border-color: rgba(0, 168, 107, 0.5);
  box-shadow: 0 0 50px rgba(0, 168, 107, 0.3), 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateX(0) translateY(-10px) translateZ(60px);
  z-index: 4;
  animation: floatPremium 5s ease-in-out infinite alternate;
}

.css-card--premium .css-card__chip {
  background: linear-gradient(135deg, #e0c3fc, #8ec5fc);
}

@keyframes floatBasic {
  0% {
    transform: translateX(-110px) translateY(20px) rotateY(15deg) rotateZ(-6deg) scale(0.9);
  }

  100% {
    transform: translateX(-110px) translateY(-5px) rotateY(12deg) rotateZ(-4deg) scale(0.9);
  }
}

@keyframes floatGold {
  0% {
    transform: translateX(110px) translateY(10px) rotateY(-15deg) rotateZ(6deg) scale(0.9);
  }

  100% {
    transform: translateX(110px) translateY(-15px) rotateY(-12deg) rotateZ(4deg) scale(0.9);
  }
}

@keyframes floatPremium {
  0% {
    transform: translateX(0) translateY(-10px) translateZ(60px);
  }

  100% {
    transform: translateX(0) translateY(-30px) translateZ(60px) rotateX(5deg);
  }
}

@media (max-width: 768px) {
  .css-hero-cards-wrap {
    height: 300px;
    transform: scale(0.8);
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--c-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  padding: var(--sp-sm) var(--sp-md);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-xl);
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, var(--fs-5xl));
  color: var(--c-white);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-lg);
}

.hero h1 .highlight {
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: var(--fs-lg);
  opacity: 0.85;
  line-height: var(--lh-normal);
  margin-bottom: var(--sp-2xl);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
  margin-bottom: var(--sp-2xl);
}

.hero__trust {
  display: flex;
  gap: var(--sp-xl);
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
  opacity: 0.7;
}

.hero__trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--c-accent);
}

.hero--landing {
  padding: 9rem 0 5rem;
  text-align: center;
}

.hero--landing .hero__content {
  max-width: 800px;
  margin: 0 auto;
}

.hero--landing .hero__sub {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--sp-2xl);
}

.hero--landing .hero__actions {
  justify-content: center;
}

.hero--has-image.hero--landing {
  text-align: left;
}

.hero--has-image.hero--landing .hero__content {
  margin: 0;
}

.hero--has-image.hero--landing .hero__sub {
  margin-left: 0;
}

.hero--has-image.hero--landing .hero__actions {
  justify-content: flex-start;
}

@media (max-width: 968px) {
  .hero--has-image.hero--landing {
    text-align: center;
  }

  .hero--has-image.hero--landing .hero__content {
    margin: 0 auto;
  }

  .hero--has-image.hero--landing .hero__sub {
    margin-left: auto;
  }

  .hero--has-image.hero--landing .hero__actions {
    justify-content: center;
  }
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-100);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
  border-color: var(--c-gray-200);
}

.card__icon {
  width: 56px;
  height: 56px;
  background: var(--c-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-lg);
  font-size: 24px;
  color: var(--c-primary);
}

.card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-md);
}

.card p {
  color: var(--c-gray-500);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
}

.card--feature {
  text-align: center;
}

.card--feature .card__icon {
  margin: 0 auto var(--sp-lg);
}

/* Device card */
.card--device {
  text-align: center;
  padding: var(--sp-3xl) var(--sp-xl);
}

.card--device .card__icon {
  width: 80px;
  height: 80px;
  font-size: 36px;
  margin: 0 auto var(--sp-lg);
  background: linear-gradient(135deg, var(--c-secondary), var(--c-white));
  border-radius: var(--radius-lg);
}

/* ============================================
   PRICING
   ============================================ */

/* Pricing Toggle */
.pricing-controls {
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-3xl);
}

.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.toggle-label {
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--c-gray-500);
  cursor: pointer;
  transition: color var(--transition-base);
}

.toggle-label.active {
  color: var(--c-primary);
  font-weight: var(--fw-bold);
}

.pricing-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 32px;
  margin: 0;
}

.pricing-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.pricing-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--c-gray-300);
  transition: .4s;
  border-radius: 34px;
}

.pricing-slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pricing-switch input:checked+.pricing-slider {
  background-color: var(--c-accent);
}

.pricing-switch input:checked+.pricing-slider:before {
  transform: translateX(24px);
}

.badge-save {
  background: var(--c-secondary);
  color: var(--c-accent-dark);
  font-size: var(--fs-xs);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-left: 8px;
  vertical-align: middle;
  text-transform: uppercase;
  font-weight: var(--fw-bold);
}

.pricing-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius-xl);
  padding: var(--sp-3xl);
  text-align: center;
  position: relative;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  color: var(--c-primary);
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 450px;
  /* Cap width slightly for better reading but still very wide */
  margin: 0 auto;
  /* Center within grid cell */
  width: 100%;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--c-gray-300);
}

.pricing-card--featured {
  border: 2px solid var(--c-accent);
  box-shadow: var(--shadow-glow);
}

.pricing-card--featured:hover {
  box-shadow: 0 0 35px rgba(0, 168, 107, 0.35);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  padding: var(--sp-xs) var(--sp-lg);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-card__name {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--c-gray-500);
  margin-bottom: var(--sp-md);
}

.pricing-card__price {
  font-size: var(--fs-5xl);
  font-weight: var(--fw-extrabold);
  color: var(--c-primary);
  margin-bottom: 2px;
}

.pricing-card__price span {
  font-size: var(--fs-lg);
  font-weight: var(--fw-regular);
  color: var(--c-gray-400);
}

.pricing-card__price,
.pricing-card__period {
  min-height: 1.2em;
  /* Prevent small layout shifts */
}

.pricing-card__period {
  font-size: var(--fs-sm);
  color: var(--c-gray-400);
  margin-bottom: var(--sp-xl);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--c-gray-100);
}

.pricing-card__screens {
  margin-bottom: var(--sp-xl);
}

.screens-label {
  font-size: var(--fs-xs);
  color: var(--c-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-md);
}

.screens-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.screen-btn {
  width: 50px;
  height: 40px;
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  color: var(--c-gray-500);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.screen-btn:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.screen-btn.active {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-white);
  box-shadow: 0 4px 12px rgba(0, 168, 107, 0.2);
}

.pricing-card__features {
  text-align: left;
  margin-bottom: var(--sp-2xl);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--c-gray-100);
}

.pricing-card__features li {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: var(--sp-sm) 0;
  font-size: var(--fs-sm);
  color: var(--c-gray-600);
}

.pricing-card__features li .check {
  color: var(--c-accent);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
  /* Push to bottom of flex container */
}

.pricing-card .btn--outline {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.pricing-card .btn--outline:hover {
  background: var(--c-gray-50);
  border-color: var(--c-primary);
  color: var(--c-primary);
}

/* Widen pricing grid on desktops */
@media (min-width: 1024px) {
  .container--wide #pricing .grid--3 {
    gap: var(--sp-2xl);
    /* 3rem gap for wider spacing */
  }
}

/* ============================================
   HOW IT WORKS / STEPS
   ============================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2xl);
  counter-reset: step-counter;
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-lg);
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  color: var(--c-white);
  box-shadow: 0 6px 20px rgba(0, 168, 107, 0.25);
}

.step h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-sm);
}

.step p {
  font-size: var(--fs-sm);
  color: var(--c-gray-500);
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: var(--sp-2xl);
  }
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--c-gray-100);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--c-gray-200);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--sp-lg) var(--sp-xl);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--c-primary);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--c-gray-50);
}

.faq-question::after {
  content: '+';
  font-size: var(--fs-xl);
  font-weight: var(--fw-regular);
  color: var(--c-gray-400);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-question::after {
  content: '−';
  color: var(--c-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-answer__inner {
  padding: 0 var(--sp-xl) var(--sp-lg);
  font-size: var(--fs-sm);
  color: var(--c-gray-500);
  line-height: var(--lh-normal);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonial-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-100);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
}

.testimonial-card__stars {
  color: var(--c-star);
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-md);
}

.testimonial-card__text {
  font-size: var(--fs-base);
  color: var(--c-gray-600);
  line-height: var(--lh-normal);
  margin-bottom: var(--sp-lg);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  background: var(--c-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  color: var(--c-primary);
  font-size: var(--fs-sm);
}

.testimonial-card__name {
  font-weight: var(--fw-semibold);
  color: var(--c-primary);
  font-size: var(--fs-sm);
}

.testimonial-card__loc {
  font-size: var(--fs-xs);
  color: var(--c-gray-400);
}

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
  background: linear-gradient(135deg, var(--c-primary) 0%, #072a42 100%);
  border-radius: var(--radius-xl);
  padding: var(--sp-4xl);
  text-align: center;
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 168, 107, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner h2 {
  color: var(--c-white);
  margin-bottom: var(--sp-md);
  position: relative;
}

.cta-banner p {
  font-size: var(--fs-lg);
  opacity: 0.85;
  margin-bottom: var(--sp-2xl);
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* ============================================
   BENEFITS LIST
   ============================================ */

.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg);
}

.benefit-item {
  display: flex;
  align-items: start;
  gap: var(--sp-md);
  padding: var(--sp-lg);
  background: var(--c-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--c-gray-100);
  transition: all var(--transition-base);
}

.benefit-item:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.benefit-item__icon {
  width: 40px;
  height: 40px;
  background: var(--c-secondary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.benefit-item h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--sp-xs);
}

.benefit-item p {
  font-size: var(--fs-sm);
  color: var(--c-gray-500);
  margin: 0;
}

@media (max-width: 768px) {
  .benefits-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   TRUST BAR
   ============================================ */

.trust-bar {
  padding: var(--sp-xl) 0;
  border-bottom: 1px solid var(--c-gray-100);
}

.trust-bar__items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3xl);
  flex-wrap: wrap;
}

.trust-bar__item {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-bar__item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.trust-bar__number {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  color: var(--c-primary);
  margin-bottom: 4px;
  line-height: 1;
}

.trust-bar__label {
  font-size: var(--fs-xs);
  color: var(--c-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================
   FEATURES SELECTION (SEO GRID)
   ============================================ */

.features-selection {
  padding: var(--sp-4xl) 0;
  background-color: var(--c-gray-50);
  border-top: 1px solid var(--c-gray-100);
  border-bottom: 1px solid var(--c-gray-100);
}

.selection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}

.selection-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.selection-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--c-primary-light);
}

.selection-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.selection-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.selection-card:hover .selection-card__img img {
  transform: scale(1.1);
}

.selection-card__content {
  padding: var(--sp-xl);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.selection-card__content h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-primary-dark);
  margin-bottom: var(--sp-md);
  position: relative;
  padding-bottom: var(--sp-sm);
}

.selection-card__content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--c-primary);
  border-radius: var(--radius-full);
}

.selection-card__content p {
  font-size: var(--fs-sm);
  color: var(--c-gray-600);
  line-height: 1.7;
  margin-bottom: var(--sp-md);
}

.selection-card__content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .selection-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-lg);
  }
}

@media (max-width: 768px) {
  .selection-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
  }
}

/* ============================================
   BLOG CARDS
   ============================================ */

.post-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.post-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.post-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-card__body {
  padding: var(--sp-lg);
}

.post-card__cat {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-sm);
}

.post-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-primary);
  margin-bottom: var(--sp-sm);
  line-height: var(--lh-snug);
}

.post-card__title a {
  color: inherit;
}

.post-card__title a:hover {
  color: var(--c-accent);
}

.post-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--c-gray-500);
  margin-bottom: var(--sp-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__meta {
  font-size: var(--fs-xs);
  color: var(--c-gray-400);
}

/* ============================================
   SINGLE POST REDESIGN (BLOGGER STYLE)
   ============================================ */

.post-hero {
  background: var(--c-primary-dark);
  padding: var(--sp-4xl) 0 var(--sp-2xl);
  color: var(--c-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.post-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 168, 107, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.post-hero .section__badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--c-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: var(--sp-md);
}

.post-hero h1 {
  color: var(--c-white);
  font-size: clamp(var(--fs-2xl), 5vw, 3.5rem);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-md);
}

.post-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-lg);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
}

.post-layout-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: var(--sp-3xl);
  padding-bottom: var(--sp-4xl);
}

.post-main-content {
  min-width: 0;
  /* Fix grid overflow */
}

.post-main-content>p:first-child {
  font-size: var(--fs-md);
  color: var(--c-gray-700);
  line-height: var(--lh-normal);
}

.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2xl);
}

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--c-white);
  border: 1px solid var(--c-gray-100);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h4 {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-gray-400);
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-sm);
  border-bottom: 2px solid var(--c-gray-50);
}

.sidebar-posts-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.sidebar-post-item {
  display: flex;
  gap: var(--sp-md);
  align-items: center;
  text-decoration: none !important;
}

.sidebar-post-item img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  margin: 0 !important;
}

.sidebar-post-item h5 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-primary);
  line-height: var(--lh-snug);
  margin: 0;
  transition: color var(--transition-fast);
}

.sidebar-post-item:hover h5 {
  color: var(--c-accent);
}

/* Enhanced Offer Card for Sidebar */
.post-sidebar .post-offer-card {
  position: relative;
  background: linear-gradient(135deg, var(--c-primary) 0%, #1a3a5a 100%);
  color: white;
  padding: var(--sp-xl) var(--sp-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 200, 150, 0.1);
  text-align: center;
  overflow: hidden;
  margin-bottom: var(--sp-xl);
}

.post-offer-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 200, 153, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.card-badge {
  position: absolute;
  top: 12px;
  right: -30px;
  background: var(--c-accent);
  color: var(--c-primary);
  font-size: 10px;
  font-weight: var(--fw-bold);
  padding: 4px 35px;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.post-offer-card h4 {
  color: white;
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-md);
}

.card-price {
  margin-bottom: var(--sp-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.price-old {
  font-size: var(--fs-md);
  text-decoration: line-through;
  opacity: 0.6;
}

.price-new {
  font-size: 2.5rem;
  font-weight: var(--fw-bold);
  color: var(--c-accent);
  line-height: 1;
}

.price-new span {
  font-size: var(--fs-sm);
  opacity: 0.8;
  font-weight: var(--fw-normal);
}

.card-period {
  font-size: var(--fs-xs);
  opacity: 0.6;
  margin-bottom: var(--sp-lg);
}

.card-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-xl) 0;
  text-align: left;
  display: inline-block;
}

.card-benefits li {
  font-size: var(--fs-sm);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-icon {
  color: var(--c-accent);
  font-weight: bold;
}

.pulse-btn {
  width: 100%;
  padding: 14px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: card-pulse 2s infinite;
  border: none;
}

@keyframes card-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 200, 153, 0.4);
  }

  70% {
    transform: scale(1.02);
    box-shadow: 0 0 0 15px rgba(0, 200, 153, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 200, 153, 0);
  }
}

@media (max-width: 991px) {
  .post-layout-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-2xl);
  }

  .post-sidebar {
    order: 2;
  }
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--c-gray-900);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--sp-4xl) 0 var(--sp-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-3xl);
}

.footer-brand p {
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  margin-bottom: 0;
}

.footer-brand .site-logo {
  color: var(--c-white);
  margin-bottom: var(--sp-lg);
}

.footer-col {
  text-align: center;
}

.footer-col h4 {
  color: var(--c-white);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-lg);
}

.footer-col ul li {
  margin-bottom: var(--sp-sm);
}

.footer-col ul a {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--c-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: var(--sp-3xl);
  padding-top: var(--sp-xl);
  text-align: center;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-2xl);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SETUP GUIDE
   ============================================ */

.setup-step {
  display: flex;
  gap: var(--sp-2xl);
  align-items: start;
  padding: var(--sp-2xl) 0;
  border-bottom: 1px solid var(--c-gray-100);
}

.setup-step:last-child {
  border-bottom: none;
}

.setup-step__number {
  width: 48px;
  height: 48px;
  background: var(--c-accent);
  color: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
  flex-shrink: 0;
}

.setup-step__content h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-sm);
}

.setup-step__content p {
  color: var(--c-gray-500);
  font-size: var(--fs-sm);
}

/* ============================================
   CONTACT
   ============================================ */

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}

.contact-card {
  text-align: center;
  padding: var(--sp-2xl);
  background: var(--c-white);
  border: 1px solid var(--c-gray-100);
  border-radius: var(--radius-lg);
}

.contact-card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--sp-md);
  background: var(--c-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.contact-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-sm);
}

.contact-card p {
  font-size: var(--fs-sm);
  color: var(--c-gray-500);
}

@media (max-width: 768px) {
  .contact-methods {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   404
   ============================================ */

.page-404 {
  text-align: center;
  padding: 8rem 0;
}

.page-404 h1 {
  font-size: 6rem;
  color: var(--c-gray-200);
}

.page-404 h2 {
  margin-bottom: var(--sp-md);
}

.page-404 p {
  color: var(--c-gray-500);
  margin-bottom: var(--sp-2xl);
}

/* ============================================
   GUARANTEE BADGE
   ============================================ */

.guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  padding: var(--sp-lg);
  background: var(--c-off-white);
  border-radius: var(--radius-md);
  margin-top: var(--sp-2xl);
}

.guarantee__icon {
  font-size: 36px;
}

.guarantee__text h4 {
  font-size: var(--fs-sm);
  margin-bottom: 2px;
}

.guarantee__text p {
  font-size: var(--fs-xs);
  color: var(--c-gray-500);
  margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  h1 {
    font-size: var(--fs-3xl);
  }

  h2 {
    font-size: var(--fs-2xl);
  }

  h3 {
    font-size: var(--fs-xl);
  }

  .hero {
    padding: 8rem 0 4rem;
  }

  .section {
    padding: var(--sp-3xl) 0;
  }

  .container {
    padding: 0 var(--sp-md);
  }

  .cta-banner {
    padding: var(--sp-2xl);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .pricing-card--featured {
    transform: scale(1);
  }

  .pricing-card--featured:hover {
    transform: translateY(-6px);
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease both;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

.animate-delay-4 {
  animation-delay: 0.4s;
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */

.wp-block-image {
  margin: var(--sp-xl) 0;
}

.wp-block-image img {
  border-radius: var(--radius-md);
}

.aligncenter {
  text-align: center;
}

.alignleft {
  float: left;
  margin-right: var(--sp-md);
}

.alignright {
  float: right;
  margin-left: var(--sp-md);
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

/* WP Admin Bar offset */
body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */

.float-wa {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.float-wa:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
  color: #FFF;
}

@media (max-width: 768px) {
  .float-wa {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .float-wa svg {
    width: 26px;
    height: 26px;
  }
}

/* ============================================
   POSTERS MARQUEE
   ============================================ */

.posters-marquee {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: var(--sp-2xl) 0 0 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  display: flex;
  align-items: center;
}

.posters-marquee::before,
.posters-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 15vw;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.posters-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-body), transparent);
}

.posters-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-body), transparent);
}

.posters-track {
  display: flex;
  animation: scroll-posters 30s linear infinite;
  width: max-content;
}

.posters-track:hover {
  animation-play-state: paused;
}

.poster-group {
  display: flex;
  gap: var(--sp-lg);
  padding-right: var(--sp-lg);
}

.poster-item {
  flex: 0 0 auto;
  width: 220px;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
  position: relative;
}

.poster-item:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 168, 107, 0.4);
  z-index: 5;
}

.poster-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.poster-item:hover img {
  transform: scale(1.1);
}

.poster-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 60px var(--sp-md) var(--sp-md);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.poster-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  margin: 0;
  white-space: normal;
  line-height: var(--lh-tight);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.poster-desc {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  white-space: normal;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@keyframes scroll-posters {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .poster-item {
    width: 160px;
    height: 240px;
  }
}

/* ═══════ GLOBAL SCROLL ANIMATIONS ═══════ */
html.js-enabled .animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.js-enabled .animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Dynamic Staggering inside Grids */
.grid .animate-on-scroll:nth-child(1) {
  transition-delay: 0s;
}

.grid .animate-on-scroll:nth-child(2) {
  transition-delay: 0.15s;
}

.grid .animate-on-scroll:nth-child(3) {
  transition-delay: 0.3s;
}

.grid .animate-on-scroll:nth-child(4) {
  transition-delay: 0.45s;
}

.grid .animate-on-scroll:nth-child(5) {
  transition-delay: 0.6s;
}

.steps .animate-on-scroll:nth-child(1) {
  transition-delay: 0s;
}

.steps .animate-on-scroll:nth-child(2) {
  transition-delay: 0.2s;
}

.steps .animate-on-scroll:nth-child(3) {
  transition-delay: 0.4s;
}

.benefits-list .animate-on-scroll:nth-child(even) {
  transition-delay: 0.2s;
}

/* ============================================
   STANDALONE LANDING PAGE
   ============================================ */

/* Hide default site header & footer on standalone landing pages */
.landing-standalone .site-header,
.landing-standalone .site-footer {
  display: none !important;
}

/* Landing Header */
.lp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0;
}

.lp-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-header__logo img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

/* Landing Footer */
.lp-footer {
  background: var(--c-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--sp-2xl) 0;
  text-align: center;
}

.lp-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-md);
}

.lp-footer__logo img {
  height: 40px;
  width: auto;
  opacity: 0.8;
}

.lp-footer p {
  font-size: var(--fs-sm);
  margin: 0;
  opacity: 0.6;
}

.lp-footer__links {
  display: flex;
  gap: var(--sp-lg);
}

.lp-footer__links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: color var(--transition-fast);
}

.lp-footer__links a:hover {
  color: var(--c-accent);
}

/* Adjust hero top padding for standalone landing pages */
.landing-standalone .hero {
  padding-top: 100px;
}