/* Mature Full-View Layout for QInvite Download Page */
@import url('styles.css');

.download-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
    position: relative;
    overflow-x: hidden;
}

.main-header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.download-hero {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
    z-index: 5;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    text-align: right;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-label {
    display: inline-block;
    background: rgba(100, 72, 159, 0.08);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 52px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--text-main);
    margin-bottom: 32px;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--text-sub);
    line-height: 1.7;
    margin-bottom: 48px;
    max-width: 600px;
}

.app-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-bottom: 60px;
}

.app-btn {
    background: #111;
    color: white !important;
    padding: 16px 32px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 220px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-btn:hover {
    background: #000;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.app-btn .btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.app-btn .btn-subtitle {
    font-size: 0.75rem;
    opacity: 0.6;
    font-family: var(--font-numbers);
}

.app-btn .btn-title {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-numbers);
}

.app-btn svg {
    width: 40px;
    height: 40px;
}

.hero-footer {
    display: flex;
    align-items: center;
    gap: 24px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-sub);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--primary-color);
}

/* Visual Column */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-mockup {
    position: relative;
    max-width: 450px;
    width: 100%;
}

.phone-mockup img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 50px 100px rgba(0, 0, 0, 0.12));
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 15px 25px;
    border-radius: 22px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    font-weight: 700;
    color: var(--text-main);
    z-index: 10;
    animation: float 6s infinite ease-in-out;
}

.badge-1 {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 30%;
    right: -5%;
    animation-delay: 1s;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
        rotate: 5deg;
    }

    to {
        opacity: 1;
        transform: translateX(0);
        rotate: 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}



/* Responsive refinements with clamp */
.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.download-hero {
    padding: clamp(40px, 8vw, 100px) 0;
}

@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

    .hero-visual {
        order: -1;
    }

    .phone-mockup {
        max-width: min(350px, 70vw);
    }
}

@media (max-width: 768px) {
    .app-buttons {
        gap: 12px;
    }

    .app-btn {
        padding: 12px 24px;
        min-width: min(200px, 80vw);
    }
}

@media (max-width: 480px) {
    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

    .app-btn {
        width: 100%;
        max-width: 280px;
    }

    .floating-badge {
        display: none;
    }

    .hero-footer {
        flex-direction: column;
        gap: 16px;
    }
}