/* =========================================================================
   Global AI Nexus — style.css
   Full design system. All presentation lives here (no inline styles in HTML).
   ========================================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
    /* base / surfaces */
    --bg: #03150e;
    --bg-2: #06251a;
    --surface: rgba(12, 48, 34, .72);
    --surface-2: rgba(8, 34, 24, .60);
    --line: rgba(244, 216, 121, .18);
    --line-soft: rgba(210, 230, 210, .13);

    /* text */
    --text: #f6f5e9;
    --muted: #a8b9ad;
    --muted-2: #81988a;

    /* accents */
    --gold: #f4d879;
    --gold-2: #dcae3c;
    --mint: #8ce5b5;
    --teal: #2dd4bf;

    /* vibrant accent gradients (premium AI/tech energy) */
    --grad-gold: linear-gradient(135deg, #f8e7a0, #d9a936);
    --grad-accent: linear-gradient(135deg, #8ce5b5, #2dd4bf 55%, #f4d879);
    --grad-surface: linear-gradient(145deg, rgba(15, 56, 39, .8), rgba(4, 28, 19, .72));

    /* shadows / radii / motion */
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, .18);
    --shadow-md: 0 18px 45px rgba(0, 0, 0, .28);
    --shadow-gold: 0 12px 32px rgba(218, 174, 60, .18);
    --radius: 14px;
    --radius-lg: 18px;
    --radius-pill: 999px;
    --ease: cubic-bezier(.2, .7, .2, 1);

    /* spacing scale */
    --space-xs: .5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6.5rem;

    /* typography */
    --font-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    /* layout */
    --max: 1180px;
    --gutter: clamp(1rem, 4vw, 2rem);

    --nav-h: 82px;
    --nav-h-mobile: 72px;
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* layered background depth */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(ellipse at 80% 8%, rgba(45, 212, 191, .14), transparent 38%),
        radial-gradient(ellipse at 10% 44%, rgba(180, 134, 34, .08), transparent 32%),
        radial-gradient(ellipse at 88% 92%, rgba(140, 229, 181, .07), transparent 40%),
        linear-gradient(140deg, #03170f, #05271b 52%, #03170f);
}

/* subtle noise texture */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: .16;
    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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    cursor: pointer;
}

img,
video,
svg {
    display: block;
    max-width: 100%;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection {
    background: rgba(244, 216, 121, .28);
    color: #fff;
}

/* ---------- 3. Layout primitives ---------- */
.container {
    width: min(var(--max), calc(100% - 2 * var(--gutter)));
    margin-inline: auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: .19em;
    font-size: .72rem;
    font-weight: 700;
    color: var(--gold);
    font-family: var(--font-display);
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.section {
    padding: clamp(4.5rem, 8vw, 6.5rem) 0;
    position: relative;
}

.section--tight {
    padding-top: 2.8rem;
}

.section--tighter {
    padding-top: 1.6rem;
}

.section-head {
    max-width: 680px;
    margin-bottom: 44px;
}

.section-head--flush {
    margin: 1rem 0 0;
}

.section-head h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.1rem, 4.5vw, 3.55rem);
    line-height: 1.08;
    letter-spacing: -.045em;
    margin: 16px 0;
}

.section-head p {
    color: var(--muted);
    font-size: 1.02rem;
    max-width: 610px;
}

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

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

/* ---------- 4. Navigation ---------- */
.nav-wrap {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
    border-bottom: 1px solid transparent;
}

.nav-wrap.scrolled {
    background: rgba(3, 21, 14, .88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-color: var(--line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

nav {
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo {
    height: 48px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    background: transparent;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .5));
    transition: transform .25s var(--ease);
}

.brand:hover .brand-logo {
    transform: scale(1.03);
}

/* Screen-reader only text when full logo image is used */
.brand-text {
    display: none;
}

/* JS logo-fallback monogram badge (shows when logo image fails) */
.brand-logo.is-fallback {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--bg);
    background: var(--grad-gold);
    border: 1px solid var(--gold-2);
}

.brand-logo.is-fallback::before {
    content: "GN";
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #d3ddd3;
    font-size: .87rem;
}

.nav-links a {
    transition: color .2s var(--ease);
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width .25s var(--ease);
}

.nav-links a:not(.nav-cta):hover {
    color: var(--gold);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

/* shared button look */
.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 19px;
    border-radius: 7px;
    border: 1px solid var(--gold-2);
    color: #1b1b0d;
    background: var(--grad-gold);
    font-weight: 700;
    font-size: .87rem;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease);
}

.nav-cta:hover,
.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
    filter: brightness(1.06);
}

.nav-cta span,
.btn span {
    transition: transform .2s var(--ease);
}

