/* ==========================================================================
   iNet Solution Ltd — coming soon page
   1. Tokens & base      5. Hero            9. Motion & a11y
   2. Layout             6. Countdown       10. Responsive
   3. Buttons & badges   7. Sections/cards
   4. Header & nav       8. Contact & footer
   ========================================================================== */

/* 1. Tokens & base --------------------------------------------------------- */

:root {
    --blue: #1557c0;
    --blue-bright: #1e69dc;
    --blue-soft: #eaf1fd;
    --navy: #071b3a;
    --navy-2: #0c2a55;
    --red: #e51e2a;
    --violet: #6b3fa0;
    --ink: #14213d;
    --muted: #64748b;
    --line: #e4ebf5;
    --bg: #ffffff;
    --bg-soft: #f6f9ff;
    --ok: #0f8a5f;
    --warn: #b42318;

    --radius-s: 10px;
    --radius: 16px;
    --radius-l: 24px;

    --shadow-s: 0 2px 10px rgba(11, 34, 68, .06);
    --shadow-m: 0 14px 34px rgba(11, 34, 68, .10);
    --shadow-l: 0 30px 70px rgba(7, 27, 58, .18);

    --shell: 1180px;
    --gutter: clamp(1.15rem, 4vw, 3.5rem);
    --header-h: 84px;

    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-bright); }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.1vw, 2.3rem); }
h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
    outline: 3px solid rgba(21, 87, 192, .45);
    outline-offset: 3px;
    border-radius: 6px;
}

.icon { width: 1.2em; height: 1.2em; flex: none; }

.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;
}

.skip-link {
    position: fixed;
    top: .6rem; left: 50%;
    translate: -50% -160%;
    z-index: 200;
    padding: .7rem 1.2rem;
    background: var(--navy);
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    transition: translate .2s var(--ease);
}
.skip-link:focus { translate: -50% 0; color: #fff; }

/* 2. Layout ---------------------------------------------------------------- */

.shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.6rem, 8vw, 6.5rem); }

.section-head { max-width: 46ch; }

.kicker {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .7rem;
    color: var(--blue);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.kicker::after {
    content: "";
    width: 46px; height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--blue), var(--violet), var(--red));
}

.muted { color: var(--muted); }

/* 3. Buttons & badges ------------------------------------------------------ */

.btn {
    --btn-bg: var(--blue);
    --btn-fg: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .82rem 1.4rem;
    border: 0;
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font: inherit;
    font-size: .94rem;
    font-weight: 700;
    letter-spacing: .01em;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(21, 87, 192, .24);
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s var(--ease);
}
.btn:hover { color: #fff; filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(21, 87, 192, .3); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.btn-light { background: #fff; color: var(--navy); box-shadow: 0 12px 28px rgba(2, 12, 27, .32); }
.btn-light:hover { color: var(--blue); filter: none; box-shadow: 0 16px 34px rgba(2, 12, 27, .4); }

.btn-ghost {
    --btn-fg: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .35);
    box-shadow: none;
}
.btn-ghost:hover { box-shadow: none; background: rgba(255, 255, 255, .18); }

.badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .42rem 1rem .42rem .8rem;
    border: 1px solid rgba(21, 87, 192, .18);
    border-radius: 999px;
    background: rgba(21, 87, 192, .07);
    color: var(--blue);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.dot {
    position: relative;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--red);
}
.dot::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: rgba(229, 30, 42, .28);
    animation: ping 1.9s var(--ease) infinite;
}

/* 4. Header & nav ---------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-s); background: rgba(255, 255, 255, .95); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--header-h);
}

.brand img { width: 152px; }

.nav {
    display: flex;
    align-items: center;
    gap: clamp(1.1rem, 2.4vw, 2.4rem);
}
.nav > a:not(.btn) {
    position: relative;
    padding: .3rem 0;
    color: #2b3a55;
    font-size: .95rem;
    font-weight: 500;
}
.nav > a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
    scale: 0 1;
    transition: scale .22s var(--ease);
}
.nav > a:not(.btn):hover::after,
.nav > a.is-current::after { scale: 1 1; }
.nav > a.is-current { color: var(--blue); font-weight: 700; }
.nav-cta { margin-left: .4rem; }
.nav-cta .icon { width: 1.05em; height: 1.05em; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--navy);
    cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* 5. Hero ------------------------------------------------------------------ */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(120% 90% at 88% 8%, rgba(30, 105, 220, .12), transparent 60%),
        linear-gradient(160deg, #fff 0%, #f8fbff 46%, #eef5ff 100%);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .5;
}
.blob-a { width: 460px; height: 460px; top: -140px; right: -110px; background: rgba(21, 87, 192, .22); }
.blob-b { width: 380px; height: 380px; bottom: -160px; left: -120px; background: rgba(229, 30, 42, .12); }

.grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(21, 87, 192, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21, 87, 192, .05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(80% 70% at 30% 40%, #000 30%, transparent 78%);
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
    min-height: calc(100svh - var(--header-h));
    padding-block: clamp(2.6rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem);
}

.title {
    margin: 1.1rem 0 1rem;
    font-size: clamp(2.35rem, 5.6vw, 4rem);
    letter-spacing: -.035em;
}
.title em {
    font-style: normal;
    background: linear-gradient(96deg, var(--blue) 0%, var(--violet) 52%, var(--red) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    max-width: 52ch;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.1rem);
}

/* Hero visual -------------------------------------------------------------- */

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.hero-art {
    width: clamp(260px, 34vw, 430px);
    filter: drop-shadow(0 26px 40px rgba(7, 27, 58, .16));
    animation: float 7s ease-in-out infinite;
}

.signal {
    position: absolute;
    z-index: -1;
    width: min(560px, 92%);
    aspect-ratio: 1;
}
.signal i {
    position: absolute;
    inset: 0;
    margin: auto;
    border: 2px solid rgba(21, 87, 192, .22);
    border-radius: 50%;
    width: 62%; height: 62%;
    animation: ripple 4.2s var(--ease) infinite;
}
.signal i:nth-child(2) { animation-delay: 1.4s; }
.signal i:nth-child(3) { animation-delay: 2.8s; }

.chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem .95rem;
    border: 1px solid #fff;
    border-radius: 14px;
    background: rgba(255, 255, 255, .93);
    box-shadow: var(--shadow-m);
    color: var(--navy);
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
}
.chip .icon { color: var(--blue); }
.chip-1 { top: 12%; left: 0; animation: float 6s ease-in-out infinite .4s; }
.chip-2 { bottom: 14%; right: 0; animation: float 6.6s ease-in-out infinite 1.1s; }

/* 6. Countdown & notify form ------------------------------------------------ */

.countdown {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.6rem;
}
.count-cell {
    min-width: 84px;
    padding: .8rem .6rem .6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .82);
    box-shadow: var(--shadow-s);
    text-align: center;
}
.count-cell output {
    display: block;
    font-size: clamp(1.5rem, 3.2vw, 2rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.02em;
    color: var(--navy);
}
.count-cell span {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.count-note {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-top: .75rem;
    color: var(--muted);
    font-size: .85rem;
}
.count-note .icon { width: 1em; height: 1em; }

.notify {
    margin-top: 1.9rem;
    padding: 1.15rem 1.25rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--shadow-m);
}

.field-label {
    display: block;
    margin-bottom: .6rem;
    font-size: .92rem;
    font-weight: 700;
    color: var(--navy);
}

.field-row {
    display: flex;
    gap: .6rem;
}

.field {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}
.field-icon {
    position: absolute;
    top: 50%; left: .9rem;
    translate: 0 -50%;
    color: #98a6bd;
    pointer-events: none;
}
.field input {
    width: 100%;
    padding: .9rem 1rem .9rem 2.7rem;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font: inherit;
    font-size: .95rem;
    color: var(--ink);
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input::placeholder { color: #a4b0c2; }
.field input:hover { border-color: #cfdcef; }
.field input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(21, 87, 192, .14);
}
.field input[aria-invalid="true"] { border-color: var(--warn); box-shadow: 0 0 0 4px rgba(180, 35, 24, .12); }

.field-hp {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.form-status {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin-top: .75rem;
    color: var(--muted);
    font-size: .85rem;
}
.form-status .icon { width: 1.05em; height: 1.05em; margin-top: .18rem; }
.form-status[data-type="success"] { color: var(--ok); font-weight: 600; }
.form-status[data-type="error"] { color: var(--warn); font-weight: 600; }
.form-status[data-type="info"] { color: var(--blue); font-weight: 600; }

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    margin-top: 1.35rem;
    color: var(--muted);
    font-size: .86rem;
}
.hero-points li { display: flex; align-items: center; gap: .45rem; }
.hero-points .icon { width: 1em; height: 1em; color: var(--ok); }

/* 7. Sections -------------------------------------------------------------- */

.about { background: var(--bg); }
.about-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
    gap: clamp(1.6rem, 4vw, 3.5rem);
    align-items: end;
}
.about-text { grid-column: 2; color: var(--muted); }

.stats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
}
.stats > div {
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #fff, var(--bg-soft));
    box-shadow: var(--shadow-s);
}
.stats dt {
    font-size: clamp(1.6rem, 3.4vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--blue);
}
.stats dd { margin: .2rem 0 0; color: var(--muted); font-size: .92rem; }

.services { background: linear-gradient(180deg, var(--bg-soft), #fff 70%); border-block: 1px solid var(--line); }
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.1rem;
    margin-top: 2.4rem;
}
.card {
    position: relative;
    padding: 1.7rem 1.6rem 1.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: #fff;
    box-shadow: var(--shadow-s);
    overflow: hidden;
    transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--violet), var(--red));
    scale: 0 1;
    transform-origin: left;
    transition: scale .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); border-color: #d3e0f5; }
