/**
 * Telegram Guide Page Styles
 * All classes prefixed with "telegram-" to avoid conflicts
 * Version: 1.0
 */

/* ========================================
   MAIN SECTION
   ======================================== */
.telegram-guide-main-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 4rem 0;
    min-height: 100vh;
}

.telegram-guide-main-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   LEFT PANEL - GUIDE CONTENT
   ======================================== */
.telegram-guide-left-panel {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

.telegram-guide-header-section {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f1f5f9;
}

.telegram-guide-logo-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0088cc 0%, #005580 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 8px 30px rgba(0, 136, 204, 0.3);
}

.telegram-guide-main-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.telegram-guide-main-subtitle {
    color: #64748b;
    font-size: 1rem;
}

/* ========================================
   LANGUAGE SELECTOR
   ======================================== */
.telegram-guide-language-selector {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.5rem;
}

.telegram-guide-lang-button {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    color: #475569;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.875rem;
}

.telegram-guide-lang-button:hover {
    border-color: #0088cc;
    color: #0088cc;
    transform: translateY(-2px);
}

.telegram-guide-lang-button.active {
    background: linear-gradient(135deg, #0088cc 0%, #005580 100%);
    color: white;
    border-color: #0088cc;
}

/* ========================================
   PHONE MOCKUP
   ======================================== */
.telegram-guide-phone-mockup {
    max-width: 350px;
    margin: 2rem auto;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.telegram-guide-phone-screen {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    height: 600px;
    position: relative;
}

.telegram-guide-phone-header {
    background: #0088cc;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

/* ========================================
   STEP SCREENS
   ======================================== */
.telegram-guide-step-screen {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    background: white;
}

.telegram-guide-step-screen.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 1;
}

.telegram-guide-step-content {
    text-align: center;
    padding: 30px 20px;
}

.telegram-guide-step-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #0088cc;
    animation: telegram-guide-bounce 2s infinite;
}

@keyframes telegram-guide-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.telegram-guide-step-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 15px;
}

.telegram-guide-step-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.telegram-guide-action-button {
    background: #0088cc;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
    transition: all 0.3s;
}

.telegram-guide-action-button:hover {
    background: #006699;
    transform: translateY(-2px);
}

.telegram-guide-bot-username {
    background: #e3f2fd;
    padding: 10px 15px;
    border-radius: 8px;
    color: #0088cc;
    font-weight: bold;
    display: inline-block;
    margin: 10px 0;
    font-family: monospace;
}

.telegram-guide-share-button {
    background: #34c759;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.telegram-guide-share-button:hover {
    background: #2da84a;
}

/* ========================================
   ACCOUNT CONFIRMATION
   ======================================== */
.telegram-guide-account-card {
    background: #f8f9fa;
    border: 2px solid #0088cc;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.telegram-guide-account-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    color: #1e293b;
    font-size: 0.9rem;
}

.telegram-guide-confirm-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.telegram-guide-button-yes {
    flex: 1;
    background: #34c759;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.telegram-guide-button-yes:hover {
    background: #2da84a;
}

.telegram-guide-button-no {
    flex: 1;
    background: #ef4444;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.telegram-guide-button-no:hover {
    background: #dc2626;
}

/* ========================================
   SUCCESS STATE
   ======================================== */
.telegram-guide-success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #34c759;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: telegram-guide-scale-in 0.6s ease;
}

@keyframes telegram-guide-scale-in {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.telegram-guide-success-checkmark i {
    color: white;
    font-size: 2.5rem;
}

/* ========================================
   NAVIGATION CONTROLS
   ======================================== */
.telegram-guide-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.telegram-guide-control-button {
    background: #0088cc;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-weight: 600;
}

.telegram-guide-control-button:hover {
    background: #006699;
    transform: translateY(-2px);
}

.telegram-guide-control-button:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
}

/* ========================================
   RIGHT PANEL - BENEFITS & CTA
   ======================================== */
.telegram-guide-right-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Hero CTA Card */
.telegram-guide-hero-cta-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    padding: 3rem;
    color: white;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.telegram-guide-hero-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.telegram-guide-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.telegram-guide-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.telegram-guide-hero-description {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.telegram-guide-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.telegram-guide-button-signup {
    background: #10b981;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.telegram-guide-button-signup:hover {
    background: #059669;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.5);
    color: white;
}

.telegram-guide-button-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.telegram-guide-button-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* ========================================
   BENEFITS GRID
   ======================================== */
.telegram-guide-benefits-grid {
    display: grid;
    gap: 1.5rem;
}

.telegram-guide-benefit-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.telegram-guide-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #0088cc;
}

.telegram-guide-benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0088cc 0%, #005580 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1.5rem;
}

.telegram-guide-benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.telegram-guide-benefit-text {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   FEATURES LIST CARD
   ======================================== */
.telegram-guide-features-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.telegram-guide-features-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.telegram-guide-feature-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s;
    background: #f8fafc;
}

.telegram-guide-feature-item:hover {
    background: #e0f2fe;
    transform: translateX(5px);
}

.telegram-guide-feature-check {
    width: 24px;
    height: 24px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.telegram-guide-feature-content {
    flex: 1;
}

.telegram-guide-feature-heading {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.telegram-guide-feature-description {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* ========================================
   TRUST BADGE CARD
   ======================================== */
.telegram-guide-trust-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 16px;
    padding: 2rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.telegram-guide-trust-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1), transparent);
    pointer-events: none;
}

.telegram-guide-trust-heading {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.telegram-guide-trust-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.telegram-guide-trust-stat {
    text-align: center;
}

.telegram-guide-trust-stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #10b981;
}

.telegram-guide-trust-stat-label {
    font-size: 0.75rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .telegram-guide-main-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .telegram-guide-left-panel {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .telegram-guide-main-section {
        padding: 2rem 0;
    }
    
    .telegram-guide-main-container {
        padding: 0 1rem;
    }
    
    .telegram-guide-left-panel,
    .telegram-guide-hero-cta-card,
    .telegram-guide-benefit-card,
    .telegram-guide-features-card {
        padding: 2rem;
    }
    
    .telegram-guide-main-title {
        font-size: 1.75rem;
    }
    
    .telegram-guide-hero-title {
        font-size: 2rem;
    }
    
    .telegram-guide-phone-mockup {
        max-width: 300px;
    }
    
    .telegram-guide-phone-screen {
        height: 500px;
    }
    
    .telegram-guide-cta-buttons {
        flex-direction: column;
    }
    
    .telegram-guide-button-signup,
    .telegram-guide-button-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .telegram-guide-trust-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .telegram-guide-language-selector {
        gap: 0.375rem;
    }
    
    .telegram-guide-lang-button {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .telegram-guide-step-icon {
        font-size: 3rem;
    }
    
    .telegram-guide-step-title {
        font-size: 1.25rem;
    }
}