/* ---------- SkinWorks — Coming Soon ----------
   Palette pulled from the SkinWorks logo:
   deep teal-blue -> emerald green gradient.
   Fonts (per SkinWorks brand guide):
     English -> Aharoni CLM, then Segoe UI system fallback.
     Chinese -> system rounded/gothic (圓體) fallbacks:
                PingFang / Microsoft JhengHei / Noto Sans TC.
-------------------------------------------------- */

:root {
    --teal-deep: #0a6a86;
    --teal: #1592ac;
    --green: #4aa858;
    --green-light: #7ac36a;
    --ink: #1c2b33;
    --muted: #5b6b73;
    --bg-top: #f4fbfb;
    --bg-bottom: #eaf5f2;
    --white: #ffffff;
    --grad: linear-gradient(120deg, var(--teal-deep) 0%, var(--teal) 45%, var(--green) 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Aharoni CLM", "Segoe UI", "PingFang TC", "Microsoft JhengHei",
        "Noto Sans TC", Tahoma, sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* ---------- Decorative background blobs ---------- */
.bg-decoration {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
}

.blob-1 {
    width: 420px;
    height: 420px;
    background: var(--teal);
    top: -120px;
    left: -100px;
    animation: float 14s ease-in-out infinite;
}

.blob-2 {
    width: 360px;
    height: 360px;
    background: var(--green-light);
    bottom: -120px;
    right: -80px;
    animation: float 18s ease-in-out infinite reverse;
}

.blob-3 {
    width: 260px;
    height: 260px;
    background: var(--teal-deep);
    top: 40%;
    right: 12%;
    opacity: 0.18;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

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

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

/* ---------- Layout ---------- */
.page {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
    padding: 48px 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 100vh;
}

.brand {
    margin-bottom: auto;
}

.logo {
    width: 100%;
    max-width: 70vw;
    height: auto;
}

/* ---------- Hero ---------- */
.hero {
    margin: 40px 0 auto;
    animation: rise 0.9s ease both;
}

.eyebrow {
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--teal-deep);
    margin-bottom: 18px;
}

.title {
    font-size: clamp(2.6rem, 8vw, 4.4rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0.02em;
}

.title span {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.subtitle {
    margin: 22px auto 0;
    max-width: 1920px;
    color: var(--muted);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.02em;
}

.subtitle span {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ---------- Countdown ---------- */
.countdown {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    margin: 40px 0;
}

.count-item {
    background: var(--white);
    border-radius: 16px;
    padding: 16px 10px 12px;
    min-width: 78px;
    box-shadow: 0 12px 30px rgba(10, 106, 134, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.count-num {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
    font-weight: 700;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-variant-numeric: tabular-nums;
}

.count-label {
    margin-top: 8px;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.count-sep {
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal);
    align-self: center;
    padding-top: 4px;
}

/* ---------- Notify form ---------- */
.notify {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.notify input {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
    border: 1.5px solid #d5e6e6;
    border-radius: 999px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--ink);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.notify input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(21, 146, 172, 0.15);
}

.notify button {
    padding: 14px 24px;
    border: none;
    border-radius: 999px;
    background: var(--grad);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 8px 20px rgba(21, 146, 172, 0.3);
}

.notify button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(21, 146, 172, 0.38);
}

.notify button:active {
    transform: translateY(0);
}

.notify-msg {
    margin-top: 14px;
    min-height: 20px;
    font-size: 0.9rem;
    color: var(--green);
}

.notify-msg.error {
    color: #d05656;
}

/* ---------- Footer ---------- */
.footer {
    margin-top: 48px;
    padding-top: 24px;
    width: 100%;
}

.social {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
}

.social-link {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--teal-deep);
    background: var(--white);
    box-shadow: 0 6px 16px rgba(10, 106, 134, 0.12);
    transition: transform 0.15s, color 0.2s, background 0.2s;
}

.social-link:hover {
    transform: translateY(-3px);
    color: var(--white);
    background: var(--grad);
}

.copyright {
    font-size: 0.8rem;
    color: var(--muted);
}

/* ---------- Utilities & motion ---------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@media (max-width: 520px) {
    .notify {
        flex-direction: column;
    }

    .notify button {
        width: 100%;
    }

    .count-item {
        min-width: 62px;
        padding: 12px 6px 10px;
    }

    .count-sep {
        font-size: 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .blob,
    .hero {
        animation: none;
    }

    * {
        transition: none !important;
    }
}