:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-soft: #F1F5F9;
  --surface-glass: rgba(255, 255, 255, 0.82);
  --ink: #0F172A;
  --ink-muted: #475569;
  --ink-subtle: #64748B;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);

  --blue: #2563EB;
  --blue-soft: #EFF6FF;
  --indigo: #4F46E5;
  --emerald: #059669;
  --emerald-soft: #ECFDF5;
  --amber: #D97706;
  --amber-soft: #FFFBEB;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 16px 38px -12px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-3d: 0 28px 60px -18px rgba(37, 99, 235, 0.22), 0 12px 24px -10px rgba(15, 23, 42, 0.1);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --font-sans: "Be Vietnam Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.container { width: min(1160px, calc(100% - 2.5rem)); margin-inline: auto; }

.ambient-bg { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.ambient-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; }
.ambient-orb.orb-1 {
  width: 560px; height: 560px; top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, rgba(79, 70, 229, 0.04) 65%, transparent 100%);
  animation: floatSlow 14s ease-in-out infinite alternate;
}
.ambient-orb.orb-2 {
  width: 480px; height: 480px; bottom: 10%; left: -160px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.12) 0%, rgba(37, 99, 235, 0.03) 65%, transparent 100%);
  animation: floatSlow 18s ease-in-out infinite alternate-reverse;
}
.ambient-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(15, 23, 42, 0.028) 1px, transparent 1px), linear-gradient(to bottom, rgba(15, 23, 42, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 15%, #000 35%, transparent 100%);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; border-radius: 999px; border: 1px solid transparent;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 38px; padding: 0.45rem 0.95rem; font-size: 0.875rem; }
.btn-lg { min-height: 48px; padding: 0.72rem 1.35rem; font-size: 0.95rem; }
.btn-block { width: 100%; min-height: 46px; }
.btn-primary { background: linear-gradient(135deg, var(--blue) 0%, var(--indigo) 100%); color: #FFFFFF; box-shadow: 0 10px 24px -8px rgba(37, 99, 235, 0.55); }
.btn-primary:hover { box-shadow: 0 14px 30px -8px rgba(37, 99, 235, 0.65); }
.btn-surface { background: var(--surface); color: var(--ink); border-color: var(--border-strong); box-shadow: var(--shadow-xs); }
.btn-surface:hover { border-color: rgba(37, 99, 235, 0.35); box-shadow: var(--shadow-sm); }
.btn-ghost { background: rgba(255, 255, 255, 0.65); color: var(--ink-muted); border-color: var(--border); }
.btn-ghost:hover { color: var(--ink); background: var(--surface); border-color: var(--border-strong); }
.btn-white { background: #FFFFFF; color: var(--ink); box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.25); }
.btn-glass-light { background: rgba(255, 255, 255, 0.14); color: #FFFFFF; border-color: rgba(255, 255, 255, 0.28); backdrop-filter: blur(8px); }
.btn-glass-light:hover { background: rgba(255, 255, 255, 0.22); }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.92); box-shadow: 0 6px 24px -10px rgba(15, 23, 42, 0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 0.72rem; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  font-weight: 800; font-size: 0.9rem; letter-spacing: -0.02em; color: #FFFFFF;
  background: linear-gradient(135deg, var(--blue) 0%, var(--indigo) 100%);
  box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.45);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 0.95rem; font-weight: 700; }
.brand-text small { font-size: 0.74rem; color: var(--ink-subtle); }
.nav-links { display: flex; align-items: center; gap: 0.3rem; }
.nav-links a { padding: 0.45rem 0.82rem; border-radius: 999px; font-size: 0.88rem; font-weight: 500; color: var(--ink-muted); transition: color 0.2s ease, background-color 0.2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: rgba(37, 99, 235, 0.08); }
.nav-actions { display: flex; align-items: center; gap: 0.55rem; }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface); align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; }
.menu-toggle span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.25s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { border-top: 1px solid var(--border); background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(16px); }
.mobile-nav-inner { display: flex; flex-direction: column; padding: 0.9rem 0 1.25rem; gap: 0.25rem; }
.mobile-link { padding: 0.72rem 0.85rem; border-radius: 12px; font-weight: 500; color: var(--ink); }
.mobile-link:hover { background: var(--surface-soft); }
.mobile-nav-cta { margin-top: 0.65rem; }

.section { padding: clamp(3.5rem, 6vw, 5.5rem) 0; }
.section-tinted { background: linear-gradient(180deg, rgba(241, 245, 249, 0.6) 0%, rgba(248, 250, 252, 0.85) 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.25rem; }
.section-head-copy { max-width: 680px; }
.section-kicker { display: inline-block; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.55rem; }
.section-kicker.light { color: #BFDBFE; }
.section-title { margin: 0; font-size: clamp(1.55rem, 2.8vw, 2.25rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.22; }

.hero { padding-top: clamp(2.2rem, 5vw, 4rem); padding-bottom: clamp(2.8rem, 5vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.42rem 0.9rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-xs); font-size: 0.82rem; font-weight: 600; color: var(--ink-muted); margin-bottom: 1.2rem; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.45); animation: pulseRing 2.2s infinite; }
.hero-title { margin: 0 0 1.15rem; font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; line-height: 1.14; letter-spacing: -0.03em; }
.text-gradient { background: linear-gradient(120deg, var(--blue) 0%, var(--indigo) 55%, #0EA5E9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-accent-underline { position: relative; display: inline-block; }
.text-accent-underline::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.08em; height: 0.22em; border-radius: 999px; background: linear-gradient(90deg, rgba(5, 150, 105, 0.28), rgba(37, 99, 235, 0.25)); z-index: -1; }
.hero-lead { margin: 0 0 1.7rem; font-size: clamp(0.98rem, 1.3vw, 1.08rem); color: var(--ink-muted); max-width: 610px; }
.hero-lead strong { color: var(--ink); font-weight: 600; }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.hero-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem 1.4rem; font-size: 0.87rem; color: var(--ink-subtle); }
.hero-meta li { display: inline-flex; align-items: center; gap: 0.42rem; }
.hero-meta a:hover { color: var(--blue); }

.hero-stage { perspective: 1200px; display: flex; justify-content: center; padding: 2.4rem 0.5rem 3rem; }
.stage-3d { position: relative; width: 100%; max-width: 440px; transform-style: preserve-3d; transition: transform 0.22s ease-out; }
.hero-3d-card {
  position: relative; padding: 1.65rem 1.65rem 2.15rem; border-radius: var(--radius-xl);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--shadow-3d); backdrop-filter: blur(18px);
  transform: translateZ(20px);
}
.hero-3d-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(255, 255, 255, 0.6), rgba(5, 150, 105, 0.22));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.card-3d-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 1rem; }
.card-3d-chip { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; padding: 0.28rem 0.65rem; border-radius: 999px; background: var(--blue-soft); color: var(--blue); }
.card-3d-roas { font-family: var(--font-mono); font-size: 0.76rem; font-weight: 700; padding: 0.28rem 0.7rem; border-radius: 999px; background: var(--emerald-soft); color: var(--emerald); }
.card-3d-brand { margin-bottom: 0.65rem; }
.card-3d-brand strong { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.card-3d-brand span { font-size: 0.84rem; color: var(--ink-subtle); }
.card-3d-metric { display: flex; align-items: baseline; gap: 0.55rem; margin-bottom: 1.15rem; font-variant-numeric: tabular-nums; }
.metric-from { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 600; color: var(--ink-subtle); }
.metric-arrow { color: var(--blue); font-weight: 700; }
.metric-to { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.metric-to small { font-size: 0.9rem; font-weight: 600; color: var(--ink-muted); }

.iso-bars {
  display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; gap: 0.55rem; height: 76px;
  padding: 0.65rem 0.75rem 0.55rem; margin-bottom: 1.1rem; border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.75), rgba(239, 246, 255, 0.9));
  border: 1px solid rgba(37, 99, 235, 0.08);
}
.iso-bar { position: relative; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #60A5FA 0%, var(--blue) 100%); box-shadow: 4px 4px 0 rgba(79, 70, 229, 0.16); transform-origin: bottom; animation: barRise 1.1s var(--ease-out) both; }
.iso-bar .bar-top { position: absolute; top: -4px; left: 0; right: 0; height: 6px; border-radius: 4px; background: #BFDBFE; }
.iso-bar.b1 { height: 22%; animation-delay: 0.1s; }
.iso-bar.b2 { height: 34%; animation-delay: 0.18s; }
.iso-bar.b3 { height: 48%; animation-delay: 0.26s; }
.iso-bar.b4 { height: 64%; animation-delay: 0.34s; }
.iso-bar.b5 { height: 80%; animation-delay: 0.42s; }
.iso-bar.b6 { height: 98%; animation-delay: 0.5s; background: linear-gradient(180deg, #34D399 0%, var(--emerald) 100%); box-shadow: 4px 4px 0 rgba(5, 150, 105, 0.2); }
.iso-bar.b6 .bar-top { background: #A7F3D0; }

.channel-split { display: flex; flex-direction: column; gap: 0.45rem; }
.split-labels { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--ink-muted); }
.split-track { display: flex; height: 9px; border-radius: 999px; overflow: hidden; background: var(--surface-soft); gap: 2px; }
.split-shopee { width: 75%; background: linear-gradient(90deg, var(--blue), var(--indigo)); border-radius: 999px 0 0 999px; }
.split-tiktok { width: 25%; background: linear-gradient(90deg, #10B981, var(--emerald)); border-radius: 0 999px 999px 0; }

.float-badge {
  position: absolute; display: flex; align-items: center; gap: 0.65rem; padding: 0.68rem 0.95rem;
  border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.94); border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 36px -12px rgba(15, 23, 42, 0.16); backdrop-filter: blur(12px);
}
.float-badge small { display: block; font-size: 0.7rem; color: var(--ink-subtle); line-height: 1.2; }
.float-badge strong { display: block; font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.float-badge-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.float-badge-icon.blue { background: var(--blue-soft); color: var(--blue); }
.badge-scale { top: -26px; left: -24px; --tz: 52px; transform: translateZ(52px); animation: floatY 5.5s ease-in-out infinite; }
.badge-ai { right: -20px; bottom: -30px; --tz: 64px; transform: translateZ(64px); animation: floatY 6.4s ease-in-out infinite reverse; }

.motif-3d-cube { position: absolute; top: -28px; right: 28px; width: 44px; height: 44px; perspective: 400px; transform: translateZ(75px); z-index: 4; }
.cube-3d { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; animation: spinCube 12s linear infinite; }
.cube-face { position: absolute; inset: 0; border-radius: 8px; border: 1.5px solid rgba(37, 99, 235, 0.42); background: linear-gradient(135deg, rgba(255, 255, 255, 0.65), rgba(147, 197, 253, 0.25)); backdrop-filter: blur(4px); }
.face-front { transform: rotateY(0deg) translateZ(22px); }
.face-back { transform: rotateY(180deg) translateZ(22px); }
.face-right { transform: rotateY(90deg) translateZ(22px); }
.face-left { transform: rotateY(-90deg) translateZ(22px); }
.face-top { transform: rotateX(90deg) translateZ(22px); }
.face-bottom { transform: rotateX(-90deg) translateZ(22px); }

.motif-3d-planet { position: absolute; top: 46%; right: -34px; width: 56px; height: 56px; --tz: 45px; transform: translateZ(45px); animation: floatY 4.8s ease-in-out infinite; }
.sphere-3d { position: absolute; inset: 11px; border-radius: 50%; background: radial-gradient(circle at 30% 28%, #FFFFFF 0%, #93C5FD 26%, #2563EB 72%, #1E3A8A 100%); box-shadow: 0 12px 24px -6px rgba(37, 99, 235, 0.48); }
.orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(79, 70, 229, 0.35); transform: rotateX(72deg) rotateY(-22deg); animation: spinOrbit 7s linear infinite; }

.motif-3d-disc { position: absolute; left: -16px; bottom: -22px; --tz: 56px; transform: translateZ(56px); animation: floatY 5s ease-in-out 0.7s infinite; }
.disc-inner { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; padding: 0.42rem 0.75rem; border-radius: 999px; color: #065F46; background: linear-gradient(145deg, #FFFFFF, #D1FAE5); border: 1px solid rgba(5, 150, 105, 0.25); box-shadow: 0 10px 22px -6px rgba(5, 150, 105, 0.3), inset 0 -2px 0 rgba(5, 150, 105, 0.16); }

.kpi-strip { margin-top: clamp(2.4rem, 5vw, 3.8rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.kpi-card { padding: 1.35rem 1.4rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.25s ease; }
.kpi-card:hover { border-color: rgba(37, 99, 235, 0.25); box-shadow: var(--shadow-md); }
.kpi-value { font-size: clamp(1.85rem, 3vw, 2.35rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; background: linear-gradient(135deg, var(--ink) 0%, var(--blue) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 0.45rem; }
.kpi-label { margin: 0 0 0.3rem; font-size: 0.96rem; font-weight: 700; }
.kpi-note { margin: 0; font-size: 0.83rem; color: var(--ink-subtle); line-height: 1.5; }

.section-motif-3d { flex-shrink: 0; width: 68px; height: 68px; display: grid; place-items: center; perspective: 500px; }
.torus-3d { position: relative; width: 52px; height: 52px; transform-style: preserve-3d; animation: spinSlow 11s linear infinite; }
.torus-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid rgba(37, 99, 235, 0.38); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.14); }
.torus-ring.r1 { transform: rotateX(62deg) rotateY(15deg); }
.torus-ring.r2 { transform: rotateX(-52deg) rotateY(65deg); border-color: rgba(5, 150, 105, 0.4); }
.torus-core { position: absolute; inset: 16px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #FFFFFF, #60A5FA 55%, #2563EB 100%); box-shadow: 0 6px 14px rgba(37, 99, 235, 0.32); }

.octa-3d { position: relative; width: 48px; height: 48px; transform-style: preserve-3d; animation: spinCube 14s linear infinite; }
.octa-plate { position: absolute; inset: 6px; border-radius: 10px; border: 2px solid rgba(79, 70, 229, 0.38); background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(199, 210, 254, 0.35)); }
.octa-plate.p1 { transform: rotateY(0deg) rotateX(25deg); }
.octa-plate.p2 { transform: rotateY(60deg) rotateX(25deg); }
.octa-plate.p3 { transform: rotateY(120deg) rotateX(25deg); }

.iso-stack-3d { position: relative; width: 52px; height: 52px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-42deg); animation: floatY 5s ease-in-out infinite; }
.iso-layer { position: absolute; inset: 8px; border-radius: 10px; border: 1.5px solid rgba(37, 99, 235, 0.32); background: rgba(255, 255, 255, 0.88); box-shadow: 0 8px 18px -6px rgba(37, 99, 235, 0.2); }
.iso-layer.l1 { transform: translateZ(-10px); background: rgba(219, 234, 254, 0.85); }
.iso-layer.l2 { transform: translateZ(0px); background: rgba(224, 231, 255, 0.9); }
.iso-layer.l3 { transform: translateZ(10px); background: linear-gradient(135deg, #FFFFFF, #ECFDF5); border-color: rgba(5, 150, 105, 0.4); }

.summary-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 1.25rem; align-items: stretch; }
.bento-box { padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.summary-quote { margin: 0; font-size: clamp(1rem, 1.35vw, 1.12rem); line-height: 1.75; color: var(--ink-muted); }
.summary-quote strong { color: var(--ink); }
.pillars-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.pillar-item { display: flex; flex-direction: column; gap: 0.45rem; }
.pillar-badge { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; color: var(--blue); background: var(--blue-soft); width: fit-content; padding: 0.18rem 0.5rem; border-radius: 6px; }
.pillar-item h3 { margin: 0; font-size: 0.94rem; font-weight: 700; }
.pillar-item p { margin: 0; font-size: 0.82rem; color: var(--ink-subtle); line-height: 1.5; }
.industries-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.industry-card { padding: 1.25rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-xs); transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.25s ease; }
.industry-card:hover { border-color: rgba(37, 99, 235, 0.25); box-shadow: var(--shadow-md); }
.iso-icon-wrap { margin-bottom: 0.85rem; perspective: 300px; }
.iso-tile { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; transform: rotateX(10deg) rotateY(-10deg); transition: transform 0.3s var(--ease-out); }
.industry-card:hover .iso-tile { transform: rotateX(0deg) rotateY(0deg) translateY(-2px); }
.iso-tile.blue { background: var(--blue-soft); color: var(--blue); box-shadow: 3px 4px 0 rgba(37, 99, 235, 0.14); }
.iso-tile.indigo { background: #EEF2FF; color: var(--indigo); box-shadow: 3px 4px 0 rgba(79, 70, 229, 0.14); }
.iso-tile.amber { background: var(--amber-soft); color: var(--amber); box-shadow: 3px 4px 0 rgba(217, 119, 6, 0.14); }
.iso-tile.emerald { background: var(--emerald-soft); color: var(--emerald); box-shadow: 3px 4px 0 rgba(5, 150, 105, 0.14); }
.industry-card h3 { margin: 0 0 0.35rem; font-size: 0.98rem; font-weight: 700; }
.industry-card p { margin: 0; font-size: 0.84rem; color: var(--ink-subtle); line-height: 1.55; }

.timeline { position: relative; display: flex; flex-direction: column; gap: 1.5rem; padding-left: 2.35rem; }
.timeline-track { position: absolute; left: 11px; top: 12px; bottom: 12px; width: 2px; background: rgba(15, 23, 42, 0.1); border-radius: 999px; overflow: hidden; }
.timeline-progress { width: 100%; height: 0%; background: linear-gradient(180deg, var(--blue), var(--emerald)); border-radius: inherit; transition: height 0.12s linear; }
.timeline-item { position: relative; }
.timeline-node { position: absolute; left: -2.35rem; top: 1.55rem; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border-strong); display: grid; place-items: center; z-index: 2; }
.timeline-node::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-subtle); }
.timeline-node.is-active { border-color: var(--blue); box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.12); }
.timeline-node.is-active::after { background: var(--blue); }
.exp-card { padding: clamp(1.35rem, 3vw, 1.85rem); border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.25s ease; }
.exp-card:hover { border-color: rgba(37, 99, 235, 0.25); box-shadow: var(--shadow-md); }
.exp-header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0.75rem 1.25rem; margin-bottom: 1rem; }
.exp-period { display: inline-block; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; color: var(--blue); margin-bottom: 0.3rem; }
.exp-company { margin: 0; font-size: clamp(1.1rem, 1.7vw, 1.32rem); font-weight: 800; letter-spacing: -0.02em; }
.exp-role { margin: 0.15rem 0 0; font-size: 0.92rem; font-weight: 600; color: var(--ink-muted); }
.exp-badge { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 0.76rem; font-weight: 600; padding: 0.36rem 0.8rem; border-radius: 999px; background: var(--surface-soft); color: var(--ink-muted); border: 1px solid var(--border); }
.exp-badge.highlight { background: var(--emerald-soft); color: var(--emerald); border-color: rgba(5, 150, 105, 0.22); }
.exp-bullets { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.62rem; color: var(--ink-muted); font-size: 0.95rem; }
.exp-bullets strong { color: var(--ink); font-weight: 600; }
.exp-mini-chart { margin-top: 1.15rem; padding: 0.95rem 1.05rem; border-radius: var(--radius-md); background: var(--surface-soft); border: 1px solid var(--border); }
.mini-chart-head { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: 600; color: var(--ink-muted); margin-bottom: 0.5rem; }
.mini-chart-legend { display: flex; gap: 1.15rem; margin-top: 0.55rem; font-size: 0.78rem; color: var(--ink-subtle); }
.mini-chart-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.blue { background: var(--blue); }
.dot.emerald { background: var(--emerald); }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.project-tag { font-size: 0.8rem; font-weight: 500; padding: 0.36rem 0.72rem; border-radius: 999px; background: var(--surface-soft); color: var(--ink-muted); border: 1px solid var(--border); transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.project-tag:hover { transform: translateY(-2px); background: var(--blue-soft); color: var(--blue); border-color: rgba(37, 99, 235, 0.25); }

.skills-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.skill-card { padding: 1.55rem; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.25s ease; }
.skill-card:hover { border-color: rgba(37, 99, 235, 0.28); box-shadow: var(--shadow-md); }
.skill-card-head { display: flex; align-items: center; gap: 0.9rem; }
.skill-3d-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; transform: rotateX(12deg) rotateY(-12deg); transition: transform 0.3s var(--ease-out); }
.skill-card:hover .skill-3d-icon { transform: rotateX(0) rotateY(0) scale(1.04); }
.skill-3d-icon.blue { background: var(--blue-soft); color: var(--blue); box-shadow: 4px 5px 0 rgba(37, 99, 235, 0.14); }
.skill-3d-icon.indigo { background: #EEF2FF; color: var(--indigo); box-shadow: 4px 5px 0 rgba(79, 70, 229, 0.14); }
.skill-3d-icon.emerald { background: var(--emerald-soft); color: var(--emerald); box-shadow: 4px 5px 0 rgba(5, 150, 105, 0.14); }
.skill-index { display: block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; color: var(--ink-subtle); }
.skill-card-head h3 { margin: 0; font-size: 1.08rem; font-weight: 800; }
.skill-desc { margin: 0; font-size: 0.88rem; color: var(--ink-subtle); }
.tag-cloud { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.48rem; }
.tag-cloud li { font-size: 0.82rem; font-weight: 500; padding: 0.38rem 0.75rem; border-radius: 10px; background: var(--surface-soft); color: var(--ink); border: 1px solid var(--border); transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.tag-cloud li:hover { background: var(--blue-soft); border-color: rgba(37, 99, 235, 0.25); transform: translateY(-1px); }

.edu-card { display: flex; align-items: center; gap: 1.75rem; padding: clamp(1.5rem, 3.2vw, 2.2rem); border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.edu-3d-emblem { flex-shrink: 0; width: 84px; height: 84px; perspective: 400px; display: grid; place-items: center; }
.edu-cube-wrap { position: relative; width: 72px; height: 72px; display: grid; place-items: center; transform-style: preserve-3d; }
.edu-ring { position: absolute; inset: 0; border-radius: 22px; border: 2px dashed rgba(37, 99, 235, 0.35); animation: spinSlow 16s linear infinite; }
.edu-badge-core { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #FFFFFF; background: linear-gradient(135deg, var(--blue), var(--indigo)); box-shadow: 0 12px 24px -6px rgba(37, 99, 235, 0.45); }
.edu-content { flex: 1; min-width: 0; }
.edu-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.65rem; }
.edu-top h3 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 800; }
.edu-degree { margin: 0.2rem 0 0; font-size: 0.96rem; font-weight: 600; color: var(--ink-muted); }
.edu-bridge { margin: 0; font-size: 0.92rem; color: var(--ink-subtle); }

.section-contact { padding-top: 1.5rem; }
.contact-box { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: 2rem; padding: clamp(1.8rem, 4vw, 3rem); border-radius: var(--radius-xl); background: linear-gradient(135deg, #0F172A 0%, #1E293B 45%, #1E3A8A 100%); color: #FFFFFF; box-shadow: 0 28px 60px -18px rgba(15, 23, 42, 0.38); }
.contact-3d-orb { position: absolute; width: 220px; height: 220px; border-radius: 50%; top: -80px; right: -60px; background: radial-gradient(circle at 30% 30%, rgba(147, 197, 253, 0.45), rgba(37, 99, 235, 0.08) 70%, transparent 100%); pointer-events: none; }
.contact-3d-prism { position: absolute; width: 110px; height: 110px; bottom: -36px; left: 36%; border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.14); background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent); transform: rotate(28deg); pointer-events: none; }
.contact-copy { position: relative; z-index: 1; }
.contact-copy h2 { margin: 0 0 0.85rem; font-size: clamp(1.45rem, 2.8vw, 2.05rem); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; }
.contact-copy p { margin: 0 0 1.65rem; color: rgba(226, 232, 240, 0.88); max-width: 520px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.contact-details { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 0.85rem; padding: 1.35rem; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(12px); }
.detail-row { display: flex; flex-direction: column; gap: 0.15rem; padding-bottom: 0.72rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.detail-row:last-child { padding-bottom: 0; border-bottom: 0; }
.detail-label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: #93C5FD; }
.detail-value-wrap { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.detail-value { font-size: 0.96rem; font-weight: 600; color: #FFFFFF; }
.mini-copy { padding: 0.22rem 0.58rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.26); background: rgba(255, 255, 255, 0.1); color: #FFFFFF; font-size: 0.74rem; font-weight: 600; transition: background-color 0.2s ease; }
.mini-copy:hover { background: rgba(255, 255, 255, 0.22); }

.site-footer { padding: 1.75rem 0 2.5rem; color: var(--ink-subtle); font-size: 0.86rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; }
.footer-inner p { margin: 0; }
.back-top { font-weight: 600; color: var(--blue); }
.mobile-dock { display: none; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); padding: 0.65rem 1.15rem; border-radius: 999px; background: var(--ink); color: #FFFFFF; font-size: 0.86rem; font-weight: 600; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; z-index: 60; transition: opacity 0.25s ease, transform 0.25s var(--ease-out); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(22px) scale(0.985); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }

@keyframes floatY { 0%, 100% { transform: translate3d(0, 0, var(--tz, 52px)); } 50% { transform: translate3d(0, -10px, var(--tz, 52px)); } }
@keyframes floatSlow { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(24px, 18px) scale(1.06); } }
@keyframes spinCube { 0% { transform: rotateX(18deg) rotateY(0deg) rotateZ(8deg); } 100% { transform: rotateX(378deg) rotateY(360deg) rotateZ(8deg); } }
@keyframes spinSlow { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes spinOrbit { 0% { transform: rotateX(72deg) rotateY(-22deg) rotateZ(0deg); } 100% { transform: rotateX(72deg) rotateY(-22deg) rotateZ(360deg); } }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.48); } 70% { box-shadow: 0 0 0 9px rgba(5, 150, 105, 0); } 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); } }
@keyframes barRise { 0% { transform: scaleY(0.15); opacity: 0.4; } 100% { transform: scaleY(1); opacity: 1; } }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-stage { padding: 2.2rem 1rem 3rem; }
  .kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-layout { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-box { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { width: min(1160px, calc(100% - 1.75rem)); }
  .nav-links, .nav-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero { padding-top: 1.5rem; }
  .hero-stage { padding: 2.6rem 0.25rem 3.8rem; }
  .stage-3d { max-width: 360px; }
  .hero-3d-card { padding: 1.45rem 1.25rem 2.2rem; }
  .badge-scale { top: -30px; left: 2px; padding: 0.52rem 0.76rem; }
  .badge-ai { right: 2px; bottom: -34px; padding: 0.52rem 0.76rem; }
  .motif-3d-cube { top: -28px; right: 12px; width: 36px; height: 36px; }
  .face-front { transform: rotateY(0deg) translateZ(18px); }
  .face-back { transform: rotateY(180deg) translateZ(18px); }
  .face-right { transform: rotateY(90deg) translateZ(18px); }
  .face-left { transform: rotateY(-90deg) translateZ(18px); }
  .face-top { transform: rotateX(90deg) translateZ(18px); }
  .face-bottom { transform: rotateX(-90deg) translateZ(18px); }
  .motif-3d-planet { right: -12px; width: 42px; height: 42px; }
  .motif-3d-disc { left: 2px; bottom: -24px; }
  .section-motif-3d { display: none; }
  .pillars-row, .industries-grid, .skills-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 1.75rem; }
  .timeline-track { left: 7px; }
  .timeline-node { left: -1.75rem; width: 18px; height: 18px; }
  .timeline-node::after { width: 6px; height: 6px; }
  .edu-card { flex-direction: column; align-items: flex-start; gap: 1.15rem; }
  .site-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
  .mobile-dock {
    position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 50;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45rem; padding: 0.45rem; border-radius: 18px;
    background: rgba(255, 255, 255, 0.92); border: 1px solid var(--border-strong);
    box-shadow: 0 16px 38px -10px rgba(15, 23, 42, 0.22); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  }
  .dock-btn { min-height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; font-size: 0.82rem; font-weight: 600; color: var(--ink); background: var(--surface-soft); }
  .dock-btn.dock-primary { background: linear-gradient(135deg, var(--blue), var(--indigo)); color: #FFFFFF; }
  .toast { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 480px) {
  .kpi-strip { grid-template-columns: 1fr; }
  .hero-cta-group .btn, .contact-actions .btn { width: 100%; }
}

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

@media print {
  body { background: #FFFFFF; color: #0F172A; font-size: 11pt; }
  .ambient-bg, .site-header, .mobile-dock, .hero-stage, .section-motif-3d, .hero-cta-group, .contact-3d-orb, .contact-3d-prism, .mini-copy, .site-footer, .toast { display: none !important; }
  .section { padding: 1rem 0; }
  .hero-grid, .summary-layout, .contact-box { grid-template-columns: 1fr; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .exp-card, .kpi-card, .skill-card, .edu-card, .bento-box, .contact-box { box-shadow: none !important; break-inside: avoid; }
  .contact-box { background: #F8FAFC !important; color: #0F172A !important; border: 1px solid #CBD5E1; }
  .contact-copy p, .detail-value, .detail-label { color: #0F172A !important; }
}