/* ==========================================================================
   YANA STUDIO 2026 SOUL & MOTION (studio26.css)
   Khử sạch chất "công nghiệp", đưa chuyển động sống động 2026 vào từng pixel:
   - Floating badge lơ lửng chầm chậm
   - Nét vẽ tay SVG tự vẽ (Hand-drawn squiggles, underlines & circles)
   - Ticker Marquee nghiêng & tăng tốc theo nhịp cuộn
   - Khúc trượt ngang hữu cơ: mỗi thẻ tự nghiêng & trượt so le có chiều sâu 3D
   - Khung MacBook Pro chuẩn Apple không bao giờ bị cắt
   - Hiệu ứng phát sáng & vệt sáng con trỏ chuột
   ========================================================================== */

/* 1. Header / Nav nổi bo tròn */
.studio26-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 40px);
  max-width: 1080px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-radius: 9999px;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.studio26-nav .brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink-primary);
  text-decoration: none;
}

.studio26-nav .nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.studio26-nav .nav-menu a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.studio26-nav .nav-menu a:hover {
  color: #2563eb;
}

/* 2. Hero Section */
.studio-hero-2026 {
  padding: 140px 24px 30px;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

/* Nhãn bay lơ lửng bồng bềnh liên tục (Organic Floating) */
.floating-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 24px;
  animation: floatBob 4s ease-in-out infinite;
  box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.2);
}

@keyframes floatBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-1.2deg); }
}

.studio-hero-2026 h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--ink-primary);
  margin-bottom: 20px;
}

.studio-hero-2026 .lead-text {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
  color: var(--ink-secondary);
  max-width: 740px;
  margin: 0 auto 32px;
}

/* Ghi chú viết tay OneNotch style (Hand-annotated note) */
.hand-note-tag {
  display: inline-block;
  font-family: "Caveat", "Comic Sans MS", cursive, sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #d97706;
  transform: rotate(-3deg);
  margin-left: 8px;
  vertical-align: middle;
}

/* Tab Switcher */
.studio-tab-bar {
  display: inline-flex;
  background: rgba(241, 245, 249, 0.88);
  border: 1px solid rgba(203, 213, 225, 0.7);
  padding: 6px;
  border-radius: 9999px;
  margin: 0 auto 36px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

.studio-tab-btn {
  padding: 10px 22px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 0.3s var(--ease-elastic);
}

.studio-tab-btn.active {
  background: #ffffff;
  color: var(--ink-primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* iMac Hero Showcase Chuẩn Tỷ Lệ Apple (2000 / 1702) */
.imac-showcase-wrapper {
  position: relative;
  max-width: 980px;
  margin: 0 auto 50px;
  filter: drop-shadow(0 25px 50px rgba(10, 15, 29, 0.12));
}

.studio-imac-device {
  position: relative;
  width: 100%;
  aspect-ratio: 2000 / 1702;
  overflow: visible;
}

.studio-imac-screen {
  position: absolute;
  left: 2.941%;
  top: 3.704%;
  width: 94.118%;
  height: 62.222%;
  overflow: hidden;
  background: #000000;
  border-radius: 10px 10px 0 0;
  z-index: 1;
}

.studio-imac-screen video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  border: 0;
  border-radius: 0;
}

.studio-imac-bezel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  display: block;
}

.studio-tab-panel {
  display: none;
  width: 100%;
  height: 100%;
}

.studio-tab-panel.active {
  display: block;
}

/* 3. Dải Marquee chạy mượt mà 2 hàng ngược chiều */
.studio-dual-marquee {
  width: 100%;
  overflow: hidden;
  padding: 20px 0 60px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-line {
  display: flex;
  width: max-content;
  gap: 16px;
  will-change: transform;
}

.marquee-line-forward {
  animation: marqueeFwd 28s linear infinite;
}

.marquee-line-reverse {
  animation: marqueeRev 32s linear infinite;
}

@keyframes marqueeFwd {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marqueeRev {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.marquee-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

/* 4. KHÚC CHUYỂN ĐỘNG TRƯỢT NGANG (GSAP Style Horizontal Track) */
.studio-horizontal-section {
  position: relative;
  height: 320vh;
  margin: 40px 0 100px;
}

.studio-horizontal-sticky {
  position: sticky;
  top: 75px;
  height: calc(100vh - 85px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 10px;
}

.studio-horizontal-header {
  max-width: 1140px;
  margin: 0 auto 12px;
  padding: 0 24px;
  width: 100%;
  flex-shrink: 0;
}

.studio-horizontal-track {
  display: flex;
  gap: 36px;
  padding: 10px 48px 30px;
  width: max-content;
  will-change: transform;
  transform: translateX(0);
}

.horiz-card {
  width: clamp(520px, 60vw, 840px);
  flex-shrink: 0;
  padding: 26px 28px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
  position: relative;
  transition: transform 0.4s var(--ease-elastic), box-shadow 0.4s ease;
}

.horiz-card:hover {
  transform: translateY(-6px) rotate(0.4deg);
}

.horiz-card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.horiz-card h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  color: var(--ink-primary);
  line-height: 1.25;
  margin: 0;
}

.horiz-card p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-secondary);
  margin: 0;
}

/* Khung MacBook Pro 14" Thật của Apple (tỷ lệ 1930 / 1270) */
.studio-macbook-device {
  position: relative;
  width: 100%;
  aspect-ratio: 1930 / 1270;
  margin-top: auto;
  filter: drop-shadow(0 15px 35px rgba(0,0,0,0.12));
}

.studio-macbook-screen {
  position: absolute;
  left: 10.829%;
  top: 11.339%;
  width: 78.342%;
  height: 77.323%;
  overflow: hidden;
  background: #0d1117;
  border-radius: 6px 6px 0 0;
  z-index: 1;
}

.studio-macbook-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.studio-macbook-bezel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  display: block;
}

/* Section chung */
.studio26-section {
  max-width: 1140px;
  margin: 0 auto 100px;
  padding: 0 24px;
}

.studio26-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.studio26-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #2563eb;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.studio26-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  margin-bottom: 16px;
}

