:root {
    --ink: #102d4d;
    --ink-soft: #5a7188;
    --forest: #0869c9;
    --leaf: #1684df;
    --lime: #71c3ff;
    --saffron: #36a9ff;
    --blue: #0869c9;
    --cream: #f7fbff;
    --paper: #ffffff;
    --line: rgba(8, 105, 201, 0.14);
    --shadow: 0 30px 80px rgba(3, 67, 124, 0.16);
}

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

html {
    color-scheme: light;
    scroll-behavior: smooth;
}

body {
    min-height: 100svh;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--cream);
    font-family: "Manrope", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.site-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.82) 0%, rgba(247, 251, 255, 0.66) 46%, rgba(226, 242, 255, 0.4) 100%),
        url("foodex-global-background-v1.png") center / cover no-repeat;
}

.ambient {
    position: absolute;
    display: block;
    width: 42vw;
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.32;
    animation: drift 12s ease-in-out infinite alternate;
}

.ambient-one {
    top: -24%;
    right: -8%;
    background: radial-gradient(circle, rgba(54, 169, 255, 0.48), transparent 68%);
}

.ambient-two {
    bottom: -33%;
    left: -12%;
    background: radial-gradient(circle, rgba(8, 105, 201, 0.34), transparent 66%);
    animation-delay: -5s;
}

.grain {
    position: absolute;
    inset: 0;
    opacity: 0.25;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.1'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
    pointer-events: none;
}

.topbar,
.footer,
.page-shell {
    width: min(1240px, calc(100% - 64px));
    margin-inline: auto;
}

.topbar {
    min-height: 98px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--line);
}

.brand-logo {
    width: clamp(170px, 17vw, 230px);
    height: auto;
    display: block;
}

.topbar-status {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--forest);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(8, 105, 201, 0.18);
    border-radius: 999px;
    box-shadow: 0 8px 30px rgba(3, 67, 124, 0.08);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    backdrop-filter: blur(14px);
}

.live-dot,
.market-live i {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--leaf);
    box-shadow: 0 0 0 5px rgba(22, 132, 223, 0.14);
    animation: signal 2s ease-out infinite;
}

.page-shell {
    min-height: calc(100svh - 164px);
    display: flex;
    align-items: center;
    padding-block: clamp(48px, 7vh, 92px);
}

.hero {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
    align-items: center;
    gap: clamp(48px, 7vw, 104px);
}

.hero-copy {
    position: relative;
    z-index: 3;
    animation: reveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--leaf);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow span {
    width: 34px;
    height: 2px;
    background: var(--blue);
}

h1 {
    max-width: 680px;
    font-family: "DM Serif Display", serif;
    font-size: clamp(58px, 6.4vw, 92px);
    font-weight: 400;
    line-height: 0.91;
    letter-spacing: -0.045em;
}

h1 em {
    color: var(--forest);
    font-weight: 400;
}

.hero-description {
    max-width: 590px;
    margin-top: 30px;
    color: var(--ink-soft);
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.75;
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 30px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #274a69;
    font-size: 13px;
    font-weight: 700;
}

.benefit svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: var(--leaf);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.launch-card {
    max-width: 590px;
    margin-top: 38px;
    padding: 20px 22px 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(8, 105, 201, 0.15);
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(3, 67, 124, 0.1);
    backdrop-filter: blur(18px);
}

.launch-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.loader {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border: 3px solid rgba(22, 132, 223, 0.16);
    border-top-color: var(--leaf);
    border-radius: 50%;
    animation: spin 1.1s linear infinite;
}

.launch-heading div {
    display: grid;
    gap: 2px;
}

.launch-label {
    color: var(--leaf);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.17em;
}

.launch-heading strong {
    font-size: 14px;
}

.launch-badge {
    margin-left: auto;
    padding: 7px 10px;
    color: #075aa8;
    background: rgba(54, 169, 255, 0.15);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.progress-track {
    height: 5px;
    margin-top: 18px;
    overflow: hidden;
    background: #e5f1fb;
    border-radius: 999px;
}

.progress-track span {
    display: block;
    width: 68%;
    height: 100%;
    background: linear-gradient(90deg, var(--forest), var(--leaf), var(--lime));
    border-radius: inherit;
    animation: breathe 2.7s ease-in-out infinite;
}

.launch-card > p {
    margin-top: 12px;
    color: #687e92;
    font-size: 11px;
    line-height: 1.6;
}

.market-stage {
    position: relative;
    min-height: 600px;
    display: grid;
    place-items: center;
    animation: reveal 0.9s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.market-stage::before {
    content: "";
    position: absolute;
    inset: 7% 3% 5%;
    background: radial-gradient(circle at center, rgba(22, 132, 223, 0.18), rgba(113, 195, 255, 0.09) 45%, transparent 70%);
    border-radius: 50%;
    filter: blur(8px);
}

.world-orbit {
    position: absolute;
    width: 570px;
    max-width: 95%;
    aspect-ratio: 1;
    border: 1px solid rgba(8, 105, 201, 0.14);
    border-radius: 50%;
}

.world-orbit::before,
.world-orbit::after {
    content: "";
    position: absolute;
    border: 1px dashed rgba(8, 105, 201, 0.16);
    border-radius: 50%;
}

.world-orbit::before {
    inset: 12%;
}

.world-orbit::after {
    inset: 26%;
}

.orbit-line {
    position: absolute;
    inset: 48% -4%;
    height: 1px;
    border-top: 1px dashed rgba(8, 105, 201, 0.2);
    transform: rotate(-14deg);
}

.orbit-line-two {
    transform: rotate(52deg);
}

.market-panel {
    position: relative;
    z-index: 2;
    width: min(410px, 78%);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    box-shadow: var(--shadow), inset 0 0 0 1px rgba(8, 105, 201, 0.07);
    backdrop-filter: blur(24px);
}

.panel-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    color: #60778d;
    border-bottom: 1px solid var(--line);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.market-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--leaf);
}

