/* ================================================
   chill spot LP — Bold Collage
   Flavour United palette · dōzo energy
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,700;0,9..40,900;1,9..40,400&family=Noto+Sans+JP:wght@400;700;900&display=swap');

:root {
    --blue-deep: #004a2d;
    --blue: #5D81BF;
    --green: #9BCC90;
    --yellow: #F8BA16;
    --orange: #DD492C;
    --dark: #242F35;
    --cream: #FCFBEC;
    --white: #FFFFFF;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: "DM Sans", "Noto Sans JP", sans-serif;
    background: var(--cream);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(0, 74, 45, 0.2); color: var(--cream); }
img { max-width: 100%; display: block; }
a { text-decoration: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── Header ── */

.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    background: var(--blue-deep);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link { display: inline-flex; }
.logo-img { height: 32px; width: auto; }

.nav { display: flex; align-items: center; gap: 20px; }

.btn-download {
    display: inline-flex;
    align-items: center;
    padding: 10px 28px;
    border-radius: 999px;
    background: var(--cream);
    color: var(--blue-deep) !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.15);
}
.btn-download:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0,0,0,0.15);
}

.lang-switch {
    font-size: 13px;
    font-weight: 700;
    color: rgba(252, 251, 236, 0.45);
}
.lang-switch a { color: inherit !important; transition: color 0.2s; }
.lang-switch a:hover { color: var(--cream) !important; }
.lang-switch .active { color: var(--cream); }

/* ── Phone Frame ── */

.phone-frame {
    position: relative;
    width: 280px;
    background: var(--dark);
    border-radius: 40px;
    padding: 8px;
    box-shadow: 12px 12px 0 rgba(36, 47, 53, 0.3);
    flex-shrink: 0;
}

.phone-frame img {
    width: 100%;
    border-radius: 32px;
}

.store-badge {
    display: inline-flex;
    transition: transform 0.3s var(--ease-bounce);
}
.store-badge:hover { transform: translateY(-3px); }
.store-badge img { height: 52px; }

/* ── HERO — Deep Blue ── */

.hero {
    position: relative;
    padding: 120px 0 80px;
    background: var(--blue-deep);
    color: #FEE5C4;
    overflow: hidden;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Background: giant logo filling the screen ── */
.hero-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110vw;
    max-width: none;
    opacity: 0.06;
    pointer-events: none;
    user-select: none;
}

/* ── Foreground content ── */
.hero-center {
    position: relative;
    z-index: 2;
}

.hero-logo {
    display: block;
    margin: 0 auto 28px;
    width: clamp(260px, 50vw, 580px);
    height: auto;
    transition: transform 0.8s var(--ease-out-expo), opacity 0.6s ease;
    transform-origin: center top;
}

.hero-logo.shrunk {
    transform: scale(0.65);
    opacity: 0.7;
}

.hero-headline {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    color: #FEE5C4;
}

.hero-subtitle {
    font-size: clamp(14px, 1.6vw, 17px);
    line-height: 1.7;
    color: rgba(254, 229, 196, 0.45);
    font-weight: 400;
    max-width: 420px;
    margin: 0 auto;
}

.hero-phone {
    margin: 48px auto 0;
    display: flex;
    justify-content: center;
}

.hero-phone .phone-frame {
    width: 300px;
    box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.25);
}

.hero-cta {
    margin-top: 40px;
}

/* Geometric shapes hidden */
.shape, .shape--circle, .shape--rounded,
.hero .shape-1, .hero .shape-2, .hero .shape-3, .hero .shape-4 {
    display: none;
}

/* Proof bar removed */
.proof-bar { display: none; }

/* ── FEATURE SECTIONS ── */

.feature {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
}

