/* Font imports - Benzin через Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Benzin:wght@400;500;600;700&display=swap');

/* Base variables and reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --tiffany: #5ce1e65;
    --tiffany-light: #7fdbda;
    --tiffany-dark: #089c98;
    /* --tiffany-dark: #000000; */
    --dark: #1a1f2c;
    --darker: #0f131c;
    --light: #f8f9fa;
    --yellow: #e8f1f2;
    --yellow-light: #e8f1f2;
    --gray: #e2e8f0;
    --shadow: 0 4px 15px rgba(10, 186, 181, 0.15);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

body {
    background: linear-gradient(135deg, #0f131c 0%, #1a1f2c 100%);
    color: var(--light);
    font-family: Arial, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text, .nav-links a {
    font-family: 'Benzin', sans-serif;
    color: var(--yellow);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(15, 19, 28, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(10, 186, 181, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

/* Если SVG не загружается, показываем заглушку */
.logo-img[src$=".svg"] {
    min-height: 40px;
    min-width: 40px;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--yellow), #FFD43B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}

/* Запасной вариант если SVG не загрузится */
.logo:after {
    display: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--tiffany-light);
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--tiffany), var(--yellow));
    transition: var(--transition);
}

.nav-links a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--yellow);
    font-size: 1.6rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--tiffany);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: radial-gradient(circle at 20% 50%, rgba(10, 186, 181, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 234, 167, 0.05) 0%, transparent 50%),
                linear-gradient(135deg, #0f131c 0%, #1a1f2c 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--tiffany), transparent);
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.3s;
    color: var(--yellow);
    /* background: linear-gradient(45deg, var(--yellow), #FFD43B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; */
    
    
    text-shadow: 0 5px 15px rgba(255, 234, 167, 0.1);
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.6s;
    color: var(--tiffany-light);
    line-height: 1.8;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--tiffany), var(--tiffany-dark));
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Benzin', sans-serif;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--tiffany-dark), var(--tiffany));
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(10, 186, 181, 0.3);
}

.btn:hover:before {
    left: 0;
}

/* Warning Banner */
.warning-banner {
    background: linear-gradient(90deg, rgba(229, 62, 62, 0.15) 0%, rgba(229, 62, 62, 0.05) 100%);
    color: #ff6b6b;
    padding: 20px;
    text-align: center;
    font-weight: 600;
    margin: 30px 0;
    border-radius: 10px;
    border-left: 4px solid #e53e3e;
    position: relative;
    overflow: hidden;
    animation: pulse 3s infinite;
}

.warning-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e53e3e, transparent);
}

@keyframes pulse {
    0% { opacity: 0.9; }
    50% { opacity: 1; }
    100% { opacity: 0.9; }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
    padding-bottom: 15px;
    
    color: var(--yellow);
    /* background: linear-gradient(45deg, var(--yellow), #FFD43B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; */
    
    text-shadow: 0 5px 15px rgba(232, 241, 242, 0.1);
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--tiffany), var(--yellow));
    border-radius: 2px;
}

/* Comparison Section */
.comparison-section {
    background: rgba(255, 250, 230, 0.03);
    border-top: 1px solid rgba(10, 186, 181, 0.1);
    border-bottom: 1px solid rgba(10, 186, 181, 0.1);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.comparison-card {
    background: rgba(15, 19, 28, 0.7);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(10, 186, 181, 0.1);
    opacity: 0;
    transform: translateY(40px);
}

.comparison-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.comparison-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(10, 186, 181, 0.2);
    border-color: var(--tiffany);
}

/*  .comparison-img {
   height: 350px;
   overflow: hidden;
   position: relative;
} */

/* .comparison-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}  */

.comparison-img {
    height: 300px;
    display: flex; /* Добавляем */
    align-items: center; /* Центрируем по вертикали */
    justify-content: center; /* Центрируем по горизонтали */
    overflow: hidden;
    position: relative;
    background: #1a1f2c; /* Фон на случай белых полей */
}

.comparison-img img {
    width: auto; /* Автоматическая ширина */
    max-width: 100%; /* Не больше ширины контейнера */
    height: auto; /* Автоматическая высота */
    max-height: 100%; /* Не больше высоты контейнера */
    object-fit: contain; /* Показываем все изображение */
}

.comparison-card:hover .comparison-img img {
    transform: scale(1.08);
}

.comparison-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    font-family: 'Benzin', sans-serif;
}

.badge-fake {
    background: rgba(229, 62, 62, 0.9);
    color: white;
}

.badge-original {
    background: rgba(10, 186, 181, 0.9);
    color: var(--darker);
}

.comparison-content {
    padding: 25px;
}

.comparison-content h3 {
    color: var(--yellow);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.subsection-title {
    font-size: 2.2rem; /* Увеличить с 2rem */
}

@media (max-width: 768px) {
    .subsection-title {
        font-size: 1.8rem; /* Увеличить мобильную версию */
    }
}

.features-list {
    list-style: none;
    margin-top: 15px;
}

.features-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-family: Arial, sans-serif;
}

