/**
 * Teknei Brand Center - Components Stylesheet
 * Ultra-premium GUI, 3D cards, spotlight omnibox, interactive filters & drawers.
 */

/* ==========================================================================
   1. GLOBAL HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--bg-header);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--hairline);
  z-index: 100;
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.site-header.scrolled {
  background: var(--bg-header-scrolled);
  border-bottom-color: var(--hairline-strong);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}
.header-logo-wrap:hover .header-logo-img {
  transform: scale(1.03);
}

.header-divider {
  width: 1px;
  height: 24px;
  background: var(--hairline-strong);
}

.header-hub-tag {
  display: flex;
  flex-direction: column;
}
.header-hub-title {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  line-height: 1.2;
}
.header-hub-subtitle {
  font-size: 0.6875rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Header Nav Menu */
.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--border-radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: var(--hairline);
}

/* Header Action Controls */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Spotlight Search Button */
.search-trigger-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--border-radius-pill);
  color: var(--text-muted);
  font-size: 0.8125rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}
.search-trigger-btn:hover {
  border-color: var(--teknei-blue);
  color: var(--text-primary);
  box-shadow: var(--shadow-glow-blue);
  transform: translateY(-1px);
}
.search-trigger-btn kbd {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 2px 6px;
  background: var(--hairline);
  border-radius: 4px;
  color: var(--text-secondary);
  border: 1px solid var(--hairline);
}

/* Theme Switcher Toggle */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-pill);
  border: 1px solid var(--hairline-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.theme-toggle-btn:hover {
  color: var(--text-primary);
  border-color: var(--teknei-blue);
  transform: rotate(15deg);
}
.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
}

/* Internal Pill Badge */
.internal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(0, 110, 205, 0.08);
  border: 1px solid rgba(0, 110, 205, 0.2);
  border-radius: var(--border-radius-pill);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--teknei-blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-pulse {
  width: 6px;
  height: 6px;
  background: var(--teknei-blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--teknei-blue);
  animation: pulse-dot 2s infinite ease-in-out;
}

/* ==========================================================================
   2. CINEMATIC FULLSCREEN HERO CON VIDEO OVERLAY (HeroClip.mp4)
   ========================================================================== */
.hero-fullscreen {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 40px) 0 clamp(48px, 8vw, 80px);
  color: #ffffff;
  border-bottom: 1px solid var(--hairline-strong);
}

.hero-bg-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  display: block;
  filter: brightness(0.85) contrast(1.05);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: 
    radial-gradient(circle at 50% 25%, rgba(0, 110, 205, 0.28) 0%, rgba(0, 20, 48, 0.75) 50%, rgba(0, 27, 45, 0.92) 85%, rgba(0, 20, 48, 0.98) 100%),
    linear-gradient(180deg, rgba(0, 20, 48, 0.55) 0%, rgba(0, 27, 45, 0.72) 45%, rgba(0, 20, 48, 0.96) 100%);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}

.hero-fullscreen-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
}

.hero-hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: var(--border-radius-pill);
  background: rgba(0, 20, 48, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(78, 168, 255, 0.3);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: #edf3fc;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.video-hud-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teknei-cyan);
  box-shadow: 0 0 10px var(--teknei-cyan);
  animation: live-dot-ping 2s infinite ease-in-out;
}

.hero-title-fullscreen {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.2vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin-bottom: 24px;
  max-width: 1100px;
}
.hero-title-fullscreen .base-phrase {
  color: #ffffff;
  display: inline;
}
.hero-title-fullscreen .accent-phrase {
  color: var(--teknei-cyan);
  text-shadow: 0 0 35px rgba(78, 168, 255, 0.45);
  display: inline;
}
.hero-title-fullscreen .accent-phrase .dot {
  color: var(--teknei-cyan);
  text-shadow: 0 0 35px rgba(78, 168, 255, 0.45);
}

.hero-intro-fullscreen {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.7;
  color: #d0dce8;
  max-width: 760px;
  margin-bottom: 32px;
  font-weight: 300;
}

/* Hero CTA Row */
.hero-cta-fullscreen {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: clamp(36px, 6vw, 64px);
}

/* Teknei Coral Pill Button (Signature style from Reference Image 3) */
.btn-teknei-coral {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--teknei-accent-coral);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 24px rgba(232, 65, 56, 0.45);
  cursor: pointer;
  border: none;
}
.btn-teknei-coral:hover {
  background: #ff473d;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 32px rgba(232, 65, 56, 0.65);
}
.btn-teknei-coral svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-teknei-coral:hover svg {
  transform: translateX(3px);
}

