:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --accent: #10b981;
    --accent-hover: #059669;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-main: #f9fafb;
    --bg-warm: #fffbeb;
    --border: #e5e7eb;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s ease; }

.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }

/* Sticky Header */
.header {
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}
.logo span.icon { font-size: 30px; }
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}
.main-nav a {
    font-weight: 500;
    font-size: 15px;
    color: #4b5563;
}
.main-nav a:hover { color: var(--primary); }

.header-actions { display: flex; gap: 15px; align-items: center; }

.header-messengers {
    display: flex;
    gap: 10px;
}
.messenger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    transition: 0.3s;
}
.messenger-icon svg { width: 22px; height: 22px; }
.messenger-icon.wa { background: #25D366; }
.messenger-icon.wa:hover { box-shadow: 0 4px 12px rgba(37,211,102,0.4); transform: translateY(-2px); }
.messenger-icon.tg { background: #0088cc; }
.messenger-icon.tg:hover { box-shadow: 0 4px 12px rgba(0,136,204,0.4); transform: translateY(-2px); }

.btn-call {
    background: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}
.btn-call:hover { background: var(--primary-hover); color: white; transform: translateY(-2px); }

/* Mobile Menu Toggle */
.mobile-toggle { display: none; background: none; border: none; font-size: 30px; cursor: pointer; color: var(--primary); }

/* WhatsApp Floater */
.whatsapp-floater {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 5px 20px rgba(37,211,102,0.4);
    z-index: 999;
    animation: pulse 2s infinite;
}
.whatsapp-floater:hover { transform: scale(1.1); color: white; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Grids & Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
}
.card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    transition: 0.3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.08); }
.card h3 { color: var(--primary); margin-bottom: 12px; font-size: 20px; }

/* Articles and Content */
.content-wrapper { padding: 40px 0 80px; }
.page-header { margin-bottom: 30px; text-align: center; }
.page-header h1 { font-size: 36px; color: #111827; margin-bottom: 15px; }
.article-body h2 { font-size: 26px; color: #1f2937; margin: 30px 0 15px; }
.article-body p { margin-bottom: 16px; font-size: 16px; }
.article-body ul { margin-left: 20px; margin-bottom: 20px; }
.article-body li { margin-bottom: 8px; }

/* Pricing Table */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.pricing-table th { background: #f3f4f6; padding: 15px; text-align: left; font-weight: 600; color: #374151; }
.pricing-table td { padding: 15px; border-bottom: 1px solid var(--border); }
.pricing-table tr:last-child td { border-bottom: none; }

/* Footer */
.footer {
    background: #111827;
    color: #9ca3af;
    padding: 60px 0 30px;
    margin-top: auto;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.footer-col h4 { color: white; font-size: 18px; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a:hover { color: white; text-decoration: underline; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #374151; font-size: 14px; }

/* Mobile Adaptations */
@media(max-width: 992px) {
    .main-nav, .header-actions { display: none; }
    .mobile-toggle { display: block; }
    .header-container.active .main-nav {
        display: flex;
        position: absolute;
        top: 80px; left: 0; width: 100%;
        background: white; flex-direction: column;
        padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .header-container.active .main-nav ul { flex-direction: column; gap: 15px; }
    .header-container.active .header-actions {
        display: flex; position: absolute; top: 15px; right: 60px;
    }
    .header-messengers { display: none; }
}

/* Tablet Adaptations */
@media(max-width: 768px) {
    .container { padding: 0 15px; }
    
    .hero-section { padding: 40px 0 !important; }
    .hero-section h1 { font-size: 30px !important; margin: 10px 0 !important; }
    .hero-section p { font-size: 16px !important; margin-bottom: 20px !important; }
    .hero-section .container { gap: 30px !important; }
    
    .benefits { padding: 40px 0 !important; }
    .benefits h2, .scheme h2 { font-size: 26px !important; margin-bottom: 30px !important; }
    
    .services-grid { grid-template-columns: 1fr; gap: 20px; margin: 30px 0; }
    
    .scheme .container > div { flex-direction: column; gap: 10px !important; }
    .scheme .container > div > div { padding: 10px !important; min-width: 100% !important; }
    
    .page-header h1, .article-body h1 { font-size: 28px; }
    .article-body h2 { font-size: 22px; }
    .article-body p { font-size: 15px; }
    
    .pricing-table { display: block; overflow-x: auto; white-space: nowrap; font-size: 14px; }
    
    .footer { padding: 40px 0 20px; }
    .footer-container { flex-direction: column; gap: 30px; }
}

/* Smartphone Adaptations */
@media(max-width: 480px) {
    .header-container { height: 65px; }
    .logo { font-size: 20px; }
    .logo span.icon { font-size: 24px; }
    
    .mobile-toggle { font-size: 26px; }
    .header-container.active .main-nav { top: 65px; }
    .header-container.active .header-actions { right: 50px; top: 12px; }
    
    .btn-call { padding: 8px 16px; font-size: 14px; }
    
    .whatsapp-floater { width: 50px; height: 50px; font-size: 26px; bottom: 20px; right: 20px; }
    
    .hero-section h1 { font-size: 26px !important; }
    .hero-section span { font-size: 12px !important; }
    
    .card { padding: 20px; }
    .card h3 { font-size: 18px; }
}
