:root, [data-theme="dark"] {
    --bg: #040810;
    --bg2: #0a1424;
    --card: rgba(255,255,255,.035);
    --glass: rgba(255,255,255,.06);
    --text: #eef4fb;
    --muted: #8499b0;
    --primary: #38bdf8;
    --accent: #f5c542;
    --border: rgba(255,255,255,.09);
    --radius: 18px;
    --glow: 0 12px 48px rgba(56,189,248,.18);
    --hero-ov: linear-gradient(105deg,rgba(4,8,16,.94) 42%,rgba(4,8,16,.55) 68%,rgba(4,8,16,.75) 100%);
    --hdr-scroll: rgba(4,8,16,.88);
    --grid-line: rgba(255,255,255,.025);
    --float-bg: rgba(4,8,16,.82);
    --input-bg: rgba(0,0,0,.3);
    --feat-bg: linear-gradient(145deg, rgba(12,24,42,.95), rgba(8,16,28,.88));
    --feat-shadow: 0 16px 48px rgba(0,0,0,.35);
    --feat-section: linear-gradient(180deg, #040810 0%, #0a1628 100%);
}

[data-theme="light"] {
    --bg: #eef2f7;
    --bg2: #ffffff;
    --card: rgba(0,0,0,.03);
    --glass: rgba(255,255,255,.75);
    --text: #0f172a;
    --muted: #64748b;
    --primary: #0284c7;
    --accent: #d97706;
    --border: rgba(15,23,42,.1);
    --glow: 0 16px 40px rgba(2,132,199,.15);
    --hero-ov: linear-gradient(105deg,rgba(238,242,247,.93) 42%,rgba(238,242,247,.72) 68%,rgba(238,242,247,.88) 100%);
    --hdr-scroll: rgba(255,255,255,.92);
    --grid-line: rgba(0,0,0,.05);
    --float-bg: rgba(255,255,255,.88);
    --input-bg: rgba(0,0,0,.04);
    --feat-bg: linear-gradient(145deg, #ffffff, #f8fafc);
    --feat-shadow: 0 10px 36px rgba(15,23,42,.1), 0 1px 0 rgba(255,255,255,.8) inset;
    --feat-section: linear-gradient(160deg, #c5d9ec 0%, #eef2f7 38%, #f8fafc 100%);
}

[data-theme="night"] {
    --bg: #000000;
    --bg2: #030712;
    --card: rgba(255,255,255,.02);
    --glass: rgba(255,255,255,.04);
    --text: #dbeafe;
    --muted: #64748b;
    --primary: #93c5fd;
    --accent: #fde047;
    --border: rgba(255,255,255,.06);
    --glow: 0 12px 48px rgba(147,197,253,.1);
    --hero-ov: linear-gradient(105deg,rgba(0,0,0,.96) 42%,rgba(0,0,0,.7) 68%,rgba(0,0,0,.88) 100%);
    --hdr-scroll: rgba(0,0,0,.92);
    --grid-line: rgba(255,255,255,.015);
    --float-bg: rgba(0,0,0,.88);
    --input-bg: rgba(255,255,255,.04);
    --feat-bg: linear-gradient(145deg, rgba(8,12,24,.98), rgba(3,7,18,.95));
    --feat-shadow: 0 16px 48px rgba(0,0,0,.5);
    --feat-section: linear-gradient(180deg, #000 0%, #030712 100%);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

body::before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

a { color: var(--primary); text-decoration: none; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 28px; }

/* Cursor */
.cursor {
    position: fixed; width: 36px; height: 36px;
    border: 1.5px solid rgba(56,189,248,.45); border-radius: 50%;
    pointer-events: none; z-index: 9999; transform: translate(-50%,-50%);
    transition: width .2s, height .2s; mix-blend-mode: difference;
}
.cursor-dot { position: absolute; inset: 0; margin: auto; width: 4px; height: 4px; background: var(--primary); border-radius: 50%; }
.cursor.active { width: 52px; height: 52px; border-color: var(--accent); }
@media (hover:none), (max-width:768px) { .cursor { display: none; } }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 200; transition: .35s; }
.header.scrolled {
    background: var(--hdr-scroll); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border); box-shadow: 0 8px 32px rgba(0,0,0,.35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 800; font-size: 1rem; color: var(--text); text-decoration: none;
}
.logo-mark {
    display: grid; place-items: center; width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--primary), #1d4ed8);
    border-radius: 10px; font-size: .68rem; font-weight: 800; color: #fff;
}
.nav { display: flex; gap: 6px; align-items: center; }
.nav-item { position: relative; }
.nav-item > a {
    display: flex; align-items: center; gap: 4px;
    color: var(--muted); font-size: .86rem; font-weight: 600;
    text-decoration: none; padding: 8px 12px; border-radius: 8px;
    transition: color .2s, background .2s;
}
.nav-item > a:hover, .nav-item > a.on { color: var(--text); background: var(--card); }
.logo-img { width: 36px; height: 36px; object-fit: contain; border-radius: 10px; }
.caret { font-size: .65rem; opacity: .6; }
.drop {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px;
    background: var(--hdr-scroll); backdrop-filter: blur(16px);
    border: 1px solid var(--border); border-radius: 14px;
    padding: 8px; opacity: 0; visibility: hidden;
    transform: translateY(8px); transition: .25s; z-index: 300;
    box-shadow: 0 16px 48px rgba(0,0,0,.35);
}
.nav-item:hover .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a {
    display: block; padding: 9px 12px; font-size: .82rem; font-weight: 600;
    color: var(--muted); text-decoration: none; border-radius: 8px;
    transition: .2s;
}
.drop a:hover { color: var(--text); background: var(--card); }
.menu-btn {
    display: none; width: 40px; height: 40px;
    border: 1px solid var(--border); border-radius: 10px;
    background: var(--card); color: var(--text); font-size: 1.1rem; cursor: pointer;
}

/* Theme toggle */
.theme-toggle {
    display: flex; gap: 2px; padding: 3px;
    background: var(--card); border: 1px solid var(--border); border-radius: 999px;
}
.theme-toggle button {
    width: 32px; height: 32px; border: none; border-radius: 50%;
    background: transparent; cursor: pointer; font-size: .85rem;
    opacity: .45; transition: .25s;
}
.theme-toggle button.on {
    opacity: 1; background: var(--glass);
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.theme-toggle button:hover { opacity: .8; }

/* Hero */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding: 110px 0 70px; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    transform: scale(1.08); transition: transform .1s linear;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: var(--hero-ov), radial-gradient(circle at 80% 20%, rgba(56,189,248,.12), transparent 45%);
}
.hero-orbs span {
    position: absolute; border-radius: 50%; filter: blur(90px); opacity: .3;
    animation: float 9s ease-in-out infinite;
}
.hero-orbs span:nth-child(1) { width: 420px; height: 420px; background: #1d4ed8; top: -8%; right: -5%; }
.hero-orbs span:nth-child(2) { width: 280px; height: 280px; background: #ca8a04; bottom: 5%; left: 30%; animation-delay: -4s; }
@keyframes float { 50% { transform: translate(16px,-24px) scale(1.06); } }

.hero-grid {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px;
    align-items: center; position: relative; z-index: 2;
}
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--primary); margin-bottom: 18px;
}
.eyebrow.dark { color: var(--accent); }
.pulse { width: 7px; height: 7px; background: #22c55e; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .4; transform: scale(1.5); } }

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08;
    font-weight: 800; margin-bottom: 20px; letter-spacing: -.02em;
}
.grad {
    background: linear-gradient(135deg, #7dd3fc, var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-lead { color: var(--muted); font-size: 1.08rem; max-width: 500px; margin-bottom: 22px; }
.hero-points { list-style: none; margin-bottom: 32px; }
.hero-points li {
    padding: 7px 0 7px 26px; position: relative; color: var(--muted); font-size: .93rem;
}
.hero-points li::before {
    content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero frame + float cards */
.hero-frame {
    position: relative; border-radius: 24px; overflow: visible;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 32px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08);
    animation: heroFloat 6s ease-in-out infinite;
}
.hero-img { display: block; width: 100%; height: 400px; object-fit: cover; border-radius: 24px; }
.float-card {
    position: absolute; background: var(--float-bg); backdrop-filter: blur(14px);
    border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.35); animation: cardBob 4s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 1.2rem; color: var(--primary); line-height: 1.1; }
.float-card span { font-size: .72rem; color: var(--muted); font-weight: 600; }
.fc1 { top: -16px; right: -12px; animation-delay: 0s; }
.fc2 { bottom: 40px; left: -24px; animation-delay: -1.3s; }
.fc3 { bottom: -14px; right: 24px; animation-delay: -2.6s; }
@keyframes heroFloat { 50% { transform: translateY(-10px); } }
@keyframes cardBob { 50% { transform: translateY(-6px); } }

/* Trust bar */
.trust-bar {
    background: linear-gradient(90deg, var(--bg2), #0f2038, var(--bg2));
    border-block: 1px solid var(--border); padding: 16px 0;
}
.trust-inner { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.trust-inner span { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

/* Marquee */
.marquee { background: var(--bg2); padding: 16px 0; overflow: hidden; border-bottom: 1px solid var(--border); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { white-space: nowrap; font-size: .78rem; font-weight: 700; color: #5a7088; letter-spacing: .08em; text-transform: uppercase; }
.marquee-track span::before { content: "◆ "; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 14px 28px; border-radius: 12px; font-weight: 700; font-size: .88rem;
    border: 2px solid transparent; cursor: pointer; text-decoration: none;
    transition: transform .2s, box-shadow .25s;
}
.btn-sm { padding: 10px 20px; font-size: .82rem; background: var(--primary); color: var(--bg); }
.btn-primary { background: linear-gradient(135deg, var(--accent), #e6a817); color: #1a1200; }
.btn-primary:hover { box-shadow: 0 10px 36px rgba(245,197,66,.35); }
.btn-glass { background: var(--glass); color: var(--text); border-color: rgba(255,255,255,.15); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.1); }

/* Sections */
.section { padding: 96px 0; position: relative; }
.section-dark { background: var(--bg2); }
.section-features {
    background: var(--feat-section); position: relative; overflow: hidden;
}
.section-features::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at 15% 20%, rgba(56,189,248,.12), transparent 45%),
                radial-gradient(circle at 85% 80%, rgba(245,197,66,.08), transparent 40%);
}
.section-features .wrap { position: relative; z-index: 1; }
.head-center { text-align: center; margin-bottom: 48px; }
.head-center .section-title { margin-bottom: 8px; }
.head-center .section-sub { margin-bottom: 0; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.section-title.light { color: var(--text); }
.section-sub { color: var(--muted); font-size: .95rem; margin-bottom: 36px; }
.section-text { color: var(--muted); max-width: 560px; margin-bottom: 28px; font-size: .96rem; }

/* About */
.section-about { overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-wrap {
    position: relative; opacity: 0; transform: translateX(-40px);
}
.about-grid.in-view .about-img-wrap { animation: aboutInL .7s cubic-bezier(.22,1,.36,1) forwards; }
.about-img {
    width: 100%; height: 420px; object-fit: cover;
    border-radius: var(--radius); border: 1px solid var(--border);
    box-shadow: var(--feat-shadow, 0 24px 60px rgba(0,0,0,.4));
}
.about-badge {
    position: absolute; bottom: -16px; right: 28px;
    background: var(--float-bg); backdrop-filter: blur(12px);
    border: 1px solid var(--border); border-radius: 14px; padding: 16px 22px;
    box-shadow: var(--glow);
}
.about-badge strong { display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.about-badge span { font-size: 1.1rem; font-weight: 800; color: var(--accent); }
.about-content { display: flex; flex-direction: column; justify-content: center; }
.about-el { opacity: 0; transform: translateX(30px); }
.about-grid.in-view .about-el { animation: aboutInR .6s cubic-bezier(.22,1,.36,1) forwards; }
.about-grid.in-view .about-el:nth-child(1) { animation-delay: .15s; }
.about-grid.in-view .about-el:nth-child(2) { animation-delay: .25s; }
.about-grid.in-view .about-el:nth-child(3) { animation-delay: .35s; }
.about-grid.in-view .about-el:nth-child(4) { animation-delay: .45s; }
.about-grid.in-view .about-stats .about-el:nth-child(1) { animation-delay: .55s; }
.about-grid.in-view .about-stats .about-el:nth-child(2) { animation-delay: .65s; }
.about-grid.in-view .about-stats .about-el:nth-child(3) { animation-delay: .75s; }
@keyframes aboutInL { to { opacity: 1; transform: translateX(0); } }
@keyframes aboutInR { to { opacity: 1; transform: translateX(0); } }
.about-content .section-text { margin-bottom: 20px; max-width: none; }
.about-points {
    list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px;
}
.about-points li {
    padding-left: 22px; position: relative; font-size: .9rem; color: var(--muted); font-weight: 600;
}
.about-points li::before {
    content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800;
}
.about-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%;
}
.about-stats .stat {
    text-align: center; padding: 22px 14px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; min-height: 110px;
    background: var(--feat-bg, var(--card)); box-shadow: var(--feat-shadow, none);
    border: 1px solid var(--border); border-radius: var(--radius);
}
.about-stats .stat strong { font-size: 1.6rem; margin-bottom: 4px; }
.about-stats .stat span { font-size: .75rem; line-height: 1.3; }

/* Stats */
.stats { display: flex; gap: 16px; flex-wrap: wrap; }
.stat {
    flex: 1; min-width: 130px; background: var(--card);
    border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px;
}
.stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
.stat span { font-size: .8rem; color: var(--muted); font-weight: 600; }

/* Features */
.feat-glow { display: none; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.feat {
    position: relative; background: var(--feat-bg); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 30px 24px 34px;
    box-shadow: var(--feat-shadow);
    opacity: 0; transform: translateY(32px) scale(.96);
    transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s, border-color .4s;
}
.feat::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: var(--radius) var(--radius) 0 0;
    opacity: .85;
}
.feat-grid.in-view .feat { animation: featIn .55s cubic-bezier(.22,1,.36,1) forwards; }
.feat-grid.in-view .feat:nth-child(1) { animation-delay: 0s; }
.feat-grid.in-view .feat:nth-child(2) { animation-delay: .1s; }
.feat-grid.in-view .feat:nth-child(3) { animation-delay: .2s; }
.feat-grid.in-view .feat:nth-child(4) { animation-delay: .3s; }
@keyframes featIn { to { opacity: 1; transform: translateY(0) scale(1); } }
.feat:hover {
    border-color: rgba(56,189,248,.4); transform: translateY(-10px) scale(1.02);
    box-shadow: var(--glow);
}
.feat-num {
    position: absolute; top: 16px; right: 16px;
    font-size: .72rem; font-weight: 800; color: var(--primary);
    background: rgba(56,189,248,.12); padding: 4px 10px; border-radius: 8px;
}
[data-theme="light"] .feat-num { background: rgba(2,132,199,.1); color: var(--primary); }
.feat-icon-wrap {
    width: 56px; height: 56px; border-radius: 16px;
    background: linear-gradient(135deg, rgba(56,189,248,.22), rgba(245,197,66,.15));
    border: 1px solid rgba(56,189,248,.25);
    display: grid; place-items: center; margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(56,189,248,.12);
    transition: transform .4s cubic-bezier(.22,1,.36,1);
}
[data-theme="light"] .feat-icon-wrap {
    background: linear-gradient(135deg, #e0f2fe, #fef3c7);
    border-color: rgba(2,132,199,.2);
    box-shadow: 0 6px 16px rgba(2,132,199,.12);
}
.feat:hover .feat-icon-wrap { transform: scale(1.1) rotate(-3deg); }
.feat-icon { font-size: 1.6rem; line-height: 1; }
.feat h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -.02em; color: var(--text); }
.feat p { font-size: .86rem; color: var(--muted); line-height: 1.6; }
.feat-line {
    display: block; height: 4px; width: 0; margin-top: 20px; border-radius: 99px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width .5s cubic-bezier(.22,1,.36,1);
}
.feat-grid.in-view .feat-line { width: 56px; }
.feat:hover .feat-line { width: 100%; }

/* Animated boxes */
.anim-box { position: relative; transform-style: preserve-3d; }
.anim-box::before {
    content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
    background: linear-gradient(135deg, transparent, var(--primary), var(--accent), transparent);
    background-size: 300% 300%; opacity: 0;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    animation: borderShift 5s linear infinite; pointer-events: none;
}
.anim-box:hover::before { opacity: 1; }
@keyframes borderShift { 50% { background-position: 100% 50%; } }

/* Trading Services */
.section-services {
    background: var(--bg2); position: relative; overflow: hidden;
}
.section-services::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at 10% 30%, rgba(56,189,248,.1), transparent 50%),
                radial-gradient(circle at 90% 70%, rgba(245,197,66,.06), transparent 45%);
}
.serv-wrap { position: relative; z-index: 1; }
.serv-el { opacity: 0; transform: translateY(24px); }
.serv-wrap.in-view .serv-el { animation: aboutInR .6s cubic-bezier(.22,1,.36,1) forwards; }
.serv-wrap.in-view .serv-el:nth-child(1) { animation-delay: 0s; }
.serv-wrap.in-view .serv-el:nth-child(2) { animation-delay: .1s; }
.serv-wrap.in-view .serv-el:nth-child(3) { animation-delay: .2s; }
.serv-wrap.in-view .serv-el:nth-child(4) { animation-delay: .3s; }
.serv-badge {
    display: inline-block; margin-top: 12px;
    padding: 8px 18px; border-radius: 999px;
    background: rgba(56,189,248,.12); border: 1px solid rgba(56,189,248,.25);
    font-size: .78rem; font-weight: 700; color: var(--primary);
}
.serv-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px;
}
.serv-card {
    opacity: 0; transform: translateY(28px) scale(.97);
    background: var(--feat-bg, var(--card)); border: 1px solid var(--border);
    box-shadow: var(--feat-shadow, none);
}
.serv-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: var(--radius) var(--radius) 0 0; z-index: 3;
}
.serv-wrap.in-view .serv-card {
    animation: servIn .55s cubic-bezier(.22,1,.36,1) forwards;
    animation-delay: calc(var(--i) * 0.07s + 0.35s);
}
@keyframes servIn { to { opacity: 1; transform: translateY(0) scale(1); } }
.serv-card:hover { box-shadow: var(--glow); transform: translateY(-8px); }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 24px; }
.card {
    position: relative; border-radius: var(--radius); overflow: hidden;
    transform-style: preserve-3d; transition: box-shadow .35s, transform .35s;
}
.card-glow {
    position: absolute; inset: 0; opacity: 0; transition: opacity .4s; z-index: 2; pointer-events: none;
    background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(56,189,248,.12), transparent 55%);
}
.card:hover .card-glow { opacity: 1; }
.card-img-wrap { height: 190px; overflow: hidden; position: relative; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.22,1,.36,1); }
.card:hover .card-img-wrap img { transform: scale(1.12); }
.card-img-wrap::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 50%);
}
.card-tag {
    position: absolute; top: 12px; right: 12px; z-index: 1;
    background: var(--float-bg); backdrop-filter: blur(8px);
    border: 1px solid var(--border); padding: 5px 10px;
    border-radius: 999px; font-size: .65rem; font-weight: 700;
    color: var(--accent); letter-spacing: .06em; text-transform: uppercase;
}
.card-num {
    position: absolute; bottom: 12px; left: 12px; z-index: 1;
    font-size: .72rem; font-weight: 800; color: #fff;
    background: rgba(0,0,0,.55); padding: 5px 10px; border-radius: 8px;
    letter-spacing: .1em;
}
.card-body {
    padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1;
}
.card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; line-height: 1.35; color: var(--text); }
.card p { font-size: .84rem; color: var(--muted); line-height: 1.55; margin-bottom: 0; flex: 1; }
.card-actions {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
}
.card-link {
    font-size: .8rem; font-weight: 700; color: var(--primary); text-decoration: none;
}
.card-link:hover { color: var(--accent); }
.card-inquire {
    font-size: .78rem; font-weight: 700; color: var(--accent); text-decoration: none;
    padding: 6px 14px; border-radius: 8px;
    background: rgba(245,197,66,.12); border: 1px solid rgba(245,197,66,.25);
    transition: .25s;
}
.card-inquire:hover { background: var(--accent); color: var(--bg); }

