/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                 Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #0f1b2d;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== FULL-PAGE CENTERED LAYOUT ===== */
.page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Subtle radial glow behind the icon area */
.page-wrapper::before {
    content: '';
    position: absolute;
    top: 45%;
    left: 38%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(43, 94, 153, 0.25) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

/* ===== HERO SECTION ===== */
.hero {
    display: flex;
    align-items: center;
    gap: 56px;
    padding: 40px;
    max-width: 880px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* ===== APP ICON ===== */
.app-icon-wrapper {
    flex-shrink: 0;
    position: relative;
}

/* Soft glow around the icon */
.app-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: radial-gradient(
        circle,
        rgba(43, 94, 153, 0.35) 0%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
}

.app-icon {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Replace the placeholder with your real icon image */
.app-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.app-icon-placeholder {
    font-size: 80px;
    line-height: 1;
}

/* ===== TEXT CONTENT ===== */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.app-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 76px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -2.5px;
    line-height: 1.05;
}

.app-tagline {
    font-size: 19px;
    font-weight: 400;
    color: rgba(180, 200, 220, 0.75);
    line-height: 1.55;
    max-width: 380px;
}

/* ===== CTA BUTTONS ===== */
.cta-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.1px;
    transition: background-color 0.2s ease, border-color 0.2s ease,
                transform 0.15s ease;
}

.btn-contact:hover {
    background-color: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

/* App Store button */
.btn-appstore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    border-radius: 10px;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.btn-appstore:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.btn-appstore svg {
    width: 28px;
    height: 28px;
}

.btn-appstore .btn-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.btn-appstore .btn-text-small {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.btn-appstore .btn-text-large {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

/* Secondary outline button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background-color: transparent;
    color: #b0b0b0;
    text-decoration: none;
    border: 1px solid #3a3a3c;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.1px;
    transition: border-color 0.2s ease, color 0.2s ease,
                transform 0.15s ease;
}

.btn-secondary:hover {
    border-color: #636366;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-secondary svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ===== FOOTER ===== */
.footer {
    padding: 28px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    position: relative;
    z-index: 1;
}

.footer span {
    color: rgba(180, 200, 220, 0.4);
    font-size: 14px;
    font-weight: 400;
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    padding: 20px 32px;
    z-index: 10;
}

.nav a {
    color: rgba(180, 200, 220, 0.4);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: rgba(180, 200, 220, 0.8);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-icon-wrapper {
    animation: fadeUp 0.8s ease-out both;
}

.app-title {
    animation: fadeUp 0.8s ease-out 0.15s both;
}

.app-tagline {
    animation: fadeUp 0.8s ease-out 0.3s both;
}

.nav {
    animation: fadeUp 0.6s ease-out 0.5s both;
}

.footer {
    animation: fadeUp 0.6s ease-out 0.5s both;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 28px;
        padding: 40px 24px;
    }

    .page-wrapper::before {
        top: 35%;
        left: 50%;
    }

    .app-title {
        font-size: 52px;
    }

    .app-tagline {
        margin: 0 auto;
    }

    .cta-buttons {
        justify-content: center;
    }

    .app-icon {
        width: 160px;
        height: 160px;
        border-radius: 50%;
    }

    .app-icon img {
        border-radius: 50%;
    }
}

@media (max-width: 480px) {
    .app-title {
        font-size: 40px;
    }

    .app-tagline {
        font-size: 17px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .app-icon {
        width: 130px;
        height: 130px;
        border-radius: 50%;
    }

    .app-icon img {
        border-radius: 50%;
    }
}
