/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --gold: #c9a84c;
    --gold-light: #e8d48b;
    --gold-dark: #a07c2a;
    --accent-blue: #2a4a8a;
    --accent-purple: #6b3fa0;
    --accent-red: #8b2030;
    --text-primary: #e8e6e3;
    --text-secondary: #9a9a9a;
    --text-muted: #6a6a7a;
    --border: #2a2a3a;
    --glow-gold: rgba(201, 168, 76, 0.3);
    --glow-blue: rgba(42, 74, 138, 0.3);
}

/* Благородная светлая тема (Премиальный матовый кремовый и благородное золото) */
html[data-theme="light"] {
    --bg-primary: #fbf9f4;       /* Мягкий матовый крем */
    --bg-secondary: #f2ebe0;     /* Теплый пастельный беж для тулбаров */
    --bg-card: #f7f4eb;          /* Сливочно-кремовый для подложек карточек */
    --bg-card-hover: #f1ede0;
    --text-primary: #1a1816;     /* Комфортный угольно-кофейный шрифт */
    --text-secondary: #595249;   
    --text-muted: #8c8274;
    --border: #dfd8cc;           
    --glow-gold: rgba(179, 143, 46, 0.1);
    --glow-blue: rgba(42, 74, 138, 0.04);
    
    /* Системный сдвиг золотой палитры в глубокие тона для идеального чтения */
    --gold: #b38f2e;
    --gold-light: #8c6d1d;
    --gold-dark: #664d11;
}

/* Специфичные фиксы прозрачности шапки для светлой темы */
html[data-theme="light"] .header { background: rgba(244, 244, 247, 0.8) !important; }
html[data-theme="light"] .header.scrolled { background: rgba(244, 244, 247, 0.98) !important; }

/* Глобальный щит стабилизации светлой темы (защита от нечитаемого текста) */
html[data-theme="light"] body { background: var(--bg-primary) !important; color: var(--text-primary) !important; }
html[data-theme="light"] p, html[data-theme="light"] span:not(.highlight), html[data-theme="light"] li { color: var(--text-secondary) !important; }
html[data-theme="light"] h1, html[data-theme="light"] h2, html[data-theme="light"] h3, html[data-theme="light"] h4, html[data-theme="light"] h5 { color: var(--text-primary) !important; }
html[data-theme="light"] input, html[data-theme="light"] select, html[data-theme="light"] textarea { background: var(--bg-card) !important; color: var(--text-primary) !important; border-color: var(--border) !important; }
html[data-theme="light"] .srv-card, html[data-theme="light"] .pricing-card, html[data-theme="light"] .service-card, html[data-theme="light"] .whom-card, html[data-theme="light"] .advantage-card, html[data-theme="light"] .case-card, html[data-theme="light"] .stat-card, html[data-theme="light"] .wiki-cat, html[data-theme="light"] .db-item { background: var(--bg-card) !important; color: var(--text-primary) !important; border-color: var(--border) !important; }
html[data-theme="light"] .srv-toolbar, html[data-theme="light"] .db-search-input { background: var(--bg-secondary) !important; border-color: var(--border) !important; color: var(--text-primary) !important; }
html[data-theme="light"] section[style*="background"], html[data-theme="light"] div[style*="background"] { background: var(--bg-card) !important; border: 1px solid var(--border) !important; box-shadow: none !important; }
html[data-theme="light"] section[style*="background"] h1, html[data-theme="light"] section[style*="background"] h2, html[data-theme="light"] section[style*="background"] h3, html[data-theme="light"] section[style*="background"] p,
html[data-theme="light"] div[style*="background"] h1, html[data-theme="light"] div[style*="background"] h2, html[data-theme="light"] div[style*="background"] h3, html[data-theme="light"] div[style*="background"] h4, html[data-theme="light"] div[style*="background"] p, html[data-theme="light"] div[style*="background"] b { color: var(--text-primary) !important; }
html[data-theme="light"] section[style*="background"] p, html[data-theme="light"] div[style*="background"] p, html[data-theme="light"] div[style*="background"] li { color: var(--text-secondary) !important; }
html[data-theme="light"] div[style*="background: rgba(255, 255, 255, 0.01)"], html[data-theme="light"] div[style*="background:rgba(255,255,255,0.01)"] { background: var(--bg-secondary) !important; border-color: var(--border) !important; }

/* Фикс декоративных номеров карточек для премиального контраста */
html[data-theme="light"] .feature-number { color: rgba(179, 143, 46, 0.14) !important; }