.studio26-head p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-secondary);
}

/* 5. 4 Trụ Cột Studio Bento Grid */
.studio-core-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.core-card {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: transform 0.4s var(--ease-elastic);
}

.core-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.core-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-primary);
  margin: 10px 0;
  line-height: 1.3;
}

.core-card p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.core-card-art {
  margin-top: 20px;
  background: #0f172a;
  border-radius: 12px;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* 6. Lộ trình 4 Bước (Journey) */
.journey-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.journey-step-card {
  padding: 30px 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.journey-step-card:hover {
  transform: translateY(-5px);
}

.journey-step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 14px;
  display: block;
}

.journey-step-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 12px;
}

.journey-step-card p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-secondary);
}

/* 7. Ranh Giới Quyền Hạn (Boundary Section) */
.boundary-box {
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 860px) {
  .boundary-box {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

.boundary-copy h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink-primary);
  margin-bottom: 16px;
}

.boundary-copy p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin-bottom: 24px;
}

.boundary-lanes {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.boundary-lane-item {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 18px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.boundary-lane-item small {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #2563eb;
  display: block;
  margin-bottom: 4px;
}

.boundary-lane-item strong {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink-primary);
  display: block;
}

.boundary-lane-item span {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-muted);
}

/* 8. Trạng thái minh bạch (Status Grid) */
.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.status-card {
  padding: 36px 30px;
}

.status-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.status-tag.ready {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-tag.building {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.status-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 18px;
}

.status-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-card li {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.5;
  position: relative;
  padding-left: 20px;
}

.status-card li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #3b82f6;
  font-size: 18px;
  line-height: 1;
}

/* 9. Footer Hoàn chỉnh */
.studio26-footer {
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  background: #ffffff;
  padding: 60px 24px 40px;
}

.footer-main-grid {
  max-width: 1140px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}

@media (max-width: 860px) {
  .footer-main-grid { grid-template-columns: 1fr 1fr; }
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-secondary);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #2563eb;
}

