:root {
    --bg-dark: #050508;
    --bg-darker: #020204;
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(255, 255, 255, 0.05);
    --primary: #4F46E5; /* Premium Indigo */
    --primary-light: #818CF8;
    --primary-glow: rgba(79, 70, 229, 0.4);
    --secondary: #10B981; /* Success Emerald */
    --accent: #F43F5E; /* Rose */
    --text-main: #F9FAFB;
    --text-muted: #9CA3AF;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

/* Advanced Mesh Gradient Background */
.mesh-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(at 0% 0%, rgba(79,70,229,0.15) 0px, transparent 50%),
                radial-gradient(at 100% 0%, rgba(16,185,129,0.1) 0px, transparent 50%);
    z-index: -2;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
    animation: drift 25s infinite alternate ease-in-out;
}

.orb-1 {
    width: 40vw; height: 40vw;
    background: var(--primary);
    top: -10%; left: -10%;
    opacity: 0.15;
}

.orb-2 {
    width: 30vw; height: 30vw;
    background: var(--secondary);
    bottom: 20%; right: -5%;
    opacity: 0.1;
    animation-delay: -5s;
}

.orb-3 {
    width: 20vw; height: 20vw;
    background: var(--primary-light);
    top: 40%; left: 40%;
    opacity: 0.05;
    animation-delay: -12s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 100px) scale(1.1); }
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

h1 span {
    background: linear-gradient(to right, var(--text-main), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-main), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    text-align: center;
}

/* Branding / Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background: rgba(5, 5, 8, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 8px;
    box-shadow: 0 0 15px var(--primary-glow);
    position: relative;
}
.logo-icon::after {
    content: '';
    position: absolute;
    inset: 6px;
    border: 2px solid white;
    border-radius: 4px;
}

.logo-icon.small {
    width: 20px; height: 20px;
    inset: 4px;
}

.brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.nav-cta) {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--text-main);
}

/* Buttons */
.btn-primary, .btn-primary-outline, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-dark);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 4px 20px rgba(255,255,255,0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.2), 0 8px 30px rgba(255,255,255,0.25);
}

.btn-primary-outline {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-main);
}

.btn-primary-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--text-muted);
}
.btn-secondary:hover {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 85vh;
    padding: 0 5%;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1.2;
    max-width: 650px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.3);
    color: var(--primary-light);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.trusted-by {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1.5rem;
}
.trusted-by p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.tech-logos {
    display: flex;
    gap: 1rem;
    align-items: center;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.8;
}
.dot-separator {
    color: var(--primary);
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Advanced Dashboard Mockup */
.glass-dashboard {
    width: 100%;
    max-width: 450px;
    background: linear-gradient(145deg, rgba(20,20,25,0.8) 0%, rgba(10,10,15,0.9) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
    transform: perspective(1000px) rotateY(-8deg) rotateX(5deg);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.glass-dashboard:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.mockup-header {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.window-controls {
    display: flex;
    gap: 6px;
}
.window-controls i {
    width: 10px; height: 10px; border-radius: 50%;
}
.window-controls i:nth-child(1) { background: #FF5F56; }
.window-controls i:nth-child(2) { background: #FFBD2E; }
.window-controls i:nth-child(3) { background: #27C93F; }

.mockup-title {
    margin-left: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.mockup-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.status-ring {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(16,185,129,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pulse-ring {
    position: absolute;
    inset: -10px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    animation: ping-slow 3s infinite cubic-bezier(0, 0, 0.2, 1);
}

.core-icon {
    color: var(--secondary);
    z-index: 2;
}

@keyframes ping-slow {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.status-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
}

.stat-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 8px; height: 30px;
    border-radius: 4px;
}
.stat-icon.threat { background: var(--secondary); }
.stat-icon.time { background: var(--primary); }

.stat-info {
    display: flex;
    flex-direction: column;
}
.s-val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
}
.s-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Sections Global */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-inline: auto;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Benefits Section */
.benefits {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

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

.feature-card {
    position: relative;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.fc-glow {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 150px; height: 150px;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.feature-card:hover .fc-glow { opacity: 0.15; }

.fc-icon {
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
}
.fc-icon svg { width: 24px; height: 24px; }

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.feature-card p {
    color: var(--text-muted);
}

/* Installation Section */
.installation {
    padding: 5rem 5% 8rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tabs-container {
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 1.5rem 1rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.tab-btn svg { width: 20px; height: 20px; }

.tab-btn:hover {
    color: var(--text-main);
    background: rgba(255,255,255,0.02);
}

.tab-btn.active {
    color: var(--primary-light);
    border-bottom-color: var(--primary-light);
    background: rgba(79, 70, 229, 0.05);
}

.tabs-content {
    padding: 4rem 3rem;
}

.tab-pane {
    display: none;
    animation: fade-in 0.4s ease;
}
.tab-pane.active { display: block; }

.tab-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.tab-desc {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 3rem;
}

.install-action {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.pulse-wrapper {
    position: relative;
}
.pulse-wrapper::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: var(--primary);
    border-radius: 16px;
    filter: blur(15px);
    opacity: 0.5;
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.3; transform: scale(0.95); }
    100% { opacity: 0.6; transform: scale(1.05); }
}

.btn-install {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--text-main);
    color: var(--bg-dark);
    padding: 1.2rem 2.5rem;
    border-radius: 14px;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    transition: transform 0.2s;
    z-index: 2;
}
.btn-install:hover { transform: scale(1.02); }
.btn-install .icon { font-size: 1.5rem; }

.btn-install.windows {
    background: #0078D4; /* Windows Blue */
    color: white;
}
.pulse-wrapper:has(.windows)::before { background: #0078D4; }

.btn-install.android.outline {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-main);
}

.step-guide {
    background: rgba(0,0,0,0.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.step-guide h4 {
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.clean-list {
    list-style: none;
}
.clean-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}
.clean-list li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px; height: 24px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
}
.clean-list strong { color: var(--text-main); }

.code-box.modern {
    background: #000;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}
.code-box.modern code {
    color: var(--secondary);
    font-family: monospace;
    font-size: 1rem;
}
.modern-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}
.modern-btn:hover { background: rgba(255,255,255,0.2); }
.modern-btn.copied { background: var(--secondary); color: black; }

/* Footer */
footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 4rem 5% 2rem;
    background: rgba(0,0,0,0.5);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-content .logo {
    margin-bottom: 1.5rem;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}
.footer-links a:hover { color: var(--text-main); }

.copyright {
    font-size: 0.85rem !important;
    opacity: 0.5;
}

/* Utils */
.text-center { text-align: center; }

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}
.animate-fade-in {
    opacity: 0;
    animation: fade-in 1s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { to { opacity: 1; } }

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding-top: 4rem;
        text-align: center;
    }
    .hero-content {
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    .hero-buttons { justify-content: center; }
    .tabs-header { flex-direction: column; }
    .nav-links a.nav-cta { display: none; }
}
