:root {
    --primary: #0b0e14;
    --primary-light: #161b22;
    --accent: #00f2ff;
    --accent-hover: #00d4ff;
    --accent-glow: rgba(0, 242, 255, 0.3);
    --secondary: #7000ff;
    --success: #10b981;
    --bg: #0b0e14;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-border: rgba(255, 255, 255, 0.1);
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --hero-gradient: radial-gradient(circle at top right, rgba(112, 0, 255, 0.15), transparent),
                     radial-gradient(circle at bottom left, rgba(0, 242, 255, 0.15), transparent),
                     linear-gradient(135deg, #0b0e14 0%, #161b22 100%);
}

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

@keyframes glow {
    0% { box-shadow: 0 0 5px var(--accent-glow); }
    50% { box-shadow: 0 0 20px var(--accent-glow); }
    100% { box-shadow: 0 0 5px var(--accent-glow); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--primary);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Header */
.header {
    background: rgba(11, 14, 20, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-border);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
    box-shadow: 0 0 10px var(--accent);
}

.nav a:hover::after, .nav a.active::after {
    width: 100%;
}

.nav a:hover, .nav a.active {
    color: #fff;
    text-shadow: 0 0 20px var(--accent-glow);
}

/* Hero */
.hero {
    background: var(--hero-gradient);
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><g fill="%23ffffff" fill-opacity="0.02" fill-rule="evenodd"><circle cx="3" cy="3" r="1.5"/></g></svg>');
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    filter: drop-shadow(0 0 30px rgba(0, 242, 255, 0.2));
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.hero-btn {
    display: inline-block;
    background: var(--accent);
    color: #000;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px var(--accent-glow);
}

.hero-btn:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 0 40px var(--accent);
    background: #fff;
}

/* Main Content */
.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section {
    margin-bottom: 8rem;
}

.section h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: none;
    -webkit-text-fill-color: #fff;
}

.section p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Cards Grid */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.card {
    background: var(--surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: 0.5s;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--accent-glow);
}

.card h3 {
    margin-top: 1rem;
}

.card p {
    text-align: center;
    margin-top: 1rem;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

/* Footer */
.footer {
    background: #05070a;
    border-top: 1px solid var(--surface-border);
    padding: 6rem 2rem 4rem;
}

.footer h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer a {
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.75rem;
    display: block;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--accent);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--surface-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    background: rgba(11, 14, 20, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    margin: 1rem;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Legal Pages */
.legal-page {
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--surface-border);
    margin-top: -5rem;
    padding: 5rem;
}

.legal-page h2::before {
    background: var(--accent);
}

.legal-page p, .legal-page li {
    color: var(--text-muted) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .legal-page {
        padding: 2rem;
        margin-top: -2rem;
    }
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Card Mouse Glow */
.card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(0, 242, 255, 0.06), transparent 40%);
    pointer-events: none;
    z-index: 3;
}