.btn-teknei-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  padding: 15px 28px;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}
.btn-teknei-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

/* 4-Column Editorial Metric Grid (Directly replicating Image 2 Outline Stroke Typography) */
.hero-metrics-editorial {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
}

.editorial-metric-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

/* Signature Outline / Hollow Stroke Typography from Image 2 */
.metric-stroke-num {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 3.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--teknei-cyan);
  text-stroke: 1.5px var(--teknei-cyan);
  margin-bottom: 12px;
  filter: drop-shadow(0 0 16px rgba(78, 168, 255, 0.4));
  transition: all 0.3s ease;
}
.editorial-metric-col:hover .metric-stroke-num {
  filter: drop-shadow(0 0 24px rgba(78, 168, 255, 0.7));
  transform: translateY(-2px);
}

.metric-col-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.metric-col-desc {
  font-size: 0.8125rem;
  color: #a4b8cc;
  line-height: 1.55;
  margin-bottom: 14px;
}

.metric-col-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teknei-cyan);
  text-decoration: none;
  border-bottom: 1.5px solid var(--teknei-blue);
  padding-bottom: 3px;
  transition: all var(--transition-fast);
}
.metric-col-link:hover {
  color: #ffffff;
  border-bottom-color: var(--teknei-cyan);
  gap: 12px;
}

.editorial-metric-divider {
  display: none;
}

/* Floating Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 4;
  transition: color var(--transition-fast);
}
.hero-scroll-indicator:hover {
  color: var(--teknei-cyan);
}
.scroll-mouse-icon {
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-mouse-wheel {
  width: 3px;
  height: 6px;
  background: var(--teknei-cyan);
  border-radius: 2px;
  animation: mouseWheelDrift 1.8s infinite ease-in-out;
}

/* ==========================================================================
   3. EMPLOYEE QUICK TOOLKIT (1-CLICK HIGH-IMPACT TOOLS)
   ========================================================================== */
.section-wrapper {
  padding: clamp(56px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--hairline);
  position: relative;
}

.section-header-editorial {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section-title-wrap .eyebrow {
  margin-bottom: 8px;
}
.section-title-wrap h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-top: 4px;
}
.section-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 500px;
  margin-top: 8px;
}

/* Quick Tools Grid */
.quick-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

/* ==========================================================================
   3. TEKNEI NOTCH CARDS (EXACT REPLICATION OF REFERENCE IMAGE 1)
   ========================================================================== */
.teknei-notch-card {
  position: relative;
  background: var(--teknei-navy);
  color: #ffffff;
  border-radius: 28px;
  padding: 38px 34px 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px -6px rgba(0, 27, 45, 0.35);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  overflow: hidden;
  cursor: default;
  min-height: 280px;
}

[data-theme="dark"] .teknei-notch-card {
  background: #00172c;
  border-color: rgba(78, 168, 255, 0.15);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.teknei-notch-card:hover {
  transform: translateY(-6px);
  border-color: rgba(78, 168, 255, 0.35);
  box-shadow: 0 24px 50px -10px rgba(0, 27, 45, 0.5), 0 0 30px rgba(0, 110, 205, 0.25);
}

/* Watermark Outline Stroke Number in top-right corner */
.notch-card-watermark {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(78, 168, 255, 0.28);
  pointer-events: none;
  transition: all 0.3s ease;
}
.teknei-notch-card:hover .notch-card-watermark {
  -webkit-text-stroke-color: rgba(78, 168, 255, 0.85);
  filter: drop-shadow(0 0 12px rgba(78, 168, 255, 0.5));
  transform: scale(1.06);
}

.notch-card-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teknei-cyan);
  margin-bottom: 14px;
  display: block;
}

.notch-card-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  font-weight: 500;
  padding-right: 48px;
}
.notch-card-title strong,
.notch-card-title .highlight {
  font-weight: 800;
  color: #ffffff;
}

.notch-card-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #a4b8cc;
  margin-bottom: 26px;
  font-weight: 400;
}

/* Multi-Brand Quick Selectors inside Notch Cards */
.notch-card-brand-pills-row {
  margin: 14px 0 16px;
  padding: 10px 12px;
  background: rgba(0, 16, 32, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  position: relative;
  z-index: 2;
}

.notch-pills-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8da4be;
  margin-bottom: 7px;
  font-weight: 600;
}

.notch-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.notch-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.notch-brand-pill:hover {
  background: rgba(0, 110, 205, 0.35);
  border-color: var(--teknei-cyan);
  color: var(--teknei-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 110, 205, 0.3);
}

