:root {
  --bg: #050506;
  --bg-soft: #111214;
  --panel: #171819;
  --panel-top: #232526;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --accent: #c4cad1;
  --accent-soft: #919aa5;
  --accent-cool: #eef1f4;
  --shadow-card: 0 22px 48px rgba(0, 0, 0, 0.34);
  --font-base: 'Manrope', sans-serif;
  --font-display: 'Sora', sans-serif;
  --font-note: 'Manrope', sans-serif;
  --sidebar-width: 216px;
  --sidebar-collapsed: 88px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --text-xs: 0.74rem;
  --text-sm: 0.82rem;
  --text-md: 0.92rem;
  --text-lg: 1.05rem;
  --title-md: 1.32rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-base);
  background: var(--bg);
  color: var(--text);
  position: relative;
  overflow-x: hidden;
  letter-spacing: -0.015em;
  font-size: 14px;
}

body.tutorial-open {
  overflow: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(1200px 620px at 15% 120%, rgba(156, 163, 175, 0.14), transparent 62%),
    radial-gradient(980px 560px at 90% -10%, rgba(203, 213, 225, 0.1), transparent 64%),
    linear-gradient(180deg, #040405 0%, #090a0c 45%, #050506 100%);
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(980px 480px at 50% -140px, rgba(148, 163, 184, 0.12), transparent 58%),
    radial-gradient(760px 420px at 82% 18%, rgba(100, 116, 139, 0.11), transparent 60%),
    radial-gradient(680px 440px at 10% 72%, rgba(71, 85, 105, 0.1), transparent 60%);
}

.page-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  filter: blur(0.3px) contrast(1.08);
}

.page-bg::before {
  content: '';
  position: absolute;
  width: 56vw;
  height: 56vw;
  left: -6vw;
  top: -18vw;
  background: radial-gradient(circle at 36% 34%, rgba(203, 213, 225, 0.22), rgba(148, 163, 184, 0.08) 46%, transparent 68%);
  filter: blur(24px);
  opacity: 0.62;
  animation: floatAura 14s ease-in-out infinite alternate;
}

.page-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(203, 213, 225, 0.08) 1px, transparent 1px),
    linear-gradient(130deg, rgba(100, 116, 139, 0.18), transparent 45%, rgba(148, 163, 184, 0.12));
  background-size: 3px 3px, 230% 230%;
  opacity: 0.24;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 78%);
  animation: grainShift 16s linear infinite, sheenDrift 22s ease-in-out infinite alternate;
}

.app-shell {
  width: min(1440px, 94vw);
  margin: 18px auto;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  transition: grid-template-columns 0.28s ease;
}

body.sidebar-collapsed .app-shell {
  grid-template-columns: 0 minmax(0, 1fr);
}

.sidebar,
.content {
  position: relative;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  box-shadow: none;
}

.sidebar {
  padding: 26px 18px 28px 0;
  background: transparent;
  position: sticky;
  top: 18px;
  min-height: auto;
  align-self: start;
  border-left: 0;
  border-right: 0;
  transition: padding 0.28s ease, transform 0.28s ease, opacity 0.28s ease;
}

.sidebar::after {
  content: '';
  position: absolute;
  top: 46px;
  bottom: -150px;
  right: 0;
  width: 1px;
  background: rgba(196, 202, 209, 0.18);
  transition: opacity 0.28s ease;
}

.sidebar::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: -150px;
  width: calc(100% + 18px);
  height: 1px;
  background: rgba(196, 202, 209, 0.18);
  border-bottom-left-radius: 999px;
  transition: opacity 0.28s ease;
}

.sidebar-fab {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 20, 21, 0.82);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.sidebar-fab span {
  position: absolute;
  top: 6px;
  bottom: 6px;
  width: 6px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: transparent;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.sidebar-fab span:first-child {
  left: 7px;
}

.sidebar-fab span:last-child {
  right: 7px;
}

.sidebar-fab:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

body.sidebar-collapsed .sidebar-fab span:first-child {
  transform: translateX(4px);
}

body.sidebar-collapsed .sidebar-fab span:last-child {
  opacity: 0;
}

.content {
  min-height: calc(100vh - 48px);
  padding: 18px 18px 22px;
  background: transparent;
}

.sidebar-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
}