/* Products */
.prod-tabs {
    display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
    margin-bottom: 28px;
}
.prod-tabs button {
    padding: 9px 20px; border-radius: 999px; border: 1px solid var(--border);
    background: var(--card); color: var(--muted); font: inherit;
    font-size: .82rem; font-weight: 700; cursor: pointer; transition: .25s;
}
.prod-tabs button.on, .prod-tabs button:hover {
    background: var(--primary); color: var(--bg); border-color: var(--primary);
}
.prod-scroll {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 16px; -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; scrollbar-color: var(--primary) var(--card);
}
.prod-scroll::-webkit-scrollbar { height: 5px; }
.prod-scroll::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 99px; }
.prod {
    flex: 0 0 300px; scroll-snap-align: start;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    transition: transform .35s, box-shadow .35s, opacity .3s;
}
.prod.hide { display: none; }
.prod:hover { transform: translateY(-6px); box-shadow: var(--glow); }
.prod-img { height: 160px; overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.prod:hover .prod-img img { transform: scale(1.1); }
.prod-body { padding: 18px 20px 22px; }
.prod-cat {
    display: inline-block; font-size: .65rem; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase; color: var(--primary);
    background: rgba(56,189,248,.1); padding: 4px 10px; border-radius: 999px; margin-bottom: 8px;
}
.prod h3 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.prod p { font-size: .82rem; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }
.prod-btn { font-size: .8rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.prod-btn:hover { color: var(--primary); }

/* CTA */
.cta { padding: 0 0 96px; }
.cta-box {
    display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
    padding: 48px 52px; border-radius: 24px;
    background: linear-gradient(135deg, #0c2a4a, #0a1424 60%, #1a1508);
    border: 1px solid rgba(56,189,248,.2);
    box-shadow: 0 24px 64px rgba(0,0,0,.4);
}
.cta-box h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 800; margin-bottom: 8px; }
.cta-box p { color: var(--muted); font-size: .92rem; max-width: 480px; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.c-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 14px; padding: 18px 20px;
}
.c-card strong { display: block; font-size: .78rem; color: var(--muted); margin-bottom: 4px; }
.c-card span, .c-card a { font-size: .92rem; font-weight: 600; color: var(--text); text-decoration: none; }
.contact-form {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 36px;
}
.contact-form h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 20px; }
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%; padding: 14px 16px; margin-bottom: 14px;
    border: 1px solid var(--border); border-radius: 12px;
    font: inherit; background: var(--input-bg); color: var(--text);
    transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(56,189,248,.12);
}
.contact-form .btn { width: 100%; justify-content: center; }