.nav-cta:hover span,
.btn:hover span {
    transform: translateX(3px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: transparent;
    padding: 0 11px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .25s var(--ease);
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s var(--ease);
    z-index: 1000;
    backdrop-filter: blur(2px);
}

.nav-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ---------- 5. Hero ---------- */
.hero {
    min-height: 760px;
    display: grid;
    align-items: center;
    padding: 140px 0 80px;
    position: relative;
    isolation: isolate;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.06fr .94fr;
    gap: 44px;
    align-items: center;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(3rem, 6.6vw, 6.1rem);
    line-height: .99;
    letter-spacing: -.075em;
    margin: 22px 0 24px;
    max-width: 720px;
}

.hero h1 span {
    display: block;
    font-weight: 500;
}

.hero h1 .gold-grad {
    display: block;
}

.hero-copy {
    font-size: 1.06rem;
    color: #b5c5b8;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 19px;
    border: 1px solid rgba(222, 238, 222, .25);
    border-radius: 7px;
    color: #e9eee7;
    font-size: .87rem;
    font-weight: 600;
    transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

.btn-outline span {
    transition: transform .2s var(--ease);
}

.btn-outline:hover span {
    transform: translateY(2px);
}

.hero-note {
    margin-top: 32px;
    color: #81988a;
    font-size: .78rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-note::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 14px var(--mint);
}

.hero-visual {
    position: relative;
    min-height: 470px;
    display: grid;
    place-items: center;
}

.orbital {
    position: absolute;
    width: min(100%, 490px);
    aspect-ratio: 1;
    border: 1px solid rgba(244, 216, 121, .22);
    border-radius: 50%;
    animation: rotate 32s linear infinite;
}

.orbital::before,
.orbital::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(140, 229, 181, .15);
    border-radius: 50%;
    inset: 9%;
}

.orbital::after {
    inset: 19%;
    border-color: rgba(244, 216, 121, .12);
}

.orbital-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 20px var(--gold);
    top: 13%;
    left: 21%;
}

.logo-stage {
    position: relative;
    width: min(100%, 410px);
    aspect-ratio: 16/10;
    display: grid;
    place-items: center;
    animation: float 6s ease-in-out infinite;
}

.logo-stage::before {
    content: "";
    position: absolute;
    inset: 6%;
    border-radius: 14px;
    background: radial-gradient(circle, rgba(244, 216, 121, .16), rgba(5, 39, 27, .1) 54%, transparent 72%);
    filter: blur(10px);
}

.logo-stage video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(244, 216, 121, .08) inset;
    position: relative;
    z-index: 1;
}

.float-tag {
    position: absolute;
    z-index: 2;
    padding: 11px 14px;
    border: 1px solid rgba(244, 216, 121, .25);
    border-radius: 10px;
    background: rgba(4, 32, 22, .8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: .76rem;
    color: #e4e8db;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
    animation: float 5s ease-in-out infinite;
}

.float-tag b {
    color: var(--gold);
    display: block;
    font-size: .83rem;
}

.tag-one {
    top: 16%;
    right: -2%;
}

.tag-two {
    bottom: 18%;
    left: -1%;
    animation-delay: -2s;
}

.tag-three {
    bottom: 7%;
    right: 10%;
    animation-delay: -3s;
}

.scroll-mark {
    position: absolute;
    bottom: 27px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #81988a;
    text-transform: uppercase;
    letter-spacing: .17em;
    font-size: .65rem;
}

.scroll-mark i {
    width: 1px;
    height: 27px;
    background: linear-gradient(var(--gold), transparent);
    display: block;
}

/* ---------- 6. Ticker ---------- */
.ticker {
    border-block: 1px solid var(--line);
    background: rgba(2, 20, 14, .45);
    overflow: hidden;
    padding: 16px 0;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: marquee 32s linear infinite;
    gap: 35px;
    align-items: center;
}

.ticker-item {
    display: flex;
    gap: 13px;
    align-items: center;
    color: #b7c6b8;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .17em;
    white-space: nowrap;
}

.ticker-item span {
    color: var(--gold);
    font-size: 1rem;
}

/* ---------- 7. Image slider (#showcase) ---------- */
.showcase .section-head {
    margin-bottom: 32px;
}

.slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 16/9;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    background: linear-gradient(145deg, #0b3826, #041c13);
}

.slider-track {
    position: absolute;
    inset: 0;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(2%) scale(1.02);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    /* gradient fallback behind the image (shows if image fails) */
    background: radial-gradient(circle at 30% 30%, rgba(45, 212, 191, .25), transparent 45%),
        radial-gradient(circle at 75% 70%, rgba(244, 216, 121, .22), transparent 50%),
        linear-gradient(145deg, #0b3826, #041c13);
}

.slide:nth-child(2n) {
    background: radial-gradient(circle at 70% 25%, rgba(244, 216, 121, .22), transparent 48%),
        radial-gradient(circle at 25% 75%, rgba(140, 229, 181, .22), transparent 50%),
        linear-gradient(145deg, #0c3a28, #051f15);
}

.slide:nth-child(3n) {
    background: radial-gradient(circle at 50% 30%, rgba(45, 212, 191, .2), transparent 46%),
        radial-gradient(circle at 80% 80%, rgba(244, 216, 121, .18), transparent 50%),
        linear-gradient(145deg, #0a3424, #06190f);
}

.slide.is-active {
    opacity: 1;
    transform: none;
    z-index: 1;
}

.slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 21, 14, .15) 0%, rgba(3, 21, 14, .35) 45%, rgba(3, 21, 14, .9) 100%);
}

.slide-caption {
    position: absolute;
    left: clamp(1.25rem, 4vw, 2.5rem);
    bottom: clamp(1.25rem, 4vw, 2.5rem);
    right: clamp(1.25rem, 4vw, 2.5rem);
    max-width: 36ch;
    padding: 18px 20px;
    border: 1px solid rgba(244, 216, 121, .22);
    border-radius: var(--radius);
    background: rgba(4, 24, 16, .55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}

.slide-caption .eyebrow {
    font-size: .68rem;
}

.slide-caption h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.1rem, 2.4vw, 1.7rem);
    line-height: 1.1;
    letter-spacing: -.03em;
    margin: 10px 0 8px;
}

.slide-caption p {
    font-size: .88rem;
    color: var(--muted);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(3, 21, 14, .6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text);
    font-size: 1.6rem;
    line-height: 1;
    transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}

.slider-arrow:hover {
    background: var(--grad-gold);
    color: #1b1b0d;
    border-color: var(--gold-2);
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev {
    left: 16px;
}

.slider-arrow.next {
    right: 16px;
}

.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}

.dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(244, 216, 121, .5);
    background: transparent;
    transition: width .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}

.dot:hover {
    background: rgba(244, 216, 121, .4);
}

.dot.is-active {
    width: 26px;
    background: var(--grad-accent);
    border-color: transparent;
}

/* ---------- 8. About / intro ---------- */
.intro-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.intro-statement {
    margin-top: 1.25rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.7rem, 3vw, 2.65rem);
    line-height: 1.22;
    letter-spacing: -.04em;
}

.intro-statement em {
    font-style: normal;
    color: var(--gold);
}

.intro-copy p {
    color: var(--muted);
    margin-bottom: 18px;
}

.mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.stat {
    padding: 18px 16px;
    border-left: 1px solid var(--gold-2);
    background: linear-gradient(90deg, rgba(244, 216, 121, .06), transparent);
    transition: transform .25s var(--ease);
}

.stat:hover {
    transform: translateY(-4px);
}

.stat strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.08rem;
    color: var(--gold);
}

.stat span {
    font-size: .76rem;
    color: var(--muted);
}

/* ---------- 9. Business focus cards ---------- */
.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.business-card {
    min-height: 340px;
    padding: 28px;
    border: 1px solid rgba(210, 230, 210, .13);
    border-radius: var(--radius);
    background: var(--grad-surface);
    position: relative;
    overflow: hidden;
    transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}

.business-card:hover {
    transform: translateY(-8px);
    border-color: rgba(244, 216, 121, .48);
    box-shadow: var(--shadow-md);
}

.business-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(244, 216, 121, .1);
    border-radius: 50%;
    right: -78px;
    top: -80px;
    box-shadow: 0 0 0 22px rgba(244, 216, 121, .025), 0 0 0 44px rgba(244, 216, 121, .02);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.icon-box {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(244, 216, 121, .28);
    border-radius: 12px;
    color: var(--gold);
    font-size: 1.45rem;
    background: rgba(244, 216, 121, .06);
    transition: transform .3s var(--ease), background .3s var(--ease);
}

.business-card:hover .icon-box {
    transform: rotate(-6deg) scale(1.05);
    background: rgba(244, 216, 121, .12);
}

.card-index {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: .75rem;
    color: #7e9b88;
    letter-spacing: .12em;
}

.business-card h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.45rem;
    margin-bottom: 12px;
    letter-spacing: -.03em;
}

.business-card p {
    font-size: .9rem;
    color: var(--muted);
    margin-bottom: 20px;
}

