:root {
    --bg-dark: #0f0a0a;
    --bg-card: rgba(20, 10, 10, 0.6);
    --bg-card-hover: rgba(40, 15, 15, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #ffb8b8;
    --accent-red: #ff3b30;
    --accent-orange: #ff9500;
    --border-color: rgba(255, 59, 48, 0.2);
    --glow-color: rgba(255, 59, 48, 0.4);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: pulse 10s ease-in-out infinite alternate;
}

.red-glow {
    top: -20%;
    right: -10%;
    background: var(--accent-red);
}

.orange-glow {
    bottom: -20%;
    left: -10%;
    background: var(--accent-orange);
    animation-delay: -5s;
}

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

/* Navigation */
.navbar {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    background: rgba(15, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fire-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px var(--accent-orange));
}

.github-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.github-link:hover {
    background: var(--border-color);
    box-shadow: 0 0 15px var(--glow-color);
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 6rem 0;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 149, 0, 0.1);
    border: 1px solid var(--accent-orange);
    color: var(--accent-orange);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(255, 149, 0, 0.2);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Download Section */
.download-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.05);
}

.download-heading {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.button-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(25, 15, 15, 0.8);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,59,48,0.1), rgba(255,149,0,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent-orange);
    box-shadow: 0 15px 30px rgba(255, 59, 48, 0.2);
}

.btn:hover::before {
    opacity: 1;
}

.os-icon {
    font-size: 2rem;
    z-index: 1;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 1;
}

.os-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.file-type {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.view-all-link {
    color: var(--accent-orange);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.view-all-link:hover {
    color: var(--text-primary);
}

/* Features Sections */
.features-section {
    margin-top: 5rem;
}

.section-heading {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    font-weight: 800;
}

.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
    margin: 1rem auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-red), var(--accent-orange));
    transform: translateX(-50%);
}
.timeline-item {
    position: relative;
    width: 50%;
    padding: 1.5rem 3rem;
}
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}
.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}
.timeline-dot {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border: 4px solid var(--accent-orange);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px var(--accent-orange);
    z-index: 2;
}
.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}
.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}
.timeline-content {
    background: rgba(15, 10, 10, 0.4);
    border: 1px dashed rgba(255, 149, 0, 0.3);
    padding: 1.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}
.timeline-item:hover .timeline-content {
    background: rgba(255, 149, 0, 0.05);
    border-style: solid;
    border-color: var(--accent-orange);
    transform: translateY(-5px);
}

.feature-card {
    background: rgba(15, 10, 10, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* About Section Styles */
.about-section {
    margin-top: 5rem;
    padding-bottom: 3rem;
}
.about-card {
    background: linear-gradient(135deg, rgba(20, 10, 10, 0.8), rgba(40, 15, 15, 0.6));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,59,48,0.1);
}
.about-content {
    font-size: 1.1rem;
    color: var(--text-secondary);
}
.about-content p {
    margin-bottom: 1rem;
}
.about-content strong {
    color: var(--text-primary);
}
.contact-links {
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.contact-links h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.social-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.badge-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}
.badge-link:hover {
    background: rgba(255, 59, 48, 0.1);
    border-color: var(--accent-red);
    transform: translateY(-2px);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .download-section {
        padding: 2rem 1.5rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
    }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }
    .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
        left: 10px;
        right: auto;
    }
    .about-card {
        padding: 2rem 1.5rem;
    }
}
