/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2E2E2E;
    background-color: #F4F3F0;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Apple-Style Navigation */
.apple-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.apple-navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.apple-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
}

.apple-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.nav-logo-img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.nav-logo-img:hover {
    transform: scale(1.1) rotate(5deg);
}

.nav-brand {
    font-size: 1.1em;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.5px;
}

.apple-nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
}

.nav-link {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00BCD4, #0097A7);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: #00BCD4;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.apple-nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.apple-nav-toggle span {
    width: 22px;
    height: 2px;
    background: #1d1d1f;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.apple-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.apple-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.apple-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(244, 243, 240, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #DAD7D2;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
}

.nav-logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.nav-title {
    font-size: 1.2em;
    font-weight: 600;
    color: #2E2E2E;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #F4F3F0 0%, #E8E6E3 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 74, 74, 0.05) 0%, transparent 70%);
    animation: fadeInUp 2s ease-out;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    padding-right: 40px;
}

.hero-title {
    font-size: 3.5em;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #2E2E2E 0%, #4A4A4A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3em;
    color: #4A4A4A;
    margin-bottom: 30px;
    line-height: 1.5;
    animation: slideInRight 1s ease-out 0.3s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #00BCD4 0%, #0097A7 100%);
    color: #FFFFFF;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.2em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.4);
    cursor: pointer;
    position: relative;
    z-index: 10;
    text-decoration: none;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0097A7 0%, #00838F 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 188, 212, 0.6);
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.5);
}

.btn-primary i {
    font-size: 1.3em;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

.btn-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

.hero-visual {
    text-align: center;
}

/* About App Section */
.about-app {
    padding: 100px 0;
    background: #FFFFFF;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    text-align: center;
}

.app-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.app-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.about-content h2 {
    font-size: 2.5em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2E2E2E;
}

.about-content p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #4A4A4A;
    margin-bottom: 15px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #F4F3F0;
}

.section-title {
    font-size: 2.5em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    color: #2E2E2E;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #DAD7D2;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.feature-card:nth-child(1):hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 188, 212, 0.3);
    border-color: #00BCD4;
    background: linear-gradient(135deg, #FFFFFF 0%, #E0F7FA 100%);
}

.feature-card:nth-child(1):hover .feature-icon {
    color: #00BCD4;
}

.feature-card:nth-child(2):hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(76, 175, 80, 0.3);
    border-color: #4CAF50;
    background: linear-gradient(135deg, #FFFFFF 0%, #E8F5E8 100%);
}

.feature-card:nth-child(2):hover .feature-icon {
    color: #4CAF50;
}

.feature-card:nth-child(3):hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 217, 61, 0.3);
    border-color: #FFD93D;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF8DC 100%);
}

.feature-card:nth-child(3):hover .feature-icon {
    color: #FFD93D;
}

.feature-card:nth-child(4):hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.3);
    border-color: #FF6B35;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFE0B2 100%);
}

.feature-card:nth-child(4):hover .feature-icon {
    color: #FF6B35;
}

.feature-icon {
    font-size: 3em;
    color: #2E2E2E;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.feature-card h3 {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2E2E2E;
}

.feature-card p {
    color: #4A4A4A;
    line-height: 1.6;
}

/* Mission Vision Section */
.mission-vision {
    padding: 100px 0;
    background: #FFFFFF;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.mv-card {
    text-align: center;
    padding: 40px;
    transition: all 0.3s ease;
}

