@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300..800&display=swap');

/* ==========================================================================
   ANIDO STUDIO - MASTER PROFESSIONAL COMPONENT DESIGN SYSTEM
   Standardized BEM Architecture, Semantic Design Tokens & CSS Custom Properties.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. DESIGN TOKENS & CSS CUSTOM PROPERTIES
   Modify these tokens to easily edit colors, blurs, borders, and animations!
   -------------------------------------------------------------------------- */
:root {
  /* Brand & Theme Colors */
  --anido-color-bg: #05060a;
  --anido-color-surface: #0a0c12;
  --anido-color-surface-card: #0d0f17;
  --anido-color-primary: #f92c53;
  --anido-color-primary-dark: #dc2626;
  --anido-color-emerald: #10b981;
  --anido-color-emerald-glow: rgba(16, 185, 129, 0.35);
  --anido-color-blue: #3b82f6;
  --anido-color-purple: #8b5cf6;
  --anido-color-gold: #f59e0b;

  /* Typography Colors */
  --anido-text-primary: #ffffff;
  --anido-text-secondary: rgba(255, 255, 255, 0.7);
  --anido-text-muted: rgba(255, 255, 255, 0.45);
  --anido-text-dark: #05060a;

  /* Borders & Glassmorphism */
  --anido-border-subtle: rgba(255, 255, 255, 0.1);
  --anido-border-default: rgba(255, 255, 255, 0.15);
  --anido-border-highlight: rgba(255, 255, 255, 0.3);
  --anido-border-glass: rgba(255, 255, 255, 0.6);
  --anido-glass-bg: rgba(255, 255, 255, 0.04);
  --anido-glass-card-bg: rgba(13, 15, 23, 0.65);
  --anido-glass-blur-sm: 8px;
  --anido-glass-blur-md: 16px;
  --anido-glass-blur-lg: 24px;
  --anido-glass-blur-xl: 32px;

  /* Navigation Pill */
  --anido-nav-pill-bg: rgba(255, 255, 255, 0.22);
  --anido-nav-pill-border: rgba(255, 255, 255, 0.6);
  --anido-nav-pill-shadow: 0 14px 45px rgba(0, 0, 0, 0.24),
    inset 0 1px 1px rgba(255, 255, 255, 0.55),
    inset 0 -8px 16px rgba(255, 255, 255, 0.14);
  --anido-nav-pill-top-offset: 34px;
  --anido-nav-pill-radius: 9999px;

  /* Common Spacing & Radii */
  --anido-radius-sm: 8px;
  --anido-radius-md: 14px;
  --anido-radius-lg: 20px;
  --anido-radius-xl: 28px;
  --anido-radius-full: 9999px;

  /* Transitions & Timing */
  --anido-ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --anido-duration-fast: 150ms;
  --anido-duration-normal: 250ms;
  --anido-duration-slow: 400ms;
}
/* Global Responsive Viewport & Element Guards */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img, video, canvas, svg, iframe {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6, p, span, a {
  overflow-wrap: break-word;
  word-wrap: break-word;
}


/* --------------------------------------------------------------------------
   1. NAVIGATION SYSTEM (.anido-nevbar & .anido-navbar-pill)
   -------------------------------------------------------------------------- */
.anido-nevbar-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  display: flex;
  justify-content: center;
  padding: 1rem 1rem;
  pointer-events: none;
  transition: all var(--anido-duration-slow) var(--anido-ease-smooth);
}

@media (min-width: 640px) {
  .anido-nevbar-header {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
}

.anido-nevbar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 64rem;
  padding: 0.625rem 1rem;
  border-radius: var(--anido-radius-full);
  border: 1px solid var(--anido-border-subtle);
  transition: all var(--anido-duration-normal) var(--anido-ease-smooth);
}