.card-link {
    color: var(--gold);
    font-size: .82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.card-link span {
    transition: transform .2s var(--ease);
}

.business-card:hover .card-link span {
    transform: translateX(5px);
}

/* ---------- 10. Detail sections (crypto / forex / spin) ---------- */
.detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.detail.reverse .detail-visual {
    order: 2;
}

.detail.reverse .detail-text {
    order: 1;
}

.detail-visual {
    min-height: 365px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 45%, rgba(244, 216, 121, .13), transparent 38%), linear-gradient(145deg, #0b3826, #041c13);
}

.visual-grid {
    position: absolute;
    inset: 0;
    opacity: .32;
    background-image: linear-gradient(rgba(244, 216, 121, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 216, 121, .12) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(135deg, #000, transparent 85%);
    -webkit-mask-image: linear-gradient(135deg, #000, transparent 85%);
}

.market-visual {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.market-ring {
    width: 225px;
    aspect-ratio: 1;
    border: 1px solid rgba(244, 216, 121, .48);
    border-radius: 50%;
    position: relative;
    display: grid;
    place-items: center;
    box-shadow: 0 0 70px rgba(244, 216, 121, .07), inset 0 0 40px rgba(244, 216, 121, .05);
    animation: pulse 4s ease-in-out infinite;
}

.market-ring::before,
.market-ring::after {
    content: "";
    position: absolute;
    inset: 17px;
    border: 1px dashed rgba(140, 229, 181, .4);
    border-radius: 50%;
    animation: rotate 28s linear infinite;
}

.market-ring::after {
    inset: 42px;
    border-style: solid;
    border-color: rgba(244, 216, 121, .24);
    animation-direction: reverse;
}

.market-symbol {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 4rem;
    color: var(--gold);
    text-shadow: 0 0 28px rgba(244, 216, 121, .28);
}

.market-symbol--fx {
    font-size: 3.6rem;
}

.chart-line {
    position: absolute;
    left: 7%;
    right: 7%;
    bottom: 19%;
    height: 42%;
    opacity: .8;
}

.chart-line svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.visual-label {
    position: absolute;
    left: 22px;
    top: 22px;
    font-size: .7rem;
    letter-spacing: .17em;
    text-transform: uppercase;
    color: #b5c5b8;
}

.visual-bottom {
    position: absolute;
    bottom: 20px;
    left: 22px;
    right: 22px;
    display: flex;
    justify-content: space-between;
    color: #a6b8a8;
    font-size: .72rem;
}

.detail-text h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -.05em;
    margin: 16px 0 20px;
}

.detail-text>p {
    color: var(--muted);
    margin-bottom: 22px;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 13px;
    margin: 25px 0 30px;
}

.feature-list li {
    display: flex;
    gap: 12px;
    color: #d5dfd4;
    font-size: .9rem;
}

.feature-list li::before {
    content: "↗";
    color: var(--gold);
    font-weight: 700;
}

.note-box {
    padding: 14px 16px;
    border-left: 2px solid var(--gold-2);
    background: rgba(244, 216, 121, .055);
    color: #aebfaf;
    font-size: .79rem;
    border-radius: 0 7px 7px 0;
}

/* spin wheel */
.spin-wheel {
    width: 218px;
    aspect-ratio: 1;
    border-radius: 50%;
    position: relative;
    background: conic-gradient(from -22.5deg, #e8c85f 0 45deg, #0d4930 45deg 90deg, #e8c85f 90deg 135deg, #0d4930 135deg 180deg, #e8c85f 180deg 225deg, #0d4930 225deg 270deg, #e8c85f 270deg 315deg, #0d4930 315deg 360deg);
    border: 7px solid #e8cf7c;
    box-shadow: 0 0 0 13px rgba(244, 216, 121, .07), 0 0 50px rgba(244, 216, 121, .12);
    animation: rotate 25s linear infinite;
}

.spin-wheel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-conic-gradient(transparent 0 44deg, rgba(3, 26, 18, .8) 44deg 45deg);
    border-radius: 50%;
}

.spin-wheel::after {
    content: "✦";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 53px;
    height: 53px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #06291c;
    border: 2px solid #f5dc81;
    color: var(--gold);
    font-size: 1.4rem;
}

.spin-pointer {
    position: absolute;
    top: calc(50% - 135px);
    left: calc(50% - 14px);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 30px solid #fff0a8;
    z-index: 2;
    filter: drop-shadow(0 3px 6px #000);
}

/* ---------- 11. Steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    counter-reset: step;
}

.step {
    padding: 23px;
    border-top: 1px solid var(--line);
    position: relative;
    background: linear-gradient(180deg, rgba(15, 56, 39, .4), transparent);
    transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.step:hover {
    transform: translateY(-5px);
    border-color: var(--gold-2);
}

.step::before {
    counter-increment: step;
    content: "0" counter(step);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.6rem;
    color: var(--gold);
    display: block;
    margin-bottom: 25px;
}

.step h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
}

.step p {
    font-size: .84rem;
    color: var(--muted);
}

/* ---------- 12. Principles / values ---------- */
.values-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 40px;
    align-items: center;
}

.values-panel {
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(140deg, rgba(16, 63, 42, .75), rgba(4, 27, 18, .6));
}

.values-panel h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.7rem;
    margin-bottom: 15px;
}

.values-panel p {
    color: var(--muted);
    max-width: 570px;
}

.values-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
}

.value-pill {
    padding: 12px 14px;
    border: 1px solid rgba(210, 230, 210, .12);
    border-radius: 8px;
    color: #dce5d9;
    font-size: .82rem;
    display: flex;
    gap: 10px;
    align-items: center;
    transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}

.value-pill:hover {
    border-color: var(--gold-2);
    color: var(--gold);
    transform: translateX(4px);
}

.value-pill::before {
    content: "✧";
    color: var(--gold);
}

.disclaimer {
    font-size: .78rem;
    color: #82988a;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-top: 26px;
}

/* ---------- 13. Contact ---------- */
.contact-panel {
    position: relative;
    padding: 60px;
    border: 1px solid rgba(244, 216, 121, .27);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: radial-gradient(ellipse at 100% 0%, rgba(244, 216, 121, .13), transparent 42%), linear-gradient(120deg, #0b3825, #041b12);
}

.contact-panel::after {
    content: "NEXUS";
    position: absolute;
    right: -12px;
    bottom: -50px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(5rem, 13vw, 12rem);
    line-height: 1;
    color: rgba(244, 216, 121, .035);
    letter-spacing: -.08em;
    pointer-events: none;
}

.contact-panel h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.2rem, 4.7vw, 4rem);
    line-height: 1.06;
    letter-spacing: -.05em;
    max-width: 700px;
    margin: 17px 0;
}

.contact-panel p {
    color: var(--muted);
    max-width: 590px;
}

.contact-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
    position: relative;
    z-index: 1;
}

/* ---------- 14. Footer ---------- */
footer {
    padding: 30px 0 35px;
    border-top: 1px solid var(--line);
    color: #809588;
    font-size: .78rem;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
}

.footer-brand {
    color: #e4e8d9;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .13em;
}

.footer-copy {
    margin-top: 7px;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    transition: color .2s var(--ease);
}

.footer-links a:hover {
    color: var(--gold);
}

/* ---------- 15. Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .75s ease, transform .75s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: .12s;
}

.delay-2 {
    transition-delay: .22s;
}

.delay-3 {
    transition-delay: .32s;
}

/* ---------- 16. Utilities ---------- */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- 17. Keyframes ---------- */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

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

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 70px rgba(244, 216, 121, .07), inset 0 0 40px rgba(244, 216, 121, .05);
    }

    50% {
        transform: scale(1.035);
        box-shadow: 0 0 95px rgba(244, 216, 121, .13), inset 0 0 45px rgba(244, 216, 121, .08);
    }
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* ---------- 18. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .slide {
        transition: none;
    }
}

