﻿.hero {
    background: url('../images/hero-bg.png') center center / cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 90px;
    position: relative;
    overflow: hidden;
}
/* Animated orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
}

.hero-orb-1 {
    top: -15%;
    right: -8%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(56,175,162,0.20) 0%, transparent 70%);
    animation: orbFloat1 12s ease-in-out infinite;
}

.hero-orb-2 {
    bottom: -20%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201,10,87,0.14) 0%, transparent 70%);
    animation: orbFloat2 15s ease-in-out infinite;
}

.hero-orb-3 {
    top: 40%;
    left: 40%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    animation: orbFloat3 9s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%,100% {
        transform: translate(0,0) scale(1);
    }

    50% {
        transform: translate(-30px,20px) scale(1.08);
    }
}

@keyframes orbFloat2 {
    0%,100% {
        transform: translate(0,0) scale(1);
    }

    50% {
        transform: translate(20px,-30px) scale(1.05);
    }
}

@keyframes orbFloat3 {
    0%,100% {
        transform: translate(0,0);
    }

    50% {
        transform: translate(15px,-15px);
    }
}

/* Particle dots */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    animation: particleRise linear infinite;
}

@keyframes particleRise {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

/* Hero eyebrow pill */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    animation: eyebrowPulse 3s ease-in-out infinite;
}

.hero-eyebrow::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--lagoon-aqua);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--lagoon-aqua);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes eyebrowPulse {
    0%,100% {
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 0 0 0 rgba(56,175,162,0);
    }

    50% {
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 0 0 6px rgba(56,175,162,0.1);
    }
}

@keyframes dotPulse {
    0%,100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(44px, 5vw, 76px);
    font-weight: 600;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -1.5px;
}

.hero h1 em {
    font-style: italic;
    background: var(--gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    padding-bottom: 0.08em;
    padding-right: 0.14em;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(17px, 1.8vw, 24px);
    font-weight: 300;
    font-style: italic;
    color: rgba(255,255,255,0.72);
    margin-bottom: 28px;
    line-height: 1.4;
}

.hero-body {
    font-size: 18px;
    color: rgba(255,255,255,0.78);
    margin-bottom: 20px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 48px;
}

/* App store badges */
.app-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    color: var(--white);
    padding: 11px 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.app-badge:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.18);
}

.app-badge svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.app-badge span small {
    display: block;
    font-weight: 400;
    font-size: 11px;
    opacity: 0.65;
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.stat-num {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 600;
    color: var(--white);
    line-height: 1;
}

.stat-num span {
    color: var(--lagoon-aqua);
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    margin-top: 4px;
}

/* Phone mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(56,175,162,0.28) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%,100% {
        transform: translate(-50%,-50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%,-50%) scale(1.15);
        opacity: 0.75;
    }
}

.phone-mockup {
    width: 268px;
    /*background: rgba(5,20,18,0.9);*/
    /*border-radius: 44px;*/
    /*padding: 18px 14px;*/
    /*box-shadow: 0 40px 100px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.08), inset 0 1px 0 rgba(255,255,255,0.05);*/
    position: relative;
    z-index: 2;
    animation: floatPhone 7s ease-in-out infinite;
}

@keyframes floatPhone {
    0%,100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-18px) rotate(-2deg);
    }
}

.phone-notch {
    width: 80px;
    height: 20px;
    background: rgba(5,20,18,0.9);
    border-radius: 0 0 12px 12px;
    margin: 0 auto 12px;
    position: relative;
    z-index: 3;
}

.phone-screen {
    background: linear-gradient(160deg, #0a3530 0%, #076255 50%, #38AFA2 100%);
    border-radius: 32px;
    padding: 24px 18px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.phone-worker {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    padding: 10px 14px;
    width: 100%;
    text-align: left;
    animation: tipIn 0.6s ease both;
}

@keyframes tipIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.worker-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.worker-info p {
    font-size: 13px;
    color: white;
    font-weight: 700;
}

.worker-info small {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
}

.phone-icon {
    width: 44px;
    height: 44px;
    animation: heartBeat 2s ease-in-out infinite;
}

.phone-icon img {
    width: 44px;
    height: 44px;
    display: block;
}

@keyframes heartBeat {
    0%,100% {
        transform: scale(1);
    }

    20% {
        transform: scale(1.15);
    }

    40% {
        transform: scale(0.95);
    }

    60% {
        transform: scale(1.08);
    }
}

.phone-amount {
    font-family: var(--font-numbers);
    font-size: 52px;
    font-weight: 600;
    color: var(--white);
    line-height: 1;
}

.phone-label {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
}

.phone-tip-btn {
    background: var(--grad-btn);
    background-size: 200% 200%;
    color: white;
    font-weight: 700;
    font-size: 13px;
    padding: 13px 20px;
    border-radius: 100px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(201,10,87,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
    animation: gradShift 3s ease infinite;
}

.phone-amounts {
    display: flex;
    gap: 6px;
    width: 100%;
}

.phone-amt {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 8px 4px;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    transition: background 0.2s;
}

.phone-amt.active {
    background: rgba(255,255,255,0.25);
    color: white;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

/* Floating callout badges around phone */
.phone-float-badge {
    position: absolute;
    z-index: 3;
}

.phone-float-badge img {
    display: block;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.22));
}

.phone-float-badge-1 {
    top: 8%;
    right: -5%;
    animation: badgeFloat1 5s ease-in-out infinite;
}

.phone-float-badge-1 img {
    width: 130px;
}

.phone-float-badge-2 {
    bottom: 18%;
    left: -5%;
    animation: badgeFloat2 6s ease-in-out infinite;
}

.phone-float-badge-2 img {
    width: 120px;
}

@keyframes badgeFloat1 {
    0%,100% {
        transform: translateY(0) rotate(2deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

@keyframes badgeFloat2 {
    0%,100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(10px) rotate(-2deg);
    }
}