/* Фикс текста кнопок, обернутого в тег span (защита от перебивания глобальным щитом локализации) */
html[data-theme="light"] .btn span, html[data-theme="light"] .srv-btn span { color: inherit !important; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img { max-width: 100%; display: block; }

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ===== PARTICLES ===== */
#particles-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== HEADER (единая шапка для всех страниц) ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: all 0.3s ease;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    height: 72px;
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--border);
    padding: 12px 0;
    height: 68px;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.35rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    margin-right: 16px;
}

.nav a {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
}

.nav a:hover {
    color: var(--gold-light);
    background: rgba(201, 168, 76, 0.05);
}

.nav a.nav-active {
    color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #0a0a0f;
    font-weight: 700;
    font-size: 0.78rem;
    border-radius: 8px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--glow-gold);
}

/* ===== MOBILE MENU TOGGLE ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 5px;
}

.menu-toggle span {
    width: 26px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    display: block;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .nav a {
        padding: 8px 10px;
        font-size: 0.78rem;
    }
    .header-cta {
        padding: 9px 16px;
        font-size: 0.72rem;
    }
    .logo-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 900px) {
    .nav {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        z-index: 1000;
        margin: 0;
    }
    .nav.active {
        display: flex;
    }
    .nav a {
        font-size: 1.1rem;
        padding: 12px 24px;
    }
    .menu-toggle {
        display: flex;
    }
    .header-cta {
        display: none;
    }
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 5px;
}

.menu-toggle span {
    width: 28px; height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    display: block;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(107, 63, 160, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(42, 74, 138, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 80%, rgba(201, 168, 76, 0.08) 0%, transparent 50%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: bgShift 60s linear infinite;
}

@keyframes bgShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 800px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--gold-light);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.hero-badge::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 900;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.highlight {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 650px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-feature svg {
    width: 18px; height: 18px;
    color: var(--gold);
    flex-shrink: 0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* Orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 400px; height: 400px;
    background: var(--accent-purple);
    top: 10%; right: 5%;
}

.hero-orb-2 {
    width: 300px; height: 300px;
    background: var(--accent-blue);
    bottom: 10%; right: 20%;
    animation-delay: 3s;
}

.hero-orb-3 {
    width: 200px; height: 200px;
    background: var(--gold-dark);
    top: 40%; right: 30%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 8px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: #0a0a0f;
    box-shadow: 0 4px 20px var(--glow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px var(--glow-gold);
}

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

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    background: rgba(201, 168, 76, 0.05);
}

.btn-full { width: 100%; }

/* ===== SECTIONS COMMON ===== */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 30px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.section-label::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.section-divider {
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

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

.stat-card:hover {
    border-color: var(--gold-dark);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.stat-number {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

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

.about-visual { position: relative; }

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(107, 63, 160, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(42, 74, 138, 0.2) 0%, transparent 60%);
}

.about-image-icon { position: relative; z-index: 1; }

.about-image-icon svg {
    width: 120px; height: 120px;
    color: var(--gold-dark);
    opacity: 0.5;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

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

.service-icon {
    width: 52px; height: 52px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: rgba(201, 168, 76, 0.15);
    border-color: rgba(201, 168, 76, 0.4);
}

.service-icon svg { width: 24px; height: 24px; color: var(--gold); }

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== FOR WHOM ===== */
.whom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.whom-card {
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
}

.whom-card:hover {
    border-color: var(--gold-dark);
    transform: translateY(-6px);
}

.whom-icon {
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    background: rgba(201, 168, 76, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whom-icon svg { width: 28px; height: 28px; color: var(--gold); }

.whom-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.whom-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== STEPS ===== */
.steps-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 32px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold-dark), var(--border), var(--gold-dark));
}

.step-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.step-item:last-child { margin-bottom: 0; }

.step-number {
    flex-shrink: 0;
    width: 64px; height: 64px;
    background: var(--bg-card);
    border: 2px solid var(--gold-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--gold);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    background: rgba(201, 168, 76, 0.1);
    box-shadow: 0 0 30px var(--glow-gold);
}

.step-content { padding-top: 12px; }

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===== ADVANTAGES ===== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.advantage-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-4px);
}

.advantage-icon {
    width: 56px; height: 56px;
    margin: 0 auto 20px;
    background: rgba(201, 168, 76, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon svg { width: 26px; height: 26px; color: var(--gold); }

.advantage-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.advantage-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== CASES ===== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.case-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-6px);
}