.brand-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px 10px 0;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.brand-orb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff, #d2d8df 48%, #8b95a2 75%);
  box-shadow: 0 0 18px rgba(210, 216, 223, 0.7), 0 0 30px rgba(139, 149, 162, 0.3);
  animation: orbPulse 3s ease-in-out infinite, orbFloat 5.5s ease-in-out infinite;
}

.brand {
  font-family: var(--font-base);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-xs);
}

.sidebar-nav {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding-right: 8px;
}

.nav-link {
  width: 100%;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 10px;
  background: transparent;
  color: #aeb8c7;
  text-align: left;
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.nav-link:hover,
.nav-link.is-active {
  transform: translateX(3px);
  border-color: rgba(196, 202, 209, 0.18);
  background: linear-gradient(180deg, rgba(145, 154, 165, 0.16), rgba(255, 255, 255, 0.03));
  color: #ffffff;
}

.nav-link::after {
  content: '>';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: #8d98a8;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  opacity: 1;
}

.nav-icon {
  width: 16px;
  flex: 0 0 16px;
  display: inline-flex;
  justify-content: center;
  font-size: 0.88rem;
  color: #8c9bb1;
}

.nav-text {
  white-space: nowrap;
}

.content-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 2px 0 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-fab-label {
  border: 0;
  padding: 0;
  background: transparent;
  color: #c2c9d3;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  user-select: none;
  cursor: pointer;
}

.sidebar-fab-label:hover {
  color: #eef1f4;
}

.sidebar-label,
.overview-kicker,
.eyebrow,
.notice-tag {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d8dbe0;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.overview-card h2,
.stack-card h2,
.notice-card h2 {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-size: var(--text-lg);
}

.overview-card p,
.stack-card p,
.notice-card p {
  margin: 0;
  color: #b6bec9;
  line-height: 1.55;
}

.panel {
  display: none;
}

.panel.is-active {
  display: block;
}

.hero {
  padding: 8px 0 20px;
}

.hero-dashboard {
  padding-top: 6px;
}

.inicio-hero-copy {
  text-align: center;
  display: grid;
  gap: 12px;
}

.inicio-hero-copy h1 {
  margin-inline: auto;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  letter-spacing: -0.05em;
}

.hero-section {
  padding-top: 4px;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fafafa;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  text-shadow: none;
}

.hero-section h1 {
  margin-top: 14px;
  margin-bottom: 12px;
}

.hero-note {
  margin: 0;
  max-width: 680px;
  font-family: var(--font-note);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.55;
  color: #aab2be;
  letter-spacing: 0;
}

.hero-section .hero-note {
  max-width: 720px;
  line-height: 1.7;
}

.panel[data-tab-panel="modelos"] .hero-section {
  text-align: center;
}

.panel[data-tab-panel="modelos"] .hero-section .eyebrow {
  margin-inline: auto;
}

.panel[data-tab-panel="modelos"] .hero-section h1,
.panel[data-tab-panel="modelos"] .hero-section .hero-note {
  margin-inline: auto;
}

.overview-grid,
.notice-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.inicio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 22px;
  align-items: start;
}

.inicio-video-card,
.inicio-side-card,
.inicio-products-card,
.inicio-support-card {
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(196, 202, 209, 0.04), transparent 40%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.inicio-video-card {
  padding: 22px;
  display: grid;
  gap: 18px;
}

.inicio-video-copy {
  display: grid;
  gap: 10px;
}

.inicio-video-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.75rem);
}

.inicio-video-copy p {
  margin: 0;
  max-width: 680px;
  color: #b7bec8;
  line-height: 1.75;
}

.inicio-video-frame {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(196, 202, 209, 0.18), transparent 24%),
    #090a0d;
  aspect-ratio: 16 / 9;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
}

.inicio-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.inicio-video-actions {
  display: flex;
  justify-content: center;
}

.inicio-video-btn {
  min-width: 168px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(196, 202, 209, 0.22), rgba(145, 154, 165, 0.14));
  color: #ffffff;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, border-color 0.22s ease, filter 0.22s ease;
}

.inicio-video-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  filter: brightness(1.04);
}

.inicio-sidebar {
  display: grid;
  gap: 22px;
}

.inicio-side-card,
.inicio-products-card,
.inicio-support-card {
  padding: 22px;
}

.inicio-side-card h2,
.inicio-products-header h2,
.inicio-product-item h3,
.inicio-support-copy h2 {
  margin: 12px 0 8px;
  font-family: var(--font-display);
}