/* ---------- 19. Responsive: tablet (max-width: 980px) ---------- */
@media (max-width: 980px) {
    :root {
        --nav-h: var(--nav-h-mobile);
    }

    .nav-toggle {
        display: flex;
    }

    /* slide-in mobile panel */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100dvh;
        width: min(82vw, 340px);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: calc(var(--nav-h) + 12px) 22px 30px;
        background: rgba(3, 21, 14, .97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-left: 1px solid var(--line);
        transform: translateX(100%);
        transition: transform .35s var(--ease);
        z-index: 1001;
        box-shadow: -20px 0 60px rgba(0, 0, 0, .4);
        overflow-y: auto;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        padding: 16px 8px;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
        font-size: .95rem;
    }

    .nav-links a:not(.nav-cta)::after {
        display: none;
    }

    .nav-cta {
        margin-top: 18px;
        width: 100%;
        padding: 15px 19px;
    }

    .hero {
        min-height: auto;
        padding: 135px 0 90px;
    }

    .hero-grid {
        gap: 18px;
        grid-template-columns: 1fr .85fr;
    }

    .hero-visual {
        min-height: 390px;
    }

    .tag-one {
        right: -4%;
    }

    .business-grid {
        grid-template-columns: 1fr 1fr;
    }

    .business-card:last-child {
        grid-column: span 2;
        min-height: 270px;
    }

    .detail {
        gap: 35px;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-grid {
        gap: 38px;
    }

    .contact-panel {
        padding: 45px;
    }

    .slider-arrow {
        width: 42px;
        height: 42px;
        font-size: 1.4rem;
    }

    .slide-caption {
        max-width: 28ch;
    }
}

/* ---------- 20. Responsive: phone (max-width: 720px) ---------- */
@media (max-width: 720px) {
    .container {
        width: min(100% - 34px, var(--max));
    }

    .section {
        padding: 76px 0;
    }

    .nav-wrap {
        background: rgba(3, 21, 14, .84);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .brand-logo {}

    .brand-text {
        font-size: .84rem;
    }

    .hero {
        padding: 118px 0 70px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero h1 {
        font-size: clamp(3.15rem, 13vw, 5.2rem);
        margin: 18px 0;
    }

    .hero-copy {
        font-size: .98rem;
    }

    .hero-visual {
        min-height: 340px;
        margin-top: 6px;
    }

    .logo-stage {
        width: min(78%, 330px);
    }

    .orbital {
        width: min(95%, 350px);
    }

    .tag-one {
        top: 9%;
        right: 0;
    }

    .tag-two {
        bottom: 13%;
        left: 0;
    }

    .tag-three {
        bottom: 3%;
        right: 5%;
    }

    .float-tag {
        font-size: .68rem;
        padding: 9px 11px;
    }

    .scroll-mark {
        display: none;
    }

    .intro-grid,
    .detail,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .intro-statement {
        max-width: 600px;
    }

    .mini-stats {
        gap: 7px;
    }

    .stat {
        padding: 14px 10px;
    }

    .stat strong {
        font-size: .94rem;
    }

    .stat span {
        font-size: .68rem;
    }

    .business-grid {
        grid-template-columns: 1fr;
    }

    .business-card,
    .business-card:last-child {
        grid-column: auto;
        min-height: unset;
        padding: 24px;
    }

    .card-top {
        margin-bottom: 22px;
    }

    .detail.reverse .detail-visual,
    .detail.reverse .detail-text {
        order: initial;
    }

    .detail-visual {
        min-height: 320px;
    }

    .detail-text h2 {
        font-size: 2.45rem;
    }

    .steps {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .step {
        padding: 18px 14px;
    }

    .step::before {
        margin-bottom: 15px;
    }

    .values-panel {
        padding: 25px;
    }

    .values-list {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        padding: 32px 24px;
    }

    .footer-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        gap: 14px;
    }

    .slider {
        aspect-ratio: 3/2;
    }

    .slider-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.25rem;
    }

    .slide-caption {
        padding: 14px 16px;
    }

    .slide-caption p {
        display: none;
    }
}

/* ---------- 21. Responsive: small phone (max-width: 420px) ---------- */
@media (max-width: 420px) {
    .container {
        width: calc(100% - 28px);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn,
    .hero-actions .btn-outline {
        justify-content: center;
    }

    .hero-visual {
        min-height: 290px;
    }

    .logo-stage {
        width: 78%;
    }

    .orbital {
        width: 94%;
    }

    .float-tag {
        font-size: .62rem;
    }

    .tag-one {
        right: -2%;
    }

    .tag-two {
        left: -2%;
    }

    .tag-three {
        right: 0;
    }

    .mini-stats {
        grid-template-columns: 1fr;
    }

    .stat {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .detail-visual {
        min-height: 285px;
    }

    .market-ring {
        width: 185px;
    }

    .spin-wheel {
        width: 180px;
    }

    .spin-pointer {
        top: calc(50% - 116px);
    }

    .section-head h2 {
        font-size: 2.2rem;
    }

    .slider-arrow {
        display: none;
    }
}

/* =========================================================================
   Global AI Nexus — Upgraded Ecosystem & Interactive Components
   ========================================================================= */

/* ---------- Announcement Bar ---------- */
.top-announcement {
    background: linear-gradient(90deg, #02120b, #072f20 50%, #02120b);
    border-bottom: 1px solid var(--line);
    padding: 9px 0;
    font-size: .78rem;
    position: relative;
    z-index: 1010;
}

.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    text-align: center;
}

.announcement-tag {
    background: rgba(244, 216, 121, .15);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: .68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: .08em;
}

.announcement-text {
    color: #d1ded4;
}

.announcement-link {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: transform .2s var(--ease);
}

.announcement-link:hover {
    text-decoration: underline;
    transform: translateX(3px);
}

/* ---------- Beacon Dots ---------- */
.pulse-beacon,
.live-dot,
.beacon-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 10px var(--mint);
    animation: beaconPulse 2s infinite ease-in-out;
    margin-right: 6px;
    vertical-align: middle;
}

.gold-beacon {
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
}

@keyframes beaconPulse {

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

    50% {
        transform: scale(1.35);
        opacity: .6;
    }
}

/* ---------- Hero Stats Row ---------- */
.hero-stats-row {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-stat-pill {
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(4, 30, 20, .6);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.hero-stat-pill strong {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 1.15rem;
    line-height: 1.1;
}

.hero-stat-pill span {
    font-size: .72rem;
    color: var(--muted);
    letter-spacing: .03em;
}

.tag-badge {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    margin-top: 4px;
}

.tag-badge.up {
    background: rgba(45, 212, 191, .15);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, .3);
}

.tag-badge.gold {
    background: rgba(244, 216, 121, .15);
    color: var(--gold);
    border: 1px solid rgba(244, 216, 121, .35);
}

/* ---------- Ticker Enhancements ---------- */
.ticker-sym {
    color: #ffffff;
    font-weight: 700;
}

.ticker-price {
    color: var(--gold);
    font-family: monospace;
    font-size: .84rem;
}

.ticker-chg.up,
.badge-change.up {
    color: #4ade80;
    font-weight: 700;
    background: rgba(74, 222, 128, .12);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: .74rem;
}

.ticker-chg.down,
.badge-change.down {
    color: #f87171;
    font-weight: 700;
    background: rgba(248, 113, 113, .12);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: .74rem;
}

/* ---------- Focus Card Badges ---------- */
.card-badge {
    display: inline-block;
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: .62rem;
    letter-spacing: .12em;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(244, 216, 121, .12);
    border: 1px solid rgba(244, 216, 121, .28);
    color: var(--gold);
}

.card-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.card-meta span {
    font-size: .72rem;
    background: rgba(6, 37, 26, .8);
    border: 1px solid var(--line-soft);
    padding: 3px 8px;
    border-radius: 4px;
    color: #c4d4c8;
}

/* =========================================================================
   Live Markets Section
   ========================================================================= */
.markets-container {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 28px;
    align-items: start;
    margin-top: 36px;
}

.markets-table-card,
.converter-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(12, 48, 34, .75), rgba(4, 28, 19, .8));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.table-header-tabs {
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(3, 20, 13, .45);
}

.mkt-tab {
    padding: 7px 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    font-size: .84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s var(--ease);
}

.mkt-tab:hover {
    color: var(--text);
    background: rgba(244, 216, 121, .06);
}

.mkt-tab.active {
    background: var(--grad-gold);
    color: #1b1b0d;
    font-weight: 700;
    border-color: var(--gold-2);
    box-shadow: 0 2px 10px rgba(244, 216, 121, .2);
}

.live-indicator {
    margin-left: auto;
    font-size: .72rem;
    letter-spacing: .12em;
    font-weight: 700;
    color: var(--mint);
    display: flex;
    align-items: center;
}

.table-responsive {
    overflow-x: auto;
}

.market-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}

.market-table th {
    padding: 14px 20px;
    text-align: left;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    border-bottom: 1px solid var(--line-soft);
    background: rgba(2, 16, 11, .2);
}

.market-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(210, 230, 210, .07);
    color: #e4eee5;
    vertical-align: middle;
}

.market-table tr:hover td {
    background: rgba(244, 216, 121, .03);
}

.asset-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.asset-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    border: 1px solid rgba(244, 216, 121, .25);
}

