* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background: #fafafa;
    padding-bottom: 100px; /* Space for bottom nav */
}

/* Disclaimer Button (Top Right) */
.disclaimer-button-top {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #1d1d1f;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.disclaimer-button-top:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Bottom Navigation Bar */
.bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 12px 16px;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 
                0 2px 8px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.bottom-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #86868b;
    text-decoration: none;
    padding: 12px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 48px;
    min-height: 48px;
}

.bottom-nav-item svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-nav-item:hover {
    color: #1d1d1f;
    background: rgba(0, 0, 0, 0.06);
    transform: translateY(-3px) scale(1.05);
}

.bottom-nav-item:active {
    transform: translateY(-1px) scale(0.98);
}

/* Navigation - Remove old nav */
nav {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

.hero-content {
    text-align: center;
    max-width: 600px;
}

.app-icon {
    width: 180px;
    height: 180px;
    border-radius: 40px;
    margin: 0 auto 2.5rem;
    display: block;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1.5px;
    color: #1d1d1f;
    line-height: 1.1;
}

.tagline {
    font-size: 1.5rem;
    color: #6e6e73;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* Download Button */
.download-button {
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: transform 0.2s, opacity 0.2s;
}

.download-button:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.apple-badge {
    height: 50px;
    width: auto;
}

/* Old Disclaimer Button - Hidden */
.disclaimer-button {
    display: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.2s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 650px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: #1d1d1f;
}

.modal-content p {
    margin-bottom: 1rem;
    color: #1d1d1f;
    line-height: 1.7;
}

.modal-content ul {
    margin: 1.5rem 0 1.5rem 1.5rem;
    color: #1d1d1f;
}

.modal-content li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.modal-content strong {
    color: #000000;
}

.close {
    color: #86868b;
    float: right;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
}

.close:hover {
    color: #1d1d1f;
}

/* Contact Page */
.contact-container,
.content-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.contact-container h1,
.content-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.contact-container p,
.content-container p {
    color: #1d1d1f;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1d1d1f;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #06c;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    background: #06c;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.submit-button:hover {
    background: #0077ed;
}

.submit-button:disabled {
    background: #d2d2d7;
    cursor: not-allowed;
}

.form-message {
    margin-top: 1rem;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.form-message.success {
    background: #d1f4e0;
    color: #0d6832;
}

.form-message.error {
    background: #ffeaea;
    color: #c41e3a;
}

/* Content Pages */
.content-container h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: #1d1d1f;
}

.content-container h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem;
    color: #1d1d1f;
}

.content-container ul {
    margin: 1rem 0 1rem 2rem;
}

.content-container li {
    margin-bottom: 0.5rem;
    color: #1d1d1f;
}

.content-container a {
    color: #06c;
    text-decoration: none;
}

.content-container a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .app-icon {
        width: 150px;
        height: 150px;
        border-radius: 34px;
    }

    .disclaimer-button-top {
        top: 15px;
        right: 15px;
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .bottom-nav {
        bottom: 15px;
        padding: 10px 12px;
        gap: 6px;
    }

    .bottom-nav-item {
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
    }

    .bottom-nav-item svg {
        width: 22px;
        height: 22px;
    }

    .modal-content {
        padding: 1.5rem;
        margin: 10% auto;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .app-icon {
        width: 130px;
        height: 130px;
        border-radius: 30px;
    }

    h1 {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .apple-badge {
        height: 45px;
    }

    .disclaimer-button-top {
        top: 12px;
        right: 12px;
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .bottom-nav {
        bottom: 12px;
        padding: 8px 10px;
        gap: 4px;
    }

    .bottom-nav-item {
        padding: 8px;
        min-width: 40px;
        min-height: 40px;
    }

    .bottom-nav-item svg {
        width: 20px;
        height: 20px;
    }
}
