@import url('fonts.css');

/* ═══════════════════════════════════════════════════════════
   HESOYAM — Main Stylesheet
   Dark premium theme, orange accent
══════════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ──────────────────────────────── */
:root {
    --clr-bg: #111111;
    --clr-surface: #1a1a1a;
    --clr-surface-2: #222222;
    --clr-surface-3: #2a2a2a;
    --clr-border: #333333;
    --clr-orange: #FFA635;
    --clr-orange-dim: #c47c06;
    --clr-text: #e0ddd5;
    --clr-text-muted: #888888;
    --clr-text-dim: #F0F0F0;
    --clr-white: #ffffff;

    --ff-brand: 'Gilroy', sans-serif;
    --ff-body: 'Gilroy', sans-serif;

    --max-w: 1200px;
    --px: 1.5rem;
}

/* ─── Reset ──────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* ─── Scroll Animations ───────────────────────────────────── */
.js-scroll-hidden {
    opacity: 0;
    transition: opacity 0.7s ease;
}

.js-scroll-visible {
    opacity: 1;
}

body {
    font-family: var(--ff-body);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ─── Utilities ──────────────────────────────────────────── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--px);
}

.c-orange {
    color: var(--clr-orange);
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════════ */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background-color: #0e0e0e;
    border-bottom: 1px solid #2a2a2a;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar__logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
}

.navbar__logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.navbar__brand {
    font-family: var(--ff-brand);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--clr-orange);
    text-transform: uppercase;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.navbar__contact-label {
    font-size: 10px;
    color: var(--clr-text-muted);
    letter-spacing: 0.05em;
}

.navbar__socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar__social-link {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.navbar__social-link:hover {
    opacity: 1;
}

.navbar__social-link img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 3px;
    padding: 2px;
}

/* ═══════════════════════════════════════════════════════════
   HERO — "What is HESOYAM?"
══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    padding: 5px var(--px) 0;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 50% at 50% 40%, rgba(232, 150, 10, 0.06) 0%, transparent 70%),
        var(--clr-bg);
}

/* Remove container side padding inside hero — each child manages its own width */
.hero .container {
    padding: 0;
}

/* The tribal / dragon art in the background */
.hero__bg-art {
    position: absolute;
    inset: 0;
    margin: auto;
    top: -20%;
    left: -30px;
    display: flex;
    width: 66%;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 0;
}

.hero__bg-art-img {
    width: 80%;
    opacity: 0.18;
    filter: grayscale(1);
    user-select: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero__what {
    font-family: var(--ff-brand);
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--clr-text-dim);
    margin-top: 40px;
    margin-bottom: 6px;
}

