/* ============================================================
   ENIGMA-IPTV.COM — Design System Premium
   ============================================================ */

:root {
    --bg-0: #04060d;
    --bg-1: #070b16;
    --bg-2: #0b1120;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-strong: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);
    --accent: #ff2e4d;
    --accent-soft: #ff5c74;
    --accent-2: #ff7a3d;
    --grad-accent: linear-gradient(135deg, #ff2e4d 0%, #ff7a3d 100%);
    --grad-text: linear-gradient(100deg, #ff5c74 0%, #ff7a3d 60%, #ffb347 100%);
    --text-hi: #f4f6fb;
    --text-mid: #aab3c5;
    --text-low: #78829a;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --shadow-accent: 0 10px 40px rgba(255, 46, 77, 0.25);
    --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.55);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset & Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg-0);
}

body {
    font-family: var(--font);
    line-height: 1.65;
    color: var(--text-mid);
    overflow-x: hidden;
    background:
        radial-gradient(1100px 600px at 85% -5%, rgba(255, 46, 77, 0.07), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(64, 90, 255, 0.06), transparent 60%),
        var(--bg-0);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: rgba(255, 46, 77, 0.35);
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
}

h1, h2, h3, h4 {
    color: var(--text-hi);
    letter-spacing: -0.02em;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: var(--bg-1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    border-radius: 8px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(4, 6, 13, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar {
    padding: 0.9rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.15rem;
    letter-spacing: -0.03em;
}

.nav-brand span {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.nav-link {
    color: var(--text-mid);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.94rem;
    position: relative;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: var(--grad-accent);
    border-radius: 2px;
    transition: width 0.28s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 6px;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 72px;
    background: var(--bg-0);
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-slider {
    position: absolute;
    inset: 0;
    display: flex;
    transform: translateX(0);
    transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}

.hero-bg-slide {
    flex: 0 0 100%;
    height: 100%;
    overflow: hidden;
}

.hero-bg-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.42) saturate(1.15) contrast(1.05);
    transform: scale(1.06);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 500px at 50% 115%, rgba(255, 46, 77, 0.18), transparent 60%),
        linear-gradient(180deg, rgba(4, 6, 13, 0.75) 0%, rgba(4, 6, 13, 0.35) 40%, rgba(4, 6, 13, 0.92) 100%);
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 860px;
    margin: 0 auto;
    padding: 5rem 0 4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255, 46, 77, 0.12);
    border: 1px solid rgba(255, 46, 77, 0.4);
    color: #ff8d9e;
    font-size: 0.86rem;
    font-weight: 600;
    padding: 0.5rem 1.15rem;
    border-radius: 50px;
    margin-bottom: 1.6rem;
    backdrop-filter: blur(6px);
    letter-spacing: 0.02em;
}

.hero-badge i {
    color: var(--accent-soft);
}

.hero-title {
    font-size: clamp(2.3rem, 5.4vw, 3.9rem);
    font-weight: 800;
    line-height: 1.14;
    margin-bottom: 1.4rem;
    letter-spacing: -0.03em;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
}

.hero-title .highlight {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    color: #c9d2e3;
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-keywords {
    font-size: 0.92rem;
    color: var(--text-low);
    margin-top: 0.6rem;
}

.hero-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
    color: #ffd166;
    font-size: 0.95rem;
}

.hero-trust .stars i {
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.hero-trust span.label {
    color: #e6ebf5;
    font-weight: 500;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2.6rem;
    margin-bottom: 2.6rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    color: #edf1f9;
    font-size: 1.02rem;
}

.feature-item i {
    color: var(--accent-soft);
    font-size: 1.15rem;
    filter: drop-shadow(0 0 8px rgba(255, 46, 77, 0.55));
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
    padding: 0.95rem 2.1rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 1.04rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-width: 200px;
}

.btn-primary,
.exit-modal-btn.whatsapp-btn-primary {
    background: var(--grad-accent);
    color: #fff;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 44px rgba(255, 46, 77, 0.45);
    filter: brightness(1.08);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(6px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--accent-soft);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.4rem 3rem;
    font-size: 1.18rem;
}

/* ============================================================
   COMPATIBILITY MARQUEE STRIP
   ============================================================ */
.compat-strip {
    padding: 1.35rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.018);
    overflow: hidden;
    position: relative;
}

.compat-strip::before,
.compat-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 130px;
    z-index: 2;
    pointer-events: none;
}