.features-list li:before {
    content: '•';
    color: var(--tiffany);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.fake-feature {
    color: #ff6b6b;
}

.original-feature {
    color: var(--tiffany-light);
}

/* Methods Section */
.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.method-card {
    background: rgba(15, 19, 28, 0.7);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid rgba(10, 186, 181, 0.1);
    opacity: 0;
    transform: translateY(30px);
}

.method-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.method-card:hover {
    border-color: var(--tiffany);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(10, 186, 181, 0.15);
}

.method-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(10, 186, 181, 0.1), rgba(255, 234, 167, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--tiffany);
}

.method-card h3 {
    color: var(--yellow);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.method-card p {
    font-family: Arial, sans-serif;
}

/* Accordion */
.accordion {
    max-width: 900px;
    margin: 40px auto 0;
}

.accordion-item {
    background: rgba(15, 19, 28, 0.7);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(10, 186, 181, 0.1);
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: rgba(10, 186, 181, 0.3);
}

.accordion-header {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    background: rgba(255, 234, 167, 0.02);
}

.accordion-header:hover {
    background: rgba(255, 234, 167, 0.05);
}

.accordion-header.active {
    background: rgba(10, 186, 181, 0.1);
}

.accordion-header span {
    font-weight: 600;
    color: var(--yellow);
    font-size: 1.1rem;
}

.accordion-header i {
    color: var(--tiffany);
    transition: var(--transition);
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
}

.accordion-content.active {
    padding: 25px;
    max-height: 1000px;
}

.accordion-content p {
    font-family: Arial, sans-serif;
}

/* Footer */
footer {
    background: rgba(10, 15, 20, 0.95);
    padding: 50px 0 20px;
    text-align: center;
    border-top: 1px solid rgba(10, 186, 181, 0.2);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Benzin', sans-serif;
    background: linear-gradient(45deg, var(--yellow), var(--tiffany-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--tiffany-light);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-family: 'Benzin', sans-serif;
}

.footer-links a:hover {
    color: var(--yellow);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: Arial, sans-serif;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 19, 28, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border-top: 1px solid rgba(10, 186, 181, 0.2);
        backdrop-filter: blur(10px);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 1.9rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 70px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 12px 25px;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
}

/* Модальное окно для изображений */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    background: rgba(15, 19, 28, 0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(10, 186, 181, 0.3);
    animation: modalAppear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: rgba(229, 62, 62, 0.2);
    border: 2px solid #e53e3e;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10001;
}

.modal-close:hover {
    background: #e53e3e;
    transform: rotate(90deg) scale(1.1);
}

.modal-image-container {
    position: relative;
    max-height: 70vh;
    overflow: hidden;
    border-radius: 10px;
}

#modalImage {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.modal-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 19, 28, 0.95) 0%, transparent 100%);
    color: white;
    padding: 25px 20px 15px;
    font-family: 'Benzin', sans-serif;
    font-size: 1.2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal-caption.show {
    opacity: 1;
    transform: translateY(0);
}

.modal-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 20px;
}

.modal-nav {
    background: rgba(10, 186, 181, 0.2);
    border: 2px solid var(--tiffany);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.modal-nav:hover {
    background: var(--tiffany);
    color: var(--darker);
    transform: scale(1.1);
}

.modal-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: rgba(10, 186, 181, 0.3);
}

.modal-nav:disabled:hover {
    background: rgba(10, 186, 181, 0.2);
    color: white;
    transform: none;
}

/* Индикатор масштаба изображения */
.modal-zoom-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-zoom-indicator.show {
    opacity: 1;
}

/* Стиль для кликабельных изображений */
.comparison-img {
    cursor: pointer;
    position: relative;
}

.comparison-img:after {
    content: '+';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 30px;
    height: 30px;
    background: rgba(10, 186, 181, 0.8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
}

.comparison-img:hover:after {
    opacity: 1;
    transform: scale(1);
}

.comparison-img:hover img {
    filter: brightness(1.05);
}

/* Адаптивность модального окна */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 95%;
        padding: 15px;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .modal-nav {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .modal-caption {
        font-size: 1rem;
        padding: 20px 15px 10px;
    }
    
    .modal-image-container {
        max-height: 60vh;
    }
    
    #modalImage {
        max-height: 60vh;
    }
}

@media (max-width: 576px) {
    .modal-content {
        padding: 10px;
    }
    
    .modal-navigation {
        margin-top: 15px;
        gap: 10px;
    }
    
    .comparison-img:after {
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }
}

/* Улучшенная загрузка изображений */
.lazy-image {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lazy-image.loaded {
    opacity: 1;
    transform: scale(1);
}

.lazy-image.error {
    opacity: 1;
    background: linear-gradient(45deg, #1a1f2c, #0f131c);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lazy-image.error:after {
    content: 'Изображение не загружено';
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
}

/* Оптимизация для мобильных устройств */
@media (max-width: 768px) {
    .comparison-img {
        height: 220px;
    }
    
    .comparison-img img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    /* Улучшаем производительность на мобильных */
    .comparison-card {
        will-change: transform;
        backface-visibility: hidden;
    }
    
    /* Более плавные анимации на мобильных */
    * {
        -webkit-tap-highlight-color: transparent;
    }
}

/* Прелоадер для изображений */
.image-loading {
    position: relative;
    background: linear-gradient(90deg, #1a1f2c 25%, #2d3748 50%, #1a1f2c 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Адаптивные изображения для разных экранов */
@media (max-width: 480px) {
    .comparison-img {
        height: 180px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .comparison-img {
        height: 280px;
    }
}