@media (min-width: 640px) {
  .anido-nevbar {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

.anido-nevbar--default {
  background-color: rgba(10, 12, 18, 0.6);
  border-color: var(--anido-border-subtle);
  backdrop-filter: blur(var(--anido-glass-blur-md));
  -webkit-backdrop-filter: blur(var(--anido-glass-blur-md));
}

.anido-nevbar--scrolled {
  background-color: rgba(10, 12, 18, 0.85);
  border-color: var(--anido-border-default);
  backdrop-filter: blur(var(--anido-glass-blur-lg));
  -webkit-backdrop-filter: blur(var(--anido-glass-blur-lg));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.36);
}

.anido-nevbar__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.anido-nevbar__logo-img {
  height: 1.5rem;
  width: auto;
  transition: transform var(--anido-duration-fast) ease;
}

@media (min-width: 640px) {
  .anido-nevbar__logo-img {
    height: 1.75rem;
  }
}

.anido-nevbar__logo:hover .anido-nevbar__logo-img {
  transform: scale(1.05);
}

.anido-nevbar__nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .anido-nevbar__nav {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .anido-nevbar__nav {
    gap: 2rem;
  }
}

.anido-nevbar__link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--anido-text-secondary);
  text-decoration: none;
  transition: color var(--anido-duration-fast) ease;
}

.anido-nevbar__link:hover {
  color: var(--anido-text-primary);
}

.anido-nevbar__badge-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--anido-text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: var(--anido-radius-full);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color var(--anido-duration-fast) ease;
}

.anido-nevbar__badge-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.anido-nevbar__badge-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: var(--anido-radius-full);
  background-color: var(--anido-color-emerald);
}

.anido-nevbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.anido-nevbar__cta-btn {
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: var(--anido-radius-full);
  background-color: var(--anido-text-primary);
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--anido-text-dark);
  border: 0;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all var(--anido-duration-fast) ease;
}

@media (min-width: 640px) {
  .anido-nevbar__cta-btn {
    display: inline-flex;
  }
}

.anido-nevbar__cta-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.02);
}

.anido-nevbar__toggle {
  display: inline-flex;
  padding: 0.5rem;
  border-radius: var(--anido-radius-full);
  color: var(--anido-text-secondary);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: all var(--anido-duration-fast) ease;
}

@media (min-width: 768px) {
  .anido-nevbar__toggle {
    display: none;
  }
}

.anido-nevbar__toggle:hover {
  color: var(--anido-text-primary);
  background-color: rgba(255, 255, 255, 0.1);
}

/* Floating Glass Pill Navbar (Inspected element) */
.anido-navbar-pill-wrapper,
.nevbar-wrapper,
.navbar-wrapper {
  position: fixed;
  top: var(--anido-nav-pill-top-offset, 34px);
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  z-index: 50;
  width: 100%;
  max-width: min(100vw - 2rem, 36rem);
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .anido-navbar-pill-wrapper,
  .nevbar-wrapper,
  .navbar-wrapper {
    max-width: min(100vw - 3rem, 56rem);
  }
}

.anido-navbar-pill,
.nevbar,
.navbar-pill,
.anido-nevbar-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: var(--anido-nav-pill-radius, 9999px);
  border: 1px solid var(--anido-nav-pill-border, rgba(255, 255, 255, 0.6));
  background-color: var(--anido-nav-pill-bg, rgba(255, 255, 255, 0.22));
  backdrop-filter: blur(var(--anido-glass-blur-lg, 40px));
  -webkit-backdrop-filter: blur(var(--anido-glass-blur-lg, 40px));
  box-shadow: var(--anido-nav-pill-shadow, 0 14px 45px rgba(0, 0, 0, 0.24), inset 0 1px 1px rgba(255, 255, 255, 0.55), inset 0 -8px 16px rgba(255, 255, 255, 0.14));
  padding: 0.375rem;
  overflow: hidden;
}

.anido-navbar-pill__gloss-gradient {
  pointer-events: none;
  position: absolute;
  inset: 1px;
  border-radius: var(--anido-radius-full, 9999px);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.08), transparent);
}

