/* Responsive Design for CryptoSafeInvest */

/* Large Desktop */
@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-col:first-child {
        grid-column: span 3;
    }
}

/* Tablet Landscape */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .navlinks {
        display: none;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .lang-switch {
        margin-left: auto;
    }
    
    .hero-content h1 {
        font-size: 42px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps .step:last-child {
        grid-column: span 2;
    }
    
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platform-showcase {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-col:first-child {
        grid-column: span 2;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .steps .step:last-child {
        grid-column: auto;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-col:first-child {
        grid-column: auto;
    }
    
    .payment-methods-footer {
        flex-wrap: wrap;
    }
    
    .cookie-consent {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .sub {
        font-size: 16px;
    }
    
    .badge {
        font-size: 12px;
    }
    
    .hero-card {
        padding: 20px;
    }
    
    .market-tab {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .calculator-card {
        padding: 20px;
    }
    
    .result-value {
        font-size: 36px;
    }
    
    .back-to-top {
        bottom: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-primary);
    z-index: 999;
    padding: 20px;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu a {
    padding: 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    text-align: center;
}

.mobile-menu .btn-primary {
    color: white;
}

/* Print Styles */
@media print {
    header,
    footer,
    .hero-actions,
    .hero-card,
    .ticker,
    .cta-section,
    .back-to-top,
    .cookie-consent {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}