.notch-brand-pill.active {
  background: linear-gradient(135deg, rgba(0, 110, 205, 0.5) 0%, rgba(78, 168, 255, 0.25) 100%);
  border-color: var(--teknei-cyan);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(78, 168, 255, 0.35);
}

.notch-brand-pill .brand-pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teknei-cyan);
  box-shadow: 0 0 6px var(--teknei-cyan);
}

.notch-size-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #8da4be;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: var(--border-radius-pill);
}

.notch-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notch-format-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teknei-cyan);
  background: rgba(78, 168, 255, 0.12);
  border: 1px solid rgba(78, 168, 255, 0.25);
  padding: 4px 12px;
  border-radius: var(--border-radius-pill);
}

/* The Signature Cutout Notch at Bottom-Right */
.notch-corner-dock {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 76px;
  height: 76px;
  background: var(--bg-page);
  border-top-left-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background-color var(--transition-normal);
}

/* Inverted fillet curves connecting smoothly with the card border */
.notch-corner-dock::before {
  content: '';
  position: absolute;
  top: -22px;
  right: 0;
  width: 22px;
  height: 22px;
  border-bottom-right-radius: 22px;
  box-shadow: 6px 6px 0 6px var(--bg-page);
  pointer-events: none;
  transition: box-shadow var(--transition-normal);
}

.notch-corner-dock::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -22px;
  width: 22px;
  height: 22px;
  border-bottom-right-radius: 22px;
  box-shadow: 6px 6px 0 6px var(--bg-page);
  pointer-events: none;
  transition: box-shadow var(--transition-normal);
}

/* Inside the cutout notch: Circular Coral Action Button */
.notch-coral-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teknei-accent-coral);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 16px rgba(232, 65, 56, 0.45);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}
.notch-coral-btn svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.teknei-notch-card:hover .notch-coral-btn {
  transform: scale(1.1);
  background: #ff473d;
  box-shadow: 0 6px 24px rgba(232, 65, 56, 0.7);
}
.teknei-notch-card:hover .notch-coral-btn svg {
  transform: translateX(3px);
}

/* ==========================================================================
   4. BRAND SELECTOR & SHOWCASE (THE 6 COMPANIES)
   ========================================================================== */
.brands-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.brand-notch-card {
  position: relative;
  background: var(--teknei-navy);
  border-radius: 28px;
  padding: 34px 30px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px -6px rgba(0, 27, 45, 0.35);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  overflow: hidden;
  cursor: pointer;
  color: #ffffff;
  min-height: 320px;
}
[data-theme="dark"] .brand-notch-card {
  background: #00172c;
  border-color: rgba(78, 168, 255, 0.15);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}
.brand-notch-card:hover {
  transform: translateY(-6px);
  border-color: rgba(78, 168, 255, 0.4);
  box-shadow: 0 24px 50px -10px rgba(0, 27, 45, 0.5), 0 0 30px rgba(0, 110, 205, 0.25);
}
.brand-notch-card.active-brand {
  border-color: var(--teknei-cyan);
  box-shadow: 0 0 35px rgba(78, 168, 255, 0.45);
}

.brand-card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.brand-entity-pill {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teknei-cyan);
}

/* Brand Logo Stage inside Brand Notch Card (Transparent & Levitating) */
.brand-logo-stage {
  height: 104px;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 20px;
  padding: 10px 0 0;
}

.brand-logo-levitate {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  width: 100%;
  animation: logoLevitate 3.6s ease-in-out infinite;
  animation-delay: var(--levitate-delay, 0s);
  will-change: transform;
}

.brand-logo-img {
  max-height: 52px;
  max-width: 175px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  user-select: none;
  pointer-events: none;
}

/* Specific optical sizing per brand slug so all logos match Teknei's optical volume */
.brand-notch-card[data-brand*="Teknei"] .brand-logo-img,
.brand-notch-card[data-brand*="MZ8T"] .brand-logo-img,
.brand-notch-card[data-brand*="PEYCASH"] .brand-logo-img {
  max-height: 52px;
}

.brand-notch-card[data-brand*="Identidad"] .brand-logo-img {
  max-height: 46px;
}

.brand-notch-card[data-brand*="Innoventia"] .brand-logo-img,
.brand-notch-card[data-brand*="Kydeoh"] .brand-logo-img {
  max-height: 36px;
}

/* Diffused Projected Ground Shadow beneath the levitating logo */
.brand-logo-ground-shadow {
  width: 110px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.65) 0%, rgba(0, 27, 45, 0.45) 45%, transparent 75%);
  filter: blur(5px);
  margin-top: 8px;
  animation: shadowLevitateBreathe 3.6s ease-in-out infinite;
  animation-delay: var(--levitate-delay, 0s);
  will-change: transform, opacity;
}