.compat-strip::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-0), transparent);
}

.compat-strip::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-0), transparent);
}

.strip-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: strip-scroll 32s linear infinite;
}

.compat-strip:hover .strip-track {
    animation-play-state: paused;
}

.strip-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-mid);
    font-weight: 600;
    font-size: 0.98rem;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.strip-item i {
    color: var(--accent-soft);
    font-size: 1.05rem;
}

.strip-item strong {
    color: #eef2f9;
}

@keyframes strip-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================================
   SECTION HEADER (shared)
   ============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 3.6rem;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.section-header .eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-soft);
    background: rgba(255, 46, 77, 0.1);
    border: 1px solid rgba(255, 46, 77, 0.28);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.1rem;
}

.section-header h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 0.9rem;
    color: #fff;
}

.section-header p {
    font-size: 1.13rem;
    color: var(--text-mid);
}

.features .section-header h2,
.features .section-header p {
    color: #fff;
}

.sports .section-header h2 {
    color: #fff;
}

.sports .section-header p {
    color: var(--text-mid);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
    padding: 6.5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.6rem;
}

.feature-card {
    position: relative;
    background: var(--surface);
    backdrop-filter: blur(10px);
    padding: 2.4rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 46, 77, 0.55), transparent);
    opacity: 0;
    transition: opacity 0.32s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 46, 77, 0.4);
    box-shadow: var(--shadow-accent);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 66px;
    height: 66px;
    background: var(--grad-accent);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.4rem;
    box-shadow: 0 10px 26px rgba(255, 46, 77, 0.32);
}

.feature-icon i {
    font-size: 1.65rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.32rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #fff;
    text-align: center;
}

.feature-card > p:first-of-type,
.feature-card p {
    color: var(--text-mid);
    line-height: 1.7;
}

.feature-card p,
.feature-card ul,
.feature-card ol {
    color: var(--text-mid);
    line-height: 1.7;
}

.feature-card ul,
.feature-card ol {
    text-align: center;
    list-style-position: inside;
    margin: 0 0 1rem 0;
    padding: 0;
}

.feature-card li {
    line-height: 1.7;
    margin-bottom: 0.5rem;
    color: var(--text-mid);
}

.feature-card a {
    color: var(--accent-soft);
    text-decoration: underline;
    text-decoration-color: rgba(255, 46, 77, 0.4);
    transition: color 0.2s ease;
}

.feature-card a:hover {
    color: #ff8d9e;
}

.feature-card figure img {
    border: 1px solid var(--border-strong) !important;
    box-shadow: var(--shadow-deep);
}

.img-fallback {
    border-radius: 12px;
}

/* ============================================================
   COMPATIBILITY SECTION — Enigma2 + Apps  ★ core new block
   ============================================================ */
.compat {
    padding: 6.5rem 0;
    background:
        radial-gradient(800px 420px at 12% 10%, rgba(255, 122, 61, 0.06), transparent 60%),
        radial-gradient(800px 420px at 88% 90%, rgba(255, 46, 77, 0.07), transparent 60%);
}

.compat-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 1.6rem;
    align-items: stretch;
}

/* --- Big Enigma2 card --- */
.enigma-card {
    position: relative;
    background:
        radial-gradient(600px 300px at 80% 0%, rgba(255, 46, 77, 0.14), transparent 65%),
        linear-gradient(160deg, #10162a 0%, #0a0f1e 100%);
    border: 1px solid rgba(255, 46, 77, 0.34);
    border-radius: var(--radius-lg);
    padding: 2.6rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-deep);
}