.inicio-side-card p,
.inicio-notice-item p,
.inicio-product-item p,
.inicio-products-header p,
.inicio-support-copy p {
  margin: 0;
  color: #b6bec9;
  line-height: 1.65;
}

.inicio-notice-list,
.inicio-contact-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.inicio-notice-empty {
  min-height: 260px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  text-align: center;
  padding: 22px;
}

.inicio-notice-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #cfd5dd;
  font-size: 1.4rem;
}

.inicio-notice-empty strong {
  color: #f3f4f6;
  font-size: 1.2rem;
  font-weight: 700;
}

.inicio-notice-empty p {
  max-width: 320px;
  color: #969faa;
  line-height: 1.6;
}

.inicio-notice-item,
.inicio-contact-item {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.02);
}

.inicio-contact-item-link {
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.inicio-contact-item-link:hover {
  transform: translateY(-1px);
  border-color: rgba(196, 202, 209, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.inicio-notice-item strong,
.inicio-contact-item strong {
  display: block;
  color: #f3f4f6;
  font-size: 0.94rem;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.inicio-contact-item span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #9fa8b4;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.inicio-products-card {
  margin-top: 24px;
  width: min(1120px, 100%);
  margin-inline: auto;
}

.inicio-products-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.inicio-products-heading {
  display: grid;
  gap: 10px;
}

.inicio-products-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.3vw, 2.4rem);
  letter-spacing: -0.04em;
}

.inicio-products-link {
  color: #d7dde5;
  font-size: 0.96rem;
  font-weight: 700;
  white-space: nowrap;
  padding-top: 8px;
}

.inicio-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 22px;
}

.inicio-product-item {
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.02);
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr) 240px;
  align-items: center;
  gap: 18px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.inicio-product-item:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 202, 209, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.025);
}

.inicio-product-cover {
  position: relative;
  min-height: 164px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px;
  background-color: #1a1d22;
}

.inicio-product-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 42%),
    linear-gradient(135deg, rgba(5, 5, 8, 0.08), rgba(5, 5, 8, 0.48));
}

.inicio-product-cover-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 138px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.inicio-product-cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inicio-product-cover-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
}

.inicio-product-item-muted {
  background: linear-gradient(145deg, rgba(196, 202, 209, 0.1), rgba(255, 255, 255, 0.02));
}

.inicio-product-item h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.3;
}

.inicio-product-item p {
  margin: 0;
  max-width: 620px;
  font-size: 0.98rem;
  line-height: 1.7;
}

.inicio-product-content {
  display: grid;
  gap: 10px;
}

.inicio-product-action {
  display: flex;
  justify-content: flex-end;
}

.inicio-product-btn {
  min-width: 210px;
  min-height: 56px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(196, 202, 209, 0.22), rgba(145, 154, 165, 0.14));
  color: #ffffff;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 14px 30px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, filter 0.22s ease;
}

.inicio-product-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  filter: brightness(1.04);
}

.inicio-product-btn-muted {
  background: linear-gradient(135deg, rgba(128, 136, 148, 0.24), rgba(84, 92, 103, 0.18));
}

.inicio-support-card {
  margin-top: 24px;
  width: min(1120px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: center;
}

.inicio-support-copy {
  display: grid;
  gap: 10px;
}

.inicio-contact-list-horizontal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
  align-items: stretch;
}

.inicio-contact-list-horizontal .inicio-contact-item {
  min-width: 0;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 38px 0 18px;
}

.filter-tab {
  min-width: 92px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #c8d0da;
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.filter-tab:hover,
.filter-tab.is-active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transform: translateY(-1px);
}

.overview-card,
.stack-card,
.notice-card {
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
}

.overview-card p,
.stack-card p,
.notice-card p {
  font-size: var(--text-sm);
}

.stack-list {
  display: grid;
  gap: 12px;
}

.tutorial-showcase {
  display: grid;
  gap: 18px;
}

.tutorial-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  padding: 30px 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top right, rgba(196, 202, 209, 0.16), transparent 42%);
}

.tutorial-hero-copy h2 {
  margin: 12px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.05;
}

.tutorial-hero-copy p {
  margin: 0;
  max-width: 620px;
  color: #b7bec8;
  font-size: 0.98rem;
  line-height: 1.7;
}

.tutorial-hero-visual {
  position: relative;
  min-height: 170px;
}

