/* =====================================================================
   FARHAN RIZNIZAL PUTRA — Aerial Portfolio · SHARED DESIGN SYSTEM
   Design language: "Aerospace / Cinematic Future" — 2026 edition
   Base #070A0F · single refined accent #5AB0FF → #7CD4FF
   ===================================================================== */

:root {
  --accent: #5AB0FF;
  --accent-2: #7CD4FF;
  --gold: #D4A857;
  --ink: #070A0F;
  --surface: #0C1119;
}

* { -webkit-tap-highlight-color: transparent; box-sizing: border-box; }
html, body { overflow-x: hidden; }
body { position: relative; }

@media (pointer: fine) { * { cursor: none; } }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #1b2432; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #26334a; }

/* ================= PRELOADER ================= */
#preloader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--ink); transition: opacity .6s ease, visibility .6s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.pre-wrap { text-align: center; width: min(320px, 76vw); }
.pre-logo {
  font-family: 'Sora', sans-serif; font-weight: 700; letter-spacing: .3em;
  color: #fff; font-size: 1.1rem;
}
.pre-logo span { color: var(--accent); }
.pre-sub { margin-top: .6rem; font-family: 'JetBrains Mono', monospace; font-size: .66rem; letter-spacing: .25em; color: #5b6675; text-transform: uppercase; }
.pre-bar { margin-top: 1.6rem; height: 2px; width: 100%; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.pre-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px var(--accent); transition: width .2s ease; }
.pre-pct { margin-top: .7rem; font-family: 'JetBrains Mono', monospace; font-size: .7rem; color: var(--accent-2); }

/* ================= CUSTOM CURSOR ================= */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 190; pointer-events: none; border-radius: 999px; mix-blend-mode: difference; }
.cursor-dot { width: 6px; height: 6px; background: #fff; transform: translate(-50%, -50%); }
.cursor-ring { width: 34px; height: 34px; border: 1.5px solid rgba(255,255,255,0.6); transform: translate(-50%, -50%); transition: width .25s, height .25s, background .25s, border-color .25s; }
.cursor-ring.hovering { width: 54px; height: 54px; background: rgba(90,176,255,0.12); border-color: var(--accent); }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ================= PAGE TRANSITION — DRONE ZOOM POP-UP ================= */
#wipe { display: none; }
#dt {
  position: fixed; inset: 0; z-index: 185; pointer-events: none; display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  background: radial-gradient(ellipse at center, #0b1119 0%, var(--ink) 70%);
}
#dt .dt-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; opacity: 0; will-change: transform, opacity; }
#dt .dt-label { font-family: 'JetBrains Mono', monospace; font-size: .72rem; letter-spacing: .35em; text-transform: uppercase; color: var(--accent-2); text-shadow: 0 0 16px rgba(90,176,255,.6); }
#dt .dt-drone { filter: drop-shadow(0 0 22px rgba(90,176,255,.55)); animation: dtBob 1.3s ease-in-out infinite; }
.prop { transform-origin: center; animation: spin .14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* realistic hover bob (translate composes with parent transform) */
@keyframes dtBob { 0%,100% { translate: 0 -7px; } 50% { translate: 0 7px; } }

/* ENTER: drone swoops in from left, tilts, settles at center (veil fills) → navigate */
#dt.enter { visibility: visible; animation: dtVeilIn .45s ease forwards; }
#dt.enter .dt-inner { animation: dtFlyIn .75s cubic-bezier(.22,.61,.36,1) forwards; }
@keyframes dtVeilIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes dtFlyIn {
  0%   { transform: translate(-72vw, 18vh) rotate(-12deg) scale(.5); opacity: 0; }
  20%  { opacity: 1; }
  48%  { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 1; }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 1; }
}

/* EXIT: drone peels off up-right and flies away, veil clears → new page revealed */
#dt.exit { visibility: visible; opacity: 1; animation: dtVeilOut .65s cubic-bezier(.6,0,.2,1) forwards; }
#dt.exit .dt-inner { opacity: 1; animation: dtFlyOut .65s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes dtVeilOut { 0% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@keyframes dtFlyOut {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 1; }
  18%  { transform: translate(12vw, -3vh) rotate(5deg) scale(1); opacity: 1; }
  100% { transform: translate(82vw, -20vh) rotate(11deg) scale(.45); opacity: 0; }
}

