:root {
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --primary: #22c55e;
    /* Green */
    --primary-dim: rgba(34, 197, 94, 0.1);
    --violet: #8b5cf6;
    /* Violet */
    --violet-dim: rgba(139, 92, 246, 0.1);
    --font-heading: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-heading);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* UTILITIES */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

.text-green {
    color: var(--primary);
}

.text-violet {
    color: var(--violet);
}

.text-gray {
    color: var(--text-muted);
}

.hidden {
    display: none;
}

/* NAVBAR */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-left: 2rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* MOBILE MENU */
.menu-toggle {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: none;
}

.mobile-menu {
    background: #000;
    padding: 1rem;
    border-top: 1px solid #333;
}

.mobile-menu a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.75rem 0;
    font-family: var(--font-mono);
}

/* HERO SECTION */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 4rem;
}

.grid-background {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(26, 26, 26, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 26, 26, 0.5) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.glow-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    z-index: -1;
}

.top-left {
    top: 20%;
    left: 20%;
    background: var(--primary);
}

.bottom-right {
    bottom: 20%;
    right: 20%;
    background: #3b82f6;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-dim);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse-green 2s infinite;
}

/* BUTTONS */
.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: black;
    border: none;
}

.btn-primary:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid #374151;
    color: white;
}

.btn-outline:hover {
    border-color: white;
}

/* CARDS CSS GRID */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid #333;
    padding: 1.5rem;
    border-radius: 0.5rem;
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.threat-card:hover {
    border-color: rgba(139, 92, 246, 0.5);
}

.service-card:hover {
    border-color: rgba(34, 197, 94, 0.5);
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.violet-icon {
    background: var(--violet-dim);
    color: var(--violet);
}

.service-icon-lg {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), #14532d);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.card-footer {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #222;
}

.violet-footer {
    color: #a78bfa;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d1d5db;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.feature-list span {
    color: var(--primary);
}

/* SECTIONS */
section {
    padding: 5rem 0;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pill {
    display: inline-block;
    color: var(--primary);
    background: var(--primary-dim);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    margin-bottom: 1rem;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* FOOTER */
footer {
    border-top: 1px solid #333;
    padding: 4rem 0 2rem;
    background: #050505;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.875rem;
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

/* ANIMATIONS */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-4 {
    animation-delay: 0.4s;
}

/* HOW IT WORKS SECTION */
.step-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid #333;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s;
}

.step-card:hover {
    border-color: var(--violet);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.2);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--violet);
    color: black;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: var(--font-mono);
}

.step-card h3 {
    margin-bottom: 1rem;
    color: white;
}

.step-connector {
    display: none;
    /* Hidden on mobile */
}

@media (min-width: 1024px) {
    .step-connector {
        display: block;
        position: absolute;
        top: 2rem;
        right: -50%;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, var(--violet) 50%, transparent 100%);
        z-index: 1;
        opacity: 0.3;
    }

    .grid-4 .step-card:last-child .step-connector {
        display: none;
    }
}

/* Scroll Reveal Class */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* MEDIA QUERIES */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .cta-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}