/* CSS Variables */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a24;
    --bg-card-hover: #22222e;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-glow: rgba(59, 130, 246, 0.3);
    --success: #22c55e;
    --border: #2a2a3a;
    --border-light: #3a3a4a;
    --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    /* Additional accent colors */
    --color-purple: #8b5cf6;
    --color-pink: #ec4899;
    --color-cyan: #06b6d4;
    --color-green: #22c55e;
    --color-orange: #f97316;
    --color-yellow: #eab308;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: #1a1a2e;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-accent {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-text {
    background: transparent;
    color: var(--text-secondary);
    padding: 12px 0;
}

.btn-text:hover {
    color: var(--text-primary);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.full-width {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    text-align: center;
}

.hero-title {
  color: var(--text-primary);
    font-size: 56px;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.text-accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-config {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.config-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.config-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.config-select {
    padding: 12px 40px 12px 16px;
    font-size: 15px;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0b0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 220px;
}

.config-select:focus {
    outline: none;
    border-color: var(--accent);
}

.config-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    padding: 12px 24px;
    background: var(--accent);
    border-radius: 8px;
}

.price-amount {
    font-size: 28px;
    font-weight: 700;
}

.price-period {
    font-size: 14px;
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* Sections */
.section-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 16px; color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
}

/* Features */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {\n    display: flex;\n    align-items: flex-start;\n    gap: 20px;\n    padding: 28px 24px;
    padding: 32px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 16px; display: block;
}

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

/* Pricing */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    position: relative;
    padding: 32px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
}

.pricing-card.popular {
    border-color: var(--accent);
    box-shadow: 0 0 40px var(--accent-glow);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 24px;
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 4px;
}

.pricing-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.pricing-price {
    margin-bottom: 24px;
}

.pricing-price .amount {
    font-size: 40px;
    font-weight: 700;
}

.pricing-price .period {
    color: var(--text-muted);
    font-size: 16px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Locations */
.locations {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.location-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.location-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.location-flag {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
}

.location-card h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.location-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.location-latency {
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
}

/* FAQ */
.faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    font-size: 24px;
    color: var(--accent);
    transition: transform 0.2s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* CTA */
.cta {
    padding: 100px 0;
    background: var(--gradient);
    text-align: center;
}

.cta h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta .btn-primary {
    background: white;
    color: var(--accent);
}

.cta .btn-primary:hover {
    background: var(--bg-primary);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 80px 0 30px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 15px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    font-size: 15px;
    margin-left: 10px;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .locations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-config {
        flex-direction: column;
    }

    .config-group {
        width: 100%;
    }

    .config-select {
        width: 100%;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #0a0a0f;
        border-bottom: 1px solid var(--border);
        padding: 12px 24px 20px;
        gap: 4px;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.mobile-open a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu.mobile-open li:last-child a {
        border-bottom: none;
    }

    .nav-toggle {
        display: inline-flex !important;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-value {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .locations-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .cta h2 {
        font-size: 28px;
    }
}
/* Product Tabs */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover {
    border-color: var(--border-light);
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Pricing Alt (for RDP section) */
.pricing-alt {
    background: var(--bg-secondary);
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    color: var(--text-secondary);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item span:first-child {
    font-size: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
    }
    
    .product-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Telegram CTA Section */
.telegram-cta-section {
    background-color: #ffffff;
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.telegram-cta-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    background: linear-gradient(135deg, #0a1628 0%, #0f1d32 100%);
    border: 1px solid rgba(42, 171, 238, 0.25);
    border-radius: 16px;
    padding: 32px 36px;
    flex-wrap: wrap;
}

.telegram-cta-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background-color: #2AABEE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.telegram-cta-icon svg {
    width: 26px;
    height: 26px;
}

.telegram-cta-text {
    flex: 1;
    min-width: 200px;
}

.telegram-cta-text h3 {
    font-size: 21px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.telegram-cta-text p {
    font-size: 14px;
    color: #a0a0b0;
    margin-bottom: 0;
    line-height: 1.55;
}

.telegram-cta-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    background-color: #2AABEE;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.telegram-cta-btn:hover {
    background-color: #2292cc;
    color: #fff;
}

.telegram-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 16px;
    transition: color 0.2s;
}

.telegram-link:hover {
    color: var(--accent-hover);
}

/* Feature Cards new style */
.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

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

.feature-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.feature-content h3 {
  color: var(--text-primary);
    font-size: 17px;
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Colorful Icon Backgrounds */
.feature-card:nth-child(1) .feature-icon { background: rgba(59, 130, 246, 0.15); }
.feature-card:nth-child(2) .feature-icon { background: rgba(239, 68, 68, 0.15); }
.feature-card:nth-child(3) .feature-icon { background: rgba(34, 197, 94, 0.15); }
.feature-card:nth-child(4) .feature-icon { background: rgba(139, 92, 246, 0.15); }
.feature-card:nth-child(5) .feature-icon { background: rgba(6, 182, 212, 0.15); }
.feature-card:nth-child(6) .feature-icon { background: rgba(236, 72, 153, 0.15); }

/* Location Cards Colors */
.location-card:nth-child(1) { border-top: 3px solid #3b82f6; }
.location-card:nth-child(2) { border-top: 3px solid #8b5cf6; }
.location-card:nth-child(3) { border-top: 3px solid #22c55e; }
.location-card:nth-child(4) { border-top: 3px solid #f97316; }
.location-card:nth-child(5) { border-top: 3px solid #06b6d4; }

/* Hero gradient overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Colorful pricing popular badges */
.pricing-card.popular .popular-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

/* Footer gradient */
.footer {
    background: linear-gradient(180deg, #12121a 0%, #0a0a0f 100%);
}

/* CTA Section gradient */
.cta {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
}

/* Product tabs active gradient */
.tab-btn.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

/* Add subtle color to pricing cards */
.pricing-card {
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--color-purple));
    opacity: 0;
    transition: opacity 0.3s;
}

.pricing-card:hover::before {
    opacity: 1;
}

/* Stats colorful */
.stat:nth-child(1) .stat-value { color: #3b82f6; }
.stat:nth-child(2) .stat-value { color: #22c55e; }
.stat:nth-child(3) .stat-value { color: #8b5cf6; }
.stat:nth-child(4) .stat-value { color: #f97316; }

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.page-title .text-accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Content Block (for legal pages) */
.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-block h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 48px 0 24px;
    color: var(--text-primary);
}

.content-block h2:first-child {
    margin-top: 0;
}

.content-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.content-block ul, .content-block ol {
    margin: 16px 0 24px 24px;
}

.content-block li {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.content-block a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

.content-block a:hover {
    color: var(--accent-hover);
}

.content-block strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: transform 0.3s, border-color 0.3s;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.blog-date {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.blog-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Stats Row */
.stats-row {
    background: var(--bg-secondary);
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.stat-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-card .stat-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Last Updated */
.last-updated {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

/* Alert Boxes */
.alert-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 8px;
    margin: 24px 0;
    border-left: 4px solid;
}

.alert-box i {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-box strong {\n  display: block;\n  margin-bottom: 4px;\n  color: var(--text-primary);
}

.alert-box p {
    margin: 0;
    font-size: 0.95rem;
    color: #4a4a5a;
}

.alert-box a {
    color: var(--accent);
    text-decoration: underline;
}

.alert-box.warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
}

.alert-box.warning i {
    color: #f59e0b;
}

.alert-box.info {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
}

.alert-box.info i {
    color: #3b82f6;
}

.alert-box.success {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
}

.alert-box.success i {
    color: #22c55e;
}

.alert-box.danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

.alert-box.danger i {
    color: #ef4444;
}

/* Code Block */
.code-block {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 20px 0;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* SLA Table */
.sla-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.sla-table th,
.sla-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.sla-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.sla-table td {
    color: var(--text-secondary);
    font-size: 1rem;
}

.sla-table tr:last-child td {
    border-bottom: none;
}

.sla-table .priority-critical {
    border-left: 4px solid #ef4444;
}

.sla-table .priority-critical td:first-child {
    color: #ef4444;
    font-weight: 600;
}

.sla-table .priority-high {
    border-left: 4px solid #f97316;
}

.sla-table .priority-high td:first-child {
    color: #f97316;
    font-weight: 600;
}

.sla-table .priority-medium {
    border-left: 4px solid #eab308;
}

.sla-table .priority-medium td:first-child {
    color: #eab308;
    font-weight: 600;
}

.sla-table .priority-low {
    border-left: 4px solid #22c55e;
}

.sla-table .priority-low td:first-child {
    color: #22c55e;
    font-weight: 600;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.feature-item { display: flex; gap: 20px; padding: 24px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; transition: all 0.3s; }
.feature-item:hover { transform: translateY(-2px); border-color: var(--border-light); }
.feature-item i {
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
}

.feature-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Card Improved */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.blog-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image i {
    font-size: 3rem;
    color: white;
    opacity: 0.9;
}

.blog-content {
    padding: 24px;
}

/* Floating Contact Widget */
.floating-contact {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-btn.telegram {
    background: #0088cc;
}

.float-btn.email {
    background: var(--accent);
}

.float-btn.whatsapp {
    background: #25D366;
}

/* Content block links */
.content-block ol {
    counter-reset: item;
    list-style-type: none;
    padding-left: 0;
}

.content-block ol li {
    counter-increment: item;
    margin-bottom: 12px;
    padding-left: 32px;
    position: relative;
}

.content-block ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stats Section - Light Background */
.section-light {
  background: #f8f9fa;
  padding: 24px 0;
  border-top: none;
  border-bottom: none;
}

.section-light .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
  justify-content: center;
}

.section-light .row.g-4 {
  gap: 16px 0;
}

.section-light .mb-5 {
  margin-bottom: 24px;
}

.section-light .col-md-3,
.section-light .col-sm-6 {
  padding: 0 8px;
}

.section-light .col-md-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.section-light .h-100 {
  height: 100%;
}

.section-light .feature-card.text-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.section-light .feature-card.text-center:hover {
  transform: translateY(-2px);
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.section-light .feature-icon.mx-auto {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8px;
  background: rgba(59, 130, 246, 0.1);
}

.section-light .feature-icon.mx-auto i {
  font-size: 1rem;
  color: #3b82f6;
}

.section-light .fw-bold {
  font-weight: 700;
}

.section-light .mb-1 {
  margin-bottom: 2px;
}

.section-light .mb-0 {
  margin-bottom: 0;
}

.section-light .row h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
  color: #1a1a2e;
}

.section-light .text-secondary {
  color: #6b7280;
}

.section-light .small {
  font-size: 0.75rem;
}

@media (max-width: 992px) {
  .section-light .col-md-3 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 12px;
  }
}

@media (max-width: 576px) {
  .section-light .col-md-3,
  .section-light .col-sm-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Light section content overrides */
section[style*="background: #ffffff"] .content-block p,
section[style*="background:#ffffff"] .content-block p {
  color: #4a4a5a;
}

section[style*="background: #ffffff"] .content-block h2,
section[style*="background: #ffffff"] .content-block h4 { color: var(--text-primary); }
section[style*="background: #ffffff"] .content-block strong { color: var(--text-primary); }
section[style*="background:#ffffff"] .content-block h2 {
  color: var(--text-primary);
}

section[style*="background: #ffffff"] .content-block li,
section[style*="background:#ffffff"] .content-block li {
  color: #4a4a5a;
}

/* Light section content overrides */
.content-block.section-light p,
.content-block.section-light li,
.content-block.section-light h2 {
  color: var(--text-primary);
}

.content-block.section-light p {
  color: #4a4a5a;
}

/* Light content pages - dark headers */
body.light-content .page-subtitle { color: rgb(160, 160, 176) !important; }
body.light-content .content-block h2 { color: #1a1a2e !important; }
body.light-content .content-block p, body.light-content .content-block li { color: #4a4a5a !important; }
body.light-content .content-block strong { color: #1a1a2e !important; }
body.light-content .content-block .alert-box > div > strong { color: #1a1a2e !important; }
body.light-content .content-block .alert-box strong { color: #1a1a2e !important; }


.section-light .feature-item {
display: flex;
gap: 16px;
padding: 20px;
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 8px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.section-light .feature-item:hover {
transform: translateY(-2px);
border-color: #3b82f6;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.section-light .feature-item strong { color: #1a1a2e; }
.section-light .feature-item p { color: #4a4a5a; }


.hero-badges { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.badge { display: inline-flex; align-items: center; gap: 8px; color: #ffffff; font-size: 14px; font-weight: 500; }

.pricing .section-title { color: #1a1a2e; }

body.page-contact .pricing { background: #fff; padding: 60px 0; }
body.page-contact .pricing .section-title { color: #1a1a2e; }
body.page-contact .pricing .section-subtitle { color: #4a4a5a; }
body.page-contact .pricing-card { background: #fff; border: 1px solid #e5e7eb; }
body.page-contact .pricing-card h3 { color: #1a1a2e; }
body.page-contact .pricing-card p { color: #4a4a5a; }

table td .btn { min-width: 100px; }
table td .btn.btn-primary, table td .btn.btn-outline { background: var(--accent); color: #fff; border-color: var(--accent); }
table td .btn.btn-outline:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.small { font-size: 14px; }
.text-secondary { color: var(--text-secondary); color: #a0a0b0; }
.text-decoration-none { text-decoration: none; }
.list-unstyled { list-style: none; padding-left: 0; }
.me-2 { margin-right: 8px; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 24px; }
.fw-400 { font-weight: 400; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fs-12 { font-size: 12px; }
.fs-14 { font-size: 14px; }
.fs-18 { font-size: 18px; }
.fs-24 { font-size: 24px; }
.fs-32 { font-size: 32px; }
.fs-40 { font-size: 40px; }
.text-ink { color: #1a1a2e !important; }
.text-muted-light { color: #4a4a5a !important; }
.text-success { color: #22c55e !important; }
.text-white { color: #fff !important; }
.text-center { text-align: center; }
.is-disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.bg-white-bordered { background: #fff !important; border: 1px solid #e5e7eb !important; }
.contact-item { color: #fff; display: flex; align-items: center; list-style: none; }
.section-white-border { background: #ffffff; padding: 60px 0; border-bottom: 1px solid #e5e7eb; }

/* Light section wrappers and cards (marketing pages) */
.section-tint { background: #f5f7fa; padding: 60px 0; }
.section-white { background: #ffffff; padding: 60px 0; }
.card-light { background: #fff; border-radius: 12px; border: 1px solid #e5e7eb; }
.p-16 { padding: 16px; }
.p-24 { padding: 24px; }
.p-28 { padding: 28px; }

/* Pricing / spec comparison tables (dedicated.html, vps.html, rdp.html) */
.pricing-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.pricing-table thead tr { background: #f5f7fa; border-bottom: 2px solid #e5e7eb; }
.pricing-table th { padding: 16px; text-align: center; color: #1a1a2e; font-weight: 600; }
.pricing-table th:first-child { text-align: left; }
.pricing-table tbody tr { border-bottom: 1px solid #e5e7eb; }
.pricing-table tbody tr:nth-child(even) { background: #f8f9fa; }
.pricing-table td { padding: 16px; text-align: center; color: #4a4a5a; }
.pricing-table td:first-child { text-align: left; color: #1a1a2e; font-weight: 600; }
.pricing-table td:nth-last-child(2) { color: var(--accent); font-weight: 700; font-size: 18px; }
.pricing-table td:last-child .btn { padding: 4px 12px; font-size: 14px; }
.pricing-table .plan-subtitle { display: block; font-size: 12px; font-weight: 400; color: #4a4a5a; margin-top: 4px; }
.badge-popular { background: #22c55e; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 10px; margin-left: 8px; }

/* Feature comparison table (support.html) */
.feature-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.feature-table thead tr { background: #f5f7fa; border-bottom: 2px solid #e5e7eb; }
.feature-table th { padding: 16px; text-align: center; color: #1a1a2e; font-weight: 600; }
.feature-table th:first-child { text-align: left; }
.feature-table tbody tr { border-bottom: 1px solid #e5e7eb; }
.feature-table tbody tr:nth-child(even) { background: #f8f9fa; }
.feature-table td { padding: 16px; text-align: center; color: #4a4a5a; }
.feature-table td:first-child { text-align: left; color: #1a1a2e; }

/* Shopping cart */
.cart-toggle { padding: 8px 14px; font-size: 15px; position: relative; gap: 4px; }

/* Mobile nav toggle (hamburger) */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 18px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

@media (max-width: 480px) {
    .cart-toggle { padding: 6px 10px; font-size: 14px; }
    .header .is-disabled { padding: 6px 10px; font-size: 13px; }
    .nav-toggle { width: 36px; height: 36px; font-size: 16px; }
}

/* Responsive grids: override inline grid-template-columns set directly on elements
   (see the earlier inline-style cleanup note -- many content sections still carry
   their own inline grid-template-columns, which beats any class-based breakpoint) */
@media (max-width: 900px) {
    [style*="grid-template-columns: repeat(3, 1fr)"],
    [style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 600px) {
    [style*="grid-template-columns: repeat(2, 1fr)"],
    [style*="grid-template-columns: repeat(3, 1fr)"],
    [style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* Grid items spanning multiple columns (e.g. a wide highlight card) would
       otherwise force a hidden extra column once their container collapses
       to 1fr above, making that one item wider/misaligned vs its siblings */
    [style*="grid-column: span"] {
        grid-column: auto !important;
    }
}
.cart-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 4px; margin-left: 2px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; }

.cart-overlay { position: fixed; inset: 0; background: rgba(10, 10, 15, 0.6); opacity: 0; pointer-events: none; transition: opacity 0.25s ease; z-index: 1000; }
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
    position: fixed; top: 0; right: 0; height: 100%; width: 380px; max-width: 90vw;
    background: #fff; box-shadow: -4px 0 24px rgba(0,0,0,0.15);
    transform: translateX(100%); transition: transform 0.25s ease;
    z-index: 1001; display: flex; flex-direction: column; padding: 24px;
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cart-drawer-header h3 { color: #1a1a2e; font-size: 20px; }
.cart-close { background: none; border: none; font-size: 24px; line-height: 1; color: #6b7280; cursor: pointer; padding: 0 4px; }
.cart-close:hover { color: #1a1a2e; }

.cart-items-list { flex: 1; overflow-y: auto; }
.cart-empty { color: #6b7280; font-size: 15px; text-align: center; margin-top: 40px; }

.cart-item { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid #e5e7eb; }
.cart-item-name { color: #1a1a2e; font-weight: 600; font-size: 15px; }
.cart-item-meta { color: #6b7280; font-size: 13px; margin-top: 2px; }
.cart-qty-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.cart-qty-stepper { display: inline-flex; align-items: center; gap: 0; border: 1px solid #e5e7eb; border-radius: 6px; overflow: hidden; }
.cart-qty-btn { background: #f5f7fa; border: none; width: 26px; height: 26px; font-size: 15px; line-height: 1; color: #1a1a2e; cursor: pointer; }
.cart-qty-btn:hover:not(:disabled) { background: #e5e7eb; }
.cart-qty-btn:disabled { color: #cbd5e1; cursor: not-allowed; }
.cart-qty-value { display: inline-block; min-width: 24px; text-align: center; font-size: 13px; font-weight: 600; color: #1a1a2e; }
.cart-qty-min { font-size: 11px; color: #9ca3af; }
.cart-item-price { color: var(--accent); font-weight: 700; font-size: 14px; margin-top: 4px; }
.cart-item-remove { background: none; border: none; font-size: 20px; line-height: 1; color: #9ca3af; cursor: pointer; padding: 0 4px; }
.cart-item-remove:hover { color: #ef4444; }

.cart-totals { padding: 16px 0; border-top: 1px solid #e5e7eb; }
.cart-totals-line { color: #1a1a2e; font-size: 15px; margin-bottom: 4px; }
.cart-totals-grand { padding-top: 8px; margin-top: 4px; border-top: 1px dashed #e5e7eb; font-size: 16px; color: var(--accent); }
.cart-checkout-btn { margin-top: 8px; }