/* Footer */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 56px 0 28px; }
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px;
    padding-bottom: 36px; border-bottom: 1px solid var(--border);
}
.footer-grid p { color: var(--muted); font-size: .88rem; margin-top: 14px; max-width: 280px; }
.footer-grid strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.footer-grid a, .footer-grid span { display: block; color: #b0c0d0; font-size: .88rem; margin-bottom: 8px; text-decoration: none; }
.footer-grid a:hover { color: var(--primary); }
.footer-copy { padding-top: 24px; font-size: .82rem; color: #5a7088; text-align: center; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: .75s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"]{transition-delay:.1s}
.reveal[data-delay="2"]{transition-delay:.2s}
.reveal[data-delay="3"]{transition-delay:.3s}
.reveal[data-delay="4"]{transition-delay:.4s}

@media (max-width: 960px) {
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hero-grid, .about-grid, .contact-wrap { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr; }
    .about-img { height: 280px; }
    .hero-visual { order: -1; }
    .hero-img { height: 260px; }
    .float-card { display: none; }
    .menu-btn { display: block; }
    .nav {
        display: none; position: fixed; top: 76px; left: 16px; right: 16px;
        flex-direction: column; align-items: stretch; gap: 4px;
        background: var(--hdr-scroll); backdrop-filter: blur(18px);
        border: 1px solid var(--border); border-radius: 16px;
        padding: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.4); z-index: 250;
    }
    .nav.open { display: flex; }
    .nav-item > a { padding: 12px 14px; }
    .drop {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none; padding: 0 0 4px 12px; background: transparent;
        display: none;
    }
    .nav-item.sub-open .drop { display: block; }
    .theme-toggle { order: 3; }
    .feat-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-box { padding: 32px 28px; }
    .section { padding: 64px 0; }
}
/* Inner pages */
.page-banner {
    padding: 140px 0 56px;
    background: linear-gradient(180deg, var(--bg2), var(--bg));
    border-bottom: 1px solid var(--border);
}
.page-banner h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 10px; }
.banner-crumb { color: var(--muted); font-size: .88rem; }
.banner-crumb a { color: var(--primary); }
.prod-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.prod-grid .prod { flex: none; }

