@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #007bff;
    --primary-glow: #007bff80;
    --accent: #ffd700;
    --accent-glow: #ffd70080;
    --bg-dark: #050a14;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --gradient: linear-gradient(135deg, var(--primary) 0%, #00d2ff 100%);
    --glass: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* --- Animations --- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px var(--primary-glow);
    }

    50% {
        box-shadow: 0 0 20px var(--primary-glow);
    }

    100% {
        box-shadow: 0 0 5px var(--primary-glow);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    animation: slideInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(5, 10, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.logo svg {
    width: 32px;
    height: 32px;
    fill: var(--primary);
    filter: drop-shadow(0 0 5px var(--primary));
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    opacity: 0.8;
}

nav a:hover,
nav a.active {
    opacity: 1;
    color: var(--accent);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.btn-client {
    padding: 10px 24px;
    border-radius: 50px;
    background: var(--gradient);
    color: #fff;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    cursor: pointer;
}

.btn-client:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6);
}


/* Dropdown Styles */
nav ul li.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(5, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    flex-direction: column !important;
    /* Override nav ul */
    gap: 0 !important;
    /* Override nav ul */
    display: flex !important;
    /* Override nav ul */
}

nav ul li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(15px);
    /* Add a bit of gap */
}

/* Bridge to prevent closing when moving mouse to dropdown */
nav ul li.dropdown::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.dropdown-menu li {
    width: 100%;
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: #e0e0e0;
    font-size: 0.9rem;
    white-space: nowrap;
    text-align: center;
    border-radius: 0;
    opacity: 1;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent);
}

.dropdown-menu a::after {
    display: none;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    background: #000;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img,
.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TV Overlay */
.tv-overlay {
    position: absolute;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tv-overlay.active {
    opacity: 1;
    transform: scale(1);
    animation: turnOn 0.6s ease-out forwards;
}

@keyframes turnOn {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-10deg);
        filter: brightness(5);
    }

    50% {
        opacity: 1;
        transform: scale(1.1) rotate(2deg);
        filter: brightness(2);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: brightness(1);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(5, 10, 20, 0.4) 0%, rgba(5, 10, 20, 0.9) 80%, var(--bg-dark) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
}

.hero-content.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 30px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #a0c4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary {
    padding: 16px 40px;
    border-radius: 50px;
    background: var(--gradient);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 123, 255, 0.6);
}

.btn-secondary {
    padding: 16px 40px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* --- Features / Services --- */
section {
    padding: 100px 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header h2 span {
    color: var(--primary);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 40px 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 123, 255, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.2), rgba(0, 0, 0, 0));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: var(--primary);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
}

.feature-list li {
    list-style: none;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e0e0e0;
}

.feature-list li svg {
    width: 20px;
    height: 20px;
    fill: var(--accent);
}

/* --- Stats Section --- */
.stats {
    background: radial-gradient(circle at center, #0a1525 0%, #050a14 100%);
    padding: 60px 5%;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* --- Footer --- */
footer {
    padding: 60px 5% 30px;
    background: #020408;
    border-top: 1px solid #112;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    color: #555;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

/* --- Pricing Cards --- */
.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px 24px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.3);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.15);
    background: linear-gradient(180deg, rgba(0, 123, 255, 0.05) 0%, rgba(5, 10, 20, 0.8) 100%);
}

.pricing-card.business {
    background: linear-gradient(135deg, rgba(10, 20, 40, 0.8), rgba(0, 0, 0, 0.8));
    border-color: rgba(50, 100, 200, 0.2);
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    margin-bottom: 20px;
}

.badge-pop {
    background: var(--primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

.badge.premium {
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #fff;
    border: none;
}

.badge.ultra {
    background: linear-gradient(135deg, #7928ca, #ff0080);
    color: #fff;
    border: none;
}

.badge.essencial {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: #fff;
    border: none;
}

.badge.turbo {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: #fff;
    border: none;
}

.badge-biz {
    background: linear-gradient(90deg, #001f3f, #003366);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 700;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    background: linear-gradient(to right, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-price {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    flex-grow: 1;
}

.features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features li svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary);
    fill: none;
    flex-shrink: 0;
}

.btn-plan {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-plan:hover {
    background: #fff;
    color: #000;
}

.btn-plan.biz {
    background: rgba(0, 50, 100, 0.5);
    border-color: #0056b3;
}

.btn-plan.biz:hover {
    background: #0056b3;
    color: #fff;
}

.btn-plan.glow {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.3);
}

.btn-plan.glow:hover {
    background: var(--gradient);
    transform: scale(1.02);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    nav {
        display: none;
    }

    /* Mobile menu implementation usually requires JS toggle, for simplicity hiding here or keep it basic */
    .grid-3,
    .grid-pricing {
        grid-template-columns: 1fr !important;
    }

    .cta-group {
        flex-direction: column;
    }

    header {
        padding: 15px 5%;
    }
}

/* Image Slide Background */
.slide-bg {
    width: 100%;
    height: 100%;
    /* Ensure image fits BELOW the fixed header */
    padding-top: 100px;
    padding-bottom: 20px;
    /* This makes the background respect the padding area */
    background-origin: content-box;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}