:root {
    --bg: #efe8e5;
    --ink: #6b0106;
    --ink-soft: rgba(107, 1, 6, 0.65);
    --ink-faint: rgba(107, 1, 6, 0.18);
}

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

html,
body {
    height: 100%;
}

body {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 24px;
    text-align: center;
}

.content {
    width: 100%;
    max-width: 560px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo {
    width: 260px;
    max-width: 78%;
    height: auto;
    mix-blend-mode: multiply;
    margin-bottom: 4px;
}

.stat {
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: var(--ink-soft);
    margin-bottom: 34px;
}

.stat strong {
    font-weight: 600;
    color: var(--ink);
}

.coming-soon {
    font-weight: 500;
    font-size: clamp(2.4rem, 8vw, 3.6rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.cta-line {
    font-weight: 500;
    font-size: clamp(0.95rem, 3.4vw, 1.15rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 30px;
}

.services {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 26px;
    margin-bottom: 44px;
}

.service {
    position: relative;
}

.service-card {
    position: relative;
    width: 168px;
    min-height: 108px;
    padding: 22px 18px;
    border-radius: 0;
    border: 1px solid var(--ink-faint);
    background: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 6px 18px rgba(107, 1, 6, 0.06);
    transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Glowing light line that continuously travels along the card's border frame */
.card-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.card-frame rect {
    fill: none;
    stroke: var(--ink);
    stroke-width: 2;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 18 82;
    filter: drop-shadow(0 0 3px rgba(107, 1, 6, 0.55));
    animation: orbit-light 5s linear infinite;
}

.service:nth-child(2) .card-frame rect {
    animation-delay: -1.6s;
}

.service:nth-child(3) .card-frame rect {
    animation-delay: -3.3s;
}

.service-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--ink);
    box-shadow: 0 14px 30px rgba(107, 1, 6, 0.14);
}

.service-label {
    font-weight: 500;
    font-size: 0.88rem;
    line-height: 1.3;
    letter-spacing: 0.03em;
}

.socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.social {
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, color 0.25s ease;
}

.social:hover {
    transform: translateY(-3px);
    color: var(--ink-soft);
}

@keyframes orbit-light {
    to {
        stroke-dashoffset: -100;
    }
}

.footer {
    margin-top: auto;
    padding-top: 56px;
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.footer-powered a {
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--ink-faint);
    transition: border-color 0.25s ease;
}

.footer-powered a:hover {
    border-color: var(--ink);
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .service-card {
        width: 150px;
        min-height: 96px;
    }

    .service-label {
        font-size: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .content {
        animation: none;
    }

    .card-frame rect {
        animation: none;
    }
}
