/* myVessel Deferred Deep Linking Styles */
/* Inspired by Vessel Technologies design language */

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

:root {
    --primary-color: #000;
    --background-color: #fff;
    --text-light: #666;
    --border-light: #eee;
    --walnut: #8B6F47;
    --soft-white: #FAFAFA;
    --info-bg: #f0f7ff;
    --info-border: #b3d9ff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

header {
    padding: 30px 0;
    text-align: center;
}

.logo {
    height: 40px;
    width: auto;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

/* Loading State */
.loading {
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading p {
    color: var(--text-light);
    font-size: 16px;
}

/* App Download Content */
.app-download {
    max-width: 600px;
    width: 100%;
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.app-download h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.app-download p {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 48px;
}

.store-badges {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
}

.store-link {
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease;
}

.store-link:hover {
    transform: scale(1.05);
}

.store-badge {
    height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

/* Google Play badge needs to be larger due to padding in the image */
img[src*="google-play"].store-badge {
    height: 68px;
    max-width: 200px;
}

footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

footer p {
    color: var(--text-light);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-download h1 {
        font-size: 36px;
    }

    .app-download p {
        font-size: 18px;
    }

    .store-badges {
        flex-direction: column;
        gap: 20px;
    }

    .store-badge {
        height: 40px !important;
    }

    img[src*="google-play"].store-badge {
        height: 56px !important;
    }
}

@media (max-width: 480px) {
    header {
        padding: 20px 0;
    }

    .app-download h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .app-download p {
        font-size: 16px;
        margin-bottom: 36px;
    }

    .store-badge {
        height: 36px !important;
    }

    img[src*="google-play"].store-badge {
        height: 50px !important;
    }
}

/* Path info styling */
.path-info {
    background-color: var(--info-bg);
    border: 1px solid var(--info-border);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    text-align: center;
}

.path-info p {
    margin: 8px 0;
}

.path-info strong {
    font-family: 'Courier New', monospace;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
}