.case-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(107, 63, 160, 0.2), rgba(42, 74, 138, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.case-image svg {
    width: 60px; height: 60px;
    color: var(--gold-dark);
    opacity: 0.4;
}

.case-tag {
    position: absolute;
    top: 16px; left: 16px;
    padding: 4px 12px;
    background: rgba(201, 168, 76, 0.2);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.case-body { padding: 24px; }

.case-body h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.case-body p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.case-results { display: flex; gap: 20px; }
.case-result { text-align: center; }

.case-result-value {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gold);
}

.case-result-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

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

.pricing-card.featured {
    border-color: var(--gold-dark);
    background: linear-gradient(180deg, rgba(201, 168, 76, 0.05), var(--bg-card));
}

.pricing-card.featured::before {
    content: 'Популярный';
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    padding: 4px 20px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #0a0a0f;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.pricing-name {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-price {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 8px;
}

.pricing-price span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.pricing-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

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

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(42, 42, 58, 0.5);
}

.pricing-features li:last-child { border-bottom: none; }
.pricing-features li svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.pricing-features li.disabled { color: var(--text-muted); opacity: 0.5; }
.pricing-features li.disabled svg { color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover { border-color: rgba(201, 168, 76, 0.3); }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    background: var(--bg-card);
    transition: all 0.3s ease;
    gap: 16px;
}

.faq-question:hover { background: var(--bg-card-hover); }

.faq-question h3 {
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    flex: 1;
}

.faq-toggle {
    width: 32px; height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.1);
    transition: all 0.3s ease;
}

.faq-toggle svg {
    width: 16px; height: 16px;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle svg { transform: rotate(180deg); }

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

.faq-answer-content {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

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

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(107, 63, 160, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(42, 74, 138, 0.1) 0%, transparent 50%);
}

.cta-section .container { position: relative; z-index: 2; }

.cta-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta-box h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 16px;
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: 36px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group { margin-bottom: 16px; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold-dark);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.1);
}

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

/* ===== FOOTER ===== */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .logo { margin-bottom: 16px; }

.footer-about p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials { display: flex; gap: 12px; }

.footer-social {
    width: 40px; height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social:hover {
    border-color: var(--gold-dark);
    background: rgba(201, 168, 76, 0.1);
}

.footer-social svg { width: 18px; height: 18px; color: var(--text-secondary); }
.footer-social:hover svg { color: var(--gold); }

.footer-col h4 {
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid,
    .advantages-grid,
    .cases-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        z-index: 1000;
    }

    .nav.active { display: flex; }
    .nav a { font-size: 1.2rem; }
    .menu-toggle { display: flex; }
    .header-cta { display: none; }

    .services-grid,
    .advantages-grid,
    .cases-grid,
    .pricing-grid,
    .whom-grid {
        grid-template-columns: 1fr;
    }

    .about-stats { grid-template-columns: 1fr 1fr; }

    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .steps-timeline::before { left: 20px; }

    .step-number {
        width: 42px; height: 42px;
        font-size: 0.9rem;
    }

    .cta-box { padding: 40px 24px; }
    .cta-buttons { flex-direction: column; }
}

/* ===== CATALOG CTA CENTERED ===== */
.catalog-cta {
    text-align: center;
    margin-bottom: 50px;
}

.btn-large {
    padding: 18px 48px;
    font-size: 1rem;
    border-radius: 12px;
    letter-spacing: 1px;
}

/* ===== INFINITE CAROUSEL ===== */
.carousel-wrapper {
    overflow: hidden;
    position: relative;
    margin: 0 -20px;
    padding: 20px 0;
}

.carousel-wrapper::before,
.carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 3;
    pointer-events: none;
}

.carousel-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-primary), transparent);
}

.carousel-wrapper::after {
    right: 0;
    background: linear-gradient(90deg, transparent, var(--bg-primary));
}