.brand-notch-card:hover .brand-logo-img {
  transform: scale(1.08);
  filter: drop-shadow(0 10px 22px rgba(78, 168, 255, 0.35));
}

.brand-notch-card:hover .brand-logo-ground-shadow {
  background: radial-gradient(ellipse at center, rgba(0, 110, 205, 0.55) 0%, rgba(0, 0, 0, 0.75) 45%, transparent 75%);
  filter: blur(6px);
}

.brand-info {
  margin-bottom: 20px;
}

.brand-info h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-right: 50px;
}
.brand-items-count {
  font-size: 0.8125rem;
  color: #a4b8cc;
}
.brand-items-count strong {
  color: #ffffff;
  font-weight: 700;
}

/* ==========================================================================
   5. UNIFIED RESOURCE CATALOG & FILTER ENGINE
   ========================================================================== */
.catalog-toolbar {
  background: var(--bg-card);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--border-radius-lg);
  padding: 20px 24px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.catalog-search-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.catalog-search-input-wrap {
  position: relative;
  flex: 1;
}
.search-icon-inside {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.catalog-search-input {
  width: 100%;
  height: 52px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--border-radius-md);
  padding: 0 48px 0 52px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}
.catalog-search-input:focus {
  border-color: var(--teknei-blue);
  background: var(--bg-surface);
  box-shadow: var(--shadow-glow-blue);
}
.catalog-search-clear {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  padding: 4px;
}

/* View Mode Switcher */
.view-mode-toggle {
  display: flex;
  background: var(--bg-surface-alt);
  border: 1px solid var(--hairline);
  border-radius: var(--border-radius-sm);
  padding: 4px;
  gap: 4px;
}
.view-btn {
  padding: 8px 12px;
  border-radius: var(--border-radius-xs);
  color: var(--text-muted);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}
.view-btn.active {
  background: var(--bg-card);
  color: var(--teknei-blue);
  box-shadow: var(--shadow-sm);
}

/* Filter Chips Rows */
.filter-tabs-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.filter-row-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip-btn {
  padding: 8px 16px;
  border-radius: var(--border-radius-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  background: var(--bg-surface-alt);
  border: 1px solid var(--hairline);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.chip-btn:hover {
  background: var(--hairline);
  color: var(--text-primary);
}
.chip-btn.active {
  background: var(--teknei-blue);
  color: #fff;
  border-color: var(--teknei-blue);
  box-shadow: 0 2px 10px rgba(0, 110, 205, 0.3);
}

/* Catalog Results Meta */
.catalog-results-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.catalog-results-meta strong {
  color: var(--text-primary);
}

/* Resource Grid */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}

.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--border-radius-md);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.resource-card:hover {
  transform: translateY(-4px);
  border-color: var(--hairline-accent);
  box-shadow: var(--shadow-lg);
}

.resource-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.resource-id-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 8px;
  background: var(--hairline);
  border-radius: var(--border-radius-xs);
  color: var(--text-secondary);
}
.resource-brand-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teknei-blue);
}

.resource-card-body h4 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 8px;
}
.resource-card-body p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
}

.resource-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.format-pill {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 3px 8px;
  border-radius: var(--border-radius-xs);
  background: rgba(0, 110, 205, 0.08);
  color: var(--teknei-blue);
  border: 1px solid rgba(0, 110, 205, 0.2);
  font-weight: 600;
}


.resource-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}
.btn-cloud-download {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--teknei-blue);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--border-radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}
.btn-cloud-download:hover {
  background: #005aa3;
}
.btn-copy-url {
  padding: 10px 12px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--border-radius-sm);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.btn-copy-url:hover {
  border-color: var(--teknei-blue);
  color: var(--teknei-blue);
}

/* Executive List Table View */
.resources-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
}
.resources-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}
.resources-table th {
  background: var(--teknei-navy);
  color: #fff;
  padding: 14px 18px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.resources-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--hairline);
  color: var(--text-secondary);
}
.resources-table tr:hover td {
  background: var(--hairline);
  color: var(--text-primary);
}

/* ==========================================================================
   6. IDENTITY LAB: COLOR TOKENS & TYPOGRAPHY
   ========================================================================== */
.swatches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.swatch-card {
  background: var(--bg-card);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
}
.swatch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.swatch-color-box {
  height: 100px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 12px;
}
.swatch-copy-hint {
  font-size: 0.6875rem;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 3px 8px;
  border-radius: var(--border-radius-pill);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.swatch-card:hover .swatch-copy-hint {
  opacity: 1;
}
.swatch-details {
  padding: 16px;
}
.swatch-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 6px;
}
.swatch-value-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 3px 0;
  border-top: 1px solid var(--hairline);
}
.swatch-value-row strong {
  color: var(--text-primary);
}

