/* =========================================================
   HOMEPAGE — 2026-07 REDESIGN
   =========================================================
   Matches the oripa page design language (oripa.css):
   - Dark glass panels on the global gradient background
   - Panel base:  linear-gradient(180deg, #111a2c, #090d1b)
   - Accent:      linear-gradient(135deg, #ff7ab8, #5fe7ff)
   - Glass cards: rgba(255,255,255,0.09 -> 0.035), blur(14px)
   - Radii: 28px panels / 999px pills / 16px buttons
   - Global body background stays controlled by style.css.
   ========================================================= */

.home-hero,
.home-steps,
.home-final-cta,
.home-hero *,
.home-steps *,
.home-final-cta * {
    box-sizing: border-box;
}


/* =========================================================
   HERO
   ========================================================= */

.home-hero {
    width: 100%;
    padding: 34px 24px 0;
    display: flex;
    justify-content: center;
}

.home-hero-panel {
    position: relative;
    overflow: hidden;

    width: 100%;
    max-width: 1200px;

    padding: clamp(64px, 10vw, 110px) clamp(22px, 5vw, 80px);

    border-radius: 28px;

    background:
        radial-gradient(
            circle at top left,
            rgba(95, 231, 255, 0.18),
            transparent 38%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(255, 80, 210, 0.16),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            #111a2c,
            #090d1b
        );

    border: 1px solid rgba(95, 231, 255, 0.24);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.38),
        0 0 22px rgba(95, 231, 255, 0.12),
        0 0 18px rgba(255, 80, 210, 0.08);

    text-align: center;
}

/* Soft floating glow orbs */
.home-hero-glow {
    position: absolute;

    width: 340px;
    height: 340px;

    border-radius: 50%;

    filter: blur(90px);

    pointer-events: none;

    animation: homeGlowFloat 7s ease-in-out infinite alternate;
}

.home-hero-glow-cyan {
    top: -120px;
    left: -80px;

    background: rgba(95, 231, 255, 0.30);
}

.home-hero-glow-pink {
    bottom: -140px;
    right: -90px;

    background: rgba(255, 80, 210, 0.26);

    animation-delay: -3.5s;
}

@keyframes homeGlowFloat {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(26px);
    }
}

/* Giant fox kanji watermark */
.home-hero-kanji {
    position: absolute;
    right: -30px;
    bottom: -70px;

    font-size: clamp(220px, 28vw, 360px);
    font-weight: 900;
    line-height: 1;

    background:
        linear-gradient(
            135deg,
            #ff7ab8,
            #5fe7ff
        );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    opacity: 0.08;

    pointer-events: none;
    user-select: none;
}

.home-hero-inner {
    position: relative;
    z-index: 2;

    max-width: 720px;
    margin: 0 auto;
}

.home-hero-eyebrow {
    display: inline-flex;
    align-items: center;

    padding: 9px 20px;

    border-radius: 999px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.18),
            rgba(255, 255, 255, 0.07)
        );

    border: 1px solid rgba(255, 255, 255, 0.18);

    color: rgba(255, 255, 255, 0.88);

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;

    backdrop-filter: blur(14px);

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.home-hero-title {
    margin: 26px 0 22px;

    color: white;

    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0.06em;

    text-shadow:
        0 4px 18px rgba(0, 0, 0, 0.5),
        0 0 18px rgba(95, 231, 255, 0.35);
}

.home-hero-accent {
    background:
        linear-gradient(
            135deg,
            #ff8ac5,
            #5fe7ff
        );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    filter:
        drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.home-hero-sub {
    max-width: 560px;
    margin: 0 auto 36px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 16px;
    font-weight: 700;
    line-height: 1.95;
}

.home-hero-cta-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}


/* =========================================================
   CTA BUTTONS
   ========================================================= */

.home-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 60px;
    padding: 0 46px;

    border: none;
    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #ff7ab8,
            #5fe7ff
        );

    color: white;
    text-decoration: none;

    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 12px 26px rgba(0, 0, 0, 0.28),
        0 0 18px rgba(95, 231, 255, 0.25);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.home-cta-primary:hover {
    transform: translateY(-3px) scale(1.02);

    color: white;

    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.36),
        0 0 26px rgba(95, 231, 255, 0.4),
        0 0 20px rgba(255, 80, 210, 0.22);
}