.footer-legal-notice {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CALM & SPACIOUS CALL TO ACTION (OneNotch Style Closing)
   Bỏ hẳn chiếc hộp khung cứng ngắc công nghiệp; thay bằng không gian thoáng đãng,
   logo biểu tượng Yana, nút kính sáng và 14 ô icon bay vòng chầm chậm 3 lớp độ sâu.
   ========================================================================== */

.studio-closing-2026 {
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  background: none;
}

.studio-closing-shell {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.studio-closing-emblem {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(150deg, #eef4ff, #c7d7ff);
  box-shadow: inset 0 2px 0 #fff, 0 30px 60px -20px rgba(59, 111, 224, 0.45);
  animation: floatBob 5s ease-in-out infinite;
}

.studio-closing-emblem img {
  width: 60%;
  height: 60%;
}

.studio-closing-2026 h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #1e293b;
  margin-bottom: 16px;
}

.studio-closing-2026 p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: #64748b;
  max-width: 580px;
  margin: 0 auto 36px;
}

.studio-closing-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Trường 3 lớp hạt biểu tượng bay lơ lửng xung quanh (Field of Depth) */
.studio-closing-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.field-bubble {
  position: absolute;
  left: var(--bx);
  top: var(--by);
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(238, 244, 255, 0.8));
  box-shadow: 0 12px 24px -8px rgba(37, 99, 235, 0.15), inset 0 1px 0 #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  animation: bubbleOrbit var(--bloop, 18s) ease-in-out infinite;
  animation-delay: var(--bdel, 0s);
  will-change: transform;
}

@keyframes bubbleOrbit {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(12px, -15px) rotate(3deg); }
  50% { transform: translate(-8px, -24px) rotate(-2deg); }
  75% { transform: translate(-14px, -10px) rotate(2deg); }
}

.field-bubble--l0 { width: 56px; height: 56px; font-size: 24px; }
.field-bubble--l1 { width: 44px; height: 44px; font-size: 18px; opacity: 0.75; filter: blur(1.2px); }
.field-bubble--l2 { width: 34px; height: 34px; font-size: 14px; opacity: 0.45; filter: blur(3.5px); }

/* ==========================================================================
   MACOS INTERACTIVE DOCK & ECOSYSTEM
   ========================================================================== */
.macos-dock-wrapper {
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 10;
}

.macos-dock-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-secondary);
  background: rgba(255, 255, 255, 0.85);
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.macos-dock {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 10px 18px 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(241, 245, 249, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.12),
              0 0 0 1px rgba(226, 232, 240, 0.6),
              inset 0 1px 0 rgba(255, 255, 255, 1);
}

.dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.dock-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 11px;
  box-shadow: 0 6px 14px -3px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  pointer-events: none;
}

.dock-item:hover {
  transform: translateY(-8px) scale(1.22);
}

.dock-item:hover img {
  box-shadow: 0 14px 26px -4px rgba(37, 99, 235, 0.28);
}

.dock-item.active::after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #2563eb;
  margin-top: 4px;
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.8);
}

.dock-tooltip {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dock-tooltip::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid rgba(15, 23, 42, 0.92);
}

.dock-item:hover .dock-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   LEGAL & COMPLIANCE SECTION
   ========================================================================== */
.studio-legal-section {
  padding: 80px 24px 100px;
  max-width: 1240px;
  margin: 0 auto;
}

.legal-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 54px;
}

.legal-section-header .tag-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 5px 14px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  margin-bottom: 14px;
  font-weight: 600;
}

.legal-section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  color: var(--ink-primary);
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 16px;
}

.legal-section-header p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink-secondary);
  line-height: 1.65;
}

.legal-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

@media (max-width: 860px) {
  .legal-cards-grid {
    grid-template-columns: 1fr;
  }
}

.legal-card {
  padding: 32px 28px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.legal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -12px rgba(37, 99, 235, 0.12);
}

.legal-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.legal-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f1f5f9;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.legal-card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.legal-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-primary);
  letter-spacing: -0.015em;
  margin: 0;
}

.legal-card p {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--ink-secondary);
  margin-bottom: 14px;
}

.legal-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: #475569;
}

.legal-card ul li {
  position: relative;
  padding-left: 20px;
  line-height: 1.55;
}

.legal-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a;
  font-weight: 700;
  font-size: 12px;
}

