/* Nimbus DS bridge: keeps live content, remaps utility classes to DS look */

.nimbus-ds-live {
  color: var(--nimbus-text) !important;
  background:
    radial-gradient(1100px 700px at 12% -15%, rgba(181, 136, 106, 0.14), transparent 70%),
    radial-gradient(900px 600px at 88% -20%, rgba(181, 136, 106, 0.09), transparent 72%),
    var(--nimbus-base) !important;
}

.nimbus-ds-live section[style*="background: linear-gradient"],
.nimbus-ds-live footer[style*="background:"] {
  background: linear-gradient(180deg, #090909 0%, #0b0a09 55%, #0c0b0a 100%) !important;
}

.nimbus-ds-live .gradient-mesh-1 {
  background:
    radial-gradient(ellipse at 18% 26%, rgba(181, 136, 106, 0.1) 0%, transparent 56%),
    radial-gradient(ellipse at 82% 74%, rgba(181, 136, 106, 0.08) 0%, transparent 58%) !important;
}

.nimbus-ds-live .gradient-mesh-2 {
  background:
    radial-gradient(ellipse at 72% 20%, rgba(181, 136, 106, 0.16) 0%, transparent 54%),
    radial-gradient(ellipse at 28% 82%, rgba(181, 136, 106, 0.1) 0%, transparent 58%) !important;
  opacity: 0.5;
}

.nimbus-ds-live #header {
  border-bottom: 1px solid transparent;
}

.nimbus-ds-live #header.backdrop-blur-xl,
.nimbus-ds-live #header.shadow-sm {
  background: rgba(10, 10, 10, 0.86) !important;
  border-bottom-color: rgba(181, 136, 106, 0.16) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45) !important;
}

.nimbus-ds-live #mobile-menu {
  background: rgba(9, 9, 9, 0.98) !important;
  border-top-color: rgba(181, 136, 106, 0.2) !important;
}

.nimbus-ds-live header nav a,
.nimbus-ds-live #mobile-menu a {
  color: var(--nimbus-text-secondary) !important;
}

.nimbus-ds-live header nav a:hover,
.nimbus-ds-live #mobile-menu a:hover,
.nimbus-ds-live a:hover {
  color: var(--nimbus-text) !important;
}

.nimbus-ds-live .text-black,
.nimbus-ds-live .text-gray-900,
.nimbus-ds-live .text-gray-800 {
  color: var(--nimbus-text) !important;
}

.nimbus-ds-live .text-gray-700,
.nimbus-ds-live .text-gray-600 {
  color: var(--nimbus-text-secondary) !important;
}

.nimbus-ds-live .text-gray-500,
.nimbus-ds-live .text-gray-400 {
  color: var(--nimbus-text-tertiary) !important;
}

.nimbus-ds-live .text-amber-600,
.nimbus-ds-live .text-amber-700,
.nimbus-ds-live .accent,
.nimbus-ds-live [style*="#B5886A"] {
  color: var(--nimbus-accent) !important;
}

.nimbus-ds-live .border-gray-200,
.nimbus-ds-live .border-gray-300,
.nimbus-ds-live .border-black\/10 {
  border-color: rgba(181, 136, 106, 0.2) !important;
}

.nimbus-ds-live .bg-white,
.nimbus-ds-live .bg-gray-100,
.nimbus-ds-live .bg-black\/5,
.nimbus-ds-live .glass-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)) !important;
  border: 1px solid rgba(181, 136, 106, 0.16) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35) !important;
}

.nimbus-ds-live .bg-black {
  background-color: #0f0f0f !important;
}

.nimbus-ds-live a.bg-black,
.nimbus-ds-live button.bg-black,
.nimbus-ds-live #submit-btn,
.nimbus-ds-live #email-submit-btn {
  background: linear-gradient(135deg, var(--nimbus-accent), #d3a27f) !important;
  color: #15120f !important;
  border: 1px solid rgba(212, 165, 116, 0.62) !important;
  box-shadow: 0 10px 24px rgba(181, 136, 106, 0.25) !important;
}

.nimbus-ds-live a.bg-black:hover,
.nimbus-ds-live button.bg-black:hover,
.nimbus-ds-live #submit-btn:hover,
.nimbus-ds-live #email-submit-btn:hover {
  background: linear-gradient(135deg, #c99874, #deb58f) !important;
  transform: translateY(-1px);
}

.nimbus-ds-live a.border,
.nimbus-ds-live a.border-gray-300 {
  border-color: rgba(181, 136, 106, 0.45) !important;
  color: var(--nimbus-text) !important;
  background: rgba(14, 14, 14, 0.58) !important;
}