.market-live i {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 4px rgba(22, 132, 223, 0.12);
}

.featured-product {
    padding: 16px 16px 0;
}

.featured-image {
    position: relative;
    height: 205px;
    overflow: hidden;
    border-radius: 18px;
}

.featured-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(5, 42, 76, 0.42));
}

.featured-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.market-panel:hover .featured-image img {
    transform: scale(1.04);
}

.featured-image span {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 7px 10px;
    color: white;
    background: rgba(5, 50, 91, 0.78);
    border-radius: 999px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.14em;
    backdrop-filter: blur(8px);
}

.product-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 4px 15px;
}

.product-heading p {
    margin-bottom: 3px;
    color: var(--leaf);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.11em;
}

.product-heading h2 {
    font-family: "DM Serif Display", serif;
    font-size: 29px;
    font-weight: 400;
}

.grade {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: var(--forest);
    background: rgba(54, 169, 255, 0.16);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
}

.trade-route {
    display: grid;
    grid-template-columns: 1fr 74px 1fr;
    align-items: center;
    gap: 10px;
    margin: 0 20px;
    padding: 16px 0;
    border-block: 1px solid var(--line);
}

.trade-route div:last-child {
    text-align: right;
}

.trade-route span {
    display: block;
    margin-bottom: 4px;
    color: #8297aa;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.trade-route strong {
    font-size: 11px;
}

.trade-route svg {
    width: 100%;
    fill: none;
    stroke: var(--saffron);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.3;
}

.market-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 18px 20px 22px;
}

.market-metrics div {
    display: grid;
    gap: 3px;
    text-align: center;
}

.market-metrics div + div {
    border-left: 1px solid var(--line);
}

.market-metrics strong {
    color: var(--forest);
    font-size: 17px;
}

.market-metrics span {
    color: #8297aa;
    font-size: 9px;
    font-weight: 700;
}

.mini-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 11px;
    width: 214px;
    padding: 10px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(3, 67, 124, 0.16);
    backdrop-filter: blur(16px);
}

.mini-card img {
    width: 62px;
    height: 62px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 11px;
}

.mini-card div {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.mini-card span {
    color: #73899e;
    font-size: 8px;
    font-weight: 700;
}

.mini-card strong {
    font-size: 10px;
    letter-spacing: 0.045em;
}

.mini-card-dates {
    top: 7%;
    right: -3%;
    animation: float 5s ease-in-out infinite;
}

.mini-card-saffron {
    bottom: 7%;
    left: -3%;
    animation: float 5.8s -2s ease-in-out infinite;
}

.mini-card-rice {
    right: -1%;
    bottom: 16%;
    animation: float 6.5s -3.6s ease-in-out infinite;
}

.footer {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #667e94;
    border-top: 1px solid var(--line);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

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

@keyframes drift {
    to { transform: translate3d(4%, 5%, 0) scale(1.08); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes signal {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

@keyframes breathe {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@media (max-width: 1050px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-copy {
        max-width: 720px;
        text-align: center;
        margin-inline: auto;
    }

    .eyebrow,
    .benefits {
        justify-content: center;
    }

    .hero-description,
    .launch-card {
        margin-inline: auto;
    }

    .market-stage {
        width: min(660px, 100%);
        margin-inline: auto;
    }
}

@media (max-width: 680px) {
    .site-background {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(239, 248, 255, 0.67) 52%, rgba(224, 242, 255, 0.5) 100%),
            url("foodex-global-background-v1.png") center / cover no-repeat;
    }

    .topbar,
    .footer,
    .page-shell {
        width: min(100% - 36px, 1240px);
    }

    .topbar {
        min-height: 78px;
    }

    .brand-logo {
        width: 154px;
    }

    .topbar-status {
        min-height: 36px;
        padding: 8px 10px;
        font-size: 0;
    }

    .topbar-status::after {
        content: "Launching soon";
        font-size: 10px;
    }

    .page-shell {
        min-height: auto;
        padding-block: 52px 34px;
    }

    h1 {
        font-size: clamp(46px, 15vw, 68px);
        line-height: 0.94;
    }

    .hero-description {
        margin-top: 24px;
        font-size: 15px;
        line-height: 1.7;
    }

    .benefits {
        gap: 10px 16px;
    }

    .launch-card {
        margin-top: 30px;
        text-align: left;
    }

    .market-stage {
        min-height: 530px;
        margin-top: 12px;
    }

    .market-panel {
        width: min(368px, 92%);
    }

    .featured-image {
        height: 180px;
    }

    .world-orbit {
        max-width: 118%;
    }

    .mini-card {
        width: 176px;
        padding: 8px;
    }

    .mini-card img {
        width: 48px;
        height: 48px;
    }

    .mini-card-dates {
        top: 0;
        right: -4%;
    }

    .mini-card-saffron {
        bottom: 0;
        left: -4%;
    }

    .mini-card-rice {
        display: none;
    }

    .footer {
        min-height: 86px;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        text-align: center;
    }
}

@media (max-width: 410px) {
    .launch-heading strong {
        font-size: 12px;
    }

    .launch-badge {
        display: none;
    }

    .trade-route {
        grid-template-columns: 1fr 46px 1fr;
    }
}

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