:root {
    --drv-blue: #005A9C;
    --drv-green: #D3DB2B;
    --drv-light-blue: #0077cc;
    --drv-bg-gradient: linear-gradient(135deg, #f0f4f8 0%, #dbe9f6 100%);
    --card-bg: #ffffff;
    --text-color: #333333;
    --text-muted: #555555;
    --shadow-soft: 0 10px 30px rgba(0, 90, 156, 0.15);
    --shadow-hover: 0 15px 40px rgba(0, 90, 156, 0.25);
    --focus-outline: 3px solid #ffcc00;
}

@font-face {
    font-family: 'Barlow';
    src: url('../fonts/Barlow-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow';
    src: url('../fonts/Barlow-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Barlow', "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: var(--drv-bg-gradient);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    justify-content: center;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    background: var(--drv-blue);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
    z-index: -1;
    opacity: 0.05;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
}

.content-card {
    background-color: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    max-width: 600px;
    width: 100%;
    margin-bottom: 2rem;
    border-top: 5px solid var(--drv-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    box-shadow: var(--shadow-hover);
}

.headline-container {
    margin-bottom: 1rem;
}

.logo-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.app-icon {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 26px; 
    background: #f1f1f1;
    box-shadow: 
        0 8px 20px rgba(0, 90, 156, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.app-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(255, 255, 255, 0.2) 40%, 
        transparent 50%
    );
    transform: rotate(30deg);
    pointer-events: none;
    z-index: 2;
}

.app-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 26px 26px 100% 100% / 26px 26px 10px 10px;
    pointer-events: none;
    z-index: 2;
}

.app-icon img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    z-index: 1;
    position: relative;
}

h1 {
    font-size: 3.5rem;
    color: var(--drv-black);
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
}

p.slogan {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

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

.store-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.start-links .qr-code {
    /* safety check if I mistyped class name in head */
}

.qr-code {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    background: white;
    padding: 8px; /* Optional: adds a white frame around the QR code */
}

.store-links a {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.27), opacity 0.2s;
    opacity: 0.9;
}

.store-links a:hover {
    transform: scale(1.05);
    opacity: 1;
}

.store-links a img {
    height: 50px;
    width: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

footer {
    background-color: transparent;
    color: var(--text-muted);
    padding: 2rem;
    text-align: center;
    font-size: 0.9rem;
    margin-top: auto;
}

footer nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
    padding-bottom: 2px;
}

footer a:hover {
    color: var(--drv-blue);
}

footer a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--drv-blue);
    transition: width 0.3s ease;
}

footer a:hover::after {
    width: 100%;
}

a:focus-visible, button:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 4px;
    border-radius: 4px;
}

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

@media (max-width: 600px) {
    main {
        padding: 1rem;
    }

    .content-card {
        padding: 2rem 1.5rem;
        margin-top: 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    p.slogan {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .store-links {
        gap: 16px;
    }

    .store-links a img {
        height: 48px;
    }
}