.asset-icon.gold-coin {
    background: radial-gradient(circle, #f9eaad, #c69426);
    color: #1b1b0d;
}

.asset-icon.eth-coin {
    background: radial-gradient(circle, #b1c6ff, #5171d9);
    color: #0b1a40;
}

.asset-icon.nexus-coin {
    background: radial-gradient(circle, #93f6c8, #0e8354);
    color: #042114;
    border-color: var(--mint);
}

.asset-icon.sol-coin {
    background: radial-gradient(circle, #2dd4bf, #8b5cf6);
    color: #fff;
}

.asset-icon.fx-coin {
    background: rgba(244, 216, 121, .1);
    color: var(--gold);
    border-color: var(--gold);
}

.asset-cell strong {
    display: block;
    font-size: .92rem;
}

.asset-cell small {
    color: var(--muted);
    font-size: .74rem;
}

.table-price {
    font-family: monospace;
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
}

.table-muted {
    color: var(--muted);
    font-size: .82rem;
}

.btn-table {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--gold);
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s var(--ease);
}

.btn-table:hover {
    background: var(--grad-gold);
    color: #1b1b0d;
    border-color: var(--gold-2);
    transform: translateY(-2px);
}

/* ---------- Currency Converter Card ---------- */
.converter-card {
    padding: 28px;
}

.converter-header {
    margin-bottom: 24px;
}

.converter-tag {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--gold);
    display: block;
    margin-bottom: 6px;
}

.converter-header h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    letter-spacing: -.02em;
    margin-bottom: 6px;
}

.converter-header p {
    font-size: .84rem;
    color: var(--muted);
}

.conv-group label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 8px;
}

.conv-input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(3, 18, 12, .6);
    overflow: hidden;
}

.conv-input-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: #fff;
    font-size: 1.2rem;
    font-family: monospace;
    font-weight: 700;
    outline: none;
}

.curr-tag {
    padding: 12px 16px;
    background: rgba(244, 216, 121, .1);
    color: var(--gold);
    font-weight: 700;
    font-size: .86rem;
    border-left: 1px solid var(--line);
}

.conv-arrow-divider {
    text-align: center;
    color: var(--gold);
    font-size: 1.4rem;
    margin: 12px 0;
}

.conv-results {
    background: rgba(3, 19, 13, .5);
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    padding: 16px;
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.conv-res-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .84rem;
    color: var(--muted);
}

.conv-res-row strong {
    color: var(--text);
    font-family: monospace;
    font-size: .94rem;
}

.conv-res-row.gold-highlight {
    background: rgba(244, 216, 121, .08);
    margin: -4px -8px;
    padding: 8px;
    border-radius: 6px;
    color: var(--gold);
}

.conv-res-row.gold-highlight strong {
    color: var(--gold);
    font-size: 1rem;
}