.tutorial-glow,
.tutorial-screen {
  position: absolute;
  border-radius: 22px;
}

.tutorial-glow {
  filter: blur(20px);
  opacity: 0.65;
}

.tutorial-glow-one {
  width: 150px;
  height: 150px;
  right: 80px;
  top: -8px;
  background: rgba(196, 202, 209, 0.18);
}

.tutorial-glow-two {
  width: 110px;
  height: 110px;
  right: 10px;
  bottom: 18px;
  background: rgba(145, 154, 165, 0.18);
}

.tutorial-screen {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(18, 19, 22, 0.94), rgba(10, 11, 13, 0.98)),
    linear-gradient(135deg, rgba(196, 202, 209, 0.12), transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tutorial-screen-main {
  width: 210px;
  height: 150px;
  right: 28px;
  top: 10px;
  transform: rotate(8deg);
}

.tutorial-screen-side {
  width: 110px;
  height: 146px;
  right: -12px;
  top: 18px;
  transform: rotate(10deg);
}

.tutorial-screen::before {
  content: '';
  position: absolute;
  inset: 16px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 48%),
    linear-gradient(180deg, rgba(196, 202, 209, 0.12), rgba(145, 154, 165, 0.04));
}

.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.tutorial-card {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  grid-template-rows: auto 1fr;
}

.tutorial-card-launch {
  cursor: pointer;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.tutorial-card-launch:hover,
.tutorial-card-launch:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(196, 202, 209, 0.26);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
  outline: none;
}

.tutorial-thumb {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 180px;
  padding: 0;
  overflow: hidden;
  color: #f8fafc;
}

.tutorial-thumb img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.tutorial-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 40%),
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(5, 5, 8, 0.4), rgba(5, 5, 8, 0.8));
}

.tutorial-thumb::after {
  content: '';
  position: absolute;
  inset: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.6;
}

.tutorial-thumb-primary {
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(135deg, #05060b 0%, #0f1320 42%, #1e2b3e 100%);
}

.tutorial-thumb-secondary {
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(135deg, #08060d 0%, #151124 42%, #2e3040 100%);
}

.tutorial-chip {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  min-width: 40px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #f3f4f6;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.tutorial-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
}

.tutorial-body h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
}

.tutorial-body p {
  margin: 0;
  color: #b7bec8;
  font-size: 0.93rem;
  line-height: 1.7;
}

.tutorial-cta {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(196, 202, 209, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #f3f4f6;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: auto;
}

.tutorial-detail {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.96), rgba(10, 10, 12, 0.98)),
    radial-gradient(circle at top right, rgba(196, 202, 209, 0.1), transparent 30%);
}

.tutorial-detail[hidden] {
  display: none;
}

.tutorial-detail::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.5);
}

.tutorial-detail-topbar {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tutorial-back-btn,
.tutorial-nav-btn {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #f3f4f6;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, opacity 0.22s ease;
}

.tutorial-back-btn:hover,
.tutorial-nav-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(196, 202, 209, 0.24);
  background: rgba(255, 255, 255, 0.07);
}

.tutorial-nav-btn[disabled] {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
}

.tutorial-nav-btn-primary {
  background: linear-gradient(135deg, rgba(196, 202, 209, 0.2), rgba(145, 154, 165, 0.12));
  border-color: rgba(196, 202, 209, 0.22);
}