.hero__title {
    font-family: var(--ff-brand);
    font-size: 5rem;
    font-weight: 800;
    color: var(--clr-orange);
    text-transform: uppercase;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

/* Single bordered info block containing all three text elements */
.hero__info-box {
    display: block;
    position: relative;
    z-index: 1;
    border-radius: 12px;
    transform: translateY(-3rem);
    /* slides up behind the title */
    margin-bottom: -6rem;
    /* compensate so next element doesn't shift, pull it closer */
    padding: 64px 32px 32px;
    /* extra top padding so text clears the title */
    background: linear-gradient(to bottom, rgb(26 26 26 / 21%) 0%, rgba(26, 26, 26, 1.0) 30%, rgba(26, 26, 26, 1.0) 100%);
    box-shadow: 0 3px 16.5px 0 rgba(0, 0, 0, 0.25);
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero__sub {
    font-size: 1.95rem;
    color: var(--clr-text);
    margin-bottom: 18px;
}

.hero__body {
    font-size: 1.7rem;
    color: var(--clr-text-dim);
    margin-bottom: 20px;
}

/* Last line */
.hero__highlight {
    border-radius: 12px;
    background-color: #141414;
    font-size: 1.7rem;
    color: var(--clr-text);
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════
   DEMO SECTION — They Say / We Say
══════════════════════════════════════════════════════════════ */
.demo {
    max-width: 1200px;
    margin: 0 auto 48px;
    padding: 24px var(--px) 24px;
    border-radius: 12px;
    background: linear-gradient(to bottom,
            rgba(26, 26, 26, 0.34) 1%,
            rgba(26, 26, 26, 1.0) 33%,
            rgba(26, 26, 26, 1.0) 100%);
    box-shadow: 0 3px 16.5px 0 rgba(0, 0, 0, 0.25);
    overflow: visible;
}

.demo__container {
    max-width: var(--max-w);
}

.demo__intro {
    text-align: center;
    font-size: 1.95rem;
    color: var(--clr-text-dim);
    margin-bottom: 44px;
}

/* Vertical stack: THEY SAY top, WE SAY bottom — both centered */
.demo__cols {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    overflow: visible;
}

/* ── Base col ─────────────────────────────────────────────── */
.demo__col {
    width: 100%;
    max-width: 790px;
    text-align: center;
}

/* ── THEY SAY ─────────────────────────────────────────────── */
.demo__label {
    font-family: var(--ff-brand);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--clr-orange);
    text-transform: uppercase;
    text-align: center;
}

.demo__quote {
    text-align: left;
    padding: 10px;
    border-radius: 12px;
    background-color: #141414;
    font-size: 1.85rem;
    color: var(--clr-text-dim);
}

.demo__username {
    color: #734CA6;
    font-weight: 800;
    font-family: var(--ff-brand);
    margin-right: 4px;
}

/* ── WE SAY — stage + bubbles + button ───────────────────── */
.demo__col--we .demo__label {
    text-align: center;
}

/* Stage: relative container that holds member.png + bubble overlays */
.we-say__stage {
    position: relative;
    /* room for bottom bubbles */
    margin: 0 30px;
}

/* Base member card screenshot */
.we-say__member {
    width: 100%;
    max-width: 280px;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* All bubbles: absolutely positioned, interactive */
.we-say__bubble {
    position: absolute;
    z-index: 2;
    height: auto;
    cursor: pointer;

    /* ── Entrance: pop in from scale 0 ── */
    opacity: 0;
    transform: scale(0.3);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.3s ease,
        filter 0.3s ease;
}

/* When parent stage is visible (set by JS), bubbles pop in */
.we-say__stage.js-bubbles-visible .we-say__bubble {
    opacity: 1;
    transform: scale(1);
    animation: bubbleFloat 3s ease-in-out infinite;
}

/* Stagger each bubble entrance */
.we-say__stage.js-bubbles-visible .we-say__bubble--spent {
    transition-delay: 0.1s;
    animation-delay: 0.0s;
}

.we-say__stage.js-bubbles-visible .we-say__bubble--first {
    transition-delay: 0.25s;
    animation-delay: 0.6s;
}

.we-say__stage.js-bubbles-visible .we-say__bubble--dollars {
    transition-delay: 0.4s;
    animation-delay: 1.2s;
}

.we-say__stage.js-bubbles-visible .we-say__bubble--last {
    transition-delay: 0.55s;
    animation-delay: 1.8s;
}

.we-say__stage.js-bubbles-visible .we-say__bubble--avg {
    transition-delay: 0.7s;
    animation-delay: 0.4s;
}

/* ── Hover: grow + glow ── */
.we-say__bubble:hover {
    transform: scale(1.25) !important;
    filter: drop-shadow(0 0 12px rgba(255, 166, 53, 0.5));
    z-index: 10;
    animation-play-state: paused !important;
}

/* ── Idle floating animation ── */
@keyframes bubbleFloat {

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

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

/* "Spent in the last 30 days" — left, overlapping mid-card */
.we-say__bubble--spent {
    width: 50%;
    left: 4%;
    top: 23%;
}

/* "First tip" — right side, upper */
.we-say__bubble--first {
    width: 33%;
    right: 21%;
    top: 9%;
}

/* "Dollars spent overall" — right side, mid */
.we-say__bubble--dollars {
    width: 30%;
    right: 21%;
    top: 30%;
}

/* "Last tip" — bottom-left, below card */
.we-say__bubble--last {
    width: 40%;
    left: 10%;
    bottom: -47px;
}

/* "30-day average" — bottom-right */
.we-say__bubble--avg {
    width: 30%;
    right: 12%;
    bottom: -8%;
}

/* CTA row */
.we-say__cta {
    margin-top: 28px;
    text-align: center;
}

/* EXPLORE MORE button */
.btn-explore {
    display: inline-block;
    padding: 4px 10px;
    border: 2px solid var(--clr-orange);
    border-radius: 10px;
    color: var(--clr-orange);
    font-family: var(--ff-brand);
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

.btn-explore:hover {
    background: var(--clr-orange);
    color: #111;
}

/* Member card header */
.card__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px 8px;
    border-bottom: 1px solid var(--clr-border);
    background: #1e1e1e;
}

.card__username {
    font-family: var(--ff-brand);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--clr-white);
    flex: 1;
    letter-spacing: 0.04em;
}

.card__score {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--clr-text);
}

.card__score-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
}

.card__score-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #444;
    border-radius: 2px;
    padding: 2px;
}