/* ==========================================================================
   7. TYPOGRAPHY SHOWCASE (SORA & INTER - GOOGLE FONTS)
   ========================================================================== */
.typography-showcase-wrap {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline-strong);
}

.typography-showcase-header {
  margin-bottom: 28px;
}

.typography-cards-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
}

.typography-card {
  background: var(--bg-card);
  border: 1px solid var(--hairline-strong);
  border-radius: 24px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.typography-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(0, 27, 45, 0.35);
  border-color: rgba(0, 110, 205, 0.35);
}

.primary-font-card {
  background: linear-gradient(145deg, rgba(0, 27, 45, 0.95) 0%, rgba(0, 36, 60, 0.85) 100%);
  border: 1px solid rgba(78, 168, 255, 0.25);
  color: #ffffff;
}

[data-theme="light"] .primary-font-card {
  background: linear-gradient(145deg, #001B2D 0%, #002B47 100%);
  color: #ffffff;
}

.secondary-font-card {
  background: var(--bg-card);
}

.font-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.font-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teknei-cyan);
  background: rgba(78, 168, 255, 0.12);
  padding: 6px 14px;
  border-radius: var(--border-radius-pill);
  border: 1px solid rgba(78, 168, 255, 0.25);
}

.font-tag-badge.secondary {
  color: var(--teknei-blue);
  background: rgba(0, 110, 205, 0.08);
  border-color: rgba(0, 110, 205, 0.2);
}

.font-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}

.font-source-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.primary-font-card .font-source-tag {
  color: rgba(255, 255, 255, 0.6);
}

.font-specimen-large {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.font-specimen-lead {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.primary-font-card .font-specimen-lead {
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff 40%, var(--teknei-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.font-specimen-chars {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.primary-font-card .font-specimen-chars {
  color: rgba(255, 255, 255, 0.7);
}

.font-inter {
  font-family: var(--font-body) !important;
}

.font-phrase-preview {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 24px;
  color: var(--teknei-cyan);
}

.secondary-font-card .font-phrase-preview {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  font-style: normal;
  color: var(--text-secondary);
}

.font-weights-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.weight-chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: var(--border-radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.primary-font-card .weight-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
}

.weight-chip.active {
  background: rgba(0, 110, 205, 0.15);
  border-color: var(--teknei-blue);
  color: var(--teknei-blue);
  font-weight: 600;
}

.primary-font-card .weight-chip.active {
  background: rgba(78, 168, 255, 0.18);
  border-color: var(--teknei-cyan);
  color: var(--teknei-cyan);
}

.font-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: auto;
}

.font-actions-row a {
  text-decoration: none;
}

[data-theme="light"] .secondary-font-card .btn-teknei-glass {
  color: var(--teknei-navy);
  background: rgba(0, 40, 89, 0.05);
  border-color: rgba(0, 40, 89, 0.15);
}

[data-theme="light"] .secondary-font-card .btn-teknei-glass:hover {
  background: rgba(0, 110, 205, 0.1);
  border-color: var(--teknei-blue);
  color: var(--teknei-blue);
}

.uria-block .typography-showcase-wrap {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--hairline-strong);
}

/* ==========================================================================
   8. SPOTLIGHT COMMAND PALETTE (CMD+K)
   ========================================================================== */
.spotlight-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 20, 48, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}
.spotlight-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.spotlight-container {
  width: 100%;
  max-width: 680px;
  background: var(--bg-card);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transform: translateY(-20px) scale(0.98);
  transition: transform var(--transition-spring);
}
.spotlight-modal.open .spotlight-container {
  transform: translateY(0) scale(1);
}

.spotlight-input-wrap {
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid var(--hairline);
  height: 64px;
}
.spotlight-input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 1.125rem;
  color: var(--text-primary);
  outline: none;
  padding-left: 14px;
}

.spotlight-results {
  max-height: 420px;
  overflow-y: auto;
  padding: 12px;
}
.spotlight-item {
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.spotlight-item:hover, .spotlight-item.selected {
  background: var(--hairline);
}
.spotlight-item-title {
  font-weight: 500;
  font-size: 0.9375rem;
}
.spotlight-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.spotlight-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--hairline);
  background: var(--bg-surface-alt);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   9. TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--teknei-navy);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: toast-in 0.3s var(--ease-spring) forwards;
}

