/* ========================================
   RussiaVPS.site - Global Styles
   ======================================== */

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', system-ui, sans-serif; background: #0a0f1e; color: #e2e8f0; }
html { scroll-behavior: smooth; }

/* Hero gradient */
.hero-gradient {
    background: linear-gradient(135deg, #0a0f1e 0%, #1a1f3e 25%, #0d2137 50%, #0a1628 75%, #0a0f1e 100%);
    position: relative;
    overflow: hidden;
}
.hero-gradient::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(20, 184, 166, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    animation: heroFloat 20s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(2%, -2%) rotate(1deg); }
    66% { transform: translate(-1%, 1%) rotate(-0.5deg); }
}

/* Grid pattern overlay */
.grid-overlay {
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Provider card */
.provider-card {
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.provider-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0), transparent);
    transition: all 0.4s ease;
}
.provider-card:hover {
    border-color: rgba(20, 184, 166, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(20, 184, 166, 0.05);
}
.provider-card:hover::before {
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.6), transparent);
}

/* Featured card */
.provider-card-featured {
    border: 2px solid rgba(20, 184, 166, 0.3);
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, rgba(15, 23, 42, 0.8) 100%);
    position: relative;
}
.provider-card-featured::after {
    content: '⭐ #1 BEST CHOICE';
    position: absolute;
    top: -1px; right: -1px;
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 0 8px 0 8px;
    letter-spacing: 0.5px;
}

/* Comparison table */
.comparison-table {
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    overflow: hidden;
}
.comparison-table thead {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(15, 23, 42, 0.9) 100%);
}
.comparison-table tbody tr {
    border-bottom: 1px solid rgba(148, 163, 184, 0.06);
    transition: background 0.3s ease;
}
.comparison-table tbody tr:hover { background: rgba(20, 184, 166, 0.03); }
.comparison-table tbody tr:first-child { background: rgba(20, 184, 166, 0.06); }

/* Rating stars */
.rating-stars { color: #fbbf24; letter-spacing: 2px; }

/* CTA pulse */
.cta-pulse { animation: ctaPulse 3s ease-in-out infinite; }
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.3); }
    50% { box-shadow: 0 0 0 12px rgba(20, 184, 166, 0); }
}

/* FAQ accordion */
.faq-item details summary { cursor: pointer; list-style: none; }
.faq-item details summary::-webkit-details-marker { display: none; }
.faq-item details[open] summary .faq-chevron { transform: rotate(180deg); }
.faq-chevron { transition: transform 0.3s ease; }

/* Trust badge */
.trust-badge {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(20, 30, 50, 0.6));
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: border-color 0.3s ease;
}
.trust-badge:hover { border-color: rgba(20, 184, 166, 0.2); }

/* Navigation glass */
.nav-glass {
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

/* Breadcrumb */
.breadcrumb a { transition: color 0.2s ease; }
.breadcrumb a:hover { color: #14b8a6; }

/* Section divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.15), transparent);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.mobile-menu.open { transform: translateX(0); }

/* Lazy load placeholder */
img[loading="lazy"] { background: rgba(148, 163, 184, 0.05); }

/* Skip to content */
.skip-link {
    position: absolute;
    top: -100%; left: 0;
    background: #14b8a6;
    color: white;
    padding: 8px 16px;
    z-index: 100;
    transition: top 0.3s ease;
}
.skip-link:focus { top: 0; }

/* Prose styling for content sections */
.prose a { color: #14b8a6; text-decoration: none; }
.prose a:hover { text-decoration: underline; }