.enigma-card::after {
    content: '\f7ca';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -36px;
    bottom: -34px;
    font-size: 13rem;
    color: rgba(255, 46, 77, 0.06);
    pointer-events: none;
    line-height: 1;
}

.enigma-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffb199;
    background: rgba(255, 122, 61, 0.12);
    border: 1px solid rgba(255, 122, 61, 0.35);
    padding: 0.38rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.3rem;
}

.enigma-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: var(--grad-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 46, 77, 0.4);
    margin-bottom: 1.4rem;
}

.enigma-icon i {
    font-size: 1.7rem;
    color: #fff;
}

.enigma-card h3 {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.enigma-card h3 em {
    font-style: normal;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.enigma-card > p {
    color: var(--text-mid);
    margin-bottom: 1.5rem;
    font-size: 1.02rem;
}

.enigma-list {
    list-style: none;
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1.7rem;
    position: relative;
    z-index: 1;
}

.enigma-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #dfe6f2;
    font-weight: 500;
    font-size: 0.99rem;
}

.enigma-list li i {
    color: #37d67a;
    font-size: 0.95rem;
}

.enigma-devices {
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.enigma-devices span.dev-label {
    display: block;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-low);
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.device-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.device-chip {
    font-size: 0.83rem;
    font-weight: 600;
    color: #e9edf6;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--border-strong);
    padding: 0.42rem 0.95rem;
    border-radius: 50px;
    transition: all 0.25s ease;
}

.device-chip:hover {
    border-color: rgba(255, 46, 77, 0.55);
    background: rgba(255, 46, 77, 0.1);
    transform: translateY(-2px);
}

/* --- Apps grid --- */
.apps-panel {
    display: flex;
    flex-direction: column;
}

.apps-title {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-low);
    margin: 0.15rem 0 1rem;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 1rem;
    flex: 1;
}

.app-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.35rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
    cursor: default;
    overflow: hidden;
}

.app-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 46, 77, 0.45);
    background: rgba(255, 46, 77, 0.05);
    box-shadow: 0 14px 34px rgba(255, 46, 77, 0.16);
}

.app-logo {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.app-card:nth-child(odd) .app-logo {
    background: linear-gradient(135deg, #ff2e4d33, #ff7a3d22);
    border-color: rgba(255, 122, 61, 0.4);
}

.app-info {
    min-width: 0;
}

.app-name {
    font-weight: 700;
    color: #f2f5fb;
    font-size: 0.97rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-desc {
    font-size: 0.79rem;
    color: var(--text-low);
    line-height: 1.35;
}

.apps-footnote {
    margin-top: 1.1rem;
    font-size: 0.88rem;
    color: var(--text-low);
    text-align: center;
}

.apps-footnote strong {
    color: #dfe6f2;
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
    padding: 4.5rem 0;
    background:
        linear-gradient(120deg, rgba(255, 46, 77, 0.09), rgba(255, 122, 61, 0.05)),
        var(--bg-1);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-item {
    padding: 1.4rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 46, 77, 0.4);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.15;
}

.stat-label {
    margin-top: 0.35rem;
    color: var(--text-mid);
    font-weight: 500;
    font-size: 0.96rem;
}

/* ============================================================
   BRAND CAROUSEL (Sports / Platforms)
   ============================================================ */
.sports {
    padding: 6.5rem 0;
}

.brand-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-deep);
    padding: 18px 52px;
}

.carousel-track {
    display: flex;
    gap: 22px;
    will-change: transform;
    transform: translateX(0);
    transition: transform 0.5s ease;
}

.carousel-slide {
    position: relative;
    flex: 0 0 210px;
    height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.carousel-slide:hover {
    border-color: rgba(255, 46, 77, 0.45);
    transform: translateY(-3px);
}

.carousel-slide img {
    max-width: 84%;
    max-height: 82%;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55));
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.carousel-btn:hover {
    background: rgba(255, 46, 77, 0.22);
    border-color: rgba(255, 46, 77, 0.55);
}

.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

@media (max-width: 1024px) {
    .carousel-slide { flex: 0 0 190px; height: 108px; }
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
    padding: 6.5rem 0;
}

.pricing .section-header h2,
.pricing .section-header p {
    color: #fff;
}

.pricing .section-header p {
    color: var(--text-mid);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    background: var(--surface);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.4rem 2rem;
    text-align: center;
    transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 46, 77, 0.5);
    box-shadow: var(--shadow-accent);
}

