:root {
    --bg-dark: #0a0f1c;
    --bg-darker: #050810;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;

    --accent-blue: #00f0ff;
    --accent-violet: #8a2be2;
    --accent-cleaner: #00ff88;

    --gradient-zap: linear-gradient(135deg, var(--accent-blue), var(--accent-violet));
    --gradient-cleaner: linear-gradient(135deg, var(--accent-cleaner), var(--accent-blue));

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.badge {
    font-family: var(--font-heading);
}

.gradient-text {
    background: var(--gradient-zap);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cleaner-section .gradient-text {
    background: var(--gradient-cleaner);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 15, 28, 0.8);
    backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.zap-text {
    color: var(--accent-blue);
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

@media (max-width: 768px) {
    .nav-links a {
        margin-left: 1rem;
    }

    .nav-links a:first-child {
        display: none;
    }
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Unified Hero */
.hero-unified {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 5% 4rem;
    position: relative;
    background: transparent;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.05);
    /* Slight scale for parallax effect */
    will-change: transform;
    transition: transform 0.1s ease-out;
    /* Smooth follow */
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(138, 43, 226, 0.2) 0%, rgba(10, 15, 28, 0.8) 60%, rgba(10, 15, 28, 1) 100%);
    pointer-events: none;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    padding: 0 1rem;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.primary-btn {
    background: var(--gradient-zap);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.3);
}

.secondary-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: var(--accent-cleaner);
}

.hero-visuals {
    display: flex;
    gap: 2rem;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    padding: 0 1rem;
}

.app-card {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    text-decoration: none;
    color: white;
    display: block;
}

.vpn-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.1);
}

.cleaner-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cleaner);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.app-logo {
    height: 4rem;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.app-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.app-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Product Sections */
.product-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Push .container to the right half */
    padding: 6rem 5%;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    /* Let video occupy left 60% so gradient has room to blend */
    height: 100%;
    z-index: 1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

@media all and (max-width: 992px) {
    .video-container video {
        object-position: top center;
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 15, 28, 0) 0%, rgba(10, 15, 28, 0) 30%, rgba(10, 15, 28, 1) 50%, rgba(10, 15, 28, 1) 100%);
}

.cleaner-overlay {
    background: linear-gradient(to right, rgba(10, 15, 28, 0) 0%, rgba(10, 15, 28, 0) 30%, rgba(10, 15, 28, 1) 50%, rgba(10, 15, 28, 1) 100%);
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.container-content {
    width: 50%;
    margin: 0;
    margin-left: 50%;
    /* Force it to the right half */
    padding-left: 4rem;
    position: relative;
    z-index: 10;
}

.section-logo {
    height: 5rem;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.cleaner-badge {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--accent-cleaner);
    color: var(--accent-cleaner);
}

.section-header {
    text-align: left;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

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

/* VPN Details */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: left;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-wrapper {
    background: var(--gradient-zap);
    color: white;
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.trust-banner {
    text-align: left;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(5px);
}

.trust-banner .stars {
    display: flex;
    gap: 0.2rem;
    color: #ffd700;
}

.trust-banner span {
    margin-left: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.glow-btn {
    display: inline-block;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
    }

    100% {
        box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    }
}

.cta-container {
    text-align: left;
    margin-bottom: 2rem;
}

.cta-main-btn {
    font-size: 1.25rem;
    padding: 1.25rem 2.5rem;
    border-radius: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

/* Cleaner Section Layout (Reversed) */
.cleaner-section {
    justify-content: flex-start;
}

.cleaner-section .video-container {
    left: auto;
    right: 0;
    width: 55%;
    /* Slightly wider so subject isn't cramped */
}

@media all and (max-width: 992px) {
    .cleaner-section .video-container {
        width: 100%;
    }
}

.cleaner-section .video-container video {
    object-fit: cover;
    object-position: center center;
}

.cleaner-section .video-overlay {
    left: auto;
    right: 0;
}

.cleaner-section .cleaner-overlay {
    background: linear-gradient(to left, rgba(10, 15, 28, 0) 0%, rgba(10, 15, 28, 0) 30%, rgba(10, 15, 28, 1) 50%, rgba(10, 15, 28, 1) 100%);
}

.cleaner-section .container-content {
    margin-left: 0;
    margin-right: 50%;
    padding-left: 0;
    padding-right: 4rem;
}

/* Cleaner Details */
.split-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.cleaner-section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.cleaner-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.stat-box {
    background: var(--glass-bg);
    border: 1px solid rgba(0, 255, 136, 0.2);
    padding: 2rem;
    border-radius: 20px;
    display: inline-flex;
    flex-direction: column;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-cleaner);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.cleaner-icon {
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-cleaner);
}

.feature-list-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-list-item:hover {
    transform: translateX(10px);
    border-color: var(--accent-cleaner);
    background: rgba(255, 255, 255, 0.05);
}

.feature-list-item .icon-wrapper {
    margin-bottom: 0;
    flex-shrink: 0;
}

.feature-list-item:hover .icon-wrapper {
    background: var(--gradient-cleaner);
    color: white;
}

.item-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.item-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.store-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #000;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.store-badge-btn:hover {
    border-color: var(--accent-cleaner);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.2);
    transform: translateY(-2px);
}

.store-badge-btn i {
    font-size: 2rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-text span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-text strong {
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.delay-1 {
    animation-delay: 0.2s;
    transition-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.4s;
    transition-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.6s;
    transition-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.8s;
    transition-delay: 0.4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    text-align: center;
    padding: 2rem;
    background: var(--bg-darker);
    color: var(--text-secondary);
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 10;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-section {
        justify-content: center;
        padding: 6rem 5%;
    }

    .video-container {
        width: 100%;
        opacity: 1;
        /* Fade video behind content on small screens */
    }

    .video-overlay,
    .cleaner-overlay,
    .cleaner-section .cleaner-overlay {
        background: linear-gradient(to bottom, rgba(5, 8, 16, 0.3) 0%, rgba(5, 8, 16, 0.9) 100%);
    }

    .container {
        width: 100%;
        padding-left: 0;
    }

    .container-content,
    .cleaner-section .container-content {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .section-header,
    .trust-banner,
    .cta-container {
        text-align: center;
    }

    .trust-banner {
        display: flex;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 900px) {
    .hero-visuals {
        flex-direction: column;
        padding: 0 1rem;
    }

    .cleaner-section .content-side {
        text-align: center;
    }

    .cta-container.reveal {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .cta-group {
        flex-direction: column;
    }

    .video-overlay {
        background: rgba(5, 8, 16, 0.85);
    }

    .trust-banner {
        flex-direction: column;
    }
}