/* Footer Section */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 48px 0 64px;
  background: var(--bg-surface);
  color: var(--text-muted);
  font-size: 0.8125rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-fullscreen {
    padding-top: calc(var(--header-height) + 30px);
  }
  .hero-metrics-editorial {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
  .typography-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
  .hero-fullscreen {
    min-height: 100vh;
    padding: calc(var(--header-height) + 20px) 0 40px;
  }
  .hero-title-fullscreen {
    font-size: clamp(2rem, 7vw, 3.2rem);
  }
  .hero-intro-fullscreen {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
  .hero-cta-fullscreen {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .btn-teknei-coral, .btn-teknei-glass {
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
  }
  .hero-metrics-editorial {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    padding-top: 28px;
    margin-top: 32px;
  }
  .metric-stroke-num {
    font-size: 2.4rem;
  }
  .quick-tools-grid {
    grid-template-columns: 1fr;
  }
  .brands-showcase-grid {
    grid-template-columns: 1fr;
  }
  .teknei-notch-card, .brand-notch-card {
    padding: 30px 24px 44px;
    border-radius: 24px;
  }
  .notch-corner-dock {
    width: 66px;
    height: 66px;
    border-top-left-radius: 24px;
  }
  .notch-coral-btn {
    width: 46px;
    height: 46px;
  }
  .typography-card {
    padding: 26px 20px;
  }
  .font-actions-row {
    flex-direction: column;
    align-items: stretch;
  }
  .font-actions-row a {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-metrics-editorial {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .header-brand .header-hub-tag {
    display: none;
  }
  .search-trigger-btn span, .search-trigger-btn kbd {
    display: none;
  }
  .search-trigger-btn {
    padding: 8px 10px;
  }
}

/* ========================================================================
   BRAND IDENTITY & RESOURCES EXPERIENCE STATION (URIA DESIGN ARCHITECTURE)
   ======================================================================== */

.brand-experience-section {
  padding-top: 40px;
}

.brand-experience-header {
  margin-bottom: 36px;
}

.brand-nav-pills-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 12px;
  background: rgba(0, 27, 45, 0.05);
  border-radius: var(--border-radius-pill);
  border: 1px solid var(--hairline);
  margin: 28px 0 36px;
  scrollbar-width: thin;
}

[data-theme="dark"] .brand-nav-pills-bar {
  background: rgba(255, 255, 255, 0.04);
}

.brand-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 22px;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s var(--ease-spring);
}

.brand-nav-pill:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.brand-nav-pill.active {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--teknei-blue);
  box-shadow: 0 4px 18px rgba(0, 110, 205, 0.2);
}

.brand-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teknei-blue);
  box-shadow: 0 0 8px currentColor;
}

.brand-nav-count {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(0, 27, 45, 0.08);
  color: var(--text-muted);
}

[data-theme="dark"] .brand-nav-count {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.brand-narrative-card {
  padding: 36px 40px;
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--border-radius-xl);
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.brand-narrative-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.25;
}

.brand-narrative-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 640px;
}

.brand-narrative-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* 01. Logo Feature Stage (Uria .feature) */
.uria-block {
  margin-bottom: 64px;
}

.uria-block-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.uria-feature-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-md);
  transition: border-color 0.3s ease;
}

.uria-stage {
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: #eef3f8;
  position: relative;
  transition: background 0.4s ease;
}

.uria-stage.dark {
  background: #001430 !important;
}

.uria-stage img {
  max-width: 85%;
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.08));
  transition: transform 0.4s var(--ease-spring);
}

.uria-stage:hover img {
  transform: scale(1.04);
}

.uria-stage-toggle {
  position: absolute;
  top: 18px;
  right: 20px;
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  padding: 4px;
  border-radius: 9999px;
  z-index: 2;
}

.uria-stage-toggle button {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
  color: #c9d8e8;
  background: transparent;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.uria-stage-toggle button.active {
  background: var(--teknei-blue);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 110, 205, 0.4);
}

.uria-feature-info {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.uria-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teknei-blue);
  margin-bottom: 8px;
}

.uria-feature-info h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.uria-feature-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.uria-switches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0 28px;
}

.uria-chip {
  border: 1px solid var(--hairline);
  background: var(--bg-surface-alt);
  border-radius: 30px;
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-size: 0.78125rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
}

.uria-chip:hover {
  border-color: var(--teknei-blue);
  color: var(--teknei-blue);
  transform: translateY(-1px);
}

.uria-chip.active {
  background: linear-gradient(135deg, #006ecd, #4ea8ff);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(0, 110, 205, 0.3);
}

.uria-feature-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.uria-details {
  margin-top: 24px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--hairline);
  background: var(--bg-surface);
  padding: 22px 28px;
  font-size: 0.875rem;
  box-shadow: var(--shadow-sm);
}