.conv-btn {
    width: 100%;
}

/* =========================================================================
   Upgraded Detail Visual Cards (Crypto, Forex, Spin)
   ========================================================================= */

/* Common Card HUD Bar */
.card-hud-bar {
    position: absolute;
    top: 18px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}

.hud-pill {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--gold);
    background: rgba(244, 216, 121, .12);
    border: 1px solid rgba(244, 216, 121, .3);
    padding: 3px 10px;
    border-radius: 20px;
}

.crypto-hud-tabs,
.forex-hud-tabs {
    display: flex;
    gap: 6px;
}

.hud-tab {
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: rgba(4, 26, 18, .6);
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s var(--ease);
}

.hud-tab:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.hud-tab.active {
    background: var(--gold);
    color: #1b1b0d;
    border-color: var(--gold-2);
}

/* ---------- 01: Crypto Visual Card Header & Radar ---------- */
.crypto-card-price-header {
    position: absolute;
    top: 60px;
    left: 22px;
    right: 22px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 4;
}

.crypto-active-pair .pair-sym {
    display: block;
    font-size: .74rem;
    letter-spacing: .1em;
    color: var(--muted);
    font-weight: 600;
}

.crypto-active-pair .pair-price {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(244, 216, 121, .3);
}

.crypto-active-delta {
    text-align: right;
}

.pair-delta.up {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(45, 212, 191, .16);
    color: #4ade80;
    font-weight: 700;
    font-size: .84rem;
}

.pair-vol {
    display: block;
    font-size: .68rem;
    color: var(--muted);
    margin-top: 4px;
}

.crypto-stage {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 2;
}

.crypto-ring {
    width: 175px;
    aspect-ratio: 1;
    border: 2px solid rgba(244, 216, 121, .55);
    border-radius: 50%;
    position: relative;
    display: grid;
    place-items: center;
    box-shadow: 0 0 50px rgba(244, 216, 121, .16), inset 0 0 30px rgba(244, 216, 121, .08);
}

.radar-scanline {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(244, 216, 121, .28), transparent 60deg);
    animation: rotate 6s linear infinite;
}

.glow-txt {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: .06em;
}

/* ---------- 02: Forex Visual Card & Satellites ---------- */
.forex-card-quote-box {
    position: absolute;
    top: 60px;
    left: 22px;
    right: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 4;
    background: rgba(3, 22, 14, .65);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 14px;
}

.fx-quote-left .fx-active-pair {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}

.fx-active-delta.up {
    color: #4ade80;
    font-size: .74rem;
    font-weight: 700;
}

.fx-quote-prices {
    display: flex;
    gap: 12px;
    align-items: center;
}

.fx-bid-col,
.fx-ask-col {
    text-align: center;
}

.fx-bid-col small,
.fx-ask-col small,
.fx-spread-col small {
    display: block;
    font-size: .62rem;
    color: var(--muted);
    letter-spacing: .08em;
}

.fx-quote-num {
    font-family: monospace;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--gold);
}

.fx-spread-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(140, 229, 181, .15);
    color: var(--mint);
    font-size: .68rem;
    font-weight: 700;
}

.forex-ring {
    width: 175px;
    aspect-ratio: 1;
    border: 2px solid rgba(140, 229, 181, .45);
    border-radius: 50%;
    position: relative;
    display: grid;
    place-items: center;
    box-shadow: 0 0 50px rgba(140, 229, 181, .14), inset 0 0 30px rgba(140, 229, 181, .06);
}

.currency-satellite {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #083424;
    border: 1px solid var(--gold);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: .84rem;
    box-shadow: 0 0 12px rgba(244, 216, 121, .3);
}

.sat-1 {
    top: -14px;
    left: calc(50% - 14px);
}

.sat-2 {
    right: -14px;
    top: calc(50% - 14px);
}

.sat-3 {
    bottom: -14px;
    left: calc(50% - 14px);
}

.sat-4 {
    left: -14px;
    top: calc(50% - 14px);
}

/* =========================================================================
   03: Upgraded Playable 3D Spin Wheel
   ========================================================================= */
.spin-game-stage {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 3;
    perspective: 1000px;
}

.spin-pointer {
    position: absolute;
    top: 52px;
    left: calc(50% - 16px);
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 34px solid #fef08a;
    z-index: 10;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .8)) drop-shadow(0 0 10px rgba(244, 216, 121, .7));
    transition: transform .15s ease-out;
}

.spin-pointer.tick {
    transform: rotate(-14deg);
}

.spin-wheel {
    width: 250px;
    aspect-ratio: 1;
    border-radius: 50%;
    position: relative;
    background: conic-gradient(from 0deg,
            #e5c767 0deg 45deg,
            #0b3826 45deg 90deg,
            #f4d879 90deg 135deg,
            #062b1d 135deg 180deg,
            #e5c767 180deg 225deg,
            #0b3826 225deg 270deg,
            #f4d879 270deg 315deg,
            #062b1d 315deg 360deg);
    border: 8px solid #f4d879;
    box-shadow: 0 0 0 6px #062b1d, 0 0 0 10px rgba(244, 216, 121, .35), 0 20px 60px rgba(0, 0, 0, .6), 0 0 50px rgba(244, 216, 121, .25);
    overflow: hidden;
    transition: transform 4s cubic-bezier(.15, .9, .2, 1);
}

.wheel-segment {
    position: absolute;
    width: 50%;
    height: 2px;
    top: 50%;
    left: 50%;
    transform-origin: 0% 0%;
}

.seg-label {
    position: absolute;
    right: 14px;
    top: -9px;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .05em;
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .85);
}

.seg-1 {
    transform: rotate(22.5deg);
}

