:root {
    --bg-color: #0d0202;
    --text-color: #ffffff;
    --primary: #ff2e2e;
    --primary-glow: rgba(255, 46, 46, 0.4);
    --secondary: #8b0000;
    --accent: #ffd700;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 46, 46, 0.2);
    --font-main: 'Outfit', sans-serif;
}

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

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

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

/* Navbar */
#navbar {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s;
}

#navbar.scrolled {
    background: rgba(13, 2, 2, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    transition: color 0.3s;
}

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

/* Buttons */
.btn-primary {
    background: var(--primary);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600 !important;
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-glow {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    box-shadow: 0 0 25px var(--primary-glow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 40px var(--primary-glow);
}

/* Hero Section */
#hero {
    padding: 12rem 0 8rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 70% 30%, rgba(255, 46, 46, 0.1), transparent 50%);
}

#hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2rem;
}

h1 span {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 550px;
}

/* CSS Potion Bottle */
.potion-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bottle {
    width: 220px;
    height: 280px;
    background: rgba(255, 255, 255, 0.05);
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 30% 30% 40% 40% / 10% 10% 50% 50%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.bottle::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 30px;
    background: #5d4037;
    border-radius: 5px;
}

.liquid {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, var(--secondary), var(--primary));
    box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.2);
    animation: wave 4s ease-in-out infinite alternate;
}

@keyframes wave {
    0% {
        height: 65%;
    }

    100% {
        height: 75%;
    }
}

.bubbles span {
    position: absolute;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: bubbleUp 3s infinite ease-in;
}

@keyframes bubbleUp {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(-200px) scale(1.5);
        opacity: 0;
    }
}

/* Vision Section */
#vision {
    padding: 8rem 0;
}

.vision-box {
    background: linear-gradient(135deg, #150505, #0d0202);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 5rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.vision-text h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.vision-text h2 span {
    color: var(--primary);
}

.vision-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* AI Core Enhanced */
.ai-core-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.ai-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 50px var(--primary);
    z-index: 2;
}

.ai-rings span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.ai-rings span:nth-child(1) {
    width: 150px;
    height: 150px;
    border-left-color: var(--primary);
}

.ai-rings span:nth-child(2) {
    width: 220px;
    height: 220px;
    border-top-color: var(--primary);
    animation-duration: 15s;
    animation-direction: reverse;
}

.ai-rings span:nth-child(3) {
    width: 280px;
    height: 280px;
    border-right-color: var(--primary);
    animation-duration: 20s;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Nutrition Section */
#nutrition {
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

#nutrition::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, var(--bg-color), transparent, var(--bg-color)),
        url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: -1;
}

.nutrition-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.inventory-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    background: #1a0505;
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid var(--glass-border);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.slot {
    width: 80px;
    height: 80px;
    background: #0d0202;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.slot i {
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s;
}

.slot.active i {
    color: var(--primary);
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

.slot.active {
    border-color: var(--primary);
    background: rgba(255, 46, 46, 0.1);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: scale(1.1);
}

.check-list {
    margin-top: 2rem;
    list-style: none;
}

.check-list li {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.list-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.section-title span {
    color: var(--primary);
}

/* Download Section - Ultimate */
#download {
    padding: 12rem 0;
    position: relative;
    overflow: hidden;
}

.cta-wrapper {
    position: relative;
    background: linear-gradient(145deg, #1a0505, #0a0202);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    padding: 8rem 4rem;
    text-align: center;
    z-index: 1;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    z-index: -1;
    filter: blur(80px);
    opacity: 0.5;
}

.cta-tag {
    display: inline-block;
    background: rgba(255, 46, 46, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    border: 1px solid var(--glass-border);
}

.cta-content h2 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-ultimate {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: #ffffff;
    color: #000000;
    padding: 1.5rem 4rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.3rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-ultimate i {
    width: 28px;
    height: 28px;
}

.btn-ultimate:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 50px var(--primary-glow);
    background: var(--primary);
    color: #ffffff;
}

.cta-info {
    display: block;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

footer {
    padding: 5rem 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: rgba(255, 255, 255, 0.5);
}

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

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

/* Responsive */
@media (max-width: 1024px) {

    #hero .container,
    .vision-box,
    .nutrition-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 3rem;
    }

    h1 {
        font-size: 3.5rem;
    }

    .nav-links {
        display: none;
    }

    .vision-stats {
        justify-content: center;
    }

    .inventory-box {
        max-width: 350px;
        margin: 0 auto;
    }
}