.home-cta-primary:active {
    transform: translateY(0) scale(0.98);
}

.home-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 60px;
    padding: 0 36px;

    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.16),
            rgba(255, 255, 255, 0.08)
        );

    color: white;
    text-decoration: none;

    font-size: 16px;
    font-weight: 900;
    line-height: 1;

    backdrop-filter: blur(14px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 10px 24px rgba(0, 0, 0, 0.28);

    transition:
        transform 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease;
}

.home-cta-secondary:hover {
    transform: translateY(-3px);

    color: white;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.24),
            rgba(255, 255, 255, 0.12)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 12px 26px rgba(0, 0, 0, 0.34),
        0 0 18px rgba(95, 231, 255, 0.2);
}

.home-cta-large {
    height: 66px;
    padding: 0 56px;

    font-size: 19px;
}


/* =========================================================
   HOW IT WORKS
   ========================================================= */

.home-steps {
    width: 100%;
    max-width: 1200px;

    margin: 74px auto 0;
    padding: 0 24px;
}

.home-section-title {
    position: relative;

    margin: 0 0 52px;

    color: white;
    text-align: center;

    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 900;
    letter-spacing: 0.08em;

    text-shadow:
        0 0 12px rgba(255, 255, 255, 0.22),
        0 0 24px rgba(95, 231, 255, 0.42),
        0 4px 18px rgba(0, 0, 0, 0.65);
}

.home-section-title::before {
    content: "";

    position: absolute;
    left: 50%;
    bottom: -16px;

    transform: translateX(-50%);

    width: 180px;
    height: 4px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            #ff7ab8,
            #5fe7ff
        );

    box-shadow:
        0 0 18px rgba(95, 231, 255, 0.55),
        0 0 24px rgba(255, 80, 210, 0.38);
}

.home-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.home-step-card {
    padding: 28px 20px 26px;

    border-radius: 22px;

    background:
        radial-gradient(
            circle at top left,
            rgba(95, 231, 255, 0.14),
            transparent 40%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(255, 80, 210, 0.10),
            transparent 44%
        ),
        linear-gradient(
            180deg,
            #111a2c,
            #090d1b
        );

    border: 1px solid rgba(95, 231, 255, 0.24);

    backdrop-filter: blur(14px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.38),
        0 0 22px rgba(95, 231, 255, 0.12);

    text-align: center;

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.home-step-card:hover {
    transform: translateY(-5px);

    border-color: rgba(95, 231, 255, 0.55);

    box-shadow:
        0 28px 65px rgba(0, 0, 0, 0.48),
        0 0 32px rgba(95, 231, 255, 0.3),
        0 0 24px rgba(255, 80, 210, 0.18);
}

.home-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;
    padding: 6px 16px;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #ff7ab8,
            #5fe7ff
        );

    color: white;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 1;

    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.26),
        0 0 12px rgba(95, 231, 255, 0.28);
}

.home-step-icon {
    position: relative;

    width: 78px;
    height: 78px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.home-step-icon::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: 50%;

    background:
        conic-gradient(
            from 0deg,
            rgba(95, 231, 255, 0.85),
            rgba(160, 90, 255, 0.8),
            rgba(255, 80, 210, 0.8),
            rgba(95, 231, 255, 0.85)
        );

    filter: blur(1.5px);
    opacity: 0.85;

    animation: homeIconRing 7s linear infinite;
}

.home-step-icon::after {
    content: "";

    position: absolute;
    inset: 3px;

    border-radius: 50%;

    background: #111a2c;
}

@keyframes homeIconRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.home-step-icon img {
    position: relative;
    z-index: 2;

    width: 42px;
    height: 42px;

    object-fit: contain;

    filter:
        drop-shadow(0 0 8px rgba(95, 231, 255, 0.45));
}

.home-step-card h3 {
    margin: 0 0 10px;

    color: white;

    font-size: 18px;
    font-weight: 900;

    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}

