/**
 * Landing Page Styles
 * Современный дизайн главной страницы с градиентами
 */

/* === VARIABLES === */
:root {
    --accent-primary: #3498db;
    --accent-secondary: #2980b9;
    --accent-hover: #5dade2;
    --bg-dark: #0a0a0a;
    --bg-section: #111111;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border-color: #2a2a2a;
}

[data-theme="light"] {
    --bg-dark: #ffffff;
    --bg-section: #f8f8f8;
    --text-primary: #0a0a0a;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
}

/* === GENERAL === */
body {
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

body.no-transitions * {
    transition: none !important;
}

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

/* === HEADER === */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

[data-theme="light"] .landing-header {
    background: rgba(255, 255, 255, 0.8);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 36px;
    width: 36px;
    display: block;
    flex-shrink: 0;
}

.logo-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

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

.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.user-email {
    color: var(--text-secondary);
    font-size: 14px;
}

.btn-login,
.btn-logout {
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

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

.btn-login:hover {
    transform: translateY(-2px);
    background: var(--accent-hover);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-logout {
    background: var(--bg-section);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

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

/* Hide bulky nav links on small screens to keep logo visible */
@media (max-width: 600px) {
    .main-nav .nav-link {
        display: none;
    }
}

.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.theme-toggle-btn:hover {
    border-color: var(--accent-primary);
    background: rgba(52, 152, 219, 0.1);
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
}

.theme-icon-dark {
    display: none;
}

[data-theme="dark"] .theme-icon-light {
    display: none;
}

[data-theme="dark"] .theme-icon-dark {
    display: block;
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
    background-image: url('/assets/images/hero-dark.png');
    background-image: -webkit-image-set(
        url('/assets/images/hero-dark.webp') type('image/webp'),
        url('/assets/images/hero-dark.png') type('image/png'));
    background-image: image-set(
        url('/assets/images/hero-dark.webp') type('image/webp'),
        url('/assets/images/hero-dark.png') type('image/png'));
    background-repeat: no-repeat;
    background-size: cover;
}

/*[data-theme="light"] .hero-section {
    background-image: image-set(
        url('/assets/images/hero-light.webp') type('image/webp'),
        url('/assets/images/hero-light.png') type('image/png'));
}*/

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%,
        rgba(52, 152, 219, 0.15) 0%,
        rgba(41, 128, 185, 0.1) 50%,
        transparent 100%
    );
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--accent-primary);
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: 64px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-hero-primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    background: var(--accent-hover);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.4);
}

.btn-hero-secondary {
    background: var(--bg-section);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-hero-secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(52, 152, 219, 0.1);
}

/* === PROBLEMS SECTION === */
.problems-section,
.solutions-section {
    padding: 80px 24px;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 60px;
}

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