.mv-card:nth-child(1):hover {
    transform: translateY(-5px);
    border: 2px solid #00BCD4;
    border-radius: 15px;
    background: linear-gradient(135deg, #FFFFFF 0%, #E0F7FA 100%);
}

.mv-card:nth-child(2):hover {
    transform: translateY(-5px);
    border: 2px solid #4CAF50;
    border-radius: 15px;
    background: linear-gradient(135deg, #FFFFFF 0%, #E8F5E8 100%);
}

.mv-icon {
    font-size: 4em;
    color: #2E2E2E;
    margin-bottom: 30px;
}

.mv-card h3 {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2E2E2E;
}

.mv-card p {
    font-size: 1.1em;
    color: #4A4A4A;
    line-height: 1.7;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: #2E2E2E;
    color: #F4F3F0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5em;
    font-weight: 600;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #DAD7D2;
}

.btn-secondary {
    display: inline-block;
    padding: 16px 32px;
    background: #4CAF50;
    color: #F4F3F0;
    text-decoration: none;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-secondary:hover {
    background: #388E3C;
    border-color: #388E3C;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: linear-gradient(135deg, #F4F3F0 0%, #E8E6E3 50%, #DAD7D2 100%);
    position: relative;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(46,46,46,0.05)"/></svg>') repeat;
    opacity: 0.3;
}

.benefits .container {
    position: relative;
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.benefit-item {
    text-align: center;
    padding: 30px;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #DAD7D2;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.4s; }
.benefit-item:nth-child(4) { animation-delay: 0.6s; }

.benefit-item:nth-child(1):hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(236, 72, 153, 0.3);
    border-color: #EC4899;
    background: linear-gradient(135deg, #FFFFFF 0%, #FCE7F3 100%);
}

.benefit-item:nth-child(2):hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 188, 212, 0.3);
    border-color: #00BCD4;
    background: linear-gradient(135deg, #FFFFFF 0%, #E0F7FA 100%);
}

.benefit-item:nth-child(3):hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(76, 175, 80, 0.3);
    border-color: #4CAF50;
    background: linear-gradient(135deg, #FFFFFF 0%, #E8F5E8 100%);
}

.benefit-item:nth-child(4):hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.3);
    border-color: #FFC107;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF8E1 100%);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00BCD4 0%, #0097A7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #F4F3F0;
    font-size: 2em;
    transition: all 0.3s ease;
}

.benefit-item:nth-child(2) .benefit-icon,
.benefit-item:nth-child(4) .benefit-icon {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.4);
}

.benefit-item:nth-child(2):hover .benefit-icon,
.benefit-item:nth-child(4):hover .benefit-icon {
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.benefit-item h4 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2E2E2E;
}

.benefit-item p {
    color: #4A4A4A;
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: #DAD7D2;
    color: #2E2E2E;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-logo {
    width: 50px;
    height: auto;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid #4A4A4A;
    padding-top: 20px;
    text-align: center;
    color: #4A4A4A;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0;
}

.modal-content {
    background-color: #FFFFFF;
    margin: 50px auto;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
}

.modal-content.install-modal {
    max-width: 700px;
    text-align: left;
    margin: 30px auto;
    padding: 40px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}

.install-modal h2 {
    text-align: center;
    font-size: 2em;
    color: #2E2E2E;
    margin-bottom: 30px;
}

.install-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #F4F3F0;
    border-radius: 12px;
    border-left: 4px solid #00BCD4;
}

.install-step:hover {
    background: #E8E6E3;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00BCD4 0%, #0097A7 100%);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2em;
}

.step-content h3 {
    font-size: 1.3em;
    color: #2E2E2E;
    margin-bottom: 10px;
}

.step-content p {
    color: #4A4A4A;
    line-height: 1.6;
    margin-bottom: 10px;
}

.step-content ul {
    margin-left: 20px;
    color: #4A4A4A;
    line-height: 1.8;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #00BCD4 0%, #0097A7 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin: 15px 0;
}

.btn-download:hover {
    background: linear-gradient(135deg, #0097A7 0%, #00838F 100%);
}

.warning-text {
    background: #FFF3CD;
    border-left: 4px solid #FFD93D;
    padding: 12px;
    margin-top: 10px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #856404;
}

.warning-text i {
    margin-right: 8px;
}

.info-text {
    background: #D1ECF1;
    border-left: 4px solid #00BCD4;
    padding: 12px;
    margin-top: 10px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #0C5460;
}

.info-text i {
    margin-right: 8px;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    color: #4A4A4A;
    line-height: 1;
    z-index: 10;
}

.close:hover {
    color: #FF6B35;
}

.modal h2 {
    margin-bottom: 15px;
    color: #2E2E2E;
}

.modal p {
    margin-bottom: 20px;
    color: #4A4A4A;
}

/* Legal Page */
.legal-page {
    padding: 120px 0 60px;
    background: #F4F3F0;
    min-height: 100vh;
}

.legal-page h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #2E2E2E;
    text-align: center;
}

.legal-page > .container > p {
    text-align: center;
    font-size: 1.1em;
    color: #4A4A4A;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 2em;
    margin: 40px 0 20px;
    color: #2E2E2E;
    padding-bottom: 10px;
}

.privacy-page .legal-content h2 {
    border-bottom: 2px solid #FF6B35;
}

.terms-page .legal-content h2 {
    border-bottom: 2px solid #FFD93D;
}

.legal-content h3 {
    font-size: 1.5em;
    margin: 30px 0 15px;
    color: #2E2E2E;
}

.legal-content p {
    line-height: 1.7;
    color: #4A4A4A;
    margin-bottom: 15px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.legal-table th,
.legal-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #DAD7D2;
}

.legal-table th {
    background: #FF6B35;
    color: #FFFFFF;
    font-weight: 600;
}