/* ================= LUXURY MINIMAL DARK BACKGROUND ================= */
.bg-aurora {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(80% 60% at 80% -5%, rgba(90,176,255,0.10), transparent 60%),
    radial-gradient(70% 55% at 5% 100%, rgba(124,212,255,0.06), transparent 60%),
    linear-gradient(180deg, #080B11 0%, #06080D 55%, var(--ink) 100%);
}
/* subtle premium film grain — barely-there, adds depth without clutter */
.bg-aurora::after {
  content: ""; position: absolute; inset: 0; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* ================= NAV ================= */
#nav { transition: background .4s, backdrop-filter .4s, border-color .4s; }
#nav.scrolled {
  background: rgba(7,10,15,0.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-link { position: relative; transition: color .25s; }
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--accent); transition: width .3s ease; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.mob-link { display: block; transition: color .2s, transform .2s; }
.mob-link:hover { color: #fff; transform: translateX(4px); }

.sound-toggle { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); color: var(--accent-2); transition: border-color .3s, background .3s; }
.sound-toggle:hover { border-color: var(--accent); background: rgba(90,176,255,0.1); }
.sound-toggle .off-icon { display: none; }
.sound-toggle.muted .on-icon { display: none; }
.sound-toggle.muted .off-icon { display: block; }
.sound-toggle.muted { color: #5b6675; }
.eq-bar { transform-origin: bottom; }
.sound-toggle:not(.muted) .eq-bar { animation: eq 1s ease-in-out infinite; }
.sound-toggle:not(.muted) .eq-bar:nth-child(2) { animation-delay: .2s; }
.sound-toggle:not(.muted) .eq-bar:nth-child(3) { animation-delay: .4s; }
@keyframes eq { 0%,100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }

/* ================= HERO ================= */
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); will-change: transform; filter: saturate(1.05) contrast(1.02); }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,10,15,0.55) 0%, rgba(7,10,15,0.35) 30%, rgba(7,10,15,0.85) 78%, var(--ink) 100%),
    linear-gradient(90deg, rgba(7,10,15,0.85) 0%, rgba(7,10,15,0.25) 55%, transparent 100%);
}
/* Judul hero pakai font poster "FARHAN PUTRA" (Anton) — tebal, condensed, all-caps */
.hero-headline {
  font-family: 'Anton', 'Sora', sans-serif;
  font-weight: 400;            /* Anton hanya 1 weight, sudah heavy */
  text-transform: uppercase;
  letter-spacing: 0.01em;      /* rapat seperti poster */
  line-height: 1.02;
}
.text-gradient { background: linear-gradient(105deg, #ffffff 0%, var(--accent-2) 55%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.scramble { font-variant-ligatures: none; }

/* Page-header (sub pages) */
.page-hero { position: relative; overflow: hidden; padding-top: 8rem; }
.page-hero .ph-media { position: absolute; inset: 0; z-index: -1; }
.page-hero .ph-media img { width: 100%; height: 100%; object-fit: cover; opacity: .3; filter: saturate(.9); }
.page-hero .ph-media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(7,10,15,.6), var(--ink)); }

/* ================= BUTTONS ================= */
.btn-primary, .btn-ghost { display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.6rem; border-radius: 999px; font-size: .875rem; font-weight: 500; letter-spacing: .01em; transition: transform .2s, box-shadow .3s, background .3s, border-color .3s; will-change: transform; }
.btn-primary { color: #041019; background: linear-gradient(100deg, var(--accent-2), var(--accent)); box-shadow: 0 8px 30px -8px rgba(90,176,255,0.55); }
.btn-primary:hover { box-shadow: 0 14px 40px -8px rgba(90,176,255,0.7); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.03); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(90,176,255,0.6); background: rgba(90,176,255,0.08); }

.scroll-line { position: relative; height: 42px; width: 1px; background: rgba(255,255,255,0.15); overflow: hidden; }
.scroll-line::after { content: ""; position: absolute; top: -50%; left: 0; height: 50%; width: 100%; background: var(--accent); animation: scrollcue 1.8s cubic-bezier(.7,0,.3,1) infinite; }
@keyframes scrollcue { 0% { top: -50%; } 100% { top: 100%; } }