.feature--cream { background: var(--cream); color: var(--blue-deep); }
.feature--blue { background: var(--blue); color: #DAE8A8; }
.feature--yellow { background: var(--yellow); color: var(--dark); }
.feature--green { background: var(--green); color: #EB633F; }

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.feature-grid--reverse .feature-visual { order: -1; }

.feature-number {
    font-size: clamp(8rem, 15vw, 14rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.06em;
    opacity: 0.07;
    position: absolute;
    top: 40px;
    left: 32px;
    pointer-events: none;
    user-select: none;
}

.feature--blue .feature-number { color: #DAE8A8; }
.feature--cream .feature-number { color: var(--blue-deep); }
.feature--yellow .feature-number { color: var(--dark); }
.feature--green .feature-number { color: #EB633F; }

.feature-label {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.1);
}

.feature--cream .feature-label { background: var(--blue-deep); color: var(--cream); }
.feature--blue .feature-label { background: #DAE8A8; color: var(--blue); }
.feature--yellow .feature-label { background: var(--dark); color: var(--yellow); }
.feature--green .feature-label { background: #EB633F; color: var(--cream); }

.feature-title {
    font-size: clamp(2.4rem, 4.5vw, 4rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.feature-desc {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 700;
}

.feature--cream .feature-desc { color: rgba(0, 74, 45, 0.55); }
.feature--blue .feature-desc { color: rgba(218, 232, 168, 0.65); }
.feature--yellow .feature-desc { color: rgba(36, 47, 53, 0.55); }
.feature--green .feature-desc { color: rgba(235, 99, 63, 0.6); }

.feature-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.feature-visual .phone-frame {
    transition: transform 0.5s var(--ease-out-expo);
}

/* Feature 1 — phone tilted with shape behind */
.feature--cream .feature-visual .phone-frame {
    transform: rotate(-6deg);
}
.feature--cream .feature-visual:hover .phone-frame {
    transform: rotate(-2deg) scale(1.03);
}

.feature--cream .feature-visual::before { display: none; }

/* Feature 2 — phone breaking upward */
.feature--blue .feature-visual .phone-frame {
    transform: rotate(5deg) translateY(-20px);
    box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.2);
}
.feature--blue .feature-visual:hover .phone-frame {
    transform: rotate(2deg) translateY(-30px) scale(1.03);
}

.feature--blue .feature-visual::before { display: none; }

/* Feature 3 — Shuffle, slight forward lean */
.feature--yellow .feature-visual .phone-frame {
    transform: rotate(4deg) translateY(-10px);
    box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.15);
}
.feature--yellow .feature-visual:hover .phone-frame {
    transform: rotate(1deg) translateY(-18px) scale(1.03);
}

.feature--yellow .feature-visual::before { display: none; }

/* Feature 4 — dramatic tilt */
.feature--green .feature-visual .phone-frame {
    transform: rotate(-8deg);
}
.feature--green .feature-visual:hover .phone-frame {
    transform: rotate(-3deg) scale(1.03);
}

.feature--green .feature-visual::before { display: none; }

/* ── VALUES — Orange ── */

.values {
    background: var(--orange);
    color: #242D34;
    padding: 150px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.values-inner {
    position: relative;
    z-index: 2;
}

.values-title {
    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.values-title span {
    display: inline-block;
    margin: 0 0.15em;
}

.values-sub {
    margin-top: 36px;
    font-size: 18px;
    opacity: 0.65;
    font-weight: 400;
}

/* Decorative shapes hidden */
.values .shape-v1,
.values .shape-v2,
.values .shape-v3 { display: none; }

/* ── CTA — Dark ── */

.cta-section {
    position: relative;
    padding: 160px 0;
    text-align: center;
    color: var(--cream);
    background: var(--dark);
    overflow: hidden;
}

.cta-content { position: relative; z-index: 2; }

.cta-title {
    font-size: clamp(2.8rem, 6.5vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.cta-desc {
    margin-top: 20px;
    font-size: 16px;
    color: rgba(252, 251, 236, 0.4);
}

.cta-actions {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 56px;
    border-radius: 999px;
    background: var(--cream);
    color: var(--dark);
    font-size: 18px;
    font-weight: 700;
    transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s;
    box-shadow: 6px 6px 0 rgba(252, 251, 236, 0.15);
}
.btn-cta:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 rgba(252, 251, 236, 0.2);
}

/* CTA decorative shapes hidden */
.cta-section .shape-c1,
.cta-section .shape-c2,
.cta-section .shape-c3 { display: none; }

/* ── FOOTER ── */

.footer {
    padding: 36px 0;
    background: var(--dark);
    border-top: 2px solid rgba(252, 251, 236, 0.06);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(252, 251, 236, 0.35);
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}
.footer-links a:hover { color: rgba(252, 251, 236, 0.7); }

.copyright {
    color: rgba(252, 251, 236, 0.2);
    font-size: 13px;
}

/* ── RESPONSIVE ── */

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .header { padding: 12px 0; }
    .logo-img { height: 26px; }

    /* Hero mobile */
    .hero { padding: 100px 0 50px; min-height: auto; }
    .hero-logo { width: clamp(200px, 65vw, 300px); margin-bottom: 20px; }
    .hero-phone .phone-frame { width: 250px; }
    .hero-bg-logo { width: 180vw; }

    /* Phone frames mobile */
    .phone-frame {
        width: 250px;
        border-radius: 36px;
        padding: 7px;
    }
    .phone-frame img { border-radius: 29px; }



    /* Features mobile */
    .feature { padding: 80px 0; }
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }
    .feature-visual { order: -1 !important; }
    .feature-visual .phone-frame { width: 230px; }
    .feature-number { font-size: 6rem; top: 10px; left: 10px; }

    .feature--cream .feature-visual .phone-frame,
    .feature--blue .feature-visual .phone-frame,
    .feature--yellow .feature-visual .phone-frame,
    .feature--green .feature-visual .phone-frame {
        transform: rotate(-3deg);
    }

    .feature-visual::before { display: none; }

    /* Values mobile */
    .values { padding: 80px 0; }
    .values-title {
        font-size: clamp(2.4rem, 10vw, 4rem);
    }
    .values-title span {
        display: block;
        margin: 0.05em 0;
    }

    /* CTA mobile */
    .cta-section { padding: 80px 0; }
    .cta-title { font-size: clamp(2rem, 8vw, 2.8rem); }
    .btn-cta {
        width: 100%;
        max-width: 320px;
        padding: 18px 40px;
    }

    /* Footer mobile */
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-phone .phone-frame { width: 260px; }
}