.seg-1 .seg-label {
    color: #1b1b0d;
}

.seg-2 {
    transform: rotate(67.5deg);
}

.seg-2 .seg-label {
    color: #f4d879;
}

.seg-3 {
    transform: rotate(112.5deg);
}

.seg-3 .seg-label {
    color: #1b1b0d;
}

.seg-4 {
    transform: rotate(157.5deg);
}

.seg-4 .seg-label {
    color: #f4d879;
}

.seg-5 {
    transform: rotate(202.5deg);
}

.seg-5 .seg-label {
    color: #1b1b0d;
}

.seg-6 {
    transform: rotate(247.5deg);
}

.seg-6 .seg-label {
    color: #facc15;
    font-weight: 900;
}

.seg-7 {
    transform: rotate(292.5deg);
}

.seg-7 .seg-label {
    color: #1b1b0d;
}

.seg-8 {
    transform: rotate(337.5deg);
}

.seg-8 .seg-label {
    color: #f4d879;
}

/* Interactive Center Action Button */
.spin-center-action {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 66px;
    height: 66px;
    border-radius: 50%;
    border: 3px solid #fff2a8;
    background: radial-gradient(circle, #f5dc81, #b8861d);
    color: #1b1b0d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 12;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .6), 0 0 25px rgba(244, 216, 121, .5);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}

.spin-center-action:hover:not(:disabled) {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 30px rgba(244, 216, 121, .8);
    filter: brightness(1.1);
}

.spin-center-action:disabled {
    cursor: not-allowed;
    opacity: .85;
}

.spin-btn-icon {
    font-size: .95rem;
    line-height: 1;
}

.spin-btn-text {
    font-family: var(--font-display);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .08em;
}

/* Spin Notification Banner */
.spin-notification {
    position: absolute;
    bottom: 48px;
    left: 20px;
    right: 20px;
    padding: 12px 18px;
    border-radius: 10px;
    background: rgba(4, 30, 20, .95);
    border: 1px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .7), 0 0 20px rgba(244, 216, 121, .3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    z-index: 15;
    animation: slideUpFade .4s var(--ease);
}

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

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

.notif-badge {
    background: var(--gold);
    color: #1b1b0d;
    font-weight: 900;
    font-size: .68rem;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: .08em;
}

.notif-text {
    font-size: .88rem;
    font-weight: 700;
    color: #fff;
    flex: 1;
}

.notif-reset-btn {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 4px 10px;
    border-radius: 5px;
    font-size: .74rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s var(--ease);
}

.notif-reset-btn:hover {
    background: var(--gold);
    color: #1b1b0d;
}

.provably-fair-hash code {
    background: rgba(0, 0, 0, .4);
    padding: 2px 5px;
    border-radius: 3px;
    color: var(--gold);
    font-family: monospace;
}

/* =========================================================================
   Security & Institutional Architecture Section
   ========================================================================= */
.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 36px;
}

.security-card {
    padding: 28px 24px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(12, 46, 32, .6), rgba(3, 20, 14, .65));
    backdrop-filter: blur(12px);
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.security-card:hover {
    transform: translateY(-6px);
    border-color: rgba(244, 216, 121, .4);
    box-shadow: 0 14px 35px rgba(0, 0, 0, .3);
}

.sec-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.security-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.security-card p {
    font-size: .84rem;
    color: var(--muted);
    line-height: 1.55;
}

/* =========================================================================
   Interactive FAQ Accordion
   ========================================================================= */
.faq-accordion {
    max-width: 860px;
    margin: 36px auto 0;
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(8, 34, 24, .55);
    overflow: hidden;
    transition: border-color .25s var(--ease);
}

.faq-item.open {
    border-color: var(--gold);
    background: rgba(12, 46, 32, .65);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color .2s var(--ease);
}

.faq-question:hover {
    color: var(--gold);
}

.faq-icon {
    font-size: 1.3rem;
    color: var(--gold);
    transition: transform .25s var(--ease);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease), padding .35s var(--ease);
    padding: 0 24px;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.6;
}

/* =========================================================================
   Newsletter Form & Footer Enhancements
   ========================================================================= */
.newsletter-form {
    max-width: 520px;
    margin: 28px 0 22px;
}

.newsletter-input-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-input-group input {
    flex: 1;
    min-width: 240px;
    padding: 13px 18px;
    border-radius: 7px;
    border: 1px solid var(--line);
    background: rgba(3, 20, 13, .7);
    color: #fff;
    font-size: .9rem;
    outline: none;
    transition: border-color .2s var(--ease);
}

.newsletter-input-group input:focus {
    border-color: var(--gold);
}

.newsletter-feedback {
    margin-top: 10px;
    font-size: .84rem;
    font-weight: 600;
}

.newsletter-feedback.success {
    color: #4ade80;
}

.footer-logo {
    height: 38px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 12px;
    border: none;
    border-radius: 0;
    display: inline-block;
}

/* =========================================================================
   Responsive Breakpoints for Upgraded Modules
   ========================================================================= */
@media (max-width: 1080px) {
    .markets-container {
        grid-template-columns: 1fr;
    }

    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .security-grid {
        grid-template-columns: 1fr;
    }

    .crypto-card-price-header {
        position: static;
        padding: 60px 18px 10px;
    }

    .forex-card-quote-box {
        position: static;
        margin: 60px 18px 10px;
    }

    .spin-wheel {
        width: 210px;
    }

    .spin-pointer {
        top: 48px;
    }

    .table-header-tabs {
        flex-wrap: wrap;
    }

    .live-indicator {
        margin-left: 0;
        width: 100%;
        margin-top: 6px;
    }
}