@font-face {
    font-family: 'Xyro';
    src: url('xyro.otf') format('opentype');
}

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

:root {
    --primary: #9b59b6;
    --primary-dark: #8e44ad;
    --secondary: #3498db;
    --accent: #f1c40f;
    --dark: #0a0a0a;
    --dark-lighter: #1a1a1a;
    --dark-card: #252525;
    --text: #ffffff;
    --text-muted: #ffffff;
    --gradient: linear-gradient(135deg, #9b59b6 0%, #3498db 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 18px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.intro-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
}

.intro-animation.active {
    opacity: 1;
    animation: slideOut 1.5s ease-in-out 2s forwards;
}

.anim-image {
    position: absolute;
    top: -50px;
    left: 0;
    width: 500px;
    height: 500px;
    object-fit: contain;
    animation: popUp 1s ease-out forwards;
}

@keyframes popUp {
    0% {
        transform: translateX(-100%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translateX(0) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideOut {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

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

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

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

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    font-size: 1.2rem;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-lighter) 50%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(155, 89, 182, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 8px;
    text-shadow: 0 0 30px rgba(155, 89, 182, 0.5);
}

.hero-subtitle {
    font-size: 2.2rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.banner-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(155, 89, 182, 0.3);
    border: 2px solid var(--primary);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-image a {
    display: inline-block;
    text-decoration: none;
}

.hero-image a:hover .banner-image {
    transform: scale(1.02);
    box-shadow: 0 25px 70px rgba(155, 89, 182, 0.4);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-size: 1.3rem;
    cursor: pointer;
    border: none;
}

.btn-icon {
    font-size: 1.2rem;
}

.btn-image {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-right: 0.5rem;
}

.check-icon {
    width: 25px;
    height: 25px;
    object-fit: contain;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.btn-primary {
    background: var(--gradient);
    color: var(--text);
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(155, 89, 182, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.btn-download {
    background: var(--gradient);
    color: var(--text);
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.4);
    font-size: 1.3rem;
    padding: 1.5rem 3rem;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(155, 89, 182, 0.6);
}

.btn-github {
    background: var(--dark-card);
    color: var(--text);
    border: 2px solid var(--secondary);
}

.btn-github:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* Section Styles */
section {
    padding: 80px 20px;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Features Section */
.features {
    background: var(--dark-lighter);
}

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

.feature-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(155, 89, 182, 0.2);
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(155, 89, 182, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

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

/* Download Section */
.download {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-lighter) 100%);
}

.download-card {
    background: var(--dark-card);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--primary);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.download-info h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.download-info > p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.download-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.download-features li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 1.3rem;
}

.download-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Installation Section */
.install {
    background: var(--dark-lighter);
}

.install-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.install-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.step-content p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.step-content code {
    background: var(--dark);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: var(--primary);
    font-family: 'Courier New', monospace;
}

/* FAQ Section */
.faq {
    background: var(--dark);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background: var(--dark-card);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(155, 89, 182, 0.2);
}

.faq-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--dark-lighter);
    padding: 3rem 20px 1rem;
    border-top: 2px solid var(--primary);
}

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

.footer-section h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.footer-section p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(155, 89, 182, 0.2);
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
        letter-spacing: 4px;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .download-card {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-image {
    animation: float 6s ease-in-out infinite;
}
