/* css/preview.css */

.preview-main {
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-section {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(93, 93, 255, 0.1), rgba(157, 78, 221, 0.1));
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.hero-section h1 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.preview-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.preview-card:hover {
    transform: translateY(-5px);
}

.preview-card h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Функции трекера */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.feature-item {
    background: rgba(30, 30, 47, 0.5);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(93, 93, 255, 0.15);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: white;
}

/* Скриншоты */
.screenshots-section {
    background: linear-gradient(135deg, rgba(25, 25, 40, 0.7), rgba(35, 35, 55, 0.7));
    border: 1px solid rgba(93, 93, 255, 0.3);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.screenshot-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.03);
}

.screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    border: 3px solid var(--border-color);
}

.screenshot-caption {
    padding: 12px;
    background: var(--card-bg);
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: center;
}

/* Telegram */
.telegram-section {
    background: linear-gradient(135deg, rgba(30, 30, 47, 0.7), rgba(40, 40, 60, 0.7));
    border: 1px solid rgba(157, 78, 221, 0.3);
}

.telegram-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.telegram-description p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.telegram-features {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.telegram-features li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.5;
}

.telegram-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    background: rgba(76, 217, 100, 0.15);
    color: #4cd964;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.telegram-instruction {
    background: rgba(93, 93, 255, 0.1);
    padding: 16px;
    border-radius: 10px;
    margin-top: 20px;
    font-style: italic;
    color: var(--text-secondary);
}

.telegram-bot {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.telegram-img {
    width: 100%;
    max-width: 350px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
    border: 2px solid var(--border-color);
}

.telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    color: white !important;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(93, 93, 255, 0.3);
    transition: all 0.3s ease;
}

.telegram-link svg {
    width: 24px;
    height: 24px;
}

.telegram-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(93, 93, 255, 0.4);
}

/* Призыв к действию */
.cta-section {
    background: linear-gradient(135deg, rgba(93, 93, 255, 0.15), rgba(157, 78, 221, 0.15));
    border: 1px solid rgba(93, 93, 255, 0.4);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.benefits-list {
    list-style: none;
    padding-left: 0;
    margin: 30px 0;
    text-align: left;
}

.benefits-list li {
    padding: 12px 0 12px 40px;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.5;
}

.benefits-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 24px;
    height: 24px;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    border-radius: 6px;
    transform: rotate(45deg);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.large-btn {
    padding: 14px 32px;
    font-size: 1.1rem;
}

/* Адаптив */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .preview-card {
        padding: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid,
    .screenshots-grid,
    .telegram-content {
        grid-template-columns: 1fr;
    }
}

/* Кнопки (переиспользуем из style.css) */
.btn-primary {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(93, 93, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(93, 93, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid var(--border-color);
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-light);
}