.tutorial-detail-layout {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.tutorial-steps-panel,
.tutorial-player-panel,
.tutorial-resource-panel {
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.tutorial-steps-panel {
  padding: 18px;
  display: grid;
  gap: 16px;
}

.tutorial-steps-header h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.tutorial-steps-header p {
  margin: 0;
  color: #aeb6c2;
  font-size: 0.88rem;
  line-height: 1.65;
}

.tutorial-step-list {
  display: grid;
  gap: 10px;
}

.tutorial-step-btn {
  width: 100%;
  text-align: left;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  color: #eef1f4;
  font: inherit;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.tutorial-step-btn:hover {
  transform: translateX(2px);
  border-color: rgba(196, 202, 209, 0.18);
}

.tutorial-step-btn.is-active {
  border-color: rgba(196, 202, 209, 0.22);
  background: linear-gradient(145deg, rgba(196, 202, 209, 0.14), rgba(255, 255, 255, 0.03));
}

.tutorial-step-index {
  display: inline-flex;
  margin-bottom: 8px;
  color: #a6afbb;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tutorial-step-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.tutorial-player-panel {
  padding: 18px;
  display: grid;
  gap: 18px;
}

.tutorial-video-frame {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #090a0d;
  aspect-ratio: 16 / 9;
}

.tutorial-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.tutorial-video-copy {
  display: grid;
  gap: 8px;
}

.tutorial-lesson-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: #b7bec8;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tutorial-video-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.24rem;
}

.tutorial-video-copy p {
  margin: 0;
  color: #aeb6c2;
  line-height: 1.7;
}

.tutorial-resource-panel {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.tutorial-resource-header h4 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1rem;
}

.tutorial-resource-header p {
  margin: 0;
  color: #aeb6c2;
  font-size: 0.88rem;
  line-height: 1.6;
}

.tutorial-resource-list {
  display: grid;
  gap: 10px;
}

.tutorial-resource-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

a.tutorial-resource-item:hover {
  transform: translateY(-1px);
  border-color: rgba(196, 202, 209, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.tutorial-resource-label {
  color: #f3f4f6;
  font-size: 0.9rem;
  font-weight: 600;
}

.tutorial-resource-link {
  color: #f3f4f6;
  font-size: 0.9rem;
  font-weight: 600;
}

.tutorial-resource-status {
  color: #8f98a5;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tutorial-player-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.stack-card {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.step-badge {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(145deg, rgba(196, 202, 209, 0.24), rgba(145, 154, 165, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.notice-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.notice-highlight {
  background: linear-gradient(145deg, rgba(196, 202, 209, 0.18), rgba(145, 154, 165, 0.08), rgba(23, 23, 24, 0.98));
}

.notice-empty-state {
  min-height: 56vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding: 28px 16px;
}

.notice-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #cfd5dd;
  font-size: 1.4rem;
}

.notice-empty-state strong {
  color: #f3f4f6;
  font-size: 1.2rem;
  font-weight: 700;
}

.notice-empty-state p {
  margin: 0;
  max-width: 340px;
  color: #969faa;
  line-height: 1.6;
}

.gallery {
  --grid-row: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: var(--grid-row);
  grid-auto-flow: row dense;
  gap: 14px;
  align-items: start;
}

.gallery.is-site-para-bio {
  grid-template-columns: repeat(4, minmax(0, 220px));
  justify-content: center;
  margin-top: 14px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-row: span var(--row-span, 1);
  align-self: start;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease, filter 0.32s ease;
}

.card.is-hidden {
  display: none !important;
}

.card-tall {
  width: 100%;
  justify-self: stretch;
}

.card-tall .thumb {
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: transparent;
}

.gallery.is-site-para-bio .card-tall {
  max-width: 220px;
}

.gallery.is-site-para-bio .meta {
  align-items: flex-start;
  flex: 0 0 auto;
  min-height: 88px;
  height: auto;
  max-height: none;
  padding: 10px 12px;
}

.gallery.is-site-para-bio .title {
  font-size: 0.9rem;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.gallery.is-site-para-bio .card-subtitle {
  font-size: 0.72rem;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.gallery.is-site-para-bio .meta-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.gallery.is-site-para-bio .actions {
  flex: 0 0 auto;
  align-self: center;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(196, 202, 209, 0.24), rgba(255, 255, 255, 0.02));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  filter: saturate(1.02);
}

@keyframes floatAura {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(8vw, 5vh, 0) scale(1.08);
  }
}

@keyframes grainShift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-12px, 10px, 0);
  }
}

@keyframes sheenDrift {
  0% {
    background-position: 0 0, 0% 50%;
  }
  100% {
    background-position: -12px 10px, 100% 50%;
  }
}

@keyframes orbPulse {
  0%,
  100% {
    transform: scale(1);
    filter: saturate(1);
  }
  50% {
    transform: scale(1.2);
    filter: saturate(1.25);
  }
}

@keyframes orbFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 1px -2px;
  }
}

.thumb {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
}

.card:not(.card-tall) .thumb {
  aspect-ratio: 16 / 9;
}

.thumb-empty {
  background: #050505;
}

.meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex: 0 0 78px;
  height: 78px;
  min-height: 78px;
  max-height: 78px;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

.meta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(196, 202, 209, 0.1), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: -1;
}