.home-step-card p {
    margin: 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 14px;
    font-weight: 700;
    line-height: 1.85;
}


/* =========================================================
   INVENTORY SHOWCASE (kangen / shipping)
   ========================================================= */

.home-showcase {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 38px;

    max-width: 1080px;

    margin: 60px auto 0;
    padding: 36px 42px;

    border-radius: 28px;

    background:
        radial-gradient(
            circle at left,
            rgba(95, 231, 255, 0.14),
            transparent 34%
        ),
        radial-gradient(
            circle at right,
            rgba(255, 80, 210, 0.12),
            transparent 40%
        ),
        linear-gradient(
            180deg,
            #111a2c,
            #090d1b
        );

    border: 1px solid rgba(95, 231, 255, 0.24);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.38),
        0 0 22px rgba(95, 231, 255, 0.12),
        0 0 18px rgba(255, 80, 210, 0.08);
}

.home-showcase-text h3 {
    margin: 0 0 16px;

    color: white;

    font-size: clamp(21px, 2.6vw, 26px);
    font-weight: 900;
    line-height: 1.5;

    text-shadow:
        0 3px 12px rgba(0, 0, 0, 0.5),
        0 0 14px rgba(95, 231, 255, 0.25);
}

.home-showcase-text p {
    margin: 0 0 18px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 15px;
    font-weight: 700;
    line-height: 1.95;
}

.home-showcase-note {
    display: inline-flex;
    align-items: center;

    padding: 8px 18px;

    border-radius: 999px;

    background: rgba(95, 231, 255, 0.12);
    border: 1px solid rgba(95, 231, 255, 0.4);

    color: #bff3ff;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;

    box-shadow:
        0 0 14px rgba(95, 231, 255, 0.18);
}

.home-showcase-image img {
    display: block;

    width: 100%;

    border-radius: 18px;

    border: 1px solid rgba(255, 255, 255, 0.16);

    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.4),
        0 0 22px rgba(95, 231, 255, 0.14);
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.home-final-cta {
    width: 100%;
    max-width: 820px;

    margin: 84px auto 96px;
    padding: 0 24px;
}

.home-final-cta-panel {
    position: relative;
    overflow: hidden;

    padding: 52px 30px;

    border-radius: 26px;

    background:
        radial-gradient(
            circle at top,
            rgba(95, 231, 255, 0.16),
            transparent 34%
        ),
        radial-gradient(
            circle at 85% 20%,
            rgba(255, 80, 210, 0.12),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            rgba(18, 26, 48, 0.98),
            rgba(8, 13, 28, 0.98)
        );

    border: 1px solid rgba(180, 210, 255, 0.36);

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.5),
        0 0 38px rgba(95, 231, 255, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);

    text-align: center;
}

.home-final-cta-panel h2 {
    margin: 0 0 30px;

    color: white;

    font-size: clamp(22px, 3vw, 30px);
    font-weight: 900;
    letter-spacing: 0.06em;

    text-shadow:
        0 4px 18px rgba(0, 0, 0, 0.5),
        0 0 16px rgba(255, 255, 255, 0.12);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
    .home-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .home-showcase {
        grid-template-columns: 1fr;
        gap: 26px;

        padding: 28px 24px;
    }

    .home-showcase-text {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .home-hero {
        padding: 20px 14px 0;
    }

    .home-hero-panel {
        padding: 54px 20px 58px;

        border-radius: 24px;
    }

    .home-hero-sub {
        font-size: 14.5px;
    }

    .home-hero-cta-row {
        flex-direction: column;
        gap: 14px;
    }

    .home-cta-primary,
    .home-cta-secondary {
        width: 100%;
        max-width: 340px;
    }

    .home-steps {
        margin-top: 56px;
        padding: 0 14px;
    }

    .home-section-title {
        font-size: 22px;
        letter-spacing: 0.04em;
    }

    .home-steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-showcase {
        margin-top: 44px;
    }

    .home-final-cta {
        margin: 64px auto 72px;
        padding: 0 14px;
    }

    .home-final-cta-panel {
        padding: 40px 20px;
    }
}
