:root {
    --primary: #1a1a2e;
    --accent: #0ea5e9;
    --secondary: #10b981;
    --light: #f8fafc;
    --text: #334155;
    --border: #e2e8f0;
    --success: #10b981;
    --danger: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: var(--text);
    line-height: 1.6;
    padding-top: 70px;
    overflow-x: hidden;
}

/* ========== NAVBAR ========== */
.navbar {
    background: #ffffff !important;
    padding: 10px 0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 8px 0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    height: 35px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: var(--text) !important;
    padding: 6px 14px !important;
    border-radius: 6px;
    margin: 0 3px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-link i {
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent) !important;
}

.nav-link:hover i,
.nav-link.active i {
    color: var(--accent);
}

/* ========== HERO SECTION ========== */
.hero-section {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 550px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.btn-download,
.btn-tg {
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-download {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-download:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
    color: white;
}

.btn-tg {
    background: #0088cc;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.btn-tg:hover {
    background: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
    color: white;
}

.tool-img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.tool-img:hover {
    transform: translateY(-5px);
}

/* ========== SECTION TITLES ========== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* ========== SERVICES ========== */
#services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.25rem;
}

.service-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

/* ========== SERVER STATUS ========== */
.server-section {
    background: #f8fafc;
    padding: 80px 0;
}

.server-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    height: 100%;
}

.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-color: var(--accent);
}

.server-card h3 {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}

.status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.cost-box {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 0.5rem;
    color: var(--accent);
}

.cost-box.unavailable {
    color: var(--danger);
}

/* ========== PARTNERS / RESELLERS ========== */
.partners-section {
    padding: 80px 0;
}

.partner-card {
    background: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.partner-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.partner-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.2rem;
    border: 3px solid var(--border);
    transition: all 0.3s ease;
}

.partner-card:hover img {
    border-color: var(--accent);
    transform: scale(1.05);
}

.partner-card h4 {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.partner-card p {
    color: #64748b;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.partner-card .contact-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.partner-card a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.3rem 0;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
}

.partner-card a:hover {
    color: white;
    background: var(--accent);
    text-decoration: none;
}

.badge-role {
    background: var(--secondary);
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    display: inline-block;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-role.distributor {
    background: var(--accent);
}

/* ========== FOOTER ========== */
.footer {
    padding: 1rem 0;
    background: #f1f5f9;
    color: var(--text);
    text-align: center;
    margin-top: 3rem;
    font-size: 1rem;
    border-top: 1px solid var(--border);
}

.footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #0284c7;
    text-decoration: underline;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    body {
        padding-top: 65px;
    }
    
    .hero-section {
        padding: 50px 0 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin: 0 auto 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .btn-download,
    .btn-tg {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .tool-img {
        margin-top: 30px;
        max-width: 90%;
    }
    
    #services,
    .server-section,
    .partners-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card,
    .server-card,
    .partner-card {
        padding: 1.5rem;
    }
    
    .partner-card img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 60px;
    }
    
    .hero-section {
        padding: 40px 0 50px;
    }
    
    .hero-title {
        font-size: 1.7rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-brand img {
        height: 30px;
    }
    
    .nav-link {
        padding: 5px 10px !important;
        font-size: 0.85rem;
    }
    
    #services,
    .server-section,
    .partners-section {
        padding: 50px 0;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}
