:root {
    --background: #fff8fc;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: #ffffff;
    --primary: #ec407a;
    --primary-soft: #f8bbd0;
    --accent: #9c64d8;
    --text: #352837;
    --muted: #7d687d;
    --line: rgba(236, 64, 122, 0.16);
    --shadow: 0 28px 80px rgba(157, 61, 119, 0.22);
    --radius-large: 2rem;
    --radius-medium: 1.25rem;
    --font-main: 'Nunito', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: var(--font-main);
    color: var(--text);
    background:
        radial-gradient(circle at 16% 12%, rgba(248, 187, 208, 0.78), transparent 30rem),
        radial-gradient(circle at 82% 18%, rgba(206, 147, 216, 0.54), transparent 26rem),
        linear-gradient(135deg, #fff8fc 0%, #fff1f8 48%, #f8efff 100%);
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    background-image:
        linear-gradient(rgba(236, 64, 122, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(236, 64, 122, 0.05) 1px, transparent 1px);
    background-size: 4rem 4rem;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.coming-soon-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 2.25rem 1.25rem;
}

.hero-card {
    display: grid;
    width: min(1160px, 100%);
    gap: clamp(2.4rem, 5vw, 4rem);
    align-items: center;
    padding: clamp(1.6rem, 4.5vw, 3.6rem);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
    animation: card-enter 700ms ease both;
}

.hero-content {
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1.35rem;
    padding: 0.5rem 1rem;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: 999px;
}

h1 {
    margin: 0;
    color: var(--primary);
    font-size: clamp(3.45rem, 11.5vw, 7.3rem);
    line-height: 0.95;
    letter-spacing: -0.07em;
}

.hero-copy {
    max-width: 680px;
    margin: 1.35rem auto 0;
    font-size: clamp(1.62rem, 5.4vw, 2.65rem);
    font-weight: 800;
    line-height: 1.14;
}

.hero-copy-line {
    display: block;
}

.hero-detail {
    max-width: 600px;
    margin: 1.25rem auto 0;
    color: var(--muted);
    font-size: 1.14rem;
    line-height: 1.65;
}

.hero-copy-highlight {
    position: relative;
    display: inline-block;
    padding-bottom: 0.16em;
    white-space: nowrap;
    isolation: isolate;
}

.hero-copy-highlight-text {
    position: relative;
    z-index: 1;
}

.hero-copy-underline {
    position: absolute;
    right: 0;
    bottom: 0.02em;
    left: 0;
    z-index: 0;
    height: 0.24em;
    color: var(--primary);
    transform: rotate(-0.5deg);
    pointer-events: none;
}

.hero-copy-underline svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.hero-copy-underline path {
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.45rem;
}

.time-card {
    display: grid;
    min-height: 7.7rem;
    place-items: center;
    padding: 1.15rem 1rem;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    box-shadow: 0 16px 36px rgba(157, 61, 119, 0.12);
}

.time-value {
    color: var(--primary);
    font-size: clamp(2.45rem, 9.4vw, 4.25rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.time-label {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-note {
    max-width: 360px;
    margin: 2.6rem auto 0.8rem;
    padding: 0;
    color: var(--muted);
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.36;
}

.phone-preview {
    display: flex;
    justify-content: center;
}

.phone-shell {
    position: relative;
    width: min(100%, 326px);
    min-height: 590px;
    padding: 0.7rem;
    background: linear-gradient(145deg, #1d1620, #09070a 46%, #2a202d);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3.25rem;
    box-shadow:
        0 36px 78px rgba(48, 27, 44, 0.34),
        0 10px 24px rgba(48, 27, 44, 0.16),
        inset 0 0 0 2px rgba(255, 255, 255, 0.08),
        inset 0 0 0 8px rgba(0, 0, 0, 0.3);
}

.phone-shell::after {
    position: absolute;
    top: 8.4rem;
    right: -0.16rem;
    width: 0.16rem;
    height: 5rem;
    content: "";
    background: #151016;
    border-radius: 999px;
}

.phone-shell::before {
    position: absolute;
    top: 6.1rem;
    left: -0.16rem;
    width: 0.16rem;
    height: 4.4rem;
    content: "";
    background: #151016;
    border-radius: 999px;
    box-shadow: 0 5.4rem 0 #151016;
}

.phone-speaker {
    position: absolute;
    top: 1.55rem;
    left: 50%;
    z-index: 2;
    width: 6.2rem;
    height: 1.7rem;
    background: #080609;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        0 1px 1px rgba(255, 255, 255, 0.08);
    transform: translateX(-50%);
}

.phone-speaker::after {
    position: absolute;
    top: 50%;
    right: 0.7rem;
    width: 0.38rem;
    height: 0.38rem;
    content: "";
    background: #15151f;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: translateY(-50%);
}

.phone-screen {
    display: grid;
    min-height: 566px;
    gap: 0.75rem;
    align-content: start;
    padding: 3.4rem 0.95rem 0.75rem;
    overflow: hidden;
    background: linear-gradient(180deg, #fff8fc 0%, #ffffff 58%, #fff4fa 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2.65rem;
}

.app-header {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    padding: 0.1rem 0.1rem 0.45rem;
}

.business-name {
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 800;
}

.branch-name {
    margin-bottom: 0.55rem;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.app-header strong {
    color: var(--text);
    font-size: 1.5rem;
    line-height: 1.05;
}

.home-indicator {
    align-self: end;
    justify-self: center;
    width: 5.1rem;
    height: 0.28rem;
    margin-top: 0.35rem;
    background: rgba(53, 40, 55, 0.2);
    border-radius: 999px;
}

.appointment-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: center;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--line);
    border-radius: 1rem;
}

.appointment-card.highlighted {
    background: linear-gradient(135deg, rgba(236, 64, 122, 0.12), rgba(156, 100, 216, 0.12));
}

.appointment-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 2.7rem;
    color: var(--primary);
    font-weight: 800;
    background: #fff;
    border-radius: 0.85rem;
}

.appointment-card strong,
.appointment-card p {
    margin: 0;
}

.appointment-card strong {
    display: block;
    margin-bottom: 0.15rem;
}

.appointment-card p {
    color: var(--muted);
    font-size: 0.92rem;
}

@keyframes card-enter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }

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

@media (min-width: 680px) {
    .countdown {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .coming-soon-page {
        padding: 4rem 3rem;
    }

    .hero-card {
        grid-template-columns: minmax(0, 1.22fr) minmax(340px, 0.78fr);
    }

    .hero-content {
        text-align: left;
    }

    .hero-copy,
    .hero-detail {
        margin-left: 0;
    }

    .status-note {
        width: fit-content;
        max-width: 560px;
        margin-left: 0;
        padding: 1.1rem 1.25rem;
        color: var(--text);
        font-size: 1.14rem;
        background: rgba(255, 255, 255, 0.62);
        border: 1px solid var(--line);
        border-radius: 1rem;
    }

    .phone-preview {
        transform: rotate(1deg);
    }

    .time-card {
        padding-inline: 0.75rem;
    }

    .time-value {
        font-size: clamp(2.45rem, 4vw, 3.75rem);
        letter-spacing: -0.06em;
    }

    .phone-shell {
        min-height: 680px;
    }

    .phone-screen {
        min-height: 656px;
        gap: 1rem;
        padding: 3.7rem 1rem 0.9rem;
    }

    .app-header {
        padding-bottom: 0.7rem;
    }

    .app-header strong {
        font-size: 1.65rem;
    }

    .appointment-card {
        gap: 1.05rem;
        padding: 1.08rem;
    }

    .appointment-time {
        width: 4rem;
        height: 3rem;
    }

    .home-indicator {
        margin-top: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }
}
