:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --text-muted: #888888;
    --primary-color: #00E599;
    /* Bright Green from image */
    --primary-hover: #00cc88;
    --secondary-bg: #111111;
    --border-color: #222222;
    --accent-glow: rgba(0, 229, 153, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Cairo', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    /* Subtle grid pattern */
    background-image: linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center top;
}

/* Blur overlay for grid to make it subtle */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 100%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    text-decoration: none;
}

.logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: white;
}

.nav-links a.active {
    color: white;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    border-radius: 2px;
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.nav-auth {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-white {
    background: white;
    color: black;
    border: 1px solid white;
}

.btn-white:hover {
    background: #e6e6e6;
    transform: translateY(-2px);
}

.btn-dark {
    background: transparent;
    color: white;
    border: 1px solid var(--border-color);
}

.btn-dark:hover {
    border-color: #444;
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary-color);
    color: black;
    border: none;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 0;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.text-highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(0, 229, 153, 0.2);
    z-index: -1;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    margin-top: 1.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.stats-row {
    display: flex;
    gap: 3rem;
}

.stat-item h2 {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Code Snippet Visual */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.code-card {
    background: #0a0a0a;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.window-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.code-block {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: #a9b7c6;
    line-height: 1.6;
}

.keyword {
    color: #cc7832;
}

.string {
    color: #a5c261;
}

.function {
    color: #ffc66d;
}

.comment {
    color: #808080;
}

.verified-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: #0f1f15;
    border: 1px solid rgba(0, 229, 153, 0.3);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: float 3s ease-in-out infinite;
}

.check-icon {
    background: var(--primary-color);
    color: black;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.badge-text h4 {
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
}

.badge-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.floating-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.lock-info h4 {
    margin-bottom: 0.2rem;
}

.lock-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding-top: 2rem;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 4rem;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-actions {
        justify-content: center;
    }

    .stats-row {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
        justify-content: center;
    }

    .nav-links {
        display: none;
    }
}