/* ================= GLASS / CARDS ================= */
.glass-card { border-radius: 1rem; background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6); }
.float-slow { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.tilt { transform-style: preserve-3d; transition: transform .2s ease; will-change: transform; }
.tilt-inner { transform: translateZ(30px); }

.stat-num { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.6rem; line-height: 1; color: #fff; letter-spacing: -.02em; }
.stat-cap { margin-top: .35rem; font-size: .7rem; letter-spacing: .06em; color: #8A94A6; text-transform: uppercase; }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: 'JetBrains Mono', monospace; font-size: .72rem; letter-spacing: .22em; color: var(--accent); text-transform: uppercase; }
.section-title { margin-top: .9rem; font-family: 'Sora', sans-serif; font-weight: 700; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.025em; color: #fff; }

/* ================= MARQUEE ================= */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; gap: 2.5rem; padding-left: 2.5rem; animation: marquee 32s linear infinite; }
.marquee-track .dot { color: var(--accent); font-size: .6rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ================= WORK / BENTO ================= */
.work-card { position: relative; overflow: hidden; border-radius: 1rem; border: 1px solid rgba(255,255,255,0.07); background: var(--surface); cursor: none; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s; filter: saturate(.95) brightness(.85); }
.work-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,8,12,0.9) 100%); transition: opacity .4s; opacity: .85; }
.work-card:hover img { transform: scale(1.07); filter: saturate(1.05) brightness(1); }
.work-card figcaption { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 1.1rem 1.2rem; transform: translateY(6px); transition: transform .4s; }
.work-card:hover figcaption { transform: translateY(0); }
.work-card figcaption h3 { font-family: 'Sora', sans-serif; font-weight: 600; color: #fff; font-size: 1rem; }
.work-card figcaption p { font-size: .72rem; color: #9AA5B5; margin-top: .15rem; }
.tag { display: inline-block; margin-bottom: .5rem; padding: .2rem .6rem; border-radius: 999px; font-family: 'JetBrains Mono', monospace; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); background: rgba(90,176,255,0.12); border: 1px solid rgba(90,176,255,0.25); }

/* ================= SERVICES ================= */
.service-card { padding: 1.6rem; border-radius: 1rem; background: linear-gradient(165deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)); border: 1px solid rgba(255,255,255,0.07); transition: transform .35s, border-color .35s, background .35s; }
.service-card:hover { border-color: rgba(90,176,255,0.4); background: linear-gradient(165deg, rgba(90,176,255,0.09), rgba(255,255,255,0.02)); }
.svc-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .8rem; margin-bottom: 1.2rem; color: var(--accent-2); background: rgba(90,176,255,0.1); border: 1px solid rgba(90,176,255,0.22); }
.svc-icon svg { width: 1.4rem; height: 1.4rem; }
.service-card h3 { font-family: 'Sora', sans-serif; font-weight: 600; color: #fff; font-size: 1.05rem; }
.service-card p { margin-top: .6rem; font-size: .85rem; line-height: 1.6; color: #8A94A6; }

/* ================= ABOUT / PROFILE ================= */
.portrait-frame { position: relative; overflow: hidden; border-radius: 1.4rem; aspect-ratio: 4/5; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.02); }
.portrait-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 55%, rgba(7,10,15,0.5)); pointer-events: none; }
.feat-row { display: flex; gap: .9rem; }
.feat-row strong { display: block; font-family: 'Sora', sans-serif; font-weight: 600; color: #fff; font-size: .95rem; }
.feat-row p { font-size: .84rem; color: #8A94A6; margin-top: .15rem; line-height: 1.55; }
.feat-dot { margin-top: .45rem; flex: none; width: .5rem; height: .5rem; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 4px rgba(90,176,255,0.15); }

/* ================= TIMELINE ================= */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content:""; position:absolute; left: 6px; top: 4px; bottom: 4px; width: 1px; background: linear-gradient(180deg, var(--accent), transparent); }
.tl-item { position: relative; padding-bottom: 2.2rem; }
.tl-item::before { content:""; position:absolute; left: -1.7rem; top: 4px; width: 13px; height: 13px; border-radius: 999px; background: var(--ink); border: 2px solid var(--accent); box-shadow: 0 0 0 4px rgba(90,176,255,0.12); }
.tl-year { font-family: 'JetBrains Mono', monospace; font-size: .72rem; letter-spacing: .12em; color: var(--accent-2); }
.tl-item h4 { font-family: 'Sora', sans-serif; font-weight: 600; color: #fff; margin-top: .25rem; }
.tl-item p { font-size: .85rem; color: #8A94A6; margin-top: .3rem; line-height: 1.55; }

/* Gear spec chips */
.spec { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.1rem; border-radius: .8rem; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); }
.spec strong { font-family: 'Sora', sans-serif; font-weight: 600; color: #fff; font-size: .9rem; }
.spec span { font-family: 'JetBrains Mono', monospace; font-size: .72rem; color: var(--accent-2); }

/* ================= GALLERY ================= */
.filter-chip { padding: .5rem 1.1rem; border-radius: 999px; font-size: .8rem; font-weight: 500; color: #9AA5B5; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.02); transition: all .25s; }
.filter-chip:hover { color: #fff; border-color: rgba(90,176,255,0.4); }
.filter-chip.active { color: #041019; background: linear-gradient(100deg, var(--accent-2), var(--accent)); border-color: transparent; }
.gitem { transition: opacity .4s, transform .4s; }
.gitem.hide { display: none; }

.gallery-scroll { display: flex; gap: 1rem; overflow-x: auto; padding: 0 1.5rem 1rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-scroll img { flex: none; width: 300px; height: 380px; object-fit: cover; border-radius: 1rem; scroll-snap-align: center; cursor: none; border: 1px solid rgba(255,255,255,0.07); filter: saturate(.95) brightness(.9); transition: transform .5s, filter .5s; }
.gallery-scroll img:hover { transform: translateY(-6px) scale(1.01); filter: saturate(1.05) brightness(1); }

/* ================= RATINGS ================= */
.stars { display: inline-flex; gap: 2px; color: var(--accent-2); }
.stars svg { width: 1rem; height: 1rem; }
.rating-card { padding: 1.6rem; border-radius: 1rem; background: linear-gradient(165deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)); border: 1px solid rgba(255,255,255,0.07); transition: transform .35s, border-color .35s; }
.rating-card:hover { border-color: rgba(90,176,255,0.35); }
.rating-card p.quote { color: #cdd5e0; font-size: .92rem; line-height: 1.65; margin-top: 1rem; }
.avatar { width: 2.6rem; height: 2.6rem; border-radius: 999px; object-fit: cover; border: 1px solid rgba(255,255,255,0.15); }
.big-score { font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(3.5rem, 9vw, 6rem); line-height: 1; letter-spacing: -.04em; }
.bar-track { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); width: 0; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }

/* ================= CONTACT / FORM ================= */
.cta-glow { position: absolute; left: 50%; top: 30%; width: 700px; height: 700px; transform: translateX(-50%); background: radial-gradient(circle, rgba(90,176,255,0.18), transparent 60%); pointer-events: none; filter: blur(20px); }
.field { width: 100%; padding: .9rem 1.1rem; border-radius: .8rem; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); color: #fff; font-size: .9rem; transition: border-color .25s, background .25s; }
.field::placeholder { color: #5b6675; }
.field:focus { outline: none; border-color: var(--accent); background: rgba(90,176,255,0.06); }
.field-label { font-family: 'JetBrains Mono', monospace; font-size: .68rem; letter-spacing: .12em; color: #8A94A6; text-transform: uppercase; margin-bottom: .5rem; display: block; }

/* ================= LIGHTBOX ================= */
#lightbox { position: fixed; inset: 0; z-index: 170; display: none; align-items: center; justify-content: center; background: rgba(7,10,15,0.95); backdrop-filter: blur(6px); padding: 1.5rem; }
#lightbox.open { display: flex; }
#lightboxStage { display: flex; align-items: center; justify-content: center; width: min(100%, 1100px); }
#lightbox img, #lightbox video { max-height: 85vh; max-width: 100%; border-radius: .75rem; object-fit: contain; box-shadow: 0 30px 90px -20px #000; animation: pop .3s ease; background: #000; }
#lightbox iframe { width: min(100%, 1000px); aspect-ratio: 16 / 9; max-height: 85vh; border: 0; border-radius: .75rem; box-shadow: 0 30px 90px -20px #000; animation: pop .3s ease; background: #000; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }

/* Play badge on video/embed gallery cards */
.gitem-play { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none; }
.gitem-play svg { width: 30px; height: 30px; color: #fff; padding: 14px; box-sizing: content-box; border-radius: 999px; background: rgba(7,10,15,0.45); border: 1px solid rgba(255,255,255,0.35); backdrop-filter: blur(4px); box-shadow: 0 6px 20px -6px rgba(0,0,0,.6); transition: transform .35s, background .35s; }
.work-card:hover .gitem-play svg { transform: scale(1.08); background: rgba(90,176,255,0.55); border-color: var(--accent-2); }

/* Contact QR — keep it perfectly square & crisp, clickable */
.qr-card { text-decoration: none; transition: border-color .3s, transform .3s; }
.qr-card:hover { transform: translateY(-2px); border-color: rgba(90,176,255,0.35); }
.qr-frame { flex: none; display: grid; place-items: center; padding: .5rem; border-radius: .8rem; background: #fff; }
.qr-frame img { display: block; width: 112px; height: 112px; aspect-ratio: 1 / 1; object-fit: contain; border-radius: .4rem; }

/* ================= REVEAL ================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-slow, .marquee-track, .scroll-line::after, .sound-toggle .eq-bar { animation: none; }
  .hero-media img { transform: none; }
  #wipe { display: none; }
  .cg-fab, .cg-ping, .cg-typing span, .cg-status span { animation: none; }
  .cg-panel { transition: opacity .2s ease; }
}

/* ================= AI CONCIERGE (Aria) ================= */
#concierge { position: fixed; right: clamp(1rem, 4vw, 2rem); bottom: clamp(1rem, 4vw, 2rem); z-index: 210; }

.cg-fab {
  position: relative; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 999px;
  color: #041019; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 10px 34px -8px rgba(90,176,255,0.65), 0 0 0 1px rgba(255,255,255,0.08) inset;
  animation: cgFloat 4s ease-in-out infinite;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.cg-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 40px -8px rgba(90,176,255,0.8); }
.cg-fab:active { transform: scale(.95); }
.cg-fab svg { width: 22px; height: 22px; transition: opacity .25s, transform .35s; }
.cg-fab .cg-close { position: absolute; opacity: 0; transform: rotate(-90deg) scale(.6); }
#concierge.open .cg-fab .cg-open { opacity: 0; transform: rotate(90deg) scale(.6); }
#concierge.open .cg-fab .cg-close { opacity: 1; transform: rotate(0) scale(1); }
#concierge.open .cg-fab { animation: none; }

.cg-ping { position: absolute; inset: 0; border-radius: 999px; border: 2px solid var(--accent-2); animation: cgPing 2.2s cubic-bezier(0,0,.2,1) infinite; pointer-events: none; }

@media (pointer: fine) { .cg-fab, .cg-fab * { cursor: pointer; } }

.cg-panel {
  position: absolute; right: 0; bottom: calc(100% + 14px);
  width: min(88vw, 370px); height: min(70vh, 540px);
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 18px; border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(180deg, rgba(12,17,25,0.98), rgba(7,10,15,0.98));
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.8), 0 0 0 1px rgba(90,176,255,0.08);
  backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.96);
  transform-origin: bottom right;
  transition: opacity .3s ease, transform .35s cubic-bezier(.34,1.4,.64,1), visibility .3s;
}
#concierge.open .cg-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.cg-head { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.07); background: rgba(90,176,255,0.05); }
.cg-ava { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; color: var(--accent-2); background: rgba(90,176,255,0.12); border: 1px solid rgba(90,176,255,0.25); }
.cg-ava svg { width: 22px; height: 22px; }
.cg-name { font-family: 'JetBrains Mono', monospace; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: #fff; }
.cg-status { display: flex; align-items: center; gap: .4rem; margin-top: .15rem; font-size: .68rem; color: #8ea2bd; }
.cg-status span { width: 7px; height: 7px; border-radius: 999px; background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,0.18); animation: cgBlink 2s ease-in-out infinite; }

.cg-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; scrollbar-width: thin; }
.cg-body::-webkit-scrollbar { width: 6px; }
.cg-body::-webkit-scrollbar-thumb { background: #1b2432; border-radius: 6px; }

.cg-msg { max-width: 82%; padding: .6rem .85rem; font-size: .85rem; line-height: 1.5; border-radius: 14px; animation: cgIn .3s ease both; }
.cg-msg.bot { align-self: flex-start; color: #d7e3f2; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07); border-bottom-left-radius: 4px; }
.cg-msg.user { align-self: flex-end; color: #041019; background: linear-gradient(120deg, var(--accent-2), var(--accent)); border-bottom-right-radius: 4px; }

.cg-typing { display: flex; gap: 4px; align-items: center; }
.cg-typing span { width: 7px; height: 7px; border-radius: 999px; background: var(--accent-2); opacity: .5; animation: cgDot 1.2s infinite ease-in-out; }
.cg-typing span:nth-child(2) { animation-delay: .18s; }
.cg-typing span:nth-child(3) { animation-delay: .36s; }

.cg-quick { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .6rem; }
.cg-quick button { font-family: 'JetBrains Mono', monospace; font-size: .66rem; letter-spacing: .04em; padding: .35rem .7rem; border-radius: 999px; color: var(--accent-2); background: rgba(90,176,255,0.08); border: 1px solid rgba(90,176,255,0.22); cursor: pointer; transition: background .25s, border-color .25s, transform .2s; }
.cg-quick button:hover { background: rgba(90,176,255,0.18); border-color: var(--accent); transform: translateY(-1px); }

.cg-input { display: flex; gap: .5rem; padding: .8rem 1rem 1rem; border-top: 1px solid rgba(255,255,255,0.07); }
.cg-input input { flex: 1; min-width: 0; padding: .65rem .9rem; font-size: .85rem; color: #eaf2fb; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); outline: none; transition: border-color .25s, background .25s; }
.cg-input input:focus { border-color: var(--accent); background: rgba(90,176,255,0.06); }
.cg-input input::placeholder { color: #5f708a; }
.cg-input button { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; color: #041019; border: none; cursor: pointer; background: linear-gradient(135deg, var(--accent-2), var(--accent)); transition: transform .2s, box-shadow .25s; }
.cg-input button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -6px rgba(90,176,255,0.6); }
.cg-input button svg { width: 18px; height: 18px; }
/* WA button in concierge */
.cg-wa-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: .5rem 0; padding: .6rem; border-radius: 12px; font-family: 'Sora', sans-serif; font-size: .8rem; font-weight: 600; color: #fff; background: linear-gradient(135deg, #25D366, #128C7E); text-decoration: none; transition: transform .2s, box-shadow .25s; }
.cg-wa-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -6px rgba(37,211,102,0.5); }
.cg-wa-btn svg { width: 16px; height: 16px; }
/* Google search button in concierge */
.cg-google-btn { display: inline-flex; align-items: center; gap: .4rem; margin-top: .5rem; padding: .4rem .75rem; border-radius: 8px; font-family: 'JetBrains Mono', monospace; font-size: .7rem; color: #8A94A6; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); text-decoration: none; transition: all .2s; }
.cg-google-btn:hover { color: #7CD4FF; border-color: rgba(90,176,255,0.3); background: rgba(90,176,255,0.05); }
.cg-google-btn svg { width: 14px; height: 14px; }

@keyframes cgFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes cgPing { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes cgBlink { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes cgDot { 0%,60%,100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
@keyframes cgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ================= MOBILE RHYTHM (≤640px) — rapat tapi tetap lega ================= */
@media (max-width: 640px) {
  /* jarak atas hero sub-halaman: rapetin dari 8rem, tetap ada ruang di bawah nav */
  .page-hero { padding-top: 6rem; }
}

/* ================= SMALL-SCREEN FIT (HP kecil ≤400px) ================= */
@media (max-width: 400px) {
  /* judul section jangan sampai mepet/kepanjangan di layar sempit */
  .section-title { font-size: clamp(1.55rem, 8vw, 2rem); }
  /* kartu lebih pas, tidak boros ruang */
  .service-card, .rating-card { padding: 1.3rem; }
  .rating-card p.quote { font-size: .88rem; }
  /* panel AI Aria lebih lega di HP mungil */
  .cg-panel { width: min(92vw, 360px); height: min(72vh, 520px); }
  /* QR + teksnya tetap muat berdampingan */
  .qr-frame img { width: 96px; height: 96px; }
}

/* ================= PREMIUM ADDITIONS ================= */

/* Verified badge (Instagram blue check) */
.verified-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: #3897f0; color: #fff; font-size: 10px;
  vertical-align: middle; margin-left: 4px;
}
.verified-badge svg { width: 10px; height: 10px; }

/* Rating cards */
.rating-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 30%, rgba(12,17,25,0.4) 70%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem; padding: 1.5rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 10px 40px -10px rgba(0,0,0,0.5);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  transition: all .4s cubic-bezier(.22,.61,.36,1);
}
.rating-card:hover { 
  border-color: rgba(90,176,255,0.2); 
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 20px 50px -10px rgba(0,0,0,0.7), 0 0 30px rgba(90,176,255,0.06);
}
.rating-card .avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255,255,255,0.15); box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.rating-card .quote { margin-top: 1rem; font-size: .875rem; line-height: 1.6; color: #b8c0cc; }

/* Stars */
.stars { display: flex; gap: 2px; }
.stars svg { width: 14px; height: 14px; color: var(--gold); }

/* Score bar */
.bar-track { height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), #e8c87a); border-radius: 3px; transition: width 1s ease; }

/* Big score */
.big-score { font-family: 'Sora', sans-serif; font-size: 5rem; font-weight: 800; line-height: 1; }

/* Text gradient */
.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Eyebrow label */
.eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: .7rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold);
}

/* Section title */
.section-title {
  font-family: 'Sora', sans-serif; font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700; line-height: 1.1; color: #fff; margin-top: .5rem;
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.75rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #070A0F; font-weight: 600; font-size: .875rem;
  transition: transform .2s, box-shadow .3s;
  box-shadow: 0 0 30px rgba(90,176,255,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(90,176,255,0.5); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.75rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15); color: #fff;
  font-weight: 500; font-size: .875rem; transition: border-color .3s, background .3s;
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(90,176,255,0.08); }

/* Page hero */
.page-hero { position: relative; padding-top: 140px; }
.ph-media { position: absolute; inset: 0; z-index: -1; opacity: .18; overflow: hidden; }
.ph-media img { width: 100%; height: 100%; object-fit: cover; }
.ph-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent, var(--ink) 90%); }

/* Work card (gallery + ethernix) */
.work-card { position: relative; overflow: hidden; border-radius: 1rem; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: all .4s cubic-bezier(.22,.61,.36,1);
}
.work-card:hover { 
  border-color: rgba(90,176,255,0.2); 
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.7), 0 0 30px rgba(90,176,255,0.08), inset 0 1px 0 rgba(255,255,255,0.1); 
  transform: translateY(-4px);
}
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22,.61,.36,1); filter: brightness(.88) saturate(.95); }
.work-card:hover img { transform: scale(1.08); filter: brightness(1.02) saturate(1.05); }
.work-card figcaption { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.25rem; background: linear-gradient(to top, rgba(7,10,15,0.92), transparent 60%); opacity: 0; transition: opacity .3s; }
.work-card:hover figcaption { opacity: 1; }
.work-card .tag { font-family: 'JetBrains Mono', monospace; font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-2); background: rgba(90,176,255,0.05); }
.work-card .w-title { font-family: 'Sora', sans-serif; font-size: 1.1rem; font-weight: 600; color: #fff; margin-top: .25rem; }

/* Social card */
.social-card {
  display: flex; flex-direction: column; gap: 1rem;
  background: var(--surface); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 1.75rem; transition: border-color .3s, transform .3s;
}
.social-card:hover { border-color: rgba(90,176,255,0.3); transform: translateY(-3px); }
.social-card .ig-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888); }
.social-card .ig-icon svg { width: 22px; height: 22px; color: #fff; }

/* Portrait frame */
.portrait-frame { position: relative; border-radius: 16px; overflow: hidden; }
.portrait-frame img { width: 100%; height: auto; }
.portrait-frame .cert-badge {
  position: absolute; bottom: 1rem; left: 1rem;
  background: rgba(7,10,15,0.85); backdrop-filter: blur(12px);
  border: 1px solid rgba(212,168,87,0.3); border-radius: 10px; padding: .75rem 1rem;
  display: flex; align-items: center; gap: .5rem;
}
.portrait-frame .cert-badge .gold-text { color: var(--gold); font-family: 'JetBrains Mono', monospace; font-size: .7rem; letter-spacing: .15em; }

/* CTA glow */
.cta-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(90,176,255,0.08), transparent 60%); pointer-events: none; }

/* Marquee */
.marquee { display: flex; overflow: hidden; gap: 0; }
.marquee-track { display: flex; gap: 3rem; animation: marqueeScroll 30s linear infinite; white-space: nowrap; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item { font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 300; color: rgba(255,255,255,0.3); display: flex; align-items: center; gap: 3rem; }
.marquee-item::after { content: '✦'; color: var(--gold); font-size: 1rem; }

/* Timeline */
.timeline-item { position: relative; padding-left: 2rem; padding-bottom: 2rem; border-left: 1px solid rgba(255,255,255,0.08); }
.timeline-item:last-child { border-left-color: transparent; }
.timeline-item::before { content: ''; position: absolute; left: -5px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px rgba(212,168,87,0.5); }
.timeline-year { font-family: 'JetBrains Mono', monospace; font-size: .8rem; color: var(--gold); }
.timeline-title { font-family: 'Sora', sans-serif; font-size: 1.1rem; font-weight: 600; color: #fff; margin-top: .25rem; }

/* Spec card (gear/armada) */
.spec-card {
  background: var(--surface); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 1.5rem; transition: border-color .3s;
}
.spec-card:hover { border-color: rgba(212,168,87,0.2); }
.spec-card .spec-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(90,176,255,0.08); margin-bottom: 1rem; }
.spec-card .spec-icon svg { width: 20px; height: 20px; color: var(--accent); }
.spec-card .spec-name { font-family: 'Sora', sans-serif; font-size: .95rem; font-weight: 600; color: #fff; }
.spec-card .spec-desc { font-size: .8rem; color: var(--muted, #8A94A6); margin-top: .35rem; }

/* ================= SILVER ALUMINUM LUXURY ================= */

/* Silver text gradient — brushed aluminum effect */
.silver-text {
  background: linear-gradient(135deg, #e0e0e0 0%, #b0b0b0 30%, #f0f0f0 55%, #a0a0a0 80%, #d8d8d8 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(255,255,255,0.08));
}
.accent-word {
  color: #5AB0FF;
  -webkit-text-fill-color: #5AB0FF;
  filter: drop-shadow(0 2px 12px rgba(90,176,255,0.5));
}

/* Aluminum surface — premium 3D card */
.aluminum-surface {
  background: 
    linear-gradient(145deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 25%, rgba(12,17,25,0.6) 60%, rgba(20,23,28,0.5) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -1px 0 rgba(0,0,0,0.3),
    0 10px 40px -10px rgba(0,0,0,0.6),
    0 2px 8px -2px rgba(0,0,0,0.3);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  transition: all .4s cubic-bezier(.22,.61,.36,1);
  transform-style: preserve-3d;
}
.aluminum-surface:hover {
  border-color: rgba(90,176,255,0.25);
  box-shadow: 
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.2),
    0 20px 50px -10px rgba(0,0,0,0.7),
    0 0 30px rgba(90,176,255,0.08);
  transform: translateY(-4px);
}

/* Brushed metal divider */
.brushed-metal {
  background: linear-gradient(90deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.02) 100%),
              linear-gradient(180deg, #1a1d24, #0f1115);
}

/* Silver shimmer animation on hover */
@keyframes silverShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.silver-shimmer {
  background: linear-gradient(90deg, #b0b0b0 0%, #f0f0f0 25%, #b0b0b0 50%, #f0f0f0 75%, #b0b0b0 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: silverShimmer 3s linear infinite;
}

/* Silver button hover fill */
.btn-primary:hover {
  background: linear-gradient(135deg, #d0d0d0, #f0f0f0);
  color: #070A0F;
  box-shadow: 0 0 40px rgba(192,192,192,0.3);
}

/* Ken Burns effect for hero images */
@keyframes kenBurns {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.12) translateY(-20px); }
}
.ken-burns { animation: kenBurns 20s ease-out forwards; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 999;
  background: linear-gradient(90deg, #C0C0C0, #5AB0FF, #C0C0C0);
  width: 0; transition: width .1s;
}

/* Hero letter reveal */
@keyframes letterReveal {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Card 3D tilt hover glow */
.aluminum-surface.tilt:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(90,176,255,0.08);
}

/* Fluid typography */
@media (max-width: 640px) {
  .big-score { font-size: 3.5rem; }
  .section-title { font-size: 1.5rem; }
}

/* ================= PREMIUM INTERACTIVE ANIMATIONS ================= */

/* Icon hover — scale + glow + rotate */
.svc-icon, .ig-icon, .work-card .gitem-play svg, .sound-toggle, .nav-link svg {
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), filter .4s, color .4s;
}
.svc-icon:hover { transform: scale(1.15) rotate(-5deg); filter: drop-shadow(0 0 12px rgba(90,176,255,0.4)); }
.service-card:hover .svc-icon { transform: scale(1.1) rotate(-3deg); }

/* Card hover — lift + silver border sweep */
.work-card, .aluminum-surface, .rating-card, .social-card {
  position: relative;
}
.work-card::before, .aluminum-surface::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.04) 50%, transparent 60%);
  background-size: 200% 200%; background-position: 0% 0%;
  transition: background-position .8s ease; pointer-events: none;
}
.work-card:hover::before, .aluminum-surface:hover::before {
  background-position: 100% 100%;
}

/* Button shine sweep on hover */
.btn-primary, .btn-ghost {
  position: relative; overflow: hidden;
}
.btn-primary::after, .btn-ghost::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left .6s ease; pointer-events: none;
}
.btn-primary:hover::after, .btn-ghost:hover::after {
  left: 120%;
}

/* Nav link underline animation */
.nav-link::after {
  content: ''; position: absolute; bottom: -6px; left: 0; height: 1px; width: 0;
  background: linear-gradient(90deg, #5AB0FF, #C0C0C0);
  transition: width .35s cubic-bezier(.22,.61,.36,1);
}
.nav-link:hover::after, .nav-link.text-white::after { width: 100%; }

/* Reveal animation — fade up with slight scale */
.reveal {
  opacity: 0; transform: translateY(30px) scale(0.98);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}
.reveal.in { opacity: 1; transform: translateY(0) scale(1); }

/* Stagger reveal — children animate in sequence */
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }
.reveal:nth-child(6) { transition-delay: .40s; }

/* Floating animation for hero card */
@keyframes floatPremium {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(0.5deg); }
  66% { transform: translateY(-4px) rotate(-0.3deg); }
}
.float-slow { animation: floatPremium 6s ease-in-out infinite; }

/* Pulse glow for live indicators */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(52,211,153,0); }
}
.animate-pulse { animation: pulseGlow 2s ease-in-out infinite; }

/* Image hover — zoom + brightness */
.work-card img, .ethx-post img {
  transition: transform .7s cubic-bezier(.22,.61,.36,1), filter .5s;
}
.work-card:hover img, .ethx-post:hover img {
  transform: scale(1.08);
  filter: brightness(1.05) saturate(1.1);
}

/* Magnetic button cursor follow (handled by JS, but add smooth transition) */
[data-magnetic] {
  transition: transform .2s cubic-bezier(.34,1.56,.64,1);
}

/* Scroll cue — premium animated line */
@keyframes scrollCue {
  0% { transform: translateY(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}
.scroll-line {
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 50%;
  background: linear-gradient(180deg, transparent, #5AB0FF);
  animation: scrollCue 2s ease-in-out infinite;
}

/* Filter chip — active state animation */
.filter-chip {
  transition: all .3s cubic-bezier(.22,.61,.36,1);
}
.filter-chip.is-active, .filter-chip.active {
  background: linear-gradient(135deg, rgba(90,176,255,0.15), rgba(192,192,192,0.1));
  border-color: rgba(90,176,255,0.4);
  color: #fff;
  box-shadow: 0 0 16px rgba(90,176,255,0.15);
}

/* Verified badge — subtle pulse */
.verify-badge, .verified-badge {
  animation: verifyPulse 3s ease-in-out infinite;
}
@keyframes verifyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56,151,240,0.3); }
  50% { box-shadow: 0 0 0 4px rgba(56,151,240,0); }
}

/* Stat number — count up glow */
.stat-num.in {
  filter: drop-shadow(0 0 16px rgba(90,176,255,0.15));
}

/* Marquee — smooth infinite */
.marquee-track {
  animation: marqueeScroll 34s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* Lightbox — premium fade + scale */
#lightbox.open, #lightbox {
  transition: opacity .3s ease;
}
@keyframes lbPop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* Drone transition — smoother */
#dt .dt-drone {
  transition: filter .3s;
}

/* Glass card — premium frosted */
.glass-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Hover ripple on cards */
@keyframes ripple {
  0% { transform: scale(0); opacity: 0.4; }
  100% { transform: scale(4); opacity: 0; }
}

/* Section number — animated stroke */
.idx-num {
  transition: -webkit-text-stroke-color .4s;
}
.idx-num:hover {
  -webkit-text-stroke-color: rgba(90,176,255,0.6);
}

/* Premium focus states */
a:focus-visible, button:focus-visible {
  outline: 2px solid rgba(90,176,255,0.5);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduced motion — disable all animations */
@media (prefers-reduced-motion: reduce) {
  .float-slow, .animate-pulse, .marquee-track, .scroll-line::after,
  .silver-text-shine, .verify-badge, .verified-badge {
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
  .work-card::before, .aluminum-surface::before { display: none; }
}