.related-slider {
    position: relative;
    padding: 0 48px;
}
.related-slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 4px 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.related-slider-track::-webkit-scrollbar { display: none; }
.related-slider-track .prod {
    flex: 0 0 min(300px, 78vw);
    scroll-snap-align: start;
}
.related-slider-btn {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--float-bg);
    color: var(--text);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--glow);
    transition: .2s;
}
.related-slider-btn:hover {
    background: var(--primary);
    color: var(--bg);
    border-color: var(--primary);
}
.related-slider-btn.prev { left: 0; }
.related-slider-btn.next { right: 0; }
@media (max-width: 640px) {
    .related-slider { padding: 0 36px; }
    .related-slider-btn { width: 34px; height: 34px; font-size: 1.2rem; }
}
.product-detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.product-detail-img img {
    width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius);
    border: 1px solid var(--border);
}
.product-detail-body h2 { font-size: 1.8rem; font-weight: 800; margin: 12px 0 16px; }
.cms-content { color: var(--muted); line-height: 1.7; }
.cms-content h2, .cms-content h3 { color: var(--text); margin: 18px 0 10px; }
.cms-content p { margin-bottom: 12px; }
.cms-content ul { margin: 0 0 16px 18px; }
.cms-page { max-width: 860px; }
.alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; font-size: .88rem; }
.alert-success { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.3); color: #86efac; }
.alert-danger { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.3); color: #fca5a5; }
@media (max-width: 768px) {
    .product-detail { grid-template-columns: 1fr; }
    .product-detail-img img { height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
    .feat { opacity: 1; transform: none; }
    .about-img-wrap, .about-el { opacity: 1; transform: none; }
    .serv-el, .serv-card { opacity: 1; transform: none; }
}
