/* === css/hero.css === */
#hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding-top: 80px;
    padding-bottom: 60px;
}

#hero .hero-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 3;
    position: relative;
}

#hero .hero-text .section-subtitle {
    margin-bottom: 8px;
}

/* ★ Animated gradient for the main title (living, breathing) */
.section-title {
    background: linear-gradient(
        270deg,
        var(--color-primary),
        var(--color-secondary),
        #c084fc,
        var(--color-primary)
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 8s ease infinite;
}

/* Download count badge */
.download-count {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}
.count-number {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-accent);
}
.count-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

#hero .hero-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
}

/* ── CSS Android Phone Mockup ── */
.phone-wrapper {
    width: 300px;
    height: 640px;
    border-radius: 24px;
    border: 3px solid var(--color-primary);
    background: linear-gradient(
        180deg,
        rgba(124, 58, 237, 0.08) 0%,
        rgba(13, 17, 23, 0.95) 30%,
        rgba(13, 17, 23, 0.95) 70%,
        rgba(6, 182, 212, 0.06) 100%
    );
    box-shadow:
        0 0 40px var(--color-glow-purple),
        0 0 80px rgba(124, 58, 237, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(124, 58, 237, 0.05);
    position: relative;
    animation: float-y 6s ease-in-out infinite;
    transition: transform 0.3s ease;
    z-index: 1;
}

/* Subtle 3D tilt on hover (feels tangible) */
.phone-wrapper:hover {
    transform: perspective(800px) rotateY(-3deg) rotateX(2deg) translateY(-4px);
}

/* Punch‑hole camera */
.phone-wrapper::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 3;
}

/* Inner screen glow */
.phone-wrapper::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 16px;
    background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}