/**
 * Основные стили для лендинга ZONAKINO
 * Темная тема
 */


/* CSS Variables */

:root {
    --bg-primary: #1F1F1F;
    --bg-surface: #2A2A2A;
    --color-primary: #43C54C;
    --color-primary-hover: #3AB045;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-muted: #808080;
    --color-accent: #E2A626;
    --color-error: #E24B26;
    --border-color: #3A3A3A;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
}


/* Reset & Base Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}


/* Container */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary-hover);
}

.lead {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 400;
}


/* Section */

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}


/* Header */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 6px;
    transition: var(--transition);
}

.btn-small:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}


/* Buttons */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--text-primary);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}


/* Hero Section */

.hero {
    padding: 70px 0 80px;
    background: linear-gradient(135deg, #1F1F1F 0%, #2A2A2A 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(67, 197, 76, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.hero-feature-icon {
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.app-version {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.virustotal-link {
    font-size: 0.9375rem;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.virustotal-link:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

.devices-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.device-mockup {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.device-mockup:hover {
    transform: translateY(-10px);
}

.device-screen {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.device-screen a {
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.device-screen a:hover {
    transform: scale(1.02);
}

.device-screen img {
    width: 100%;
    height: auto;
    display: block;
}


/* Phone Mockup */

.device-phone .device-screen {
    width: 200px;
    border-radius: 25px;
    padding: 8px;
    background: linear-gradient(135deg, #2A2A2A 0%, #1F1F1F 100%);
    border: 3px solid var(--border-color);
}

.device-phone .device-screen img {
    border-radius: 18px;
}


/* Tablet Mockup */

.device-tablet .device-screen {
    width: 300px;
    border-radius: 20px;
    padding: 10px;
    background: linear-gradient(135deg, #2A2A2A 0%, #1F1F1F 100%);
    border: 4px solid var(--border-color);
}

.device-tablet .device-screen img {
    border-radius: 12px;
}


/* TV Mockup */

.device-tv .device-screen {
    width: 400px;
    border-radius: 15px;
    padding: 12px;
    background: linear-gradient(135deg, #2A2A2A 0%, #1F1F1F 100%);
    border: 5px solid var(--border-color);
}

.device-tv .device-screen img {
    border-radius: 8px;
}


/* Responsive adjustments */

@media (max-width: 1024px) {
    .devices-mockup {
        gap: 1.5rem;
    }
    .device-phone .device-screen {
        width: 180px;
    }
    .device-tablet .device-screen {
        width: 260px;
    }
    .device-tv .device-screen {
        width: 350px;
    }
}

@media (max-width: 768px) {
    .devices-mockup {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .device-phone .device-screen {
        width: 200px;
    }
    .device-tablet .device-screen {
        width: 280px;
    }
    .device-tv .device-screen {
        width: 320px;
    }
}


/* About Section */

.about {
    background: var(--bg-surface);
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.fact-item {
    display: flex;
    gap: 1rem;
}

.fact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fact-icon svg {
    width: 2.5rem;
    height: 2.5rem;
}

.fact-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.fact-content p {
    margin: 0;
    color: var(--text-muted);
}


/* Features Section */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 3rem;
    height: 3rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}


/* Screenshots Section */

.screenshots {
    background: var(--bg-surface);
}


/* Screenshots Tabs */

.screenshots-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.screenshots-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.screenshots-tab:hover {
    border-color: var(--color-primary);
    color: var(--text-primary);
}

.screenshots-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--text-primary);
}

.screenshots-tab .tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.screenshots-tab .tab-icon svg {
    width: 100%;
    height: 100%;
}

.screenshots-tab .tab-label {
    white-space: nowrap;
}

.screenshots-tab-content {
    display: none;
}

.screenshots-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.screenshots-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.screenshots-swiper {
    padding-bottom: 60px;
}

.screenshot-item {
    text-align: center;
    height: auto;
}

.screenshot-device {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.screenshot-device:hover {
    transform: translateY(-5px);
}

.screenshot-device a {
    display: block;
    cursor: pointer;
}

.screenshot-device img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.screenshot-caption {
    color: var(--text-secondary);
    font-size: 1.125rem;
}


/* Swiper Styles Customization */

.swiper-button-next,
.swiper-button-prev {
    color: var(--color-primary) !important;
    background: var(--bg-surface);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--bg-primary);
    border-color: var(--color-primary);
    transform: scale(1.1);
}

.swiper-pagination-bullet {
    background: var(--text-muted) !important;
    opacity: 0.5 !important;
}

.swiper-pagination-bullet-active {
    background: var(--color-primary) !important;
    opacity: 1 !important;
}


/* Fancybox Styles Customization */

.fancybox__backdrop {
    background: rgba(0, 0, 0, 0.9) !important;
}

.fancybox__toolbar {
    background: rgba(42, 42, 42, 0.9) !important;
}

.fancybox__button {
    color: var(--text-primary) !important;
    background: transparent !important;
}

.fancybox__button:hover {
    color: var(--color-primary) !important;
    background: rgba(67, 197, 76, 0.1) !important;
}

.fancybox__nav {
    --f-button-width: 50px;
    --f-button-height: 50px;
}

.fancybox__nav .fancybox__button {
    background: rgba(42, 42, 42, 0.9) !important;
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.fancybox__nav .fancybox__button:hover {
    background: rgba(67, 197, 76, 0.2) !important;
    border-color: var(--color-primary);
}

.fancybox__caption {
    background: rgba(42, 42, 42, 0.9) !important;
    color: var(--text-primary) !important;
    padding: 1rem 2rem !important;
}


/* Benefits Section */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 3.5rem;
    height: 3.5rem;
}

.benefit-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
}


/* Stats Section */

.stats {
    background: var(--bg-surface);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 3rem;
    height: 3rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.stats-platforms {
    margin-top: 2.5rem;
    padding: 1.875rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-align: center;
}

.stats-platforms h3 {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.stats-platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

.stats-platform-item {
    text-align: center;
}

.stats-platform-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 0.3rem;
}

.stats-platform-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}


/* Testimonials Section */

.testimonials-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-swiper {
    padding-bottom: 60px;
}

.testimonial-card {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    height: auto;
}

.testimonial-rating {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.testimonial-rating svg,
.testimonial-rating .rating-star {
    width: 1.25rem;
    height: 1.25rem;
    fill: var(--color-accent);
    stroke: var(--color-accent);
    flex-shrink: 0;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--text-primary);
    font-size: 1.125rem;
}

.testimonial-author span {
    color: var(--text-muted);
}


/* Download Section */

.download {
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-primary) 100%);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.download-button {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 2.5rem;
    transition: var(--transition);
    min-width: 250px;
}

.download-button:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.download-icon {
    width: 50px;
    height: 50px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.download-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.download-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.download-platform {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.download-info {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.download-info p {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.download-info ul {
    list-style: none;
    padding-left: 0;
}

.download-info li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
}

.download-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.download-size {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.download-version-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(67, 197, 76, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(67, 197, 76, 0.3);
}

.download-version-info h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--color-primary);
}

.download-version-info>div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}

.download-version-info strong {
    color: var(--text-primary);
}


/* VirusTotal Check Block */

.virustotal-check {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(67, 197, 76, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(67, 197, 76, 0.3);
}

.virustotal-check-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.virustotal-check-icon {
    width: 48px;
    height: 48px;
    background: rgba(67, 197, 76, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.virustotal-check-title {
    margin: 0 0 0.3rem 0;
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 600;
}

.virustotal-check-subtitle {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.virustotal-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.virustotal-check-card {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.virustotal-check-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.virustotal-check-platform {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.virustotal-check-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: rgba(67, 197, 76, 0.2);
    border-radius: 6px;
}

.virustotal-check-status-dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.virustotal-check-status-dot.success {
    background: #43C54C;
}

.virustotal-check-status-dot.warning {
    background: #FFA500;
}

.virustotal-check-status-dot.error {
    background: #E24B26;
}

.virustotal-check-status-dot.pending {
    background: #FFC107;
}

.virustotal-check-status-dot.info {
    background: #17A2B8;
}

.virustotal-check-status-dot.unknown {
    background: #6C757D;
}

.virustotal-check-status-text {
    font-size: 0.8125rem;
    font-weight: 500;
}

.virustotal-check-status-text.success {
    color: #43C54C;
}

.virustotal-check-status-text.warning {
    color: #FFA500;
}

.virustotal-check-status-text.error {
    color: #E24B26;
}

.virustotal-check-status-text.pending {
    color: #FFC107;
}

.virustotal-check-status-text.info {
    color: #17A2B8;
}

.virustotal-check-status-text.unknown {
    color: #6C757D;
}

.virustotal-check-stats {
    margin: 0 0 0.75rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.virustotal-check-stats strong {
    font-weight: 600;
}

.virustotal-check-stats strong.safe {
    color: #43C54C;
}

.virustotal-check-stats strong.warning {
    color: #FFA500;
}

.virustotal-check-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.virustotal-check-link:hover {
    opacity: 0.8;
}

.virustotal-check-link svg {
    width: 16px;
    height: 16px;
}

.virustotal-check-description {
    margin-top: 1.25rem;
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.6;
    font-weight: bold;
}


/* FAQ Section */

.faq {
    background: var(--bg-surface);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}


/* Contact Section */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--color-primary);
}

.contact-form {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(67, 197, 76, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none;
}

.form-message.success {
    background: rgba(67, 197, 76, 0.1);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    display: block;
}

.form-message.error {
    background: rgba(226, 75, 38, 0.1);
    border: 1px solid var(--color-error);
    color: var(--color-error);
    display: block;
}


/* Footer */

.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border-radius: 8px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--color-primary);
    color: var(--text-primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-downloads {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-download-link {
    color: var(--text-secondary);
    transition: var(--transition);
    display: inline-block;
}

.footer-download-link:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.copyright {
    color: var(--text-muted);
    margin: 0;
}


/* Main spacing */

.main {
    margin-top: 70px;
}


/* Changelog Section */

.changelog {
    padding: 5rem 0;
}

.changelog-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.changelog-tab {
    padding: 0.75rem 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.changelog-tab:hover {
    background: #3A3A3A;
    color: var(--text-primary);
}

.changelog-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--text-primary);
}

.changelog-content {
    display: none;
}

.changelog-content.active {
    display: block;
}

.changelog-list {
    max-width: 800px;
    margin: 0 auto;
}

.changelog-item {
    background: var(--bg-surface);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.changelog-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(67, 197, 76, 0.1);
}

.changelog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.changelog-version {
    flex: 1;
}

.changelog-version-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.changelog-version-number {
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 500;
}

.changelog-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.changelog-badge-major {
    background: var(--color-accent);
    color: var(--bg-primary);
}

.changelog-badge-current {
    background: var(--color-primary);
    color: var(--bg-primary);
}

.changelog-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    white-space: nowrap;
}

.changelog-description {
    color: var(--text-secondary);
    line-height: 1.8;
    white-space: pre-line;
    margin-bottom: 1rem;
}

.changelog-download {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.changelog-download-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.changelog-download-link:hover {
    background: #3AB043;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 197, 76, 0.3);
}

.changelog-file-size {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 400;
}

.changelog-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .changelog {
        padding: 3rem 0;
    }
    .changelog-tabs {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    .changelog-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    .changelog-item {
        padding: 1.5rem;
    }
    .changelog-version-title {
        font-size: 1.25rem;
    }
    .changelog-header {
        flex-direction: column;
    }
}