/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10000;
}

.logo h1 {
    font-size: 2rem;
    font-weight: bold;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav a:hover,
.nav a.active {
    color: #ffd700;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0.8rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    z-index: 1001;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.mobile-menu-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.mobile-menu-toggle:hover::before {
    left: 100%;
}

.mobile-menu-toggle:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Show mobile menu toggle on small screens */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
    }
}

.mobile-menu-toggle span {
    width: 26px;
    height: 3px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    margin: 2.5px 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    transform-origin: center;
}

.mobile-menu-toggle span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover span::before {
    transform: scaleX(1);
}

.mobile-menu-toggle.active {
    background: linear-gradient(135deg, rgba(116, 185, 255, 0.2) 0%, rgba(9, 132, 227, 0.1) 100%);
    border-color: #74b9ff;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 15px 50px rgba(116, 185, 255, 0.4);
}

.mobile-menu-toggle.active span {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    box-shadow: 0 0 15px rgba(116, 185, 255, 0.6);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px) scale(1.1);
    box-shadow: 0 0 20px rgba(116, 185, 255, 0.8);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0) rotate(180deg);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px) scale(1.1);
    box-shadow: 0 0 20px rgba(116, 185, 255, 0.8);
}

/* Mobile Navigation */
.nav.mobile-open {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex !important;
    align-items: flex-start;
    justify-content: center;
    z-index: 1000;
    animation: slideInMobile 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    padding: 6rem 1rem 2rem 1rem;
}

@keyframes slideInMobile {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav.mobile-open::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="20" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: floatPattern 20s linear infinite;
    pointer-events: none;
}