.anido-navbar-pill__glow {
  pointer-events: none;
  position: absolute;
  top: -1rem;
  left: 2rem;
  height: 2rem;
  width: 10rem;
  border-radius: var(--anido-radius-full, 9999px);
  background-color: rgba(255, 255, 255, 0.35);
  filter: blur(12px);
}

.anido-navbar-pill__logo-btn {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--anido-radius-full, 9999px);
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  transition: all var(--anido-duration-normal, 250ms) ease;
}

.anido-navbar-pill__logo-btn:hover {
  border-color: rgba(255, 255, 255, 0.8);
}

.anido-navbar-pill__logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--anido-duration-normal, 250ms) ease;
}

.anido-navbar-pill__logo-btn:hover .anido-navbar-pill__logo-img {
  transform: scale(1.1);
}

.anido-navbar-pill__mobile-label {
  position: relative;
  z-index: 10;
  height: 2.5rem;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .anido-navbar-pill__mobile-label {
    display: none;
  }
}

.anido-navbar-pill__mobile-label-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 6rem;
}

@media (min-width: 640px) {
  .anido-navbar-pill__mobile-label-inner {
    min-width: 8rem;
  }
}

.anido-navbar-pill__mobile-label-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0a0a0a;
  text-align: center;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

@media (min-width: 640px) {
  .anido-navbar-pill__mobile-label-text {
    font-size: 0.875rem;
  }
}

.anido-navbar-pill__nav {
  position: relative;
  z-index: 10;
  display: none;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 1.5rem;
  min-width: 0;
}

@media (min-width: 768px) {
  .anido-navbar-pill__nav {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .anido-navbar-pill__nav {
    gap: 2rem;
  }
}

.anido-navbar-pill__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0a0c10;
  white-space: nowrap;
  text-decoration: none;
  transition: all var(--anido-duration-fast, 150ms) ease;
}

.anido-navbar-pill__link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.anido-navbar-pill__action-btn {
  position: relative;
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--anido-radius-full, 9999px);
  border: 1px solid rgba(0, 0, 0, 0.8);
  background-color: #000000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  transition: all var(--anido-duration-fast, 150ms) ease;
}

.anido-navbar-pill__action-btn:hover {
  background-color: rgba(0, 0, 0, 0.9);
  border-color: #000000;
}

.anido-navbar-pill__menu-btn {
  position: relative;
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--anido-radius-full, 9999px);
  background-color: #000000;
  color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  transition: all var(--anido-duration-fast, 150ms) ease;
}

.anido-navbar-pill__menu-btn:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

.anido-navbar-pill__menu-bar {
  display: block;
  width: 1rem;
  height: 1.5px;
  border-radius: var(--anido-radius-full, 9999px);
  background-color: #ffffff;
}

/* Mobile Nav Shell (< 768px) */
.mobile-nav-shell {
  position: fixed;
  z-index: 50;
  top: 1.25rem;
  left: 1rem;
  right: 1rem;
}

.mobile-nav-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mobile-nav-logo {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 999px;
}

.mobile-nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-nav-label {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  color: #171717;
  font-size: 0.78rem;
  font-weight: 650;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  padding-inline: 0.25rem;
}

.mobile-nav-label-text {
  display: block;
  overflow: hidden;
  padding-inline: 0.125rem;
  text-overflow: ellipsis;
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.18s ease;
  will-change: transform, opacity;
}

.mobile-nav-label-text.is-leaving {
  transform: translateY(-0.55rem);
  opacity: 0;
}

.mobile-nav-label-text.is-entering {
  transform: translateY(0.55rem);
  opacity: 0;
}

.mobile-nav-action {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #050505;
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.mobile-nav-action:first-of-type {
  margin-left: auto;
}

.mobile-nav-action svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   2. BUTTONS & ACTIONS (.anido-btn)
   -------------------------------------------------------------------------- */
.anido-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border-radius: var(--anido-radius-full);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  user-select: none;
  transition: all var(--anido-duration-normal) var(--anido-ease-smooth);
}

