/* Font Definitions */
@font-face {
    font-family: 'SF-Bold';
    src: local('SF Pro Display Bold'), local('SF Pro Text Bold'), local('-apple-system'), local('BlinkMacSystemFont');
    font-weight: 800;
}

@font-face {
    font-family: 'SF-SemiBold';
    src: local('SF Pro Display Semibold'), local('SF Pro Text Semibold'), local('-apple-system'), local('BlinkMacSystemFont');
    font-weight: 700;
}

@font-face {
    font-family: 'SF-Medium';
    src: local('SF Pro Display Medium'), local('SF Pro Text Medium'), local('-apple-system'), local('BlinkMacSystemFont');
    font-weight: 500;
}

@font-face {
    font-family: 'SF-Normal';
    src: local('SF Pro Display Regular'), local('SF Pro Text Regular'), local('-apple-system'), local('BlinkMacSystemFont');
    font-weight: 400;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: SF-Normal, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    background-image: linear-gradient(90deg, #e9f1d9, #c4dbe9);
}

/* Header styles */
.top-header {
    background: transparent;
    padding: 1rem 2rem;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
}

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

/* Welcome section styles */
.welcome-section {
    background: transparent;
    padding: 2rem;
    text-align: center;
}

.welcome-content {
    max-width: 800px;
    margin: 0 auto;
}

.welcome-title {
    margin: 0px 0px 25px 0px;
    font-family: SF-Bold, sans-serif;
    color: #333;
    font-size: 38px;
    line-height: 46px;
    font-weight: bold;
}

.welcome-intro {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.download-instruction {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: -1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.download-instruction a {
    color: #007dc3;
    text-decoration: none;
}

.download-instruction a:hover {
    text-decoration: underline;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.top-message {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.app-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    align-items: center;
}

.badge {
    background: #000;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 33px;
    text-decoration: none;
    font-family: SF-Medium, sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    transition: all 200ms cubic-bezier(.075, .82, .165, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 54px;
    min-width: 180px;
    text-transform: uppercase;
    border: 1px solid #fff;
}

.badge-logo {
    height: 32px;
    width: auto;
    margin-left: 15px;
    transition: all 200ms ease;
}

.badge.google-play .badge-logo {
    margin-top: -1px;
}

.badge.app-store .badge-logo {
    margin-top: -4px;
}

.badge:hover {
    transform: scale(1.05);
}

.badge:hover .badge-logo {
    transform: scale(1.08);
}

.dialog-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    max-width: 500px;
    width: 100%;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.dialog-header {
    background: #1976d2;
    color: white;
    padding: 1rem 1.5rem;
    font-family: SF-SemiBold, sans-serif;
    font-weight: 700;
    font-size: 18px;
}

.qr-content {
    text-align: center;
    padding: 2rem;
}

.qr-code-container {
    flex-shrink: 0;
}

.qr-code {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
}

.qr-instruction {
    color: #666;
    font-size: 1rem;
    margin-top: 1.5rem;
    text-align: center;
    font-family: SF-Normal, sans-serif;
}

/* Footer styles */
.footer-dk {
    background: #333;
    color: white;
    padding: 30px 40px 20px;
    margin-top: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-full {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-full:last-child {
    border-top: 1px solid #555;
    padding-top: 1rem;
    margin-bottom: 0;
}

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

.footer-links {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-div {
    min-width: 200px;
    margin-right: 20px;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-link-dk {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: SF-Normal, sans-serif;
}

.footer-link-dk:hover {
    color: white;
}

.footer-headlink {
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
}

.footer-headlink-disabled {
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
    cursor: not-allowed;
    opacity: 0.5;
}

.footer-heading {
    color: #7CB342;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    font-family: SF-SemiBold, sans-serif;
}

.footer-heading-disabled {
    color: #666 !important;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    font-family: SF-SemiBold, sans-serif;
}

.social-block {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social img {
    width: 24px;
    height: 24px;
}

.copyright-dk {
    color: #ccc;
    font-size: 0.9rem;
    text-align: center;
    font-family: SF-Normal, sans-serif;
}

/* Logo positioning */
.mdc-logo-loginpage {
    position: absolute;
    top: 20px;
    right: 40px;
    text-decoration: none;
}

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

/* CTA Text */
.cta-text2 {
    display: inline-block;
    font-family: SF-Medium, sans-serif;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
}

/* Responsive styles */
@media (max-width: 768px) {
    .top-header {
        padding: 1rem;
    }

    .welcome-title {
        font-size: 30px;
        line-height: 38px;
    }

    .welcome-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .app-badges {
        flex-direction: column;
        align-items: center;
    }

    .badge {
        min-width: 160px;
        justify-content: center;
    }

    .dialog-container {
        margin: 1rem;
    }

    .footer-full {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-div {
        min-width: auto;
    }

    .mdc-logo-loginpage {
        position: static;
        margin-top: 20px;
        text-align: center;
        display: block;
    }
}