/* ===================================
   Responsive Styles
   =================================== */

/* Tablet (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-content {
        gap: var(--spacing-lg);
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .phone-screen img {
        width: 100px;
        height: 100px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-content {
        gap: var(--spacing-lg);
    }

    .image-wrapper {
        width: 250px;
        height: 250px;
    }

    .image-wrapper img {
        width: 120px;
        height: 120px;
    }
}

/* Mobile Large (600px - 768px) */
@media screen and (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }

    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--surface-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--spacing-md);
        gap: 0;
        box-shadow: var(--shadow-md);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        padding: var(--spacing-sm);
        border-bottom: 1px solid var(--divider-color);
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 120px 0 var(--spacing-2xl);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .hero-text {
        text-align: center;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-stats {
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .phone-screen img {
        width: 80px;
        height: 80px;
    }

    /* Features Section */
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .feature-card {
        padding: var(--spacing-md);
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    /* Why Choose Section */
    .why-choose-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .why-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .why-icon {
        margin-bottom: var(--spacing-xs);
    }

    .image-wrapper {
        width: 200px;
        height: 200px;
    }

    .image-wrapper img {
        width: 100px;
        height: 100px;
    }

    /* Download Section */
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-links,
    .footer-contact {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Page Header */
    .page-header {
        padding: 120px 0 var(--spacing-lg);
    }

    .page-title {
        font-size: 2rem;
    }

    /* Detailed Features */
    .feature-detail {
        padding: var(--spacing-md);
    }

    .feature-detail-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    /* Legal Content */
    .content-wrapper {
        padding: 0 var(--spacing-sm);
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .content-section h3 {
        font-size: 1.25rem;
    }
}

/* Mobile Medium (480px - 600px) */
@media screen and (max-width: 600px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-2xl: 3rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    /* Navigation */
    .logo {
        font-size: 1.25rem;
    }

    .logo img {
        width: 35px;
        height: 35px;
    }

    .lang-toggle {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }

    /* Hero Section */
    .hero {
        padding: 100px 0 var(--spacing-lg);
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: var(--spacing-md);
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
    }

    .phone-screen img {
        width: 70px;
        height: 70px;
    }

    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Sections */
    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .features,
    .why-choose,
    .download,
    .detailed-features,
    .legal-content {
        padding: var(--spacing-lg) 0;
    }

    /* Feature Cards */
    .feature-card {
        padding: var(--spacing-md);
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .feature-title {
        font-size: 1.125rem;
    }

    .feature-description {
        font-size: 0.95rem;
    }

    /* Why Choose */
    .why-icon {
        width: 35px;
        height: 35px;
        font-size: 1.125rem;
    }

    .why-content h4 {
        font-size: 1rem;
    }

    .why-content p {
        font-size: 0.9rem;
    }

    /* Download Section */
    .download-btn {
        padding: 0.875rem 1.5rem;
    }

    .download-btn i {
        font-size: 1.75rem;
    }

    .download-label {
        font-size: 0.7rem;
    }

    .download-store {
        font-size: 1rem;
    }

    /* Footer */
    .footer {
        padding: var(--spacing-lg) 0 var(--spacing-sm);
    }

    .footer-logo {
        font-size: 1.25rem;
    }

    .footer-logo img {
        width: 35px;
        height: 35px;
    }

    .footer-title {
        font-size: 1rem;
    }

    .footer-description,
    .footer-links,
    .footer-contact {
        font-size: 0.9rem;
    }

    /* Feature Detail */
    .feature-detail-icon {
        width: 50px;
        height: 50px;
        font-size: 1.75rem;
    }

    .feature-detail h2 {
        font-size: 1.5rem;
    }

    .feature-detail h3 {
        font-size: 1.125rem;
    }
}

/* Mobile Small (< 480px) */
@media screen and (max-width: 480px) {
    :root {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    /* Navigation */
    .logo {
        font-size: 1.125rem;
    }

    .logo img {
        width: 32px;
        height: 32px;
    }

    .nav-wrapper {
        padding: 0.75rem 0;
    }

    /* Hero */
    .hero {
        padding: 90px 0 var(--spacing-md);
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons {
        gap: var(--spacing-sm);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .phone-mockup {
        width: 180px;
        height: 360px;
        padding: 12px;
        border-radius: 35px;
    }

    .phone-screen {
        border-radius: 25px;
    }

    .phone-screen img {
        width: 60px;
        height: 60px;
    }

    /* Sections */
    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Feature Cards */
    .feature-card {
        padding: var(--spacing-sm);
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }

    /* Why Choose */
    .image-wrapper {
        width: 180px;
        height: 180px;
    }

    .image-wrapper img {
        width: 90px;
        height: 90px;
    }

    /* Page Header */
    .page-header {
        padding: 100px 0 var(--spacing-md);
    }

    .page-title {
        font-size: 1.75rem;
    }

    /* Legal Content */
    .content-section h2 {
        font-size: 1.375rem;
    }

    .content-section h3 {
        font-size: 1.125rem;
    }

    .content-section ul li {
        padding: 0.4rem 0 0.4rem 1.5rem;
        font-size: 0.9rem;
    }

    .content-section ul li:before {
        font-size: 1.25rem;
    }

    .warning-box {
        padding: var(--spacing-sm);
        font-size: 0.9rem;
    }

    /* Footer */
    .footer-content {
        gap: var(--spacing-md);
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* Landscape Mobile */
@media screen and (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 var(--spacing-lg);
    }

    .phone-mockup {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 100px 0 var(--spacing-md);
    }
}

/* High Resolution Displays */
@media screen and (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .phone-mockup {
        width: 350px;
        height: 700px;
    }

    .phone-screen img {
        width: 140px;
        height: 140px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .download,
    .footer,
    .mobile-menu-toggle,
    .lang-toggle {
        display: none;
    }

    body {
        background: white;
    }

    .hero {
        min-height: auto;
        padding: var(--spacing-md) 0;
    }

    .page-header {
        background: white;
        color: var(--text-primary);
        padding: var(--spacing-md) 0;
    }

    .page-title {
        color: var(--text-primary);
    }

    a {
        color: var(--text-primary);
        text-decoration: underline;
    }

    .feature-card,
    .feature-detail {
        box-shadow: none;
        border: 1px solid var(--border-color);
        page-break-inside: avoid;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    /* Uncomment to enable dark mode support
    :root {
        --bg-gradient-start: #1a1a2e;
        --bg-gradient-end: #16213e;
        --text-primary: #f5f5f5;
        --text-secondary: #b8b8b8;
        --text-light: #888888;
        --surface-bg: rgba(30, 30, 45, 0.96);
        --card-bg: #1e1e2e;
        --border-color: #3a3a55;
        --divider-color: #2a2a3e;
    }

    body {
        background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    }
    */
}