.carousel-track {
    display: flex;
    gap: 24px;
    animation: carouselScroll 30s linear infinite;
    width: max-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes carouselScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.carousel-card {
    flex-shrink: 0;
    width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.carousel-card-image {
    height: 160px;
    background: linear-gradient(135deg, rgba(107, 63, 160, 0.15), rgba(42, 74, 138, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.carousel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-card-image .carousel-placeholder {
    color: var(--gold-dark);
    opacity: 0.3;
}

.carousel-card-image .carousel-placeholder svg {
    width: 50px;
    height: 50px;
}

.carousel-card-tags {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
}

.carousel-tag {
    padding: 3px 8px;
    background: rgba(42, 74, 138, 0.3);
    border: 1px solid rgba(42, 74, 138, 0.4);
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 600;
    color: #7aa3e8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.carousel-card-body {
    padding: 18px;
}

.carousel-card-body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carousel-card-body p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.carousel-price {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gold);
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
}

.modal-close svg {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
}

.modal-close:hover svg {
    color: var(--gold);
}

.modal-media {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, rgba(107, 63, 160, 0.15), rgba(42, 74, 138, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-media .modal-placeholder {
    color: var(--gold-dark);
    opacity: 0.3;
}

.modal-media .modal-placeholder svg {
    width: 80px;
    height: 80px;
}

.modal-tags {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
}

.modal-tag {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.modal-tag.tag-chr {
    background: rgba(42, 74, 138, 0.4);
    border: 1px solid rgba(42, 74, 138, 0.5);
    color: #7aa3e8;
}

.modal-tag.tag-cat {
    background: rgba(201, 168, 76, 0.2);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--gold-light);
}

.modal-body {
    padding: 32px;
}

.modal-body h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.modal-body .modal-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.modal-price {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
}

.modal-price span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.modal-actions {
    display: flex;
    gap: 12px;
}

/* Modal scrollbar */
.modal::-webkit-scrollbar { width: 6px; }
.modal::-webkit-scrollbar-track { background: transparent; }
.modal::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

@media (max-width: 768px) {
    .modal {
        max-height: 95vh;
        border-radius: 16px;
    }

    .modal-media { height: 220px; }

    .modal-body { padding: 24px; }

    .modal-body h2 { font-size: 1.2rem; }

    .modal-footer {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .modal-actions {
        width: 100%;
        flex-direction: column;
    }

    .modal-actions .btn { width: 100%; }

    .carousel-card { width: 260px; }
}

/* ===== FEATURES GRID (главная) ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 36px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card-wide {
    grid-column: span 2;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(0,0,0,0.3);
}

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

.feature-number {
    position: absolute;
    top: 20px; right: 24px;
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(201, 168, 76, 0.08);
    line-height: 1;
}

.feature-icon {
    width: 52px; height: 52px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg { width: 24px; height: 24px; color: var(--gold); }

.feature-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.feature-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    transition: all 0.2s;
}

.feature-link:hover {
    color: var(--gold-light);
    letter-spacing: 0.5px;
}

/* ===== CTA JOIN ===== */
.cta-join {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    padding: 60px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.cta-join::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta-join h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 16px;
}

.cta-join p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.cta-join-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ===== AD BANNER (для внутренних страниц) ===== */
.top-banner {
    width: 100% !important;
    height: 50vh !important;
    min-height: 300px !important;
    max-height: 500px;
    position: relative;
    overflow: hidden;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
}

.top-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.top-banner-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,15,0.3) 0%, rgba(10,10,15,0.8) 100%);
}

.top-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.top-banner-content .top-label {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.top-banner-content h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 8px;
}

.top-banner-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.top-banner-content .btn {
    margin-top: 16px;
}

/* Placeholder gradient for ad banner */
.top-banner-placeholder {
    background:
        radial-gradient(ellipse at 30% 50%, rgba(107, 63, 160, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 40%, rgba(42, 74, 138, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 80%, rgba(201, 168, 76, 0.2) 0%, transparent 50%),
        #1a1a2e;
}

/* ===== FOOTER NCSOFT ===== */
.footer-ncsoft {
    font-size: 0.65rem;
    color: var(--text-muted);
    opacity: 0.6;
    display: block;
    margin-top: 8px;
    text-align: center;
}

.footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 4px;
}

/* ===== NAV ACTIVE ===== */
.nav-active {
    color: var(--gold-light) !important;
}

/* ===== RESPONSIVE features ===== */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-card-wide {
        grid-column: span 1;
    }
    .cta-join {
        padding: 40px 24px;
    }
    .cta-join-buttons {
        flex-direction: column;
    }
    .cta-join-buttons .btn {
        width: 100%;
    }
    .top-banner {
        height: 40vh;
        min-height: 250px;
        background-attachment: scroll;
    }
    .top-banner-bg {
        background-attachment: scroll;
    }
}

/* ===== PAGE PLACEHOLDER ===== */
.page-placeholder {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-placeholder h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-placeholder p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}