/* Badge row */
.card__badge {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 12px;
    background: rgba(232, 150, 10, 0.06);
    border-bottom: 1px solid var(--clr-border);
}

.badge__title {
    font-weight: 700;
    color: var(--clr-orange);
    font-size: 0.75rem;
}

.badge__sub {
    font-size: 0.68rem;
    color: var(--clr-text-muted);
}

/* ── Card body grid ─────────────────────────────────────────
   2-column grid separated by 1-px borders
─────────────────────────────────────────────────────────── */

.card__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--clr-border);
}

.card__cell {
    background: var(--clr-surface-2);
    padding: 7px 10px;
}

.card__cell--accent {
    background: var(--clr-surface-3);
}

.card__cell--wide {
    grid-column: 1 / -1;
}

/* spans both columns */
.card__cell--span2 {
    grid-column: span 2;
}

.card__cell-label {
    font-size: 0.6rem;
    color: var(--clr-text-muted);
    margin-bottom: 2px;
}

.card__cell-value {
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--ff-brand);
    color: var(--clr-text);
}

.card__cell-value--orange {
    color: var(--clr-orange);
}

.card__cell-value--big {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--clr-orange);
}

.card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 10px;
    background: var(--clr-surface-2);
    border-top: 1px solid var(--clr-border);
}

.card__tag {
    background: #333;
    border-radius: 3px;
    padding: 2px 7px;
    font-size: 0.62rem;
    color: var(--clr-text-dim);
}

/* ═══════════════════════════════════════════════════════════
   WHY DO YOU NEED IT?
══════════════════════════════════════════════════════════════ */
.why {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 24px;
    padding: 24px var(--px) 24px;
    border-radius: 12px;
    background: linear-gradient(to bottom,
            rgba(26, 26, 26, 0.34) 1%,
            rgba(26, 26, 26, 1.0) 33%,
            rgba(26, 26, 26, 1.0) 100%);
    box-shadow: 0 3px 16.5px 0 rgba(0, 0, 0, 0.25);
}

.why__title {
    font-family: var(--ff-brand);
    font-size: 2.05rem;
    font-weight: 800;
    color: var(--clr-orange);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
}

.why__grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0 32px;
    max-width: var(--max-w);
    margin: 0 auto 24px;
}

.why__divider {
    background: var(--clr-border);
    align-self: stretch;
}

.why__col-title {
    font-family: var(--ff-brand);
    font-size: 1.88rem;
    font-weight: 800;
    color: var(--clr-text);
    margin-bottom: 14px;
}

.why__list {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.why__list li {
    padding-left: 16px;
    position: relative;
    font-size: 1.81rem;
    color: var(--clr-text-dim);
}

.why__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #f0f0f0;
    font-size: 1rem;
}

/* Info box (studio insight panel) */
.why__info-box {
    background: #141414;
    border-radius: 6px;
    padding: 14px 16px;
    font-size: 0.78rem;
    color: var(--clr-text-dim);
}

.why__info-box>p {
    color: #F0F0F0;
    font-size: 1.35rem;
    line-height: 1;
}

.why__arrow-list {
    display: flex;
    flex-direction: column;
}

.why__arrow-list li {
    font-size: 1.34rem;
    color: #F0F0F0;
}

.why__arrow-list li::before {
    content: none;
}

/* Bonus bar */
.why__bonus {
    max-width: var(--max-w);
    margin: 0 auto;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;

    color: var(--clr-text);
    padding: 5px 0;
}

.why__bonus strong {
    color: var(--clr-text);
    font-weight: 800;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer {
    background: #0e0e0e;
    border-top: 1px solid var(--clr-border);
    padding: 22px var(--px);
    text-align: center;
}

.footer__copy {
    font-size: 0.78rem;
    color: var(--clr-text-muted);
    letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 560px) {
    .demo__row {
        grid-template-columns: 1fr;
    }

    .why__grid {
        grid-template-columns: 1fr;
    }

    .why__divider {
        display: none;
    }

    .why__col:first-child {
        border-bottom: 1px solid var(--clr-border);
        padding-bottom: 28px;
        margin-bottom: 28px;
    }
}