.pricing-card.popular,
.pricing-card.featured {
    border: 1px solid rgba(255, 46, 77, 0.6);
    background:
        radial-gradient(400px 200px at 50% 0%, rgba(255, 46, 77, 0.12), transparent 70%),
        var(--surface);
    transform: scale(1.04);
    box-shadow: var(--shadow-accent);
    z-index: 1;
}

.pricing-card.popular:hover,
.pricing-card.featured:hover {
    transform: scale(1.04) translateY(-8px);
}

.popular-badge,
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad-accent);
    color: #fff;
    padding: 0.42rem 1.3rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(255, 46, 77, 0.45);
}

.plan-duration {
    color: var(--accent-soft);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.pricing-header h3 {
    font-size: 1.05rem;
    margin: 0.5rem 0 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-low);
}

.price {
    font-size: 3.1rem;
    font-weight: 800;
    margin: 0.6rem 0 0.2rem;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.price-note {
    display: block;
    color: var(--text-low);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 1.4rem;
}

.pricing-features {
    list-style: none;
    margin: 0 0 1.8rem;
    text-align: left;
    flex: 1;
}

.pricing-features li {
    padding: 0.48rem 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #dbe2ee;
    font-size: 0.94rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--accent-soft);
    font-size: 0.52rem;
    vertical-align: middle;
}

.one-time {
    color: var(--text-low);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-top: 1rem;
}