.uria-details summary {
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.uria-details-content {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* 02. Usos y Normativa (Correctos vs Incorrectos) */
.uria-uses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.uria-use-card {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-spring);
}

.uria-use-card:hover {
  transform: translateY(-4px);
  border-color: var(--hairline-accent);
  box-shadow: var(--shadow-md);
}

.uria-use-stage {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: #eef3f8;
  position: relative;
}

.uria-use-stage.dark {
  background: #001430 !important;
}

.uria-use-stage img {
  max-height: 105px;
  max-width: 80%;
  object-fit: contain;
}

.uria-protect-box {
  outline: 2px dashed var(--teknei-cyan);
  outline-offset: 14px;
  border-radius: 4px;
}

.uria-use-info {
  padding: 22px;
}

.uria-mark-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.uria-mark-tag.good {
  color: #10b981;
}

.uria-mark-tag.bad {
  color: #ef4444;
}

.uria-use-info p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.uria-avoid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.uria-avoid-stage {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: #f1f4f8;
  overflow: hidden;
}

[data-theme="dark"] .uria-avoid-stage {
  background: #051833;
}

.uria-avoid-stage img {
  max-height: 90px;
  max-width: 80%;
  object-fit: contain;
}

.uria-avoid-stage.stretch img { transform: scaleY(0.5); }
.uria-avoid-stage.rotate img { transform: rotate(-20deg); }
.uria-avoid-stage.recolor img { filter: hue-rotate(135deg); }
.uria-avoid-stage.shadow img { filter: drop-shadow(10px 10px 0 rgba(0, 0, 0, 0.75)); }
.uria-avoid-stage.low img { opacity: 0.16; }
.uria-avoid-stage.crop img { transform: translateX(65px) scale(1.35); }

/* 03. Swatches Grid for Brand */
.uria-palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

/* 04. Downloads Station (.downloads from Uria) */
.uria-downloads-box {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--border-radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.uria-downloads-toolbar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin: 28px 0 20px;
}

.uria-search-input {
  flex: 1;
  min-width: 260px;
  padding: 13px 20px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--hairline);
  background: var(--bg-surface-alt);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: all 0.25s;
}

.uria-search-input:focus {
  outline: none;
  border-color: var(--teknei-blue);
  box-shadow: 0 0 0 3px rgba(0, 110, 205, 0.15);
}

.uria-cats-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.uria-cat-chip {
  padding: 8px 16px;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-heading);
  font-size: 0.78125rem;
  font-weight: 600;
  border: 1px solid var(--hairline);
  background: var(--bg-surface-alt);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.uria-cat-chip:hover {
  border-color: var(--teknei-blue);
  color: var(--teknei-blue);
}

.uria-cat-chip.active {
  background: var(--teknei-blue);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(0, 110, 205, 0.3);
}

.uria-asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.asset-card {
  border: 1px solid var(--hairline);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--bg-surface-alt);
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ease-spring);
  position: relative;
}

.asset-card:hover {
  transform: translateY(-5px);
  border-color: var(--teknei-cyan);
  box-shadow: var(--shadow-lg);
}

.asset-preview {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #eef3f8;
  position: relative;
  overflow: hidden;
}

.asset-preview.dark {
  background: #001430 !important;
}

.asset-preview img {
  max-height: 130px;
  max-width: 90%;
  object-fit: contain;
  transition: transform 0.4s var(--ease-spring);
}

.asset-card:hover .asset-preview img {
  transform: scale(1.06);
}

.asset-doc-mockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  color: var(--text-secondary);
}

.asset-doc-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--border-radius-pill);
  background: var(--teknei-blue);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 110, 205, 0.3);
}

.asset-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.asset-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teknei-blue);
  margin-bottom: 8px;
}

.asset-content h4 {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.4;
  flex: 1;
}

.asset-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.btn-asset-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--border-radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--hairline-strong);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
  width: 100%;
}

.btn-asset-download:hover {
  background: var(--teknei-blue);
  color: #ffffff;
  border-color: var(--teknei-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 110, 205, 0.25);
}

@media (max-width: 992px) {
  .uria-feature-card {
    grid-template-columns: 1fr;
  }
  .uria-uses-grid, .uria-avoid-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .uria-uses-grid, .uria-avoid-grid {
    grid-template-columns: 1fr;
  }
  .brand-narrative-card {
    padding: 24px;
  }
  .uria-feature-info {
    padding: 24px;
  }
  .uria-downloads-box {
    padding: 24px 16px;
  }
}