.anido-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Sizes */
.anido-btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  min-height: 38px;
}

.anido-btn--md {
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  min-height: 48px;
}

.anido-btn--lg {
  padding: 1rem 2.5rem;
  font-size: 0.875rem;
  min-height: 52px;
}

/* Button Variants */
.anido-btn--primary {
  background-color: #ffffff;
  color: var(--anido-text-dark);
  box-shadow: 0 10px 15px -3px rgba(255, 255, 255, 0.1);
}
.anido-btn--primary:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.02);
}
.anido-btn--primary:active:not(:disabled) {
  transform: scale(0.98);
}

.anido-btn--secondary {
  border-color: var(--anido-border-glass);
  background-color: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  backdrop-filter: blur(var(--anido-glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--anido-glass-blur-sm));
}
.anido-btn--secondary:hover:not(:disabled) {
  background-color: #ffffff;
  color: var(--anido-text-dark);
  transform: scale(1.02);
}
.anido-btn--secondary:active:not(:disabled) {
  transform: scale(0.98);
}

.anido-btn--dark {
  background-color: var(--anido-color-bg);
  color: #ffffff;
  border-color: var(--anido-border-subtle);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.anido-btn--dark:hover:not(:disabled) {
  background-color: #262626;
  border-color: var(--anido-border-default);
  transform: scale(1.02);
}
.anido-btn--dark:active:not(:disabled) {
  transform: scale(0.98);
}

.anido-btn--glass {
  border-color: var(--anido-border-glass);
  background-color: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  backdrop-filter: blur(var(--anido-glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--anido-glass-blur-sm));
}
.anido-btn--glass:hover:not(:disabled) {
  background-color: #ffffff;
  color: var(--anido-text-dark);
  transform: scale(1.02);
}
.anido-btn--glass:active:not(:disabled) {
  transform: scale(0.98);
}

.anido-btn--outline {
  border-color: var(--anido-border-default);
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  backdrop-filter: blur(var(--anido-glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--anido-glass-blur-sm));
}
.anido-btn--outline:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.02);
}

.anido-btn--emerald {
  background-color: var(--anido-color-emerald);
  color: #ffffff;
  box-shadow: 0 10px 20px -3px var(--anido-color-emerald-glow);
}
.anido-btn--emerald:hover:not(:disabled) {
  background-color: #059669;
  transform: scale(1.02);
}
.anido-btn--emerald:active:not(:disabled) {
  transform: scale(0.98);
}

.anido-btn__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.anido-btn__text {
  line-height: 1;
}

/* --------------------------------------------------------------------------
   3. BADGES & LABELS (.anido-badge)
   -------------------------------------------------------------------------- */
.anido-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: var(--anido-radius-full);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-width: 1px;
  backdrop-filter: blur(var(--anido-glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--anido-glass-blur-sm));
  transition: all var(--anido-duration-fast) ease;
}

.anido-badge--sm {
  padding: 0.125rem 0.5rem;
  font-size: 0.625rem;
}
.anido-badge--md {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
}
.anido-badge--lg {
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
}

.anido-badge--emerald {
  background-color: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}
.anido-badge--coral {
  background-color: rgba(249, 44, 83, 0.1);
  border-color: rgba(249, 44, 83, 0.3);
  color: #fb7185;
}
.anido-badge--blue {
  background-color: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}
.anido-badge--purple {
  background-color: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
  color: #a78bfa;
}
.anido-badge--gold {
  background-color: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}
.anido-badge--gray {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}
.anido-badge--cyan {
  background-color: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.3);
  color: #22d3ee;
}

.anido-badge__dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: var(--anido-radius-full);
  background-color: currentColor;
}

/* --------------------------------------------------------------------------
   4. SECTION HEADERS (.anido-section-header)
   -------------------------------------------------------------------------- */