/* legacy helpers preserved */
.currency { font-size: 1.5rem; color: var(--text-low); vertical-align: top; }
.amount { font-size: 3rem; font-weight: 800; color: #fdac08; }
.period { font-size: 1.2rem; color: var(--text-low); }
.savings {
    background: rgba(55, 214, 122, 0.12);
    color: #37d67a;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
    padding: 6.5rem 0;
}

.faq .section-header h2 {
    color: #fff;
}

.faq .section-header p {
    color: var(--text-mid);
}

.faq-grid {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 0.9rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover,
.faq-item.open {
    border-color: rgba(255, 46, 77, 0.4);
}

.faq-question {
    padding: 1.4rem 1.6rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: background 0.25s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-question h3 {
    font-size: 1.06rem;
    font-weight: 600;
    color: #f0f3fa;
}

.faq-question i {
    color: var(--accent-soft);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.6rem 1.5rem;
    line-height: 1.7;
    color: var(--text-mid);
}

.faq-answer strong {
    color: #e8ecf5;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    padding: 6.5rem 0;
}

.contact > .container {
    border: 1px solid var(--border);
    border-radius: calc(var(--radius-lg) + 6px);
    background:
        radial-gradient(600px 300px at 90% 10%, rgba(255, 46, 77, 0.1), transparent 60%),
        linear-gradient(160deg, #0d1324 0%, #080d19 100%);
    box-shadow: var(--shadow-deep);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 0;
}

.contact-info h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-info > p {
    font-size: 1.12rem;
    color: var(--text-mid);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.contact-method i {
    font-size: 1.7rem;
    color: var(--accent-soft);
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 46, 77, 0.1);
    border: 1px solid rgba(255, 46, 77, 0.3);
    border-radius: 14px;
}

.contact-method h3 {
    color: #f0f3fa;
    font-size: 1.12rem;
    margin-bottom: 0.2rem;
}

.contact-method p {
    color: var(--text-mid);
    margin: 0;
}

.contact-cta {
    text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
    padding: 4.5rem 0 1.6rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.6rem;
}

.footer-brand h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-brand span {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: var(--text-mid);
    font-size: 0.96rem;
}

.footer-keywords {
    color: var(--text-low) !important;
    font-size: 0.84rem !important;
    line-height: 1.6;
}

.footer-column h4 {
    margin-bottom: 1.1rem;
    font-size: 0.86rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-soft);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.55rem;
}

.footer-column a {
    color: var(--text-mid);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-column a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.4rem;
    text-align: center;
    color: var(--text-low);
    font-size: 0.9rem;
}

/* ============================================================
   FLOATING BUTTONS / CHAT WIDGET
   ============================================================ */
.whatsapp-float,
.telegram-float {
    position: fixed;
    right: 26px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.whatsapp-float {
    bottom: 26px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.telegram-float {
    bottom: 96px;
    background: linear-gradient(135deg, #0088cc, #005999);
    box-shadow: 0 8px 24px rgba(0, 136, 204, 0.4);
}

.whatsapp-float:hover,
.telegram-float:hover {
    transform: scale(1.1);
}

.whatsapp-float i,
.telegram-float i {
    font-size: 1.7rem;
    color: #fff;
}

.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.chat-trigger {
    width: 60px;
    height: 60px;
    background: var(--grad-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-accent);
    transition: all 0.3s ease;
    border: none;
    animation: pulse-glow 2.4s infinite;
}

.chat-trigger:hover {
    transform: scale(1.1);
}

.chat-trigger i {
    color: white;
    font-size: 23px;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 46, 77, 0.45), 0 10px 40px rgba(255, 46, 77, 0.25); }
    50% { box-shadow: 0 0 0 14px rgba(255, 46, 77, 0), 0 10px 40px rgba(255, 46, 77, 0.35); }
}

.chat-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: #12172a;
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    box-shadow: var(--shadow-deep);
    overflow: hidden;
    transform: scale(0) translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: bottom right;
}

.chat-popup.show {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.chat-header {
    background: var(--grad-accent);
    color: white;
    padding: 20px;
    position: relative;
}

.chat-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin: 0 0 5px 0;
}

.chat-status {
    font-size: 13px;
    opacity: 0.92;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #d9ffe4;
    border-radius: 50%;
    animation: blink-dot 1.5s infinite;
}

@keyframes blink-dot {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.chat-body {
    padding: 20px;
}

.chat-message {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: #dbe2ee;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.chat-message .emoji {
    font-size: 18px;
    margin-right: 8px;
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: #e6ebf5;
    transition: all 0.2s ease;
    font-weight: 500;
}

.chat-option.whatsapp:hover {
    border-color: #25D366;
    background: rgba(37, 211, 102, 0.08);
    transform: translateY(-2px);
}

.chat-option.telegram:hover {
    border-color: #0088cc;
    background: rgba(0, 136, 204, 0.08);
    transform: translateY(-2px);
}

.chat-option i {
    font-size: 20px;
    margin-right: 12px;
    width: 24px;
}

.chat-option.whatsapp i { color: #25D366; }
.chat-option.telegram i { color: #4fc3f7; }

.chat-option-text { flex: 1; }
.chat-option-title { font-weight: 600; margin-bottom: 2px; }
.chat-option-desc { font-size: 12px; color: var(--text-low); }

/* ============================================================
   EXIT INTENT MODAL
   ============================================================ */
.exit-intent-modal {
    position: fixed;
    inset: 0;
    background: rgba(2, 4, 10, 0.88);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.exit-intent-modal.show {
    opacity: 1;
    visibility: visible;
}

.exit-modal-content {
    background: linear-gradient(150deg, #131a30 0%, #0a0f1e 100%);
    border: 1px solid rgba(255, 46, 77, 0.5);
    border-radius: 26px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-accent), var(--shadow-deep);
    transform: scale(0.7) translateY(50px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.exit-intent-modal.show .exit-modal-content {
    transform: scale(1) translateY(0);
}

.exit-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-low);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1;
}

.exit-modal-close:hover { color: var(--accent); }

.exit-modal-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.exit-modal-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.exit-modal-subtitle {
    font-size: 1.15rem;
    color: var(--accent-soft);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.exit-modal-text {
    font-size: 1.05rem;
    color: var(--text-mid);
    margin-bottom: 2rem;
    line-height: 1.65;
}

.exit-modal-discount {
    background: var(--grad-accent);
    color: #fff;
    font-size: 2.8rem;
    font-weight: 900;
    padding: 1rem 2rem;
    border-radius: 20px;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-accent);
    animation: pulse-glow 2s infinite;
}

.exit-modal-code {
    background: rgba(255, 255, 255, 0.05);
    color: #ffd7dc;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
    font-size: 1.05rem;
    border: 2px dashed rgba(255, 46, 77, 0.6);
    letter-spacing: 1px;
}

.exit-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.exit-modal-btn {
    padding: 1.15rem 2.4rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 1.12rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-width: 200px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.exit-modal-btn.whatsapp {
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: #fff;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.exit-modal-btn.whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.55);
}

.exit-modal-btn.telegram {
    background: linear-gradient(45deg, #0088cc, #005999);
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
}

.exit-modal-btn.telegram:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 136, 204, 0.55);
}

.exit-modal-btn i { font-size: 1.4rem; }

.exit-modal-timer {
    color: var(--accent-soft);
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: 1rem;
}

.exit-modal-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.exit-modal-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-mid);
    font-size: 0.93rem;
}

.exit-modal-feature i { color: #37d67a; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-card,
.pricing-card,
.faq-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Loader overlay (WhatsApp redirect) */
.loader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(2, 4, 10, 0.88);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    color: #fff;
    font-weight: 600;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Dynamic nav-menu mobile style injected by JS is overridden here too */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(4, 6, 13, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 1.8rem;
    gap: 1.2rem;
    align-items: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) { opacity: 0; }

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .compat-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .nav-toggle { display: flex; }

    .hero { margin-top: 64px; }
    .hero-content { padding: 3.5rem 0 3rem; }
    .hero-features { flex-direction: column; gap: 0.9rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 310px; }

    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 430px; }
    .pricing-card.popular, .pricing-card.featured { transform: none; }
    .pricing-card.popular:hover, .pricing-card.featured:hover { transform: translateY(-8px); }

    .apps-grid { grid-template-columns: repeat(2, 1fr); }

    .contact-content { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .contact-method { justify-content: center; }
    .contact-methods { align-items: center; }

    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .device-chips { justify-content: center; }
    .enigma-list { text-align: left; }

    .brand-carousel { padding: 14px 46px; }
    .carousel-slide { flex: 0 0 155px; height: 96px; }

    .whatsapp-float { bottom: 18px; right: 18px; width: 50px; height: 50px; }
    .telegram-float { bottom: 78px; right: 18px; width: 50px; height: 50px; }
    .chat-popup { width: 280px; bottom: 70px; right: 0; }

    .exit-modal-content { padding: 2rem 1.5rem; margin: 1rem; }
    .exit-modal-buttons { flex-direction: column; align-items: center; }
    .exit-modal-btn { width: 100%; max-width: 280px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .feature-card, .pricing-card { padding: 1.6rem; }

    .apps-grid { grid-template-columns: 1fr; }

    .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.9rem; }

    .btn { padding: 0.85rem 1.5rem; font-size: 1rem; }
    .btn-large { padding: 1.15rem 2rem; font-size: 1.05rem; }

    .enigma-card { padding: 1.8rem; }
    .enigma-card::after { font-size: 9rem; }

    .compat-strip::before, .compat-strip::after { width: 60px; }
}
