/* ════════════════════════════════
   HERO SECTION
   jotno.ai — hero.css
════════════════════════════════ */

#home {
    min-height: 92vh;
    padding: 90px 5% 70px;
    display: flex;
    align-items: center;
    background: transparent;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
}

/* ─── BADGE ─── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1.5px solid rgba(6, 182, 212, 0.3);
    border-radius: 50px;
    padding: 0.4rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(8, 145, 178, 0.1);
    animation: fadeUp 0.7s ease both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.7;
    }
}

/* ─── HEADING ─── */
.hero-text h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
    color: var(--text);
    margin-bottom: 1.4rem;
    animation: fadeUp 0.8s 0.1s ease both;
}

.hero-text h1 .line-accent {
    color: var(--primary);
    display: block;
}

.hero-text h1 .line-sub {
    font-size: 0.55em;
    font-weight: 700;
    color: var(--muted);
    display: block;
    margin-top: 0.4rem;
    letter-spacing: 0.02em;
}

/* ─── BODY TEXT & BUTTONS ─── */
.hero-text p {
    font-size: 1.08rem;
    color: var(--muted);
    margin-bottom: 2.2rem;
    font-weight: 600;
    max-width: 460px;
    line-height: 1.75;
    animation: fadeUp 0.8s 0.2s ease both;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp 0.8s 0.3s ease both;
}

/* ─── HERO IMAGE / CARD ─── */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    animation: fadeUp 0.9s 0.2s ease both;
}

.hero-card {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(8, 145, 178, 0.18), 0 0 0 1px rgba(6, 182, 212, 0.08) inset;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25), transparent 70%);
    border-radius: 50%;
}

.hero-card::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
    border-radius: 50%;
}

/* ─── ICON WRAP ─── */
.card-icon-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    position: relative;
    z-index: 1;
    gap: 1rem;
}

.main-icon {
    font-size: 6rem;
    line-height: 1;
    filter: drop-shadow(0 10px 30px rgba(8, 145, 178, 0.35));
    animation: floatIcon 5s ease-in-out infinite;
}

.hero-main-img {
    width: 120px;
}

.hero-icon {
    height: 25px;
    width: 25px;
}

@keyframes floatIcon {

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

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

/* ─── PILLS ─── */
.pills-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.floating-pill {
    position: static;
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(6, 182, 212, 0.25);
    border-radius: 50px;
    padding: 0.35rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    backdrop-filter: blur(8px);
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.15);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    animation: pillFloat 4s ease-in-out infinite;
}

.pill1 {
    animation-delay: 0s;
}

.pill2 {
    animation-delay: 1.5s;
}

.pill3 {
    animation-delay: 2.5s;
}

@keyframes pillFloat {

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

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

/* ─── STATS ─── */
.card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.stat-box {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 14px rgba(8, 145, 178, 0.08);
    transition: transform 0.3s;
}

.stat-box:hover {
    transform: translateY(-4px);
}

.stat-num {
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--primary);
    line-height: 1;
}

.stat-lbl {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
    margin-top: 0.3rem;
}