/* landing.css - полный редизайн в стиле конструктора */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    min-height: 100vh;
    line-height: 1.5;
    margin: 0 0 80px;
}

/* Навигация */
.nav {
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #4CAF50;
}

.highlight{
    font-size: 24px;
    font-weight: 700;
    color: #4CAF50;
}

.nav-btn {
    background: rgba(76,175,80,0.2);
    color: #4CAF50;
    border: 2px solid #4CAF50;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.nav-btn:hover {
    background: #4CAF50;
    color: white;
    transform: scale(1.05);
}

/* Главный экран */
.hero {
    min-height: 8vh;
    display: flex;
    align-items: center;
    padding: 40px 20px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

.highlight {
    color: #4CAF50;
    text-shadow: 0 0 30px rgba(76,175,80,0.5);
}

.hero-subtitle {
    font-size: clamp(20px, 4vw, 28px);
    color: #ccc;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-bottom: 60px;
}

.btn-primary {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 20px 50px;
    font-size: 24px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(76,175,80,0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(76,175,80,0.5);
}

.hero-example {
    background: rgba(255,255,255,0.03);
    border-radius: 30px;
    padding: 30px;
    border: 1px solid #333;
    max-width: 500px;
    margin: 0 auto;
}

.example-label {
    color: #888;
    margin-bottom: 15px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.example-bubble {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 28px;
    font-weight: 600;
}

.arrow {
    color: #4CAF50;
    font-size: 32px;
}

/* Секция правды */
.truth {
    padding: 100px 20px;
    background: rgba(0,0,0,0.3);
}

.section-title {
    text-align: center;
    font-size: 48px;
    margin-bottom: 60px;
    color: #4CAF50;
}

.truth-card {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-left: 4px solid #f44336;
    padding: 40px;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto 60px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.truth-text {
    font-size: 22px;
    line-height: 1.6;
    color: #ffb74d;
    font-weight: 500;
}

.truth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 60px auto;
}

.truth-point {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #333;
    transition: all 0.3s;
}

.truth-point:hover {
    transform: translateY(-10px);
    border-color: #4CAF50;
}

.truth-point.highlight {
    background: linear-gradient(145deg, #1a3a1a, #0f2a0f);
    border: 2px solid #4CAF50;
    transform: scale(1.05);
}

.truth-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.truth-point h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #4CAF50;
}

.truth-point p {
    color: #aaa;
    line-height: 1.6;
}

.truth-quote {
    text-align: center;
    font-size: 26px;
    max-width: 900px;
    margin: 80px auto 0;
    padding: 40px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 30px;
    border: 1px solid #4CAF50;
    line-height: 1.5;
}

.truth-quote strong {
    color: #4CAF50;
}

/* Примеры */
.examples {
    padding: 100px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.example-item {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
    padding: 25px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #333;
    transition: all 0.2s;
}

.example-item:hover {
    border-color: #4CAF50;
    transform: translateX(5px);
}

.example-ru {
    font-size: 20px;
    color: #ffb74d;
}

.example-en {
    font-size: 20px;
    color: #4CAF50;
    font-weight: 600;
}

/* Призыв */
.cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a2a1a, #0a1a0a);
    border-top: 1px solid #4CAF50;
    border-bottom: 1px solid #4CAF50;
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: #4CAF50;
}

.btn-cta {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 20px 60px;
    font-size: 28px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(76,175,80,0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(76,175,80,0.5);
}

/* ===== НИЖНЯЯ ПАНЕЛЬ (как в конструкторе) ===== */
.bottom-panel {
    background: rgba(0,0,0,0.98);
    backdrop-filter: blur(30px);
    border-top: 2px solid #444;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-shrink: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    line-height: 1.2;
    padding: 5px;
}

.home {
    background: rgba(76,175,80,0.3);
    color: #4CAF50;
    border: 2px solid #4CAF50;
}

.home:hover {
    background: rgba(76,175,80,0.5);
    transform: scale(1.05);
}

.settings {
    background: linear-gradient(45deg, #2196F3, #1976D2);
    color: white;
    border: 2px solid #2196F3;
}

.settings:hover {
    transform: scale(1.05);
}

.user {
    color: #ccc;
    font-size: 16px;
    background: rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
}

/* Добавляем отступ снизу для контента, чтобы не перекрывалось панелью */
.cta {
    margin-bottom: 100px;  /* чтобы контент не уходил под панель */
}

/* Стили для ссылки ID */
.user-id-link {
    color: #ccc;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
}

.user-id-link:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.02);
}

.user-id-link:active {
    transform: scale(0.98);
}

/* Анимация загрузки при задержке */
.user-id-link.loading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: #4CAF50;
    animation: loadingProgress 1.5s linear forwards;
}

@keyframes loadingProgress {
    to { width: 100%; }
}

/* Адаптация */
@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .truth-quote {
        font-size: 20px;
        padding: 30px 20px;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .example-item {
        padding: 20px;
    }
    
    .btn-primary, .btn-cta {
        padding: 15px 30px;
        font-size: 20px;
    }
    
    .truth-point.highlight {
        transform: scale(1);
    }
    .bottom-panel {
        padding: 10px 15px;
    }
    
    .btn {
        width: 60px;
        height: 60px;
        font-size: 14px;
    }
    
    .user {
        font-size: 14px;
        padding: 6px 12px;
    }

    .user-id-link {
        padding: 6px 12px;
        font-size: 14px;
    }

}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .example-bubble {
        flex-direction: column;
        gap: 10px;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
}