.meta-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.title {
  font-family: var(--font-base);
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-subtitle {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.25;
  color: #b8c1cd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.title-ref {
  font-size: 0.84em;
  font-weight: 700;
  opacity: 0.88;
}

.title-name {
  font-size: 1.06em;
  font-weight: 800;
}

.actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.action-btn {
  font-family: var(--font-base);
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fbff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(76, 85, 99, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.action-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(196, 202, 209, 0.3);
  background: linear-gradient(135deg, rgba(196, 202, 209, 0.2), rgba(145, 154, 165, 0.14));
  box-shadow: 0 10px 18px rgba(76, 85, 99, 0.14);
}

.action-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

body.sidebar-collapsed .sidebar {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-30px);
}

body.sidebar-collapsed .sidebar::after {
  opacity: 0;
}

body.sidebar-collapsed .sidebar::before {
  opacity: 0;
}

@media (max-width: 1080px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  body.sidebar-collapsed .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    top: auto;
    min-height: auto;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .sidebar::after {
    display: none;
  }

  .sidebar::before {
    display: none;
  }

  body.sidebar-collapsed .sidebar {
    display: none;
  }

  .inicio-layout,
  .overview-grid,
  .notice-board {
    grid-template-columns: 1fr;
  }

  .inicio-support-card {
    grid-template-columns: 1fr;
  }

  .inicio-products-grid {
    grid-template-columns: 1fr;
  }

  .inicio-products-link {
    padding-top: 0;
  }

  .inicio-product-item {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .inicio-product-action {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .inicio-products-card,
  .inicio-support-card {
    width: 100%;
  }

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

  .gallery.is-site-para-bio {
    grid-template-columns: repeat(3, minmax(0, 190px));
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .app-shell {
    width: min(94vw, 620px);
    margin: 14px auto;
    gap: 16px;
  }

  .content,
  .sidebar {
    border-radius: 22px;
  }

  .content {
    padding: 16px;
  }

  .brand-wrap {
    padding: 9px 12px;
  }

  .sidebar-top {
    align-items: stretch;
  }

  .sidebar-nav {
    gap: 8px;
  }

  .inicio-products-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .inicio-products-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .inicio-product-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .inicio-product-cover {
    min-height: 200px;
    padding: 14px;
  }

  .inicio-product-cover-frame {
    min-height: 172px;
  }

  .inicio-product-item h3 {
    font-size: 1.25rem;
  }

  .inicio-product-action {
    grid-column: auto;
  }

  .inicio-product-btn {
    width: 100%;
    min-width: 0;
  }

  .hero {
    padding: 6px 0 26px;
  }

  .filter-tabs {
    gap: 8px;
    margin-bottom: 16px;
  }

  .filter-tab {
    min-width: 84px;
    height: 36px;
    padding: 0 14px;
  }

  .stack-card {
    grid-template-columns: 1fr;
  }

  .step-badge {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .tutorial-hero-card,
  .tutorial-grid,
  .tutorial-detail-layout {
    grid-template-columns: 1fr;
  }

  .tutorial-hero-card {
    padding: 22px;
    gap: 18px;
  }

  .tutorial-hero-visual {
    min-height: 140px;
  }

  .tutorial-screen-main {
    width: 170px;
    height: 122px;
    right: 34px;
  }

  .tutorial-screen-side {
    width: 88px;
    height: 120px;
    right: 0;
  }

  .tutorial-thumb {
    min-height: 150px;
  }

  .tutorial-thumb img {
    min-height: 150px;
  }

  .inicio-video-card,
  .inicio-side-card,
  .inicio-products-card,
  .inicio-support-card {
    padding: 18px;
  }

  .inicio-products-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .inicio-products-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .inicio-products-card,
  .inicio-support-card {
    width: 100%;
  }

  .inicio-product-cover {
    min-height: 240px;
    padding: 16px;
  }

  .inicio-product-cover-frame {
    min-height: 208px;
  }

  .inicio-contact-list-horizontal {
    grid-template-columns: 1fr;
  }

  .tutorial-detail {
    padding: 16px;
  }

  .tutorial-detail-topbar,
  .tutorial-player-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 14px;
  }

  .gallery.is-site-para-bio {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
  }

  .card,
  .card-tall {
    grid-row: span 1;
  }

  .card:not(.card-tall) .thumb {
    aspect-ratio: 16 / 9;
  }

  .card-tall .thumb {
    aspect-ratio: 9 / 16;
  }
}