.cards-grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.feature-card {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    text-align: center;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 64px;
    height: 64px;
    color: var(--accent-primary);
    stroke-width: 1.5;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === PLAYLISTS SECTION === */
.playlists-section {
    padding: 80px 24px;
    background: var(--bg-dark);
}

.playlists-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.playlist-card-new {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.playlist-card-new:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.playlist-cover {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.playlist-details {
    padding: 16px;
}

.playlist-title-new {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.playlist-meta {
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
}

/* === TARGET AUDIENCE === */
.audience-section {
    padding: 80px 24px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.audience-item {
    padding: 24px;
    transition: transform 0.3s ease;
}

.audience-item:hover {
    transform: scale(1.05);
}

.audience-emoji {
    font-size: 64px;
    margin-bottom: 16px;
}

.audience-title {
    font-size: 18px;
    font-weight: 600;
}

/* === PRICING === */
.pricing-section {
    padding: 80px 24px;
    background: var(--bg-section);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

@media (max-width: 480px) {
    .pricing-section { padding: 48px 16px; }
    .pricing-grid { gap: 20px; }
    .pricing-card { padding: 24px; max-width: 340px; }
}

.pricing-card.featured {
    border-color: var(--accent-primary);
    box-shadow: 0 20px 60px rgba(52, 152, 219, 0.2);
}

.pricing-card:hover {
    transform: translateY(-8px);
}

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

.pricing-title {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 16px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 8px;
}

.pricing-price span:not(.js-price) {
    font-size: 20px;
    color: var(--text-secondary);
}

.js-price {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 32px 0;
    text-align: left;
    flex: 1;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.pricing-features li:before {
    content: '✓';
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 18px;
    line-height: 1.35;
    flex: 0 0 auto;
}

.pricing-button {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--accent-primary);
    color: white;
}

.pricing-button:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

/* === HOW IT WORKS === */
.how-section {
    padding: 80px 24px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 400;
    color: white;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === FAQ === */
.faq-section {
    padding: 80px 24px;
    background: var(--bg-section);
}

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

.faq-item {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(52, 152, 219, 0.1);
}

.faq-answer {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-icon {
    transition: transform 0.3s ease;
}

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

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

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

/* === CTA BANNERS === */

/* Professional CTA Banner (Main) */
.cta-banner-professional {
    padding: 60px 24px;
}

.cta-banner-wrapper {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 32px;
    align-items: center;
    transition: all 0.3s ease;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-banner-wrapper:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.1);
}

.cta-banner-icon {
    width: 80px;
    height: 80px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-banner-icon svg {
    width: 40px;
    height: 40px;
    color: var(--accent-primary);
}

.cta-banner-text {
    flex: 1;
}

.cta-banner-heading {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--text-primary);
}

.cta-banner-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.cta-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.cta-feature svg {
    width: 16px;
    height: 16px;
    color: var(--accent-primary);
}

.cta-banner-action {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.btn-cta-professional {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--accent-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-cta-professional:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-cta-professional svg {
    width: 18px;
    height: 18px;
}

.cta-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Compact CTA Banner (Before FAQ) */
.cta-banner-compact {
    padding: 50px 24px;
}

.cta-compact-card {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.cta-compact-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.08);
}

.cta-compact-icon {
    width: 56px;
    height: 56px;
    background: rgba(52, 152, 219, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-compact-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent-primary);
}

.cta-compact-content {
    flex: 1;
}

.cta-compact-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: var(--text-primary);
}

.cta-compact-subtitle {
    font-size: 14px;
    color: var(--accent-primary);
    font-weight: 500;
    margin: 0;
}

.cta-compact-actions {
    flex-shrink: 0;
}

.btn-compact-primary {
    padding: 12px 24px;
    background: var(--accent-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-block;
}

.btn-compact-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.25);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cta-banner-professional {
        padding: 48px 24px;
    }

    .cta-banner-wrapper {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 24px;
        text-align: center;
    }

    .cta-banner-icon {
        margin: 0 auto;
    }

    .cta-features {
        justify-content: center;
        gap: 16px;
    }

    .cta-banner-action {
        align-items: center;
        width: 100%;
    }

    .btn-cta-professional {
        width: 100%;
        justify-content: center;
    }

    .cta-compact-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .btn-compact-primary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cta-banner-wrapper {
        padding: 24px 20px;
    }

    .cta-banner-icon {
        width: 64px;
        height: 64px;
    }

    .cta-banner-icon svg {
        width: 32px;
        height: 32px;
    }

    .cta-banner-heading {
        font-size: 20px;
    }

    .cta-banner-desc {
        font-size: 14px;
    }

    .cta-features {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .cta-compact-title {
        font-size: 16px;
    }
}

/* === FAQ PAGE === */
.faq-page .landing-container {
    max-width: 900px;
    padding-top: 80px;
    padding-bottom: 20px;
}

.faq-breadcrumb {
    margin-bottom: 16px;
}

.faq-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: var(--text-secondary);
}

.faq-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.faq-breadcrumb a:hover {
    color: var(--accent-primary);
}

.faq-breadcrumb-sep {
    margin: 0 2px;
}

.faq-page-header {
    text-align: center;
    margin: 20px 0 60px;
}

.faq-page-header h1 {
    font-size: 48px;
    margin: 0 0 16px;
}

.faq-page-header p {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0;
}

/* FAQ items — всегда открытые (faq.html), не путать с коллапсируемыми на index.html */
.faq-page .faq-item {
    margin-bottom: 24px;
    padding: 24px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: visible;
}

.faq-page .faq-item h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--text-primary);
}

.faq-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.faq-text strong {
    color: var(--text-primary);
}

.faq-text a {
    color: var(--accent-primary);
}

/* FAQ CTA Banner */
.faq-cta {
    margin-top: 60px;
    padding: 40px 32px;
    background: var(--accent-primary);
    border-radius: 16px;
    text-align: center;
}

.faq-cta h3 {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 600;
    color: white;
}

.faq-cta p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.9);
}

.faq-cta-btn {
    display: inline-block;
    padding: 12px 32px;
    background: white;
    color: var(--accent-primary);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .faq-page-header h1 {
        font-size: 32px;
    }

    .faq-page-header p {
        font-size: 16px;
    }

    .faq-cta {
        padding: 32px 20px;
    }
}

/* === TRIAL NOTE / BANNER === */
.hero-trial-note {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-trial-note strong {
    color: var(--accent-primary);
}

.trial-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 700px;
    margin: 0 auto 48px;
    padding: 20px 24px;
    background: rgba(52, 152, 219, 0.07);
    border: 1px solid rgba(52, 152, 219, 0.25);
    border-radius: 12px;
}

.trial-banner-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trial-banner-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent-primary);
}