.anido-section-header {
  display: flex;
  flex-direction: column;
}

.anido-section-header--center {
  text-align: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.anido-section-header--left {
  text-align: left;
  align-items: flex-start;
}

.anido-section-header__tag {
  margin-bottom: 0.75rem;
}

.anido-section-header__title {
  font-family: Comfortaa, 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--anido-text-primary);
  line-height: 1.15;
}

.anido-section-header__desc {
  color: var(--anido-text-secondary);
  line-height: 1.625;
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   5. CARDS SYSTEM (.anido-card & Specialized Cards)
   -------------------------------------------------------------------------- */
.anido-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--anido-radius-lg);
  border: 1px solid var(--anido-border-subtle);
  background-color: var(--anido-glass-card-bg);
  backdrop-filter: blur(var(--anido-glass-blur-md));
  -webkit-backdrop-filter: blur(var(--anido-glass-blur-md));
  transition: all var(--anido-duration-slow) var(--anido-ease-smooth);
}

.anido-card:hover {
  border-color: var(--anido-border-highlight);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.anido-card--light {
  border-color: rgba(229, 231, 235, 0.8);
  background-color: #fbfbfd;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.anido-card--light:hover {
  border-color: #d1d5db;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

.anido-card--glass {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: var(--anido-border-subtle);
}

.anido-card--glow:hover {
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.08), 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Case Study Card */
.anido-casestudy-card {
  border-radius: var(--anido-radius-xl);
}
.anido-casestudy-card__img {
  transition: transform var(--anido-duration-slow) ease;
}
.anido-casestudy-card:hover .anido-casestudy-card__img {
  transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   6. MODAL & OVERLAYS (.anido-modal & .anido-quote-modal)
   -------------------------------------------------------------------------- */
.anido-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.anido-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(5, 6, 10, 0.8);
  backdrop-filter: blur(var(--anido-glass-blur-lg));
  -webkit-backdrop-filter: blur(var(--anido-glass-blur-lg));
}

.anido-modal__dialog {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 44rem;
  background-color: var(--anido-color-surface);
  border: 1px solid var(--anido-border-default);
  border-radius: var(--anido-radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.anido-modal__close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: var(--anido-radius-full);
  border: 1px solid var(--anido-border-subtle);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--anido-text-secondary);
  cursor: pointer;
  transition: all var(--anido-duration-fast) ease;
}
.anido-modal__close-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   7. MOBILE DRAWER (.anido-mobile-drawer)
   -------------------------------------------------------------------------- */
.anido-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  flex-direction: column;
  background-color: rgba(5, 6, 10, 0.96);
  backdrop-filter: blur(var(--anido-glass-blur-xl));
  -webkit-backdrop-filter: blur(var(--anido-glass-blur-xl));
  color: #ffffff;
}

.anido-mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--anido-border-subtle);
}

.anido-mobile-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.875rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--anido-duration-fast) ease;
}

.anido-mobile-drawer__link:hover {
  color: #ffffff;
  padding-left: 0.5rem;
}

/* ==========================================================================
   LORO FULLSCREEN MENU OVERLAY (Signature White Clean Fullscreen Nav)
   ========================================================================== */
