/* ================================================
   VENVITRE IPTV - CSS Global
   ================================================ */

/* Variables */
:root {
    --primary: #6C3AED;
    --primary-dark: #5B21B6;
    --primary-light: #8B5CF6;
    --primary-glow: rgba(108, 58, 237, 0.4);
    --accent: #10B981;
    --accent-dark: #059669;
    --accent-glow: rgba(16, 185, 129, 0.4);
    --dark: #06060F;
    --dark-2: #0D0D1A;
    --dark-3: #151528;
    --dark-4: #1E1E38;
    --white: #FFFFFF;
    --gray-100: #F3F4F6;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gold: #F59E0B;
    --red: #EF4444;
    --pink: #EC4899;
    --blue: #3B82F6;
    --gradient-main: linear-gradient(135deg, #6C3AED 0%, #EC4899 100%);
    --gradient-accent: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
    --gradient-gold: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    --gradient-dark: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(108, 58, 237, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 50px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ================================================
   Background Effects
   ================================================ */
.bg-effects {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-effects .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.07;
    animation: orbFloat 25s infinite ease-in-out;
}

.bg-effects .orb-1 {
    width: 600px; height: 600px;
    background: var(--primary);
    top: -200px; left: -100px;
}

.bg-effects .orb-2 {
    width: 500px; height: 500px;
    background: var(--pink);
    bottom: -150px; right: -100px;
    animation-delay: -8s;
}

.bg-effects .orb-3 {
    width: 400px; height: 400px;
    background: var(--accent);
    top: 40%; left: 60%;
    animation-delay: -16s;
}

/* Grid pattern overlay */
.bg-effects::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(108, 58, 237, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 58, 237, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(60px, -40px) scale(1.1); }
    50% { transform: translate(-30px, 60px) scale(0.95); }
    75% { transform: translate(40px, 20px) scale(1.05); }
}

/* ================================================
   Containers & Layout
   ================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

section {
    position: relative;
    z-index: 1;
}

/* ================================================
   Promo Bar
   ================================================ */
.promo-bar {
    background: var(--gradient-main);
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    z-index: 1001;
    overflow: hidden;
}

.promo-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.promo-bar span {
    position: relative;
    z-index: 1;
}

.promo-bar .gold { color: var(--gold); }

/* ================================================
   Header
   ================================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6, 6, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(108, 58, 237, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(6, 6, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-text {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sub {
    font-size: 11px;
    color: var(--gray-400);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--gray-400);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(108, 58, 237, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--gradient-main);
    border-radius: 1px;
}

.nav-cta {
    margin-left: 8px;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: 2px solid rgba(108, 58, 237, 0.3);
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.menu-toggle:hover {
    border-color: var(--primary);
    background: rgba(108, 58, 237, 0.1);
}

.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 6, 15, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 100px 24px 40px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    padding: 16px 40px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    width: 100%;
    max-width: 340px;
    text-align: center;
}

.mobile-nav a:hover {
    background: rgba(108, 58, 237, 0.15);
}

.mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 32px;
    cursor: pointer;
}

/* ================================================
   Buttons
   ================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(108, 58, 237, 0.5);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(108, 58, 237, 0.4);
}

.btn-outline:hover {
    background: rgba(108, 58, 237, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-sm { padding: 10px 24px; font-size: 13px; }
.btn-lg { padding: 18px 42px; font-size: 17px; }
.btn-xl { padding: 20px 48px; font-size: 18px; }
.btn-block { width: 100%; }

/* ================================================
   Section Styles
   ================================================ */
.section {
    padding: 120px 0;
}

.section-alt {
    background: var(--dark-2);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    padding: 6px 18px;
    background: rgba(108, 58, 237, 0.1);
    border: 1px solid rgba(108, 58, 237, 0.15);
    border-radius: var(--radius-full);
}

.section-title {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-title .highlight {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--gray-400);
    font-size: 18px;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ================================================
   Page Hero (for subpages)
   ================================================ */
.page-hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(108, 58, 237, 0.12) 0%, transparent 60%);
    z-index: -1;
}

.page-hero .section-title {
    font-size: 48px;
}

.page-hero .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.page-hero .breadcrumb a {
    color: var(--primary-light);
    transition: var(--transition);
}

.page-hero .breadcrumb a:hover {
    color: var(--white);
}

/* ================================================
   Cards
   ================================================ */
.card {
    background: var(--dark-3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-main);
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(108, 58, 237, 0.2);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

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

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    position: relative;
}

.card-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: inherit;
    filter: blur(20px);
    opacity: 0.4;
    z-index: -1;
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card p {
    color: var(--gray-400);
    font-size: 15px;
    line-height: 1.7;
}

/* ================================================
   Grid Layouts
   ================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ================================================
   Badge
   ================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(108, 58, 237, 0.1);
    border: 1px solid rgba(108, 58, 237, 0.2);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
}

.badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 8px var(--accent-glow);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* ================================================
   Stars Rating
   ================================================ */
.stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }

/* ================================================
   Divider
   ================================================ */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 58, 237, 0.2), transparent);
    margin: 0;
}

/* ================================================
   Glassmorphism Box
   ================================================ */
.glass-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    padding: 48px;
}

/* ================================================
   Footer
   ================================================ */
.footer {
    padding: 80px 0 30px;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: var(--dark-2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-about p {
    color: var(--gray-400);
    font-size: 14px;
    line-height: 1.8;
    margin-top: 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark-4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col a {
    display: block;
    color: var(--gray-400);
    font-size: 14px;
    padding: 7px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-light);
    padding-left: 6px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--gray-500);
    font-size: 13px;
}

.footer-bottom a {
    color: var(--primary-light);
}

/* ================================================
   WhatsApp Float
   ================================================ */
.wpp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
}

.wpp-float a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 16px 26px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: wppBounce 3s infinite ease-in-out;
}

.wpp-float a:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

@keyframes wppBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ================================================
   Scroll Animations
   ================================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ================================================
   Responsive
   ================================================ */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

    .section { padding: 80px 0; }
    .section-title { font-size: 30px; }
    .section-subtitle { font-size: 16px; }
    .page-hero .section-title { font-size: 34px; }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .glass-box { padding: 28px; }

    .btn-lg { padding: 16px 32px; font-size: 15px; }
    .btn-xl { padding: 16px 36px; font-size: 16px; }

    .wpp-float a .wpp-label { display: none; }
    .wpp-float a { padding: 16px; border-radius: 50%; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section-title { font-size: 26px; }
    .page-hero .section-title { font-size: 28px; }
}