.legal-cta-bar {
  text-align: center;
  padding: 24px;
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-radius: 18px;
  border: 1px dashed rgba(203, 213, 225, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-cta-bar span {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink-secondary);
}

/* ==========================================================================
   LEGAL MODAL / DIALOG
   ========================================================================== */
.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.legal-modal-backdrop.open {
  display: grid;
  opacity: 1;
}

.legal-modal-content {
  background: #ffffff;
  border-radius: 24px;
  max-width: 820px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.legal-modal-backdrop.open .legal-modal-content {
  transform: translateY(0);
}

.legal-modal-header {
  padding: 22px 28px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.legal-modal-header h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-primary);
  margin: 0;
}

.btn-close-modal {
  background: #f1f5f9;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 18px;
  color: #64748b;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-close-modal:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.legal-modal-body {
  padding: 28px;
  overflow-y: auto;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.legal-modal-body h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 12px 0 6px;
}

.legal-modal-body p {
  margin: 0;
}

.legal-modal-footer {
  padding: 16px 28px;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   NAV BRAND ICON & IMAC DOCK OVERLAY STYLES
   ========================================================================== */
.nav-brand-icon {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  border-radius: 9px !important;
  flex-shrink: 0 !important;
  display: block !important;
  object-fit: cover !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.38), 0 0 0 1px rgba(59, 130, 246, 0.35) !important;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.studio26-nav .brand-link:hover .nav-brand-icon {
  transform: scale(1.08);
}

.imac-dock-overlay {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 88%;
  max-width: 840px;
  z-index: 8;
  pointer-events: none;
  display: flex;
  justify-content: center;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.55));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.imac-dock-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.studio-imac-device:hover .imac-dock-overlay {
  transform: translateX(-50%) translateY(-3px);
}

/* ==========================================================================
   MACOS PANORAMIC SUPER DOCK (35+ APPS & TOOLCHAINS)
   ========================================================================== */
.macos-dock-wrapper {
  margin: 48px auto 20px;
  max-width: 1280px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 10;
  padding: 0 16px;
}

.macos-dock-header {
  text-align: center;
  max-width: 680px;
}

.macos-dock-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #2563eb;
  background: rgba(239, 246, 255, 0.9);
  padding: 5px 16px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
  font-weight: 700;
  margin-bottom: 8px;
}

.macos-dock-subtext {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin: 0;
}

.macos-dock-scroll {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  padding: 16px 12px 24px;
  scrollbar-width: none;
}

.macos-dock-scroll::-webkit-scrollbar {
  display: none;
}

.macos-dock {
  display: inline-flex;
  align-items: flex-end;
  gap: 8px;
  padding: 8px 14px 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 249, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.14),
              0 0 0 1px rgba(226, 232, 240, 0.8),
              inset 0 1px 0 rgba(255, 255, 255, 1);
  backdrop-filter: blur(20px);
}

.dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
  flex-shrink: 0;
}

.dock-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease;
  pointer-events: none;
}

.dock-item:hover {
  transform: translateY(-8px) scale(1.32);
  z-index: 20;
}

.dock-item:hover img {
  box-shadow: 0 12px 24px -4px rgba(37, 99, 235, 0.35);
}

.dock-item.active::after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #2563eb;
  margin-top: 3px;
  box-shadow: 0 0 5px rgba(37, 99, 235, 0.9);
}

.dock-divider {
  width: 1px;
  height: 28px;
  background: rgba(203, 213, 225, 0.8);
  margin: 0 4px 6px;
  flex-shrink: 0;
}

.dock-tooltip {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(15, 23, 42, 0.94);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 30;
}

.dock-tooltip::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid rgba(15, 23, 42, 0.94);
}

.dock-item:hover .dock-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 900px) {
  .dock-item img {
    width: 30px;
    height: 30px;
  }
}

/* ==========================================================================
   PLANETARY ORBITAL CORE (HỆ CÁC ỨNG DỤNG QUAY QUANH LÕI YANA)
   ========================================================================== */
.studio-closing-2026 {
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 100px;
  background: radial-gradient(circle at 50% 32%, rgba(238, 244, 255, 0.7) 0%, transparent 70%);
}

.studio-closing-shell {
  position: relative;
  z-index: 10;
  max-width: 720px;
  /* heading, text and buttons sit a little lower, clear of the emblem and the first orbit ring */
  margin: 56px auto 0;
}