.trial-banner-body strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.trial-banner-body p {
    margin: 6px 0 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 600px) {
    .trial-banner {
        padding: 16px;
        gap: 12px;
    }
}

/* === ABOUT SERVICE SECTION === */
.about-service-section {
    padding: 80px 24px;
    background: var(--bg-section);
}

.about-service-lead {
    text-align: center;
    max-width: 680px;
    margin: -24px auto 48px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.about-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 980px;
    margin: 0 auto;
}

.about-service-card {
    padding: 24px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.about-service-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.about-service-card-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-service-lead {
        font-size: 15px;
        margin-bottom: 32px;
    }
}

/* === FOOTER === */
.landing-footer {
    background: var(--bg-section);
    padding: 24px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    /*border-top: 1px solid var(--border-color);*/
    color: var(--text-secondary);
}

.footer-bottom p {
    margin: 8px 0;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }

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

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

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

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

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

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

    .user-email {
        display: none;
    }

    .nav-link {
        font-size: 14px;
    }

    .theme-toggle-btn {
        width: 36px;
        height: 36px;
    }

    .theme-toggle-btn svg {
        width: 18px;
        height: 18px;
    }

    .btn-login,
    .btn-logout {

    }
}

.article-page .landing-container {
    max-width: 780px;
    padding-top: 80px;
    padding-bottom: 20px;
}

.article-header {
    margin: 20px 0 40px;
}

.article-header h1 {
    font-size: 42px;
    line-height: 1.18;
    margin: 0 0 18px;
    text-wrap: balance;
}

.article-lead {
    font-size: 19px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 18px;
}

.article-meta {
    font-size: 14px;
    color: var(--text-tertiary);
    margin: 0;
}

.article-answer {
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-primary);
    border-radius: 12px;
    background: var(--card-bg);
    padding: 22px 24px;
    margin: 0 0 40px;
}

.article-answer h2 {
    font-size: 15px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin: 0 0 12px;
    font-weight: 600;
}

.article-answer p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.article-answer p:last-child {
    margin-bottom: 0;
}

.article-toc {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 0 0 44px;
    background: var(--bg-secondary);
}

.article-toc h2 {
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin: 0 0 12px;
    font-weight: 600;
}

.article-toc ol {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.article-toc a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15.5px;
    line-height: 1.45;
}

.article-toc a:hover {
    color: var(--accent-primary);
}

.article-body h2 {
    font-size: 27px;
    line-height: 1.25;
    margin: 52px 0 18px;
    color: var(--text-primary);
    text-wrap: balance;
    scroll-margin-top: 90px;
}

.article-body h3 {
    font-size: 20px;
    margin: 34px 0 12px;
    color: var(--text-primary);
}

.article-body p,
.article-body li {
    font-size: 17px;
    line-height: 1.68;
    color: var(--text-secondary);
}

.article-body p {
    margin: 0 0 18px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 18px;
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.article-body a {
    color: var(--accent-primary);
}

.article-note,
.article-warning {
    border-radius: 12px;
    padding: 18px 22px;
    margin: 0 0 24px;
    border: 1px solid var(--border-color);
}

.article-note {
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent-primary);
}

.article-warning {
    background: var(--bg-secondary);
    border-left: 4px solid var(--warning-color);
}

.article-note p:last-child,
.article-warning p:last-child {
    margin-bottom: 0;
}

.article-table-wrap {
    overflow-x: auto;
    margin: 0 0 24px;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15.5px;
    min-width: 480px;
}

.article-table th,
.article-table td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.5;
    color: var(--text-secondary);
    vertical-align: top;
}

.article-table th {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.article-table td strong {
    color: var(--text-primary);
}

.article-disclaimer {
    margin: 44px 0 0;
    padding-top: 22px;
    border-top: 1px solid var(--border-color);
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-tertiary);
}

.article-related {
    margin: 56px 0 0;
}

.article-related h2 {
    font-size: 22px;
    margin: 0 0 20px;
    color: var(--text-primary);
}

.article-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.article-related-card {
    display: block;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 18px 20px;
    background: var(--card-bg);
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

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

.article-related-card span {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 6px;
}

.article-related-card em {
    display: block;
    font-style: normal;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .article-page .landing-container {
        padding-top: 70px;
    }

    .article-header h1 {
        font-size: 31px;
    }

    .article-lead {
        font-size: 17px;
    }

    .article-body h2 {
        font-size: 23px;
        margin-top: 42px;
    }

    .article-body p,
    .article-body li {
        font-size: 16.5px;
    }
}
