/* ===== Responsive Design ===== */

/* ===== Large Desktop (1440px+) ===== */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* ===== Desktop (1200px - 1439px) ===== */
@media (max-width: 1439px) {
    .container {
        max-width: 1100px;
    }
}

/* ===== Tablet Landscape (992px - 1199px) ===== */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .premium-carousel {
        max-width: 240px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.95rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .demo-showcase {
        grid-template-columns: 1fr;
    }
    
    .demo-features {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .demo-feature-item {
        flex: 1 1 calc(50% - 12px);
        min-width: 200px;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .security-content {
        grid-template-columns: 1fr;
    }
    
    .security-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .download-text {
        text-align: center;
    }
    
    .download-buttons {
        align-items: center;
    }
}

/* ===== Tablet Portrait (768px - 991px) ===== */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(15, 12, 41, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        transition: 0.3s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .security-features {
        grid-template-columns: 1fr;
    }
    
    .featured-logos {
        gap: 24px;
    }
    
    .simple-footer .container {
        gap: 12px;
    }
    
    .logo-icon-footer {
        width: 40px;
        height: 40px;
    }
}

/* ===== Mobile Landscape (576px - 767px) ===== */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .demo-tabs {
        flex-wrap: wrap;
    }
    
    .demo-tab {
        flex: 1 1 calc(50% - 8px);
        min-width: 120px;
        font-size: 0.85rem;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .stat-item {
        padding: 24px 16px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .featured-logos {
        gap: 16px;
    }
    
    .featured-logo {
        font-size: 1.2rem;
    }
    
    .security-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .download-icon {
        width: 100px;
        height: 100px;
    }
}

/* ===== Mobile Portrait (480px - 575px) ===== */
@media (max-width: 575px) {
    .container {
        max-width: 100%;
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .section-badge {
        font-size: 0.75rem;
        padding: 4px 12px;
    }
    
    .glass-card {
        padding: 24px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .demo-showcase {
        gap: 24px;
    }
    
    .feature-info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-info h3 {
        font-size: 1.25rem;
    }
    
    .feature-info p {
        font-size: 0.9rem;
    }
    
    .demo-features {
        flex-direction: column;
    }
    
    .demo-feature-item {
        flex: 1 1 100%;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .featured-logos {
        flex-direction: column;
        gap: 12px;
    }
    
    .security-shield {
        width: 150px;
        height: 150px;
        font-size: 3rem;
    }
    
    .security-item {
        flex-direction: column;
        text-align: center;
    }
    
    .security-icon {
        margin: 0 auto;
    }
    
    .download-icon {
        width: 80px;
        height: 80px;
    }
    
    .premium-carousel {
        max-width: 200px;
    }
    
    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .carousel-dots {
        gap: 6px;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
    }
    
    .carousel-dot.active {
        width: 20px;
    }
    
    .carousel-nav {
        margin-top: 16px;
        padding: 0 10px;
    }
    
    .carousel-btn {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .premium-carousel {
        max-width: 180px;
    }
    
    .logo-icon {
        width: 26px;
        height: 26px;
    }
    
    .store-badge {
        max-width: 100%;
    }
}

/* ===== Extra Small Mobile (320px - 479px) ===== */
@media (max-width: 479px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .btn-large {
        padding: 14px 28px;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .demo-tab {
        font-size: 0.75rem;
        padding: 12px;
    }
    
    .security-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .download-icon {
        width: 70px;
        height: 70px;
    }
}

/* ===== Loading States ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== High Contrast Mode ===== */
@media (prefers-contrast: high) {
    :root {
        --border-color: rgba(255, 255, 255, 0.3);
        --text-secondary: #d0d0d0;
    }
    
    .glass-card {
        border-width: 2px;
    }
    
    .btn {
        border-width: 2px;
    }
}

/* ===== Print Styles ===== */
@media print {
    .navbar,
    .hero-visual,
    .demo,
    .scroll-indicator,
    .floating-elements,
    .gradient-orb {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 0;
    }
    
    .section {
        padding: 40px 0;
        page-break-inside: avoid;
    }
    
    .glass-card {
        background: white;
        border: 1px solid #ccc;
        box-shadow: none;
    }
}
