:root {
    --bg-color: #1c1c1c;
    --accent-color: #00fdff;
    --accent-glow: rgba(0, 253, 255, 0.4);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: "Roboto Flex", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings: "slnt" 0, "wdth" 100, "GRAD" 0, "XOPQ" 96, "XTRA" 468, "YOPQ" 79, "YTAS" 750, "YTDE" -203, "YTFI" 738, "YTLC" 514, "YTUC" 712;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-variation-settings: "wght" 600, "slnt" 0, "wdth" 100, "GRAD" 0;
}

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

a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.3s ease;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(28, 28, 28, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(28, 28, 28, 0.85);
    border-bottom: 1px solid var(--card-border);
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: transform 0.3s ease, filter 0.3s ease;
    justify-self: start;
}

.logo:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 15px var(--accent-color));
}

.logo-img {
    animation: float 6s ease-in-out infinite;
}

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

.logo-mark {
    font-weight: 800;
    color: var(--accent-color);
    font-size: 1.5rem;
    letter-spacing: -2px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    justify-self: center;
}

.nav-cta {
    justify-self: end;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    font-weight: 500;
    color: var(--text-muted);
}

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

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

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 253, 255, 0.1);
}

.cta-button:hover, .primary-cta {
    background: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--accent-glow);
}

.primary-cta:hover {
    background: #fff;
    color: var(--bg-color);
    border-color: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 6rem);
    margin-bottom: 1.5rem;
    color: var(--text-main);
    letter-spacing: -1px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.5, 0, 0, 1) forwards, textGlow 3s ease-in-out 1s infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 0 0 10px rgba(0, 253, 255, 0.1), 0 0 20px rgba(0, 253, 255, 0.05); }
    to { text-shadow: 0 0 20px rgba(0, 253, 255, 0.4), 0 0 30px rgba(0, 253, 255, 0.2); }
}

.hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-inline: auto;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.cta-link {
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.cta-link:hover {
    color: var(--accent-color);
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0,253,255,0.08) 0%, rgba(28,28,28,0) 60%);
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* Sections */
.section {
    padding: 8rem 0;
}

.alt-bg {
    background: rgba(255, 255, 255, 0.015);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.section-title.center {
    text-align: center;
}

.lead {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    font-weight: 400;
}

.max-w {
    max-width: 800px;
    margin-inline: auto;
}

.text-center {
    text-align: center;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

/* Cards */
.stat-card, .feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 3rem;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.stat-card:hover, .feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 253, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 253, 255, 0.05);
}

.stat-card::before, .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover::before, .feature-card:hover::before {
    opacity: 1;
}

.stat-icon, .feature-icon {
    margin-bottom: 2rem;
    display: inline-flex;
    padding: 1rem;
    background: rgba(0, 253, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 253, 255, 0.1);
}

.stat-card h3, .feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.highlight-box {
    margin-top: 4rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(0,253,255,0.08) 0%, rgba(0,253,255,0) 100%);
    border-left: 4px solid var(--accent-color);
    border-radius: 0 12px 12px 0;
    display: inline-block;
}

.highlight-box p {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin: 0;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: radial-gradient(circle at center, rgba(0,253,255,0.08) 0%, rgba(28,28,28,1) 100%);
    padding: 10rem 0;
}

.cta-button.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    margin-top: 2rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--card-border);
    padding: 5rem 0 2rem;
    background: rgba(0,0,0,0.3);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer h3, .footer h4 {
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-brand p {
    max-width: 400px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--card-border);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: #666;
}

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

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

.reveal-hero {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.5, 0, 0, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .section {
        padding: 6rem 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
