:root {
    --bg-body: #0a0a0a;
    --bg-surface: #111111;
    --bg-surface-hover: #161616;
    --primary: #ff1a1a;
    /* slightly brighter, flatter red */
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --border-color: #222222;
    --radius-lg: 24px;
    --radius-md: 12px;
    --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-inter);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Hero */
.hero {
    padding: 6rem 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(255, 26, 26, 0.15) 0%, transparent 70%);
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.menu-preview {
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    padding: 0 1rem;
    text-align: center;
}

.menu-preview img {
    max-width: 100%;
    width: 900px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.menu-preview img:hover {
    transform: translateY(-5px);
}

.hero-text .subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Download Section */
.download-section {
    padding: 2rem 0;
    scroll-margin-top: 100px;
    /* Offset for navbar */
}

.download-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.2s ease, border-color 0.2s;
}

.download-card:hover {
    border-color: #333;
    transform: translateY(-2px);
}

.d-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 26, 26, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.d-info {
    flex-grow: 1;
}

.d-info h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.d-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.btn-download {
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.75rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s;
}

.btn-download:hover {
    background-color: #e60000;
}

.install-guide {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: left;
}

.install-guide h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.install-steps {
    list-style: none;
}

.install-steps li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.install-steps li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.install-guide a {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.install-guide a:hover {
    color: var(--primary);
}

.highlight {
    color: var(--text-primary);
    font-weight: 500;
}

/* Features */
.features-section {
    padding: 6rem 0;
    scroll-margin-top: 80px;
    /* Offset for navbar */
}

.feature-category {
    margin-bottom: 4rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.category-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.category-header i {
    color: var(--primary);
    font-size: 1.25rem;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.feature-pill {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.feature-pill:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    background: var(--bg-surface-hover);
}

.feature-pill i {
    color: var(--primary);
    font-size: 1rem;
    width: 20px;
    /* Fixed width for alignment */
    text-align: center;
}

.feature-pill span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.feature-pill:hover span {
    color: var(--text-primary);
}

.feature-item:hover {
    background: var(--bg-surface);
    border-color: var(--border-color);
}

.feature-item .icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Gallery */
.gallery-section {
    padding: 6rem 0;
    overflow: hidden;
    /* Hide scrollbar */
}

.section-title {
    text-align: center;
}

.gallery-slider {
    position: relative;
    width: 100%;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.gallery-track {
    display: flex;
    gap: 2rem;
    width: max-content;
}

.track-1 {
    animation: scroll 40s linear infinite;
    margin-left: -50px;
    /* Offset start */
}

.track-2 {
    animation: scroll-reverse 40s linear infinite;
    margin-left: -200px;
    /* Offset start */
}

.gallery-track:hover {
    animation-play-state: paused;
}

.slide {
    width: 500px;
    /* Bigger width */
    height: 280px;
    /* Bigger height */
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slide:hover img {
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(calc(-50% - 1rem));
    }

    100% {
        transform: translateX(0);
    }
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--text-primary);
}

/* Mobile */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .download-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .btn-download {
        width: 100%;
        text-align: center;
    }
}