.card:hover::before { scale: 1 1; }
.card-icon {
    display: grid;
    place-items: center;
    width: 52px; height: 52px;
    margin-bottom: 1.1rem;
    border-radius: 15px;
    background: var(--blue-soft);
    color: var(--blue);
    transition: background .22s var(--ease), color .22s var(--ease);
}
.card-icon .icon { width: 26px; height: 26px; }
.card:hover .card-icon { background: var(--blue); color: #fff; }
.card p { margin-top: .5rem; color: var(--muted); font-size: .94rem; }

/* 8. Contact & footer ------------------------------------------------------ */

.contact {
    color: #fff;
    background:
        radial-gradient(90% 120% at 12% 0%, rgba(30, 105, 220, .45), transparent 55%),
        radial-gradient(70% 110% at 95% 90%, rgba(229, 30, 42, .28), transparent 60%),
        linear-gradient(150deg, var(--navy-2), var(--navy));
}
.contact .kicker { color: #8fc0ff; }
.contact .muted { color: rgba(255, 255, 255, .72); }
.contact-inner {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(1.8rem, 5vw, 4rem);
    align-items: center;
}
.contact-list { display: grid; gap: .8rem; }

.contact-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.5rem;
}
.contact-cta .icon { width: 1.1em; height: 1.1em; }
.contact-list a,
.contact-list .static {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    grid-template-areas: "icon label" "icon value";
    gap: .1rem .9rem;
    align-items: center;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.contact-list a:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .3); transform: translateX(4px); color: #fff; }
.contact-list .icon { grid-area: icon; width: 22px; height: 22px; color: #8fc0ff; }
.contact-list .label {
    grid-area: label;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
}
.contact-list .value { grid-area: value; font-size: 1.02rem; font-weight: 600; }

.socials { display: flex; gap: .6rem; margin-top: 1.8rem; }
.socials a {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    transition: background .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
}
.socials a:hover { background: #fff; color: var(--navy); transform: translateY(-3px); }

.site-footer {
    padding-block: 1.6rem;
    background: #041227;
    color: rgba(255, 255, 255, .7);
    font-size: .86rem;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 1.6rem;
}
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.footer-brand img {
    width: 118px;
    padding: .3rem .55rem;
    background: #fff;
    border-radius: var(--radius-s);
}
.footer-brand p { color: rgba(255, 255, 255, .78); font-style: italic; }
.copyright { margin: 0; }

.to-top {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1rem;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    color: rgba(255, 255, 255, .85);
    font-weight: 600;
}
.to-top:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.to-top .icon { rotate: -45deg; }

.noscript-note {
    margin: 0;
    padding: .8rem var(--gutter);
    background: #fff5f5;
    border-top: 1px solid #f3d3d3;
    color: var(--warn);
    font-size: .88rem;
    text-align: center;
}

/* 9. Motion & a11y --------------------------------------------------------- */

@keyframes ping {
    0%   { opacity: .8; scale: .6; }
    70%  { opacity: 0;  scale: 1.5; }
    100% { opacity: 0;  scale: 1.5; }
}
@keyframes ripple {
    0%   { opacity: 0;  scale: .55; }
    35%  { opacity: .9; }
    100% { opacity: 0;  scale: 1.35; }
}
@keyframes float {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -12px; }
}

[data-reveal] {
    opacity: 0;
    translate: 0 26px;
    transition: opacity .7s var(--ease), translate .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    [data-reveal] { opacity: 1; translate: none; }
}

/* 10. Responsive ----------------------------------------------------------- */

@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; min-height: 0; }
    .hero-visual { order: -1; padding-block: 1rem; }
    .hero-art { width: clamp(220px, 52vw, 340px); }
    .chip-1 { top: 6%; }
    .chip-2 { bottom: 6%; }
    .about-inner { grid-template-columns: 1fr; align-items: start; }
    .about-text { grid-column: 1; }
    .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    :root { --header-h: 70px; }

    .nav-toggle { display: grid; place-items: center; }

    .nav {
        position: fixed;
        inset: var(--header-h) 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: .35rem;
        padding: 1rem var(--gutter) 1.6rem;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-m);
        translate: 0 -12px;
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s var(--ease), translate .2s var(--ease), visibility .2s;
    }
    .nav.is-open { translate: 0; opacity: 1; visibility: visible; }
    .nav > a:not(.btn) { padding: .7rem .2rem; font-size: 1rem; }
    .nav > a:not(.btn)::after { display: none; }
    .nav-cta { margin: .6rem 0 0; justify-content: center; }

    .field-row { flex-direction: column; }
    .field-row .btn { width: 100%; }
    .count-cell { min-width: 0; flex: 1 1 calc(50% - .7rem); }
    .stats { grid-template-columns: 1fr; }
    .chip { font-size: .74rem; padding: .5rem .75rem; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-brand { flex-direction: column; }
}

@media (max-width: 400px) {
    .chip-1, .chip-2 { display: none; }
}

@media print {
    .site-header, .hero-visual, .notify, .site-footer { display: none; }
    .hero, .contact { background: #fff; color: #000; }
}