@keyframes floatPattern {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

.nav.mobile-open ul {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    font-size: 1.1rem;
    max-width: 320px;
    width: 100%;
    animation: fadeInUp 0.6s ease-out 0.2s both;
    margin: 0;
    padding: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav.mobile-open > ul > li {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    margin-bottom: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav.mobile-open > ul > li:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-8px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.25),
        0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.nav.mobile-open > ul > li > a {
    display: block;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.nav.mobile-open > ul > li > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.nav.mobile-open > ul > li:hover > a::before {
    left: 100%;
}

.nav.mobile-open .dropdown-menu {
    position: static;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    transform: none;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    margin: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.nav.mobile-open .dropdown-menu::before {
    display: none;
}

.nav.mobile-open .dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
    margin-top: 16px;
}

.nav.mobile-open .dropdown-menu li {
    background: none;
    border: none;
    border-radius: 0;
    margin: 0;
    width: 100%;
}

.nav.mobile-open .dropdown-menu li:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nav.mobile-open .dropdown-menu li:first-child a {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.nav.mobile-open .dropdown-menu li:last-child a {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    border-bottom: none;
}

.nav.mobile-open .dropdown-menu a {
    color: white;
    padding: 18px 28px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.nav.mobile-open .dropdown-menu a::before {
    content: '\233E';
    opacity: 0.6;
    transition: all 0.4s ease;
    font-size: 18px;
}

.nav.mobile-open .dropdown-menu a::after {
    content: '\27F6';
    margin-left: auto;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
}

.nav.mobile-open .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffd700;
    transform: translateX(12px);
    box-shadow: 
        inset 5px 0 0 #ffd700,
        0 5px 20px rgba(255, 215, 0, 0.3);
    border-radius: 8px;
}

.nav.mobile-open .dropdown-menu a:hover::before {
    opacity: 1;
    color: #ffd700;
    transform: scale(1.2);
}

.nav.mobile-open .dropdown-menu a:hover::after {
    opacity: 1;
    transform: translateX(0);
    color: #ffd700;
}

.nav.mobile-open .dropdown-menu a.active {
    background: rgba(255, 215, 0, 0.25);
    color: #ffd700;
    box-shadow: 
        inset 5px 0 0 #ffd700,
        0 5px 20px rgba(255, 215, 0, 0.4);
    border-radius: 8px;
}

/* Mobile Menu Logo */
.nav.mobile-open .mobile-logo {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    z-index: 1001;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
}

.dropdown.active .dropdown-toggle::after,
.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: #ffffff;
    min-width: 240px;
    border-radius: 12px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99999;
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: block !important;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
    z-index: -1;
}

/* Smart positioning for dropdown menus */
@media (min-width: 769px) {
    /* Серверы - всегда справа */
    .nav > ul > li:nth-child(3) .dropdown-menu {
        left: auto !important;
        right: 0 !important;
        transform-origin: top right;
    }

    .nav > ul > li:nth-child(3) .dropdown-menu::before {
        left: auto !important;
        right: 20px !important;
    }

    /* Последние элементы меню тоже справа */
    .nav > ul > li:last-child .dropdown-menu,
    .nav > ul > li:nth-last-child(2) .dropdown-menu {
        left: auto !important;
        right: 0 !important;
        transform-origin: top right;
    }

    .nav > ul > li:last-child .dropdown-menu::before,
    .nav > ul > li:nth-last-child(2) .dropdown-menu::before {
        left: auto !important;
        right: 20px !important;
    }

    /* Дополнительная защита от выхода за границы */
    .dropdown-menu {
        max-width: 90vw;
        white-space: nowrap;
    }

    /* Адаптивная ширина для узких экранов */
    .dropdown-menu {
        min-width: min(240px, calc(100vw - 40px));
    }
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-menu li {
    margin: 0;
    list-style: none;
    width: 100% !important;
    display: block !important;
    float: none !important;
    clear: both !important;
}

.dropdown-menu a {
    color: #374151;
    padding: 12px 20px;
    display: block !important;
    width: calc(100% - 16px) !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    margin: 0 8px;
    position: relative;
    overflow: hidden;
    float: none !important;
    clear: both !important;
    text-align: left !important;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
    border-radius: 8px;
    z-index: -1;
}

.dropdown-menu a:hover::before {
    width: 100%;
}

.dropdown-menu a:hover {
    color: white;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.dropdown-menu a.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.dropdown-menu a.active::before {
    width: 100%;
}

/* Add icons to dropdown items */
.dropdown-menu a::after {
    content: \27F6;
    margin-left: auto;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    font-size: 12px;
}

.dropdown-menu a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive dropdown adjustments */
@media (max-width: 1200px) {
    .dropdown-menu {
        min-width: 220px;
    }

    .dropdown-menu a {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 1024px) {
    .dropdown-menu {
        min-width: 200px;
    }

    .dropdown-menu a {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Sections */
section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Wiki sections should be visible by default */
.wiki-content section {
    opacity: 1;
    transform: translateY(0);
}

section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out 0.3s;
}

/* Wiki section headings should be visible by default */
.wiki-content section h2 {
    opacity: 1;
    transform: translateY(0);
}

section.fade-in h2 {
    opacity: 1;
    transform: translateY(0);
}

/* About Section */
.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-intro {
    margin-bottom: 3rem;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2.5rem;
    text-align: justify;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
    border-radius: 15px;
    border: 1px solid #667eea20;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
    display: block;
}

.advantages-section h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #333;
    position: relative;
    padding-bottom: 1rem;
}

.advantages-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.advantage-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}

.advantage-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.advantage-card:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.advantage-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.advantage-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #333;
    font-weight: 600;
}

.advantage-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.about-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.image-container:hover .image-overlay {
    transform: translateY(0);
}

.image-container:hover img {
    transform: scale(1.05);
}

.overlay-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.overlay-content p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

/* Responsive adjustments for About section */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

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

@media (max-width: 768px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .intro-text {
        font-size: 1.1rem;
        text-align: left;
    }

    .advantages-section h3 {
        font-size: 1.5rem;
    }

    .advantage-card {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .stats-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stat-item {
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
    }

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

/* Services Grid */
.services {
    background: #f8f9fa;
}

.services.vds-section {
    background: white;
}

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

.hosting-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.single-service {
    max-width: 400px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.service-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card ul {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.service-card li {
    padding: 0.3rem 0;
    color: #666;
}

/* Tariffs */
.tariffs {
    background: white;
}

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

.tariff-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(50px) rotateX(15deg);
}

.tariff-card.animate-in {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
}

.tariff-card:hover {
    border-color: #667eea;
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
}

.tariff-card.popular {
    border-color: #667eea;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.tariff-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.price {
    margin-bottom: 2rem;
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
}

.price .currency {
    font-size: 1.2rem;
    color: #666;
}

.tariff-specs ul {
    list-style: none;
    margin-bottom: 2rem;
}

.tariff-specs li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.tariff-specs li:last-child {
    border-bottom: none;
}

/* Countries Grid */
.countries {
    background: #f8f9fa;
}

.countries-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

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

.country-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.country-item:hover {
    transform: translateY(-5px);
}

.flag {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.country-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.country-item p {
    color: #666;
    font-size: 0.9rem;
}

/* Advantages */
.advantages {
    background: white;
}

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

.advantage-item {
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.5s ease-out;
}

.advantage-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
}

.advantage-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
}

/* Why Choose Us */
.why-choose {
    background: #f8f9fa;
}

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

.feature {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

/* Additional Services Tables */
.additional-services {
    background: white;
}

.additional-services:nth-child(even) {
    background: #f8f9fa;
}

.service-table {
    overflow-x: auto;
}

.service-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-table th,
.service-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.service-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

.service-table tr:hover {
    background: #f8f9fa;
}

.panel-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Operating Systems */
.operating-systems {
    background: #f8f9fa;
}

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

.os-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.os-item:hover {
    transform: translateY(-5px);
}

.os-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.os-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.os-item p {
    color: #666;
    font-size: 0.9rem;
}

/* Limitations Section */
.limitations {
    background: #fff5f5;
    border-top: 3px solid #ff6b6b;
}

.limitations-content {
    max-width: 1000px;
    margin: 0 auto;
}

.limitations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.limitation-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.1);
    border: 1px solid #ffe0e0;
}

.limitation-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.limitation-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #d63031;
}

.limitation-item p {
    color: #666;
    line-height: 1.6;
}

.upgrade-notice {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.upgrade-notice h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.upgrade-notice p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.upgrade-notice .btn {
    background: white;
    color: #667eea;
    font-weight: 700;
    padding: 15px 30px;
    font-size: 1.1rem;
}

.upgrade-notice .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Domain Search Section */
.domain-search {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.search-form h2 {
    margin-bottom: 2rem;
    color: white;
}

.search-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.domain-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    outline: none;
}

.search-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    white-space: nowrap;
    background: #ffd700;
    color: #333;
    font-weight: 700;
}

.search-btn:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

.search-hint {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Domain Zones Table */
.domain-zones {
    background: white;
    padding: 4rem 0;
}

.zones-table {
    overflow-x: auto;
    margin-top: 2rem;
}

.zones-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.zones-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
}

.zones-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.zones-table tr:hover {
    background: #f8f9fa;
}

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

/* Domain Benefits */
.domain-benefits {
    background: #f8f9fa;
    padding: 4rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.benefit-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
}

/* Domain CTA */
.domain-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
    background: #ffd700;
    color: #333;
    font-weight: 700;
}

.btn-large:hover {
    background: #ffed4e;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

/* Domain Search Results */
.search-results {
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.result-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
}

.result-header h3 {
    color: #333;
    font-size: 1.8rem;
    margin: 0;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-badge.available {
    background: #d4edda;
    color: #155724;
}

.status-badge.unavailable {
    background: #f8d7da;
    color: #721c24;
}

.result-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.info-item {
    padding: 0.5rem 0;
}

.info-item strong {
    color: #333;
    display: block;
    margin-bottom: 0.25rem;
}

.result-actions {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.result-actions h4 {
    margin-bottom: 1rem;
    color: #333;
}

/* Alternatives */
.alternatives {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.alternatives h4 {
    color: #333;
    margin-bottom: 1.5rem;
}

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

.alternative-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.alternative-item:hover {
    border-color: #667eea;
    background: white;
}

.alt-domain {
    font-weight: 600;
    color: #333;
}

/* Responsive Design for Domains */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
    }

    .nav.mobile-open {
        display: flex;
    }

    .header-content {
        position: relative;
    }
    .search-input-group {
        flex-direction: column;
    }

    .result-content {
        grid-template-columns: 1fr;
    }

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

    .alternatives-list {
        grid-template-columns: 1fr;
    }

    .alternative-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.domains-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Reseller Features Section */
.reseller-features {
    background: #f8f9fa;
    padding: 4rem 0;
}

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

.feature-category {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-category:hover {
    transform: translateY(-5px);
}

.feature-category h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #667eea;
}

.feature-category ul {
    list-style: none;
    padding: 0;
}

.feature-category li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}

.feature-category li:last-child {
    border-bottom: none;
}

.feature-category li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Reseller CTA */
.reseller-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.reseller-cta .cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.reseller-cta .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 600;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Responsive Design for Reseller */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .reseller-cta .cta-content h2 {
        font-size: 2rem;
    }
}

/* SSL Certificates, LIR Services & Software Licenses Tables */
.ssl-certificates,
.lir-services,
.software-licenses {
    background: white;
    padding: 4rem 0;
}

.certificates-table,
.services-table,
.licenses-table {
    overflow-x: auto;
    margin-top: 2rem;
}

.certificates-table table,
.services-table table,
.licenses-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.certificates-table th,
.services-table th,
.licenses-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
}

.certificates-table td,
.services-table td,
.licenses-table td {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.certificates-table tr:hover,
.services-table tr:hover,
.licenses-table tr:hover {
    background: #f8f9fa;
}

.certificates-table tr:last-child td,
.services-table tr:last-child td,
.licenses-table tr:last-child td {
    border-bottom: none;
}

.popular-row {
    background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
    border: 2px solid #667eea;
}

/* Certificate/Service/Software Names */
.cert-name,
.service-name,
.software-name {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cert-name strong,
.service-name strong,
.software-name strong {
    font-size: 1.1rem;
    color: #333;
}

/* Badges */
.cert-badge,
.service-badge,
.software-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    width: fit-content;
}

.cert-badge.basic { background: #e3f2fd; color: #1976d2; }
.cert-badge.popular { background: #e8f5e8; color: #2e7d32; }
.cert-badge.premium { background: #fff3e0; color: #f57c00; }
.cert-badge.wildcard { background: #f3e5f5; color: #7b1fa2; }
.cert-badge.multi { background: #e0f2f1; color: #00695c; }
.cert-badge.code { background: #fce4ec; color: #c2185b; }

.service-badge.ipv4 { background: #e3f2fd; color: #1976d2; }
.service-badge.ipv6 { background: #e8f5e8; color: #2e7d32; }
.service-badge.as { background: #fff3e0; color: #f57c00; }
.service-badge.ripe { background: #f3e5f5; color: #7b1fa2; }
.service-badge.consulting { background: #e0f2f1; color: #00695c; }
.service-badge.dns { background: #fce4ec; color: #c2185b; }
.service-badge.transit { background: #e8eaf6; color: #3f51b5; }

.software-badge.os { background: #e3f2fd; color: #1976d2; }
.software-badge.panel { background: #e8f5e8; color: #2e7d32; }
.software-badge.database { background: #fff3e0; color: #f57c00; }
.software-badge.backup { background: #f3e5f5; color: #7b1fa2; }
.software-badge.security { background: #e0f2f1; color: #00695c; }
.software-badge.billing { background: #fce4ec; color: #c2185b; }
.software-badge.installer { background: #e8eaf6; color: #3f51b5; }

/* Features Lists */
.cert-features,
.service-features,
.software-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.cert-features li,
.service-features li,
.software-features li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.cert-features li::before,
.service-features li::before,
.software-features li::before {
    content: U+2713;
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Price Cells */
.price-cell {
    text-align: center;
}

.price-cell .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    display: block;
}

.price-cell .period {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
}

/* SSL Order CTA */
.ssl-order-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.ssl-order-cta .cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.ssl-order-cta .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Order Buttons */
.ssl-order-btn,
.lir-order-btn,
.license-order-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ssl-order-btn:hover,
.lir-order-btn:hover,
.license-order-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Responsive Design for Tables */
@media (max-width: 768px) {
    .certificates-table,
    .services-table,
    .licenses-table {
        font-size: 0.9rem;
    }

    .certificates-table th,
    .certificates-table td,
    .services-table th,
    .services-table td,
    .licenses-table th,
    .licenses-table td {
        padding: 1rem;
    }

    .cert-name,
    .service-name,
    .software-name {
        gap: 0.25rem;
    }

    .price-cell .price {
        font-size: 1.2rem;
    }

    .ssl-order-cta .cta-content h2 {
        font-size: 2rem;
    }
}

/* Partners Page */
.partners-content {
    background: white;
    padding: 4rem 0;
}

.partners-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.partners-text h2 {
    color: #333;
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem;
}

.partners-text p {
    color: #666;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.partners-text ol {
    color: #666;
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.partners-text ol li {
    margin-bottom: 0.5rem;
}

/* Responsive Design for Partners */
@media (max-width: 768px) {
    .partners-text {
        padding: 0 1rem;
    }

    .partners-text h2 {
        font-size: 1.5rem;
    }
}

/* Partners Content */
.partners-content {
    background: white;
    padding: 4rem 0;
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-block h2 {
    color: #333;
    margin: 2rem 0 1rem 0;
    font-size: 1.8rem;
}

.content-block p {
    margin-bottom: 1.5rem;
    color: #666;
    text-align: justify;
}

.partner-steps {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.partner-steps li {
    margin-bottom: 1rem;
    color: #333;
}

/* Careers */
.careers {
    background: white;
    padding: 4rem 0;
}

.careers-table {
    overflow-x: auto;
    margin-top: 2rem;
}

.careers-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.careers-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
}

.careers-table td {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.careers-table tr:hover {
    background: #f8f9fa;
}

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

.job-title h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.job-details h4 {
    color: #667eea;
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1rem;
}

.job-details ul {
    margin: 0.5rem 0 1rem 1.5rem;
    color: #666;
}

.job-details li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.salary {
    font-size: 1.2rem;
    font-weight: 600;
    color: #667eea;
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.contact-info {
    margin-top: 3rem;
    text-align: center;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.contact-info h3 {
    color: #333;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #666;
    font-size: 1.1rem;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Responsive Design for Careers */
@media (max-width: 768px) {
    .careers-table {
        font-size: 0.9rem;
    }

    .careers-table th,
    .careers-table td {
        padding: 1rem;
    }

    .job-title h3 {
        font-size: 1.1rem;
    }

    .salary {
        font-size: 1rem;
    }
}

/* FAQ Categories */
.faq-categories {
    background: white;
    padding: 4rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

.category-card h3 a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.category-card h3 a:hover {
    color: #667eea;
}

.category-card p {
    color: #666;
    line-height: 1.6;
}

/* Payment Methods */
.payment-methods {
    background: white;
    padding: 4rem 0;
}

.payment-table {
    overflow-x: auto;
    margin-top: 2rem;
}

.payment-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.payment-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
}

.payment-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.payment-table tr:hover {
    background: #f8f9fa;
}

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

.payment-table tr.no-commission {
    background: #f0f8f0;
}

.payment-table tr.no-commission:hover {
    background: #e8f5e8;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.method-name {
    font-weight: 600;
    color: #333;
}

.commission {
    font-size: 1.2rem;
    font-weight: 600;
    color: #667eea;
    text-align: center;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    display: inline-block;
}

.commission.no-fee {
    color: #28a745;
    background: #d4edda;
}

.commission.high {
    color: #dc3545;
    background: #f8d7da;
}

.payment-info {
    margin-top: 3rem;
    text-align: center;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.payment-info h3 {
    color: #333;
    margin-bottom: 1rem;
}

.payment-info p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsive Design for Payment Table */
@media (max-width: 768px) {
    .payment-table {
        font-size: 0.9rem;
    }

    .payment-table th,
    .payment-table td {
        padding: 1rem;
    }

    .payment-method {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .method-icon {
        width: auto;
    }

    .commission {
        font-size: 1rem;
    }
}


/* About Page */
.about {
    background: white;
    padding: 4rem 0;
}

.about-intro {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.advantages {
    background: #f8f9fa;
    padding: 4rem 0;
}

.advantages h2 {
    text-align: center;
    color: #333;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.advantages-text {
    max-width: 900px;
    margin: 0 auto;
}

.advantages-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-align: justify;
}

.about-services {
    background: white;
    padding: 4rem 0;
}

.about-services h2 {
    text-align: center;
    color: #333;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.services-text {
    max-width: 900px;
    margin: 0 auto;
}

.services-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.services-text strong {
    color: #333;
}

/* Contacts */
.contacts {
    background: white;
    padding: 4rem 0;
}

.contacts-content {
    max-width: 800px;
    margin: 0 auto;
}

.contacts-content h2 {
    color: #333;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

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

.contacts-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contacts-content em {
    color: #888;
    font-size: 1rem;
}

.contacts-content a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contacts-content a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Map Section */
.map-section {
    background: #f8f9fa;
    padding: 2rem 0;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Responsive Design for Contacts */
@media (max-width: 768px) {
    .contacts-content {
        padding: 0 1rem;
    }

    .contacts-content h2 {
        font-size: 1.5rem;
    }

    .contacts-content p {
        font-size: 1rem;
    }
}

/* Documents */
.documents {
    background: white;
    padding: 4rem 0;
}

.documents-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.documents-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.document-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid #667eea;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
}

.document-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Responsive Design for Documents */
@media (max-width: 768px) {
    .documents-content {
        padding: 0 1rem;
    }

    .documents-content p {
        font-size: 1.1rem;
    }
}

/* Requisites */
.requisites {
    background: white;
    padding: 4rem 0;
}

.requisites-table-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.requisites-table {
    width: 100%;
    border-collapse: collapse;
}

.requisites-table tbody tr {
    border-bottom: 1px solid #e9ecef;
}

.requisites-table tbody tr:last-child {
    border-bottom: none;
}

.requisites-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.requisites-table td {
    padding: 1.5rem 2rem;
    vertical-align: top;
}

.requisites-table .label {
    font-weight: 600;
    color: #333;
    width: 35%;
    background-color: #667eea;
    color: white;
    border-right: 1px solid #5a6fd8;
}

.requisites-table .value {
    color: #666;
    line-height: 1.6;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

/* Responsive Design for Requisites */
@media (max-width: 768px) {
    .requisites-table-container {
        margin: 0 1rem;
        border-radius: 10px;
    }

    .requisites-table td {
        padding: 1rem;
    }

    .requisites-table .label {
        width: 40%;
        font-size: 0.9rem;
    }

    .requisites-table .value {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .requisites-table {
        font-size: 0.8rem;
    }

    .requisites-table td {
        padding: 0.75rem;
    }

    .requisites-table .label {
        width: 45%;
    }
}

/* Smooth transitions between sections */
.smooth-transition {
    position: relative;
    overflow: hidden;
}

.smooth-transition::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(248,249,250,0) 0%, rgba(248,249,250,0.8) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.smooth-transition.white-bg::before {
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 100%);
}

/* Staggered animations for grid items */
.stagger-animation > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stagger-animation.animate-in > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-animation.animate-in > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-animation.animate-in > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-animation.animate-in > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-animation.animate-in > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-animation.animate-in > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-animation.animate-in > * {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ */
.faq {
    background: white;
}

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

.faq-item {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
}

.faq-answer {
    padding: 1.5rem;
    background: white;
    display: none;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Policy Page Styles */
.policy-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.policy-intro {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in .policy-intro {
    opacity: 1;
    transform: translateY(0);
}

.policy-intro p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.policy-intro p:last-child {
    margin-bottom: 0;
}

.policy-sections {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.policy-section {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.policy-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.policy-section h2 {
    color: #2c5282;
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.policy-section p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.policy-section ul {
    margin: 20px 0;
    padding-left: 20px;
    list-style: none;
}

.policy-section li {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.policy-section li:before {
    content: "\25CF";
    color: #3182ce;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.policy-section li strong {
    color: #2c5282;
    font-weight: 600;
}

@media (max-width: 768px) {
    .policy-content {
        padding: 40px 0;
    }

    .policy-intro,
    .policy-section {
        padding: 20px;
        margin-bottom: 20px;
    }

    .policy-section h2 {
        font-size: 20px;
    }

    .policy-section p,
    .policy-section li {
        font-size: 14px;
    }
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section.company-info h3 {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section.company-info p {
    color: #bdc3c7;
    line-height: 1.6;
    font-size: 0.9rem;
    text-align: justify;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffd700;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
}

/* Responsive footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section.company-info p {
        text-align: left;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
    }

    .nav.mobile-open {
        display: flex;
    }

    .header-content {
        position: relative;
    }
    .search-input-group {
        flex-direction: column;
    }

    .result-content {
        grid-template-columns: 1fr;
    }

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

    .alternatives-list {
        grid-template-columns: 1fr;
    }

    .alternative-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

.nav.mobile-open {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Remove mobile logo from PC menu */
@media (min-width: 769px) {
    .mobile-logo {
        display: none !important;
    }
}

/* Wiki Block Styles */
.wiki-highlight {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-left: 4px solid #667eea;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.wiki-warning {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 77, 77, 0.1));
    border-left: 4px solid #ff6b6b;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.1);
}

.wiki-info {
    background: linear-gradient(135deg, rgba(116, 185, 255, 0.1), rgba(9, 132, 227, 0.1));
    border-left: 4px solid #74b9ff;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(116, 185, 255, 0.1);
}

/* Pagination Styles */
.pagination-section {
    padding: 3rem 0 2rem 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    margin-top: 2rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination li {
    margin: 0.25rem;
}

.pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border: 2px solid #667eea;
    border-radius: 8px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.pagination li a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #764ba2;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.pagination li.active a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #764ba2;
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.pagination li.directional a {
    min-width: 40px;
    padding: 0;
    font-size: 1.2rem;
}

.pagination li.hidden {
    display: none;
}