.loro-fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  overflow-y: auto;
  animation: loroFadeIn 0.25s ease forwards;
}
@keyframes loroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.loro-fullscreen-menu__backdrop {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 2.5rem;
  max-width: 72rem;
  margin: 0 auto;
  position: relative;
}
.loro-fullscreen-menu__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #221f1d;
  transition: background 0.15s ease;
}
.loro-fullscreen-menu__close:hover {
  background: rgba(0, 0, 0, 0.1);
}
.loro-fullscreen-menu__container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 4rem;
}
.loro-fullscreen-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.loro-fullscreen-menu__link {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 0.5rem 0;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.loro-fullscreen-menu__link:hover {
  transform: translateX(8px);
}
.loro-menu-num {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(34, 31, 29, 0.35);
  font-variant-numeric: tabular-nums;
  width: 2rem;
}
.loro-menu-text {
  font-family: var(--anido-font-display, 'DM Sans', -apple-system, sans-serif);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  color: #221f1d;
  letter-spacing: -0.02em;
}
.loro-fullscreen-menu__link.is-active .loro-menu-text {
  color: #05060a;
  text-decoration: underline;
  text-underline-offset: 8px;
}
.loro-fullscreen-menu__footer {
  padding-top: 2.5rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(34, 31, 29, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .loro-fullscreen-menu__footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}
.loro-fullscreen-menu__contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.loro-menu-sublink {
  color: rgba(34, 31, 29, 0.75);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.loro-menu-sublink:hover {
  color: #05060a;
}
.loro-fullscreen-menu__note {
  font-size: 0.85rem;
  color: rgba(34, 31, 29, 0.45);
}

/* Responsive Navigation Visibility */
@media (max-width: 767px) {
  .mobile-nav-shell {
    display: block !important;
  }
  .desktop-nav-shell,
  .hidden.md\:block,
  .md\:block.hidden {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .mobile-nav-shell {
    display: none !important;
  }
  .desktop-nav-shell,
  .hidden.md\:block,
  .md\:block {
    display: block !important;
  }
  .hidden.md\:flex,
  .md\:flex {
    display: flex !important;
  }
}

/* --------------------------------------------------------------------------
   8. FOOTER SYSTEM (.anido-footer)
   -------------------------------------------------------------------------- */
.anido-footer {
  position: relative;
  background-color: var(--anido-color-bg);
  border-top: 1px solid var(--anido-border-subtle);
  color: #ffffff;
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.anido-footer__grid {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.anido-footer__logo-text,
.anido-footer-brand-text,
.footer-text-logo {
  font-family: 'Funnel Display', var(--font-funnel, system-ui, sans-serif) !important;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--anido-duration-fast) ease;
}

.anido-footer__logo-text:hover,
.anido-footer-brand-text:hover,
.footer-text-logo:hover {
  opacity: 0.85;
}

.anido-footer__heading {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.anido-footer__link {
  font-size: 0.875rem;
  color: var(--anido-text-muted);
  text-decoration: none;
  transition: color var(--anido-duration-fast) ease;
}
.anido-footer__link:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   9. BROWSER FRAME (.anido-browser-frame)
   -------------------------------------------------------------------------- */
.anido-browser-frame {
  position: relative;
  border-radius: var(--anido-radius-xl);
  border: 1px solid var(--anido-border-subtle);
  background-color: rgba(10, 12, 18, 0.9);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.anido-browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--anido-border-subtle);
  background-color: rgba(255, 255, 255, 0.03);
}

.anido-browser-frame__dots {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.anido-browser-frame__dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: var(--anido-radius-full);
}
.anido-browser-frame__dot--red { background-color: #ef4444; }
.anido-browser-frame__dot--yellow { background-color: #f59e0b; }
.anido-browser-frame__dot--green { background-color: #10b981; }

.anido-browser-frame__url {
  flex: 1;
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-family: ui-monospace, monospace;
  font-size: 0.6875rem;
  color: var(--anido-text-muted);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: var(--anido-radius-full);
  border: 1px solid var(--anido-border-subtle);
}

.anido-browser-frame__screen {
  position: relative;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   10. FORM INPUTS (.anido-form-group, .anido-input)
   -------------------------------------------------------------------------- */
.anido-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.anido-form-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--anido-text-secondary);
}

.anido-form-input,
.anido-form-textarea,
.anido-form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--anido-radius-md);
  border: 1px solid var(--anido-border-subtle);
  background-color: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 0.875rem;
  outline: none;
  transition: all var(--anido-duration-fast) ease;
}

.anido-form-input:focus,
.anido-form-textarea:focus,
.anido-form-select:focus {
  border-color: var(--anido-color-primary);
  background-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 2px rgba(249, 44, 83, 0.2);
}

.anido-form-input::placeholder,
.anido-form-textarea::placeholder {
  color: var(--anido-text-muted);
}

/* ==========================================================================
   ADVANCED MASTER RESPONSIVE RULES (All Devices: 320px to 4K)
   ========================================================================== */

/* Mobile Pill Enhancements (< 480px) */
@media (max-width: 480px) {
  .mobile-nav-shell {
    top: 0.625rem !important;
    left: 0.5rem !important;
    right: 0.5rem !important;
  }
  .mobile-nav-pill {
    min-height: 2.875rem !important;
    padding: 0.25rem 0.35rem !important;
    gap: 0.25rem !important;
  }
  .mobile-nav-logo {
    width: 2.125rem !important;
    height: 2.125rem !important;
  }
  .mobile-nav-action {
    width: 2.125rem !important;
    height: 2.125rem !important;
  }
  .mobile-nav-action svg {
    width: 1rem !important;
    height: 1rem !important;
  }
  .mobile-nav-label {
    font-size: 0.72rem !important;
  }
}

/* Tiny Mobile Screens (<= 360px) */
@media (max-width: 360px) {
  .mobile-nav-shell {
    left: 0.35rem !important;
    right: 0.35rem !important;
  }
  .mobile-nav-pill {
    gap: 0.2rem !important;
    padding: 0.2rem 0.3rem !important;
  }
  .mobile-nav-logo {
    width: 2rem !important;
    height: 2rem !important;
  }
  .mobile-nav-action {
    width: 2rem !important;
    height: 2rem !important;
  }
  .mobile-nav-action svg {
    width: 0.95rem !important;
    height: 0.95rem !important;
  }
  .mobile-nav-label {
    font-size: 0.68rem !important;
    padding-inline: 0.15rem !important;
  }
}

/* Tablet & Intermediate Desktop (768px - 1100px) */
@media (min-width: 768px) and (max-width: 1100px) {
  .anido-navbar-pill-wrapper,
  .nevbar-wrapper,
  .navbar-wrapper {
    max-width: calc(100vw - 2rem) !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  .anido-navbar-pill {
    gap: 0.5rem !important;
    padding: 0.25rem 0.5rem !important;
  }
  .anido-navbar-pill__nav {
    gap: 0.625rem !important;
  }
  .anido-navbar-pill__link {
    font-size: 0.8rem !important;
    padding: 0.25rem 0.25rem !important;
  }
  .anido-navbar-pill__action-btn,
  .anido-navbar-pill__menu-btn {
    width: 2.25rem !important;
    height: 2.25rem !important;
  }
}

/* Fullscreen Menu Mobile Refinements */
.loro-fullscreen-menu {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  background: #ffffff !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

.loro-fullscreen-menu__backdrop {
  min-height: 100vh !important;
  min-height: 100dvh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 1.25rem 1.25rem 2rem !important;
  max-width: 72rem !important;
  margin: 0 auto !important;
  position: relative !important;
}

.loro-fullscreen-menu__close {
  position: fixed !important;
  top: 1rem !important;
  right: 1rem !important;
  z-index: 100000 !important;
  width: 2.75rem !important;
  height: 2.75rem !important;
  border-radius: 9999px !important;
  background: #f4f4f5 !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: #18181b !important;
}

@media (max-width: 640px) {
  .loro-menu-text {
    font-size: clamp(1.5rem, 6vw, 2.25rem) !important;
  }
  .loro-fullscreen-menu__container {
    padding-top: 3.5rem !important;
  }
  .loro-fullscreen-menu__footer {
    margin-top: 2rem !important;
    padding-top: 1.5rem !important;
    gap: 0.75rem !important;
  }
}

/* Container safety across all pages */
.page-wrap,
.page-container,
main {
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

/* Responsive tables & media wrappers */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