.nimbus-ds-live input,
.nimbus-ds-live select,
.nimbus-ds-live textarea {
  background: rgba(8, 8, 8, 0.84) !important;
  color: var(--nimbus-text) !important;
  border-color: rgba(181, 136, 106, 0.3) !important;
}

.nimbus-ds-live input::placeholder,
.nimbus-ds-live textarea::placeholder {
  color: var(--nimbus-text-tertiary) !important;
}

.nimbus-ds-live input:focus,
.nimbus-ds-live select:focus,
.nimbus-ds-live textarea:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(181, 136, 106, 0.28) !important;
}

.nimbus-ds-live label,
.nimbus-ds-live legend {
  color: var(--nimbus-text-secondary) !important;
}

.nimbus-ds-live header img[alt="Nimbus"],
.nimbus-ds-live footer img[alt="Nimbus Suspensions"] {
  filter: brightness(0) invert(1);
}

.nimbus-ds-live .opacity-60 {
  opacity: 0.8 !important;
}

.nimbus-ds-live .shadow-2xl,
.nimbus-ds-live .drop-shadow-2xl,
.nimbus-ds-live .shadow-xl {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.48) !important;
}

.nimbus-ds-live .focus\:ring-black:focus {
  --tw-ring-color: rgba(181, 136, 106, 0.4) !important;
}

/* Hero-specific refinements */
.nimbus-ds-live .delta-hero {
  isolation: isolate;
}

.nimbus-ds-live .delta-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 320px at 18% 20%, rgba(181, 136, 106, 0.2), transparent 72%),
    radial-gradient(680px 420px at 82% 64%, rgba(181, 136, 106, 0.14), transparent 76%);
  z-index: 0;
}

.nimbus-ds-live .delta-hero-copy {
  max-width: 760px;
}

.nimbus-ds-live .delta-hero-pill {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)) !important;
  border-color: rgba(181, 136, 106, 0.24) !important;
}

.nimbus-ds-live .delta-hero-copy h1 {
  letter-spacing: -0.045em !important;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
}

.nimbus-ds-live .delta-hero-copy p {
  text-wrap: balance;
}

.nimbus-ds-live .delta-hero-cta-main,
.nimbus-ds-live .delta-hero-cta-secondary {
  min-height: 52px;
  border-radius: 8px;
  letter-spacing: 0.02em;
}

.nimbus-ds-live .delta-hero-cta-main {
  box-shadow: 0 14px 30px rgba(181, 136, 106, 0.28) !important;
}

.nimbus-ds-live .delta-hero-cta-secondary:hover {
  border-color: rgba(181, 136, 106, 0.58) !important;
  background: rgba(18, 14, 11, 0.82) !important;
}

.nimbus-ds-live .delta-hero-visual {
  width: min(100%, 640px);
}

.nimbus-ds-live .delta-hero-frame {
  background: linear-gradient(180deg, rgba(19, 19, 19, 0.94), rgba(11, 11, 11, 0.82));
  border: 1px solid rgba(181, 136, 106, 0.24);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.54), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nimbus-ds-live .delta-hero-glow {
  filter: blur(48px);
  background: radial-gradient(circle at 70% 50%, rgba(181, 136, 106, 0.26), transparent 62%);
}

/* Shared section rhythm */
.nimbus-ds-live h1.font-black.tracking-tight,
.nimbus-ds-live h2.font-black.tracking-tight {
  line-height: 1.14 !important;
}

.nimbus-ds-live .delta-section-intro h2 {
  letter-spacing: -0.035em !important;
  text-wrap: balance;
}

.nimbus-ds-live .delta-section-intro p {
  text-wrap: balance;
}

/* Stats */
.nimbus-ds-live .delta-stats {
  position: relative;
  isolation: isolate;
}

.nimbus-ds-live .delta-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(900px 280px at 50% 20%, rgba(181, 136, 106, 0.11), transparent 74%);
}

.nimbus-ds-live .delta-stats-grid {
  position: relative;
  z-index: 1;
}

.nimbus-ds-live .delta-stat-item {
  padding: 1.5rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(181, 136, 106, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.012));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.nimbus-ds-live .delta-stat-item > :first-child {
  text-shadow: 0 12px 24px rgba(0, 0, 0, 0.42);
}

/* Video */
.nimbus-ds-live .delta-video-facade {
  border-radius: 18px !important;
  border: 1px solid rgba(181, 136, 106, 0.28);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.54) !important;
}

.nimbus-ds-live .delta-video-play {
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.2), rgba(8, 8, 8, 0.48));
}

.nimbus-ds-live .delta-video-play svg {
  padding: 0.9rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(181, 136, 106, 0.58);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.48);
}

/* Story */
.nimbus-ds-live .delta-story-copy {
  max-width: 690px;
}

