@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    line-height: 1.6;
    color: #e8eaed;
    direction: rtl;
    text-align: right;
    background: linear-gradient(180deg, #0f1419 0%, #1a2332 50%, #0f1419 100%);
    min-height: 100vh;
}

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

/* Header */
.header {
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    width: 50px;
    height: 50px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #e8eaed;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #60a5fa;
}

/* Hero Section */
.hero {
    background: transparent;
    color: #e8eaed;
    padding-top: 8rem;
    padding-bottom: 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #94a3b8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #3b82f6;
    border-color: #3b82f6;
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border-color: #60a5fa;
}

.btn-download {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
    color: white;
    margin: 0.5rem;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.btn-download:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

/* Sections */
section {
    padding: 4rem 0;
    border: none;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Features */
.features {
    background: transparent;
}

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

.feature-card {
    background: rgba(15, 20, 25, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    /* Add these for Lucide icons */
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon .lucide {
    width: 64px;
    height: 64px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #e8eaed;
}

.feature-card p {
    color: #94a3b8;
}

/* Demo */
.demo {
    background: transparent;
}

.demo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.demo-input, .demo-output {
    background: rgba(15, 20, 25, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 2rem;
    border-radius: 20px;
    min-width: 250px;
    text-align: center;
}

.demo-input h3, .demo-output h3 {
    margin-bottom: 1rem;
    color: #e8eaed;
}

.demo-text {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    border-right: 4px solid #3b82f6;
    color: #e8eaed;
}

.demo-arrow {
    font-size: 2rem;
    color: #3b82f6;
    font-weight: bold;
}

/* About */
.about {
    background: transparent;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cbd5e1;
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* Download */
.download {
    background: transparent;
    color: #e8eaed;
    text-align: center;
}

.download .section-title {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: -2rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Download Cards */
.download-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-card {
    background: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    width: 250px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.download-icon {
    margin-bottom: 1rem;
    color: #ffffff;
}

.download-icon svg {
    width: 5rem;
    height: 5rem;
}

.btn-download {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
    width: 11rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-download:hover {
    background: #2175fc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    color: #ffffff;
}

/* Version note under download buttons */
.version-note {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Checksum note under download buttons */
.checksum-note {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    word-wrap: break-word;
    word-break: break-all;
    max-width: 100%;
}

/* Platform Logos */
.platform-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: rgba(15, 20, 25, 0.8);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    color: #94a3b8;
    text-align: center;
    padding: 2rem 0;
}

.footer a {
    color: #60a5fa;
    text-decoration: none;
}

.footer a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.about {
    text-align: center;
}

.footer-github {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.github-logo {
    width: 32px;
    height: 32px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .demo-container {
        flex-direction: column;
    }
    
    .demo-arrow {
        transform: rotate(-90deg);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}
