:root {
    --primary-color: #dc143c;
    --secondary-color: #ff4757;
    --dark-bg: #1a0000;
    --darker-bg: #2d0a0a;
    --light-bg: #fff5f5;
    --text-color: #333;
    --text-light: #666;
    --text-white: #fff;
    --warning-color: #ff6b6b;
    --success-color: #ff1744;
    --border-radius: 12px;
    --box-shadow: 0 4px 20px rgba(220,20,60,0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: linear-gradient(90deg, #1a0000 0%, #2d0a0a 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(220,20,60,0.5);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.3em;
    font-weight: bold;
    color: var(--text-white);
}

.logo img {
    height: 40px;
    width: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #ff4757;
    text-shadow: 0 0 10px rgba(255,71,87,0.5);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a0000 0%, #dc143c 50%, #ff1744 100%);
    color: var(--text-white);
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-download-btn {
    display: inline-block;
    background: #ff1744;
    color: var(--text-white);
    padding: 18px 45px;
    font-size: 1.2em;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255,23,68,0.5);
    border: 2px solid rgba(255,255,255,0.2);
}

.hero-download-btn:hover {
    background: #dc143c;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,23,68,0.7);
}

.version-badge {
    display: inline-flex;
    align-items: center;
    background: #ff1744;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: bold;
    margin-bottom: 40px;
    font-size: 1.1em;
    box-shadow: 0 4px 15px rgba(255,23,68,0.4);
}

.badge-item {
    font-size: 1em;
    letter-spacing: 0.5px;
    padding: 0 10px;
}

.badge-separator {
    opacity: 0.5;
    font-weight: 300;
    padding: 0 10px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    background: #dc143c;
    color: var(--text-white);
    padding: 22px 45px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220,20,60,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

.cta-button:hover {
    background: #ff1744;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220,20,60,0.4);
}

.cta-button:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.8em;
    line-height: 1;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.btn-main {
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.btn-sub {
    font-size: 0.75em;
    font-weight: 400;
    opacity: 0.85;
}

/* Download Section */
.download-section {
    margin: 40px 0;
    text-align: center;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section.dark {
    background: linear-gradient(180deg, #1a0000 0%, #2d0a0a 100%);
    color: var(--text-white);
}

.section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #dc143c, #ff1744);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(255,23,68,0.5);
}

.content-box {
    background: var(--text-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.section.dark .content-box {
    background: var(--darker-bg);
    color: var(--text-white);
}

.content-box p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.8;
}

/* Warning Box */
.warning-box {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
    color: #856404;
}

.warning-box.critical {
    background: #f8d7da;
    border-left-color: var(--warning-color);
    color: #721c24;
}

.warning-box strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.2em;
}

/* Specs */
.specs {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}

.section.dark .specs {
    background: rgba(255,255,255,0.05);
}

.specs h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section.dark .specs h3 {
    color: #ff4757;
}

.specs ul {
    list-style-position: inside;
    line-height: 2;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--darker-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255,23,68,0.5);
    border-color: var(--secondary-color);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #ff4757;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.feature-card p {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.screenshot-item {
    background: var(--darker-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255,23,68,0.5);
    border-color: #ff4757;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s;
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

/* Modal для просмотра скриншотов */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: zoomIn 0.3s;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(255,23,68,0.5);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10000;
}

.modal-close:hover {
    color: #ff4757;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: translate(-50%, -50%) scale(0.5); }
    to { transform: translate(-50%, -50%) scale(1); }
}

/* Crack Section */
.crack-info h3 {
    color: var(--primary-color);
    margin: 30px 0 15px;
    font-size: 1.5em;
}

.install-steps {
    list-style: none;
    counter-reset: step-counter;
}

.install-steps li {
    counter-increment: step-counter;
    margin-bottom: 30px;
    padding-left: 60px;
    position: relative;
}

.install-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: var(--text-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.install-steps strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.2em;
    margin-bottom: 8px;
}

.install-steps p {
    margin: 0;
    color: var(--text-light);
}

.repack-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.repack-features li {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--success-color);
}

.disclaimer {
    background: #e9ecef;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    font-style: italic;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--darker-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 5px solid #ff4757;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-name {
    font-weight: bold;
    color: #ff4757;
    font-size: 1.1em;
}

.rating {
    color: #ffd700;
}

.review-text {
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    margin-bottom: 15px;
}

.review-date {
    color: rgba(255,255,255,0.5);
    font-size: 0.9em;
}

/* FAQ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--text-white);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    cursor: pointer;
    background: linear-gradient(90deg, #dc143c, #ff1744);
    color: var(--text-white);
    font-weight: 600;
    font-size: 1.1em;
    transition: background 0.3s, box-shadow 0.3s;
}

.faq-question:hover {
    background: linear-gradient(90deg, #c0112f, #dc143c);
    box-shadow: 0 4px 15px rgba(220,20,60,0.4);
}

.faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--text-white);
}

.faq-answer p {
    padding: 25px;
    margin: 0;
    color: var(--text-color);
    line-height: 1.8;
}

/* Alternatives */
.alternatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.alternative-card {
    background: var(--darker-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    border-top: 4px solid #ff4757;
}

.alternative-card h3 {
    color: #ff4757;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.alt-rating {
    margin-bottom: 10px;
}

.rating-label {
    color: rgba(255,255,255,0.7);
    margin-right: 10px;
}

.rating-stars {
    color: #ffd700;
}

.alt-price {
    display: inline-block;
    background: linear-gradient(90deg, #dc143c, #ff1744);
    color: var(--text-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.alt-description {
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    margin-bottom: 20px;
}

.alt-pros-cons {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.pros, .cons {
    margin-bottom: 10px;
    color: rgba(255,255,255,0.8);
}

.pros strong {
    color: var(--success-color);
}

.cons strong {
    color: var(--warning-color);
}

.comparison-note {
    background: var(--darker-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 5px solid #ff4757;
}

.comparison-note h3 {
    color: #ff4757;
    margin-bottom: 15px;
}

.comparison-note p {
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
}

/* Contact Form */
.contact-intro {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--text-light);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #dc143c, #ff1744);
    color: var(--text-white);
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.submit-button:hover {
    background: linear-gradient(90deg, #c0112f, #dc143c);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(220,20,60,0.4);
}

/* Footer */
footer {
    background: linear-gradient(180deg, #2d0a0a 0%, #1a0000 100%);
    color: var(--text-white);
    padding: 50px 0 20px;
    border-top: 3px solid #ff1744;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #ff4757;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ff4757;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 15px;
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-subtitle {
        font-size: 1.2em;
    }

    .features-grid,
    .reviews-grid,
    .alternatives-grid {
        grid-template-columns: 1fr;
    }

    .section h2 {
        font-size: 2em;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.review-card,
.alternative-card {
    animation: fadeIn 0.5s ease-out;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}