.nimbus-ds-live .delta-story-pronunciation {
  border-color: rgba(181, 136, 106, 0.28) !important;
}

.nimbus-ds-live .delta-story-media-frame {
  border-radius: 16px;
  padding: 0.75rem;
  background: linear-gradient(180deg, rgba(16, 16, 16, 0.95), rgba(9, 9, 9, 0.84));
  border: 1px solid rgba(181, 136, 106, 0.2);
}

.nimbus-ds-live .delta-story-media-frame img {
  border-radius: 12px !important;
}

.nimbus-ds-live .delta-story-media-glow {
  background: radial-gradient(circle at 50% 50%, rgba(181, 136, 106, 0.24), transparent 66%) !important;
}

/* Applications */
.nimbus-ds-live .delta-applications {
  position: relative;
  isolation: isolate;
}

.nimbus-ds-live .delta-applications::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.9), rgba(9, 9, 9, 0.72) 24%, rgba(8, 8, 8, 0.84));
  z-index: 0;
}

.nimbus-ds-live .delta-applications > .relative {
  z-index: 1;
}

.nimbus-ds-live .delta-app-grid {
  align-items: stretch;
}

.nimbus-ds-live .delta-app-card {
  height: 100%;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.95), rgba(10, 10, 10, 0.88)) !important;
  border-color: rgba(181, 136, 106, 0.24) !important;
  transition:
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 360ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nimbus-ds-live .delta-app-card:hover {
  transform: translateY(-3px);
  border-color: rgba(181, 136, 106, 0.45) !important;
  box-shadow: 0 30px 62px rgba(0, 0, 0, 0.42) !important;
}

.nimbus-ds-live .delta-app-icon {
  border: 1px solid rgba(181, 136, 106, 0.26);
  background: rgba(10, 10, 10, 0.58) !important;
}

.nimbus-ds-live .delta-applications .delta-section-intro p,
.nimbus-ds-live .delta-applications .delta-app-card p {
  color: #c8c2bc !important;
}

.nimbus-ds-live .delta-applications .delta-app-card h3 {
  color: #f2efeb !important;
}

.nimbus-ds-live .delta-app-callout > div {
  border-color: rgba(181, 136, 106, 0.5) !important;
  background: rgba(10, 10, 10, 0.76) !important;
}

/* Technology */
.nimbus-ds-live .delta-tech-media-frame {
  border-radius: 16px;
  padding: 0.75rem;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.95), rgba(11, 11, 11, 0.84));
  border: 1px solid rgba(181, 136, 106, 0.22);
}

.nimbus-ds-live .delta-tech-media-frame img {
  border-radius: 12px !important;
}

.nimbus-ds-live .delta-tech-media-glow {
  background: radial-gradient(circle at 38% 50%, rgba(181, 136, 106, 0.2), transparent 64%) !important;
}

.nimbus-ds-live .delta-tech-item {
  padding-left: 1rem;
  border-left: 1px solid rgba(181, 136, 106, 0.26);
}

.nimbus-ds-live .delta-tech-item h3 {
  letter-spacing: -0.02em;
}

/* Specs */
.nimbus-ds-live .delta-specs-panel {
  border-radius: 16px !important;
  border: 1px solid rgba(181, 136, 106, 0.24) !important;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.44) !important;
}

.nimbus-ds-live .delta-specs-col {
  display: grid;
  gap: 1.35rem;
}

.nimbus-ds-live .delta-spec-item {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(181, 136, 106, 0.14);
}

.nimbus-ds-live .delta-spec-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* Gallery */
.nimbus-ds-live .delta-gallery-item {
  border-radius: 14px;
  border: 1px solid rgba(181, 136, 106, 0.18);
  padding: 0.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.nimbus-ds-live .delta-gallery-item img {
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nimbus-ds-live .delta-gallery-item:hover img {
  transform: scale(1.015);
}

/* FAQ */
.nimbus-ds-live .delta-faq {
  position: relative;
  isolation: isolate;
}

.nimbus-ds-live .delta-faq::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(860px 340px at 50% 18%, rgba(181, 136, 106, 0.08), transparent 74%);
}

.nimbus-ds-live .delta-faq-list {
  position: relative;
  z-index: 1;
}

.nimbus-ds-live .delta-faq-item {
  border-color: rgba(181, 136, 106, 0.28) !important;
  background: linear-gradient(180deg, rgba(19, 19, 19, 0.96), rgba(12, 12, 12, 0.9)) !important;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.4) !important;
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 320ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nimbus-ds-live .delta-faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(181, 136, 106, 0.46) !important;
  box-shadow: 0 30px 62px rgba(0, 0, 0, 0.46) !important;
}