/* Lõi Yana Trung Tâm (Pulsing Neon Core) */
.orbital-center-anchor {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.studio-closing-emblem {
  position: relative;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(150deg, #090e1a, #030712);
  border: 1.5px solid rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 45px rgba(37, 99, 235, 0.45), 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  z-index: 5;
  animation: corePulse 4s ease-in-out infinite;
}

@keyframes corePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 35px rgba(37, 99, 235, 0.35), 0 20px 40px -10px rgba(0, 0, 0, 0.4);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 60px rgba(37, 99, 235, 0.65), 0 25px 50px -10px rgba(37, 99, 235, 0.3);
  }
}

.studio-closing-emblem img {
  width: 100%;
  height: 100%;
  border-radius: 26px;
  object-fit: cover;
}

/* Hệ Thống 3 Vòng Quỹ Đạo Đồng Tâm (Concentric Orbital Rings) */
.orbital-system {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(59, 130, 246, 0.22);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit-ring-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

/* Vòng 1: Bán kính 150px (Đường kính 300px) */
.orbit-ring--1 {
  width: 300px;
  height: 300px;
  border-color: rgba(59, 130, 246, 0.28);
}

.orbit-ring--1 .orbit-ring-track {
  animation: orbitClockwise 28s linear infinite;
}

/* Vòng 2: Bán kính 260px (Đường kính 520px) */
.orbit-ring--2 {
  width: 520px;
  height: 520px;
  border-color: rgba(96, 165, 250, 0.2);
}

.orbit-ring--2 .orbit-ring-track {
  animation: orbitCounterClockwise 40s linear infinite;
}

/* Vòng 3: Bán kính 380px (Đường kính 760px) */
.orbit-ring--3 {
  width: 760px;
  height: 760px;
  border-color: rgba(147, 197, 253, 0.16);
}

.orbit-ring--3 .orbit-ring-track {
  animation: orbitClockwise 56s linear infinite;
}

/* Icon Vệ Tinh Trên Quỹ Đạo */
.orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: calc(-1 * var(--node-size) / 2);
  margin-left: calc(-1 * var(--node-size) / 2);
  width: var(--node-size);
  height: var(--node-size);
  transform: rotate(var(--angle)) translate(var(--radius)) rotate(calc(-1 * var(--angle)));
  pointer-events: auto;
}

.orbit-node-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--node-size) * 0.22);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.92));
  box-shadow: 0 8px 18px -4px rgba(15, 23, 42, 0.18), inset 0 1px 0 #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  will-change: transform;
}

/* Giữ thăng bằng cho icon luôn thẳng đứng khi cả vòng xoay */
.orbit-ring--1 .orbit-node-inner {
  animation: counterRotateClockwise 28s linear infinite;
}

.orbit-ring--2 .orbit-node-inner {
  animation: counterRotateCounterClockwise 40s linear infinite;
}

.orbit-ring--3 .orbit-node-inner {
  animation: counterRotateClockwise 56s linear infinite;
}

.orbit-node-inner img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  pointer-events: none;
}

.orbit-node:hover .orbit-node-inner {
  transform: scale(1.35) !important;
  box-shadow: 0 14px 28px -4px rgba(37, 99, 235, 0.35);
  border-color: rgba(59, 130, 246, 0.6);
  z-index: 50;
}

/* Tooltip Orbit */
.orbit-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.94);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 100;
}

.orbit-node:hover .orbit-tooltip {
  opacity: 1;
}

/* Các Animation Xoay Quỹ Đạo */
@keyframes orbitClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitCounterClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes counterRotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

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

/* Responsive Orbit */
@media (max-width: 768px) {
  .orbit-ring--1 { width: 240px; height: 240px; }
  .orbit-ring--2 { width: 380px; height: 380px; }
  .orbit-ring--3 { width: 520px; height: 520px; }
  .orbit-node {
    margin-top: calc(-1 * var(--node-size) * 0.8 / 2);
    margin-left: calc(-1 * var(--node-size) * 0.8 / 2);
    width: calc(var(--node-size) * 0.8);
    height: calc(var(--node-size) * 0.8);
    transform: rotate(var(--angle)) translate(calc(var(--radius) * 0.72)) rotate(calc(-1 * var(--angle)));
  }
}

/* Override any dark button contrast issue */
a.btn-spring-2026.btn-spring-primary,
button.btn-spring-2026.btn-spring-primary,
.btn-spring-primary {
  color: #ffffff !important;
  text-decoration: none !important;
}
.btn-spring-primary * {
  color: #ffffff !important;
}