.legal-table tr:nth-child(even) {
    background: #F8F9FA;
}

.back-link {
    text-align: center;
    margin-top: 40px;
}

.back-link a {
    color: #00BCD4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.privacy-page .back-link a:hover {
    color: #FF6B35;
}

.terms-page .back-link a:hover {
    color: #FFD93D;
}

/* Footer Updates */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2E2E2E;
}

.footer-section p,
.footer-section a {
    color: #4A4A4A;
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: #00BCD4;
}

/* Responsive */
@media (max-width: 1024px) {
    .modal-content.install-modal {
        max-width: 90%;
        padding: 35px 25px;
    }

    .install-modal h2 {
        font-size: 1.8em;
    }

    .install-step {
        gap: 18px;
        padding: 18px;
    }

    .step-content h3 {
        font-size: 1.2em;
    }

    .step-content p,
    .step-content ul {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .apple-nav-container {
        height: 56px;
    }

    .apple-nav-toggle {
        display: flex;
    }

    .apple-nav-menu {
        position: fixed;
        top: 56px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .apple-nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .apple-nav-menu li {
        padding: 0;
    }

    .nav-link {
        display: block;
        padding: 15px 30px;
        font-size: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(0, 188, 212, 0.05);
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-title {
        font-size: 2.5em;
    }

    .mv-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .about-image {
        order: 2;
    }

    .about-content {
        order: 1;
    }

    .legal-page {
        padding: 80px 0 40px;
    }

    .legal-page h1 {
        font-size: 2em;
    }

    .legal-content h2 {
        font-size: 1.8em;
    }

    .legal-content h3 {
        font-size: 1.3em;
    }

    .legal-table {
        font-size: 0.9em;
    }

    .legal-table th,
    .legal-table td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .apple-nav-container {
        height: 52px;
        padding: 0 15px;
    }

    .nav-logo-img {
        width: 28px;
        height: 28px;
    }

    .nav-brand {
        font-size: 1em;
    }

    .apple-nav-menu {
        top: 52px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2.2em;
    }

    .hero-subtitle {
        font-size: 1.1em;
    }

    .btn-primary {
        width: 100%;
        padding: 16px 20px;
        font-size: 1.1em;
    }

    .btn-primary i {
        font-size: 1.2em;
    }

    .app-image {
        width: 80%;
        max-width: 300px;
    }

    .section-title {
        font-size: 2em;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .feature-card h3 {
        font-size: 1.3em;
    }

    .mv-card {
        padding: 30px 20px;
    }

    .mv-card h3 {
        font-size: 1.6em;
    }

    .benefit-item {
        padding: 20px;
    }

    .benefit-item h4 {
        font-size: 1.2em;
    }

    .cta h2 {
        font-size: 2em;
    }

    .cta p {
        font-size: 1.1em;
    }

    .btn-secondary {
        width: 100%;
        padding: 14px 20px;
        font-size: 1em;
    }

    .modal {
        padding: 5px 0;
    }

    .modal-content {
        width: 96%;
        margin: 15px auto;
        padding: 12px;
    }

    .modal-content.install-modal {
        margin: 10px auto;
        padding: 20px 15px;
        max-height: calc(100vh - 20px);
        width: 96%;
    }

    .install-modal h2 {
        font-size: 1.4em;
        margin-bottom: 20px;
        padding-right: 30px;
    }

    .install-step {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
        margin-bottom: 15px;
    }

    .install-step:hover {
        transform: translateX(0);
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.95em;
    }

    .step-content h3 {
        font-size: 1.05em;
    }

    .step-content p {
        font-size: 0.9em;
    }

    .step-content ul {
        font-size: 0.9em;
        margin-left: 12px;
    }

    .btn-download {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
        font-size: 0.95em;
    }

    .warning-text,
    .info-text {
        font-size: 0.82em;
        padding: 8px;
    }

    .close {
        top: 8px;
        right: 12px;
        font-size: 26px;
    }

    .modal h2 {
        font-size: 1.4em;
    }
}

@media (max-width: 380px) {
    .modal-content.install-modal {
        padding: 15px 10px;
        width: 98%;
    }

    .install-modal h2 {
        font-size: 1.25em;
    }

    .install-step {
        padding: 10px;
        gap: 10px;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.9em;
    }

    .step-content h3 {
        font-size: 1em;
    }

    .step-content p,
    .step-content ul {
        font-size: 0.85em;
    }

    .warning-text,
    .info-text {
        font-size: 0.78em;
        padding: 6px;
    }

    .close {
        font-size: 24px;
        top: 6px;
        right: 10px;
    }
}
