:root {
    --color-bg-dark: #09090b;
    --color-bg-glass: rgba(255, 255, 255, 0.03);
    --color-border-glass: rgba(255, 255, 255, 0.08);
    --color-primary: #ff4d4d;
    --color-primary-hover: #ff1a1a;
    --color-text-main: #fcfcfc;
    --color-text-muted: #a1a1aa;
    
    --font-main: 'Outfit', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* Glassmorphism Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    background: var(--color-bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-glass);
    z-index: 1000;
}

#main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

#brand-logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #fff, var(--color-text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}

#brand-logo:hover {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

#nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

#nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 400;
    font-size: 1.1rem;
    position: relative;
    transition: var(--transition-smooth);
}

#nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 5%;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 900px;
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#hero-heading {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#hero-subheading {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: var(--color-text-muted);
    margin-bottom: 3.5rem;
    font-weight: 300;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    box-shadow: 0 0 40px rgba(255, 77, 77, 0.5);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-main);
    border: 1px solid var(--color-border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Animated Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 77, 77, 0.08) 0%, rgba(9, 9, 11, 1) 60%);
    z-index: 1;
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        radial-gradient(ellipse at center, rgba(255,255,255,0.02) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(255,77,77,0.05) 0%, transparent 50%);
    animation: rotateBg 40s linear infinite;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.feature-card {
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border-glass);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(255, 77, 77, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

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

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

.feature-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--color-text-main);
    position: relative;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    position: relative;
}

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

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateBg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    #nav-links {
        display: none; /* Hide on mobile for simplicity */
    }
    .cta-group {
        flex-direction: column;
    }
}