.nimbus-ds-live .delta-faq-item h3 {
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0;
}

.nimbus-ds-live .delta-faq-badge {
  flex-shrink: 0;
  color: var(--nimbus-accent);
  border: 1px solid rgba(181, 136, 106, 0.42);
  background: rgba(181, 136, 106, 0.1);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.22);
}

.nimbus-ds-live .delta-faq-answer {
  color: #d6d1cc !important;
  line-height: 1.75;
  font-size: 1rem;
}

.nimbus-ds-live .delta-faq-answer a {
  color: #e9d9c8 !important;
  text-decoration-color: rgba(181, 136, 106, 0.72);
  text-underline-offset: 3px;
}

.nimbus-ds-live .delta-faq-answer a:hover {
  color: #f0e4d7 !important;
}

/* Product strip */
.nimbus-ds-live .delta-product-frame {
  border: 1px solid rgba(181, 136, 106, 0.24);
  border-radius: 18px !important;
  box-shadow: 0 34px 78px rgba(0, 0, 0, 0.5) !important;
}

/* Notify */
.nimbus-ds-live .delta-notify-form {
  max-width: 700px !important;
}

.nimbus-ds-live .delta-notify-input,
.nimbus-ds-live .delta-notify-button {
  min-height: 54px;
  border-radius: 8px !important;
}

/* Reserve */
.nimbus-ds-live .delta-reserve-card {
  border-radius: 14px !important;
  border: 1px solid rgba(181, 136, 106, 0.24) !important;
}

.nimbus-ds-live .delta-reserve-card-featured {
  border-color: rgba(181, 136, 106, 0.5) !important;
  box-shadow: 0 36px 84px rgba(0, 0, 0, 0.5) !important;
}

.nimbus-ds-live .delta-reserve-badge {
  color: #19140f !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.nimbus-ds-live .delta-reserve-list li {
  line-height: 1.45;
}

.nimbus-ds-live .delta-reserve-button {
  min-height: 52px;
  border-radius: 8px !important;
  letter-spacing: 0.02em;
}

/* Partner CTA */
.nimbus-ds-live .delta-partner-card {
  border-radius: 12px !important;
  border-color: rgba(181, 136, 106, 0.3) !important;
}

.nimbus-ds-live .delta-partner-card a {
  letter-spacing: 0.01em;
}

/* Final CTA */
.nimbus-ds-live .delta-final-wrap {
  border-radius: 20px;
  border: 1px solid rgba(181, 136, 106, 0.26);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.01));
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: 0 34px 72px rgba(0, 0, 0, 0.45);
}

.nimbus-ds-live .delta-final-button {
  min-height: 56px;
  border-radius: 9px !important;
}

/* Footer */
.nimbus-ds-live .delta-footer {
  border-top-color: rgba(181, 136, 106, 0.22) !important;
}

.nimbus-ds-live .delta-footer-nav {
  letter-spacing: 0.02em;
}

@media (max-width: 1023px) {
  .nimbus-ds-live .delta-hero-copy {
    max-width: 100%;
  }

  .nimbus-ds-live .delta-hero-visual {
    width: 100%;
  }

  .nimbus-ds-live .delta-stats-grid {
    gap: 1rem !important;
  }

  .nimbus-ds-live .delta-stat-item {
    padding: 1rem 0.75rem;
  }

  .nimbus-ds-live .delta-app-grid {
    gap: 1rem !important;
  }

  .nimbus-ds-live .delta-tech-item {
    padding-left: 0.8rem;
  }

  .nimbus-ds-live .delta-reserve-grid {
    gap: 1.25rem !important;
  }

  .nimbus-ds-live .delta-faq-head {
    gap: 0.85rem !important;
    margin-bottom: 0.85rem !important;
  }

  .nimbus-ds-live .delta-faq-badge {
    width: 2rem !important;
    height: 2rem !important;
    font-size: 0.67rem !important;
  }

  .nimbus-ds-live .delta-faq-item h3 {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 639px) {
  .nimbus-ds-live::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: env(safe-area-inset-top, 0px);
    background: rgba(8, 8, 8, 0.96);
    z-index: 60;
    pointer-events: none;
  }

  .nimbus-ds-live #header {
    background: rgba(8, 8, 8, 0.94) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .nimbus-ds-live .delta-hero > .relative.max-w-7xl {
    padding-top: calc(8.75rem + env(safe-area-inset-top, 0px)) !important;
  }

  .nimbus-ds-live .delta-final-wrap {
    padding: 1.6rem 1.2rem;
  }

  .nimbus-ds-live .delta-video-play svg {
    width: 3.5rem !important;
    height: 3.5rem !important;
    padding: 0.75rem;
  }
}
