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

:root {
    --bg: #0a0e27;
    --text: #ffffff;
    --accent-neon: #00ff88;
    --accent-hot: #ff00ff;
    --border: #1a2447;
    --secondary-bg: #0f1635;
}

body {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a3e 100%);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    opacity: 0.5;
}

.matrix-bg svg {
    width: 100%;
    height: 100%;
}

@keyframes dataflow {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

.data-line {
    animation: dataflow 8s linear infinite;
    stroke: url(#neonGradient);
    stroke-width: 2;
    opacity: 0.6;
}

.data-line:nth-child(2) {
    animation-delay: 2s;
}

.data-line:nth-child(3) {
    animation-delay: 4s;
}

.data-line:nth-child(4) {
    animation-delay: 6s;
}

@keyframes pulse-grid {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.7;
    }
}

.grid-line {
    stroke: #00ff88;
    stroke-width: 1;
    opacity: 0.2;
    animation: pulse-grid 6s ease-in-out infinite;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

header {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--accent-neon);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-neon);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--accent-neon);
}

nav a:hover::after {
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 8rem 0;
}

.hero-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 5rem;
    line-height: 0.95;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -2px;
    background: linear-gradient(90deg, var(--text) 0%, var(--accent-neon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.hero-content .subline {
    font-size: 1.15rem;
    color: #ccc;
    margin-bottom: 3rem;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -0.3px;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 0.95rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--accent-neon);
    color: #000;
    border-color: var(--accent-neon);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.6);
    background-color: #00ff99;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text);
    border: 2px solid var(--accent-neon);
    box-shadow: inset 0 0 20px rgba(0, 255, 136, 0.1);
}

.btn-secondary:hover {
    background-color: rgba(0, 255, 136, 0.1);
    border-color: var(--accent-hot);
    color: var(--accent-hot);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-placeholder {
    width: 320px;
    height: 420px;
    background: linear-gradient(135deg, var(--secondary-bg) 0%, rgba(0, 255, 136, 0.05) 100%);
    border: 2px solid var(--accent-neon);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
}

.profile-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 136, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.placeholder-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.placeholder-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--accent-neon), var(--accent-hot));
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.placeholder-text {
    color: #aaa;
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
}

footer {
    border-top: 1px solid var(--border);
    padding: 4rem 0;
    margin-top: 8rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 255, 136, 0.03) 100%);
    position: relative;
    z-index: 1;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(0, 255, 136, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--accent-neon);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-neon);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #aaa;
    font-size: 0.95rem;
}

.main-content {
    min-height: calc(100vh - 300px);
    padding: 4rem 0;
}

/* Content pages styling */
article {
    max-width: 900px;
    margin: 0 auto;
}

article h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--text);
}

article h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-neon);
}

article p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

article a {
    color: var(--accent-neon);
    text-decoration: none;
    border-bottom: 1px solid var(--accent-neon);
    transition: all 0.3s ease;
}

article a:hover {
    color: var(--accent-hot);
    border-bottom-color: var(--accent-hot);
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 0;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

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

    header .container {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .nav-menu {
        display: none;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    article h1 {
        font-size: 2rem;
    }
}
