/* ==========================================================================
   RESET & SYSTEM STYLES (No smooth loading delay)
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Неоновая палитра: без скучного золота, максимально сочно и технологично */
    --bg-main: #0b0914;
    --bg-card: #141126;
    --neon-pink: #ff0055;
    --neon-cyan: #00f0ff;
    --neon-purple: #9d00ff;
    --text-white: #ffffff;
    --text-muted: #a5a1b8;
    /* Идеально читаемые системные шрифты, привычные пользователям в Германии */
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.main-header {
    background-color: rgba(20, 17, 38, 0.95);
    border-bottom: 2px solid var(--neon-purple);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: table;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 1px;
    float: left;
    color: var(--text-white);
}

.logo span {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
}

.nav-links {
    float: left;
    margin-left: 50px;
    margin-top: 5px;
}

.nav-links a {
    margin-right: 25px;
    font-weight: 600;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--neon-cyan);
}

.btn-cta {
    float: right;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    color: var(--text-white);
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.4);
}

.btn-cta:hover {
    box-shadow: 0 0 25px rgba(255, 0, 85, 0.7);
}

.header-container::after {
    content: "";
    clear: both;
    display: table;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 90px 20px;
    text-align: center;
    background: radial-gradient(circle at center, #25123e 0%, var(--bg-main) 70%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    background: rgba(255, 0, 85, 0.1);
    border: 1px solid var(--neon-pink);
    color: var(--neon-pink);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 25px;
}

.hero-section h1 {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.domain-text {
    color: var(--neon-cyan);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.btn-main-action {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: var(--text-white);
    padding: 15px 35px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 800;
    margin-right: 15px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.btn-main-action:hover {
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
}

.btn-secondary-action {
    background: transparent;
    color: var(--text-white);
    padding: 13px 33px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 800;
    border: 2px solid var(--neon-pink);
}

.btn-secondary-action:hover {
    background: rgba(255, 0, 85, 0.1);
}

/* ==========================================================================
   INTERACTIVE PANELS
   ========================================================================== */
.interactive-panel {
    max-width: 1200px;
    margin: -30px auto 60px auto;
    padding: 0 20px;
}

.panel-container {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-spacing: 20px 0;
}

.interactive-card {
    display: table-cell;
    background-color: var(--bg-card);
    border: 1px solid rgba(157, 0, 255, 0.3);
    border-radius: 16px;
    padding: 30px;
    vertical-align: top;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.interactive-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.interactive-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.interactive-tool {
    background: rgba(0,0,0,0.3);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid var(--neon-pink);
}

.tool-value {
    font-size: 28px;
    font-weight: 900;
    color: var(--neon-pink);
    display: block;
    margin-bottom: 10px;
}

.tool-btn {
    background: var(--neon-purple);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
}

.chart-container {
    background: rgba(0,0,0,0.3);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--neon-cyan);
}

.stat-chart {
    width: 100%;
    height: auto;
}

.chart-labels {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
}

/* ==========================================================================
   AUTOMATED SEO CONTENT CONTAINER (Авто-стилизация контента)
   ========================================================================== */
.seo-content-container {
    max-width: 800px;
    margin: 0 auto 80px auto;
    padding: 40px;
    background-color: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.seo-content-container h1 {
    font-size: 32px;
    color: var(--text-white);
    margin-bottom: 20px;
    border-left: 5px solid var(--neon-cyan);
    padding-left: 15px;
}

.seo-content-container h2 {
    font-size: 24px;
    color: var(--text-white);
    margin-top: 40px;
    margin-bottom: 15px;
    border-left: 4px solid var(--neon-pink);
    padding-left: 12px;
}

.seo-content-container h3 {
    font-size: 20px;
    color: var(--text-white);
    margin-top: 30px;
    margin-bottom: 12px;
}

.seo-content-container p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.seo-content-container ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.seo-content-container li {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 10px;
    list-style-type: square;
}

.seo-content-container li::marker {
    color: var(--neon-cyan);
}

.seo-content-container table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 15px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    overflow: hidden;
}

.seo-content-container th {
    background-color: rgba(157, 0, 255, 0.2);
    color: var(--text-white);
    text-align: left;
    padding: 14px 16px;
    font-weight: 700;
    border-bottom: 2px solid var(--neon-purple);
}

.seo-content-container td {
    padding: 14px 16px;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.seo-content-container tr:last-child td {
    border-bottom: none;
}

/* ==========================================================================
   AUTHOR SECTION
   ========================================================================== */
.author-section {
    background-color: #110e21;
    border-top: 1px solid rgba(255,0,85,0.2);
    padding: 20px 0;
}

.author-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    display: table;
    width: 100%;
}

.author-avatar-wrapper {
    display: table-cell;
    width: 120px;
    vertical-align: top;
}

.author-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--neon-pink);
}

.author-info {
    display: table-cell;
    vertical-align: top;
    padding-left: 25px;
}

.author-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.author-bio {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: #07050d;
    padding: 40px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.footer-container p {
    font-size: 13px;
    color: rgba(165, 161, 184, 0.6);
    line-height: 1.8;
}

/* ==========================================================================
   APP RESPONSIVE INTERFACE (Полная адаптивность под моб. приложения)
   ========================================================================== */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Скрытие меню для формата нативного WebView */
    
    .header-container { padding: 12px 15px; }
    .logo { font-size: 20px; }
    .btn-cta { padding: 6px 14px; font-size: 14px; }

    .hero-section { padding: 50px 15px; }
    .hero-section h1 { font-size: 28px; }
    .hero-subtitle { font-size: 15px; }
    
    .btn-main-action, .btn-secondary-action {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
        text-align: center;
    }

    .panel-container { display: block; }
    .interactive-card { display: block; width: 100%; margin-bottom: 20px; }
    .interactive-panel { margin-top: -10px; }

    .seo-content-container { padding: 20px; border-radius: 0; border-left: none; border-right: none; }
    
    /* Скролл для таблиц на маленьких экранах телефонов во избежание поломок */
    .seo-content-container table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .author-container { display: block; text-align: center; }
    .author-avatar-wrapper { display: block; width: 100%; margin-bottom: 15px; }
    .author-info { display: block; padding-left: 0; }
}