:root {
    --bg-color: #050511;
    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --accent-primary: #8b5cf6;
    --accent-secondary: #3b82f6;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-highlight: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Gradient */
.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background:
        radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.gradient-text {
    background: linear-gradient(135deg, #c4b5fd 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    z-index: 100;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Buttons */
button {
    cursor: pointer;
    font-family: var(--font-main);
    border: none;
    transition: all 0.3s ease;
}

.cta-small {
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-weight: 600;
}

.cta-small:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cta-primary {
    padding: 1rem 2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.cta-secondary {
    padding: 1rem 2rem;
    border-radius: 12px;
    background: transparent;
    border: 1px solid var(--glass-highlight);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-left: 1rem;
}

.cta-secondary:hover {
    background: var(--glass-bg);
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    position: relative;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.glowing-orb {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(59, 130, 246, 0.1) 60%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
    animation: pulse 8s infinite ease-in-out;
}

@keyframes pulse {

    0%,
    100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-50%) scale(1.1);
        opacity: 0.5;
    }
}

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

.card {
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-highlight);
}

.card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Split Section */
.split-section {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.split-section>div {
    flex: 1;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: "•";
    color: var(--accent-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.abstract-shape {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, var(--glass-bg), transparent);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    border: 1px solid var(--glass-border);
    animation: morph 10s infinite linear;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* Safety Banner */
.safety-banner {
    text-align: center;
    padding: 4rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
    /* Subtle red hint for safety/alert context but kept calm */
    background: linear-gradient(to right, rgba(239, 68, 68, 0.05), transparent, rgba(239, 68, 68, 0.05));
}

/* Footer */
footer {
    padding: 4rem 2rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
    text-align: center;
}

.footer-content p {
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .split-section {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }

    /* Simple mobile hide for now */
    #hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 8rem;
    }

    .cta-group {
        justify-content: center;
    }

    .glowing-orb {
        position: relative;
        width: 300px;
        height: 300px;
        margin: 0 auto 2rem;
        right: auto;
        top: auto;
        transform: none;
    }
}