/* Typography Specimen in Brand Experience */
.uria-typo-specimen-card {
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 26px 30px;
}
[data-theme="dark"] .uria-typo-specimen-card {
  background: rgba(0, 23, 44, 0.6);
  border-color: rgba(78, 168, 255, 0.15);
}

.btn-outline-small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-outline-small:hover {
  border-color: var(--teknei-cyan);
  background: rgba(78, 168, 255, 0.12);
  color: var(--teknei-cyan);
  transform: translateY(-2px);
}

/* Section 04 Dedicated Brand Switcher Pills */
.uria-brand-selector-row {
  transition: all var(--transition-normal);
}
.uria-section4-brand-pills {
  margin: 0 !important;
  padding: 6px 8px !important;
  background: rgba(0, 27, 45, 0.06) !important;
  border-radius: var(--border-radius-pill) !important;
  border: 1px solid var(--hairline-strong) !important;
  display: flex !important;
  gap: 8px !important;
  overflow-x: auto !important;
  scrollbar-width: thin !important;
}
[data-theme="dark"] .uria-section4-brand-pills {
  background: rgba(0, 0, 0, 0.28) !important;
}
.uria-section4-pill {
  padding: 8px 18px !important;
  font-size: 0.8125rem !important;
  border-radius: var(--border-radius-pill) !important;
}
.uria-section4-pill.active {
  background: var(--bg-surface) !important;
  color: var(--text-primary) !important;
  border-color: var(--teknei-blue) !important;
  box-shadow: 0 4px 16px rgba(0, 110, 205, 0.25) !important;
}

/* ==========================================================================
   WALLPAPERS SELECTOR SUB-PILLS & GALLERY MODAL
   ========================================================================== */
.notch-sub-pills-row {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.notch-sub-pills-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teknei-cyan);
  margin-bottom: 7px;
  font-weight: 700;
}

.notch-sub-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  max-height: 145px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(78, 168, 255, 0.4) transparent;
}

.notch-sub-pills-wrap::-webkit-scrollbar {
  width: 4px;
}

.notch-sub-pills-wrap::-webkit-scrollbar-thumb {
  background: rgba(78, 168, 255, 0.4);
  border-radius: 4px;
}

.notch-wallpaper-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.notch-wallpaper-pill:hover {
  background: rgba(0, 110, 205, 0.4);
  border-color: var(--teknei-cyan);
  color: var(--teknei-cyan);
  transform: translateY(-1px);
}

.notch-wallpaper-pill.active {
  background: var(--teknei-blue);
  border-color: var(--teknei-cyan);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(78, 168, 255, 0.4);
}

.btn-open-wallpapers-modal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(232, 65, 56, 0.25);
  border: 1px solid var(--teknei-accent-coral);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 2px;
}

.btn-open-wallpapers-modal:hover {
  background: var(--teknei-accent-coral);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(232, 65, 56, 0.5);
  transform: translateY(-1px);
}

/* Wallpapers Gallery Modal */
.wallpapers-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 15, 30, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wallpapers-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.wallpapers-modal-dialog {
  background: #00172c;
  border: 1px solid rgba(78, 168, 255, 0.25);
  border-radius: 28px;
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75), 0 0 40px rgba(0, 110, 205, 0.2);
  overflow: hidden;
  animation: wpModalZoomIn 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes wpModalZoomIn {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.wallpapers-modal-header {
  padding: 24px 32px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: rgba(0, 27, 45, 0.5);
}

.wallpapers-modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wallpapers-modal-close:hover {
  background: var(--teknei-accent-coral);
  border-color: var(--teknei-accent-coral);
  transform: rotate(90deg);
}

.wallpapers-modal-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 32px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow-x: auto;
}

.wallpapers-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #8da4be;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.wallpapers-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.wallpapers-tab-btn.active {
  color: #ffffff;
  background: var(--teknei-blue);
  border-color: var(--teknei-cyan);
  box-shadow: 0 0 16px rgba(0, 110, 205, 0.4);
}

.wallpapers-modal-body {
  padding: 24px 32px;
  overflow-y: auto;
  flex: 1;
}

.wallpapers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.wallpaper-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.wallpaper-card:hover {
  transform: translateY(-4px);
  border-color: rgba(78, 168, 255, 0.4);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 110, 205, 0.25);
}

.wallpaper-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000d1a;
  overflow: hidden;
}

.wallpaper-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.wallpaper-card:hover .wallpaper-thumb-wrap img {
  transform: scale(1.05);
}

.wallpaper-card-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.wallpaper-card-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.wallpaper-card-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--teknei-cyan);
  margin-bottom: 12px;
}


