/* ============================================================================
   DINDIN AI — PUBLIC SALES PAGE STYLES
   ============================================================================ */
body.dd-sales-active #root {
  display: none !important;
}

/* When sales page is active, ensure scroll starts at top and is clean */
body.dd-sales-active {
  overflow-y: auto !important;
  overflow-x: clip !important;
  /* Remove any stray padding/margin from the app patches */
  margin: 0 !important;
}

#dd-sales-root {
  position: relative;
  min-height: 100dvh;
  margin: 0;
  /* Safe-area padding for PWA status bar */
  padding: env(safe-area-inset-top, 0px) 0 0 0;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(128, 80, 245, 0.16), transparent 65%),
    radial-gradient(700px 440px at 14% 28%, rgba(82, 140, 255, 0.09), transparent 60%),
    #09090D;
  color: #F7F7FB;
  z-index: 40;
  overflow-x: clip;
}

.dd-sales-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.dd-sales-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 9, 13, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(247, 247, 251, 0.06);
}

.dd-sales-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}

.dd-sales-links {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 900px) {
  .dd-sales-links {
    display: flex;
  }
}

.dd-sales-links a {
  color: #A5A8B5;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.dd-sales-links a:hover {
  color: #F7F7FB;
}

.dd-lang-pills {
  display: inline-flex;
  background: #12131A;
  border: 1px solid rgba(247, 247, 251, 0.08);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}

.dd-lang-pill {
  background: transparent;
  border: none;
  color: #A5A8B5;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 7px;
  cursor: pointer;
}

.dd-lang-pill.is-active {
  background: #8050F5;
  color: #F7F7FB;
}

.dd-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, #8050F5 0%, #6838E8 100%);
  color: #F7F7FB;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(164, 123, 255, 0.35);
  box-shadow: 0 12px 32px -8px rgba(128, 80, 245, 0.55);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dd-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -8px rgba(128, 80, 245, 0.7);
}

.dd-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 14px;
  background: rgba(25, 27, 36, 0.85);
  color: #F7F7FB;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(247, 247, 251, 0.12);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.dd-btn-secondary:hover {
  background: #222530;
  border-color: rgba(164, 123, 255, 0.35);
}

.dd-sales-section {
  padding: 72px 0;
}

@media (min-width: 768px) {
  .dd-sales-section {
    padding: 96px 0;
  }
}

.dd-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 32px;
}

@media (min-width: 960px) {
  .dd-hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    padding: 72px 0 48px;
  }
}

.dd-hero-title {
  font-size: clamp(2.1rem, 4.8vw, 3.65rem);
  line-height: 1.08;
  font-weight: 800;
  color: #F7F7FB;
  margin: 16px 0 18px;
}

.dd-hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.6;
  color: #A5A8B5;
  max-width: 560px;
  margin-bottom: 28px;
}

.dd-mockup-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.dd-mockup-desktop {
  width: 100%;
  max-width: 920px;
  border-radius: 22px;
  border: 1px solid rgba(164, 123, 255, 0.22);
  box-shadow: 0 32px 80px -20px rgba(0, 0, 0, 0.78), 0 0 80px -20px rgba(128, 80, 245, 0.25);
  overflow: hidden;
  background: #12131A;
}

.dd-mockup-mobile {
  display: none;
}

@media (min-width: 768px) {
  .dd-mockup-mobile {
    display: block;
    position: absolute;
    right: 2%;
    bottom: -24px;
    width: 210px;
    border-radius: 28px;
    border: 4px solid #222530;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.75);
    overflow: hidden;
  }
}

.dd-card-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .dd-card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

.dd-feature-card {
  background: #12131A;
  border: 1px solid rgba(247, 247, 251, 0.07);
  border-radius: 20px;
  padding: 26px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.dd-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(164, 123, 255, 0.28);
}

.dd-audio-stage {
  background: linear-gradient(160deg, #191B24 0%, #12131A 100%);
  border: 1px solid rgba(164, 123, 255, 0.2);
  border-radius: 28px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .dd-audio-stage {
    grid-template-columns: 1fr 1fr;
    padding: 40px;
  }
}

.dd-demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.dd-demo-tab {
  padding: 9px 16px;
  border-radius: 9999px;
  background: #12131A;
  border: 1px solid rgba(247, 247, 251, 0.08);
  color: #A5A8B5;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dd-demo-tab.is-active {
  background: #8050F5;
  border-color: #A47BFF;
  color: #F7F7FB;
}

.dd-plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 860px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .dd-plans-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.dd-plan-card {
  background: #12131A;
  border: 1px solid rgba(247, 247, 251, 0.08);
  border-radius: 24px;
  padding: 30px;
  position: relative;
}

.dd-plan-card.is-featured {
  background: linear-gradient(160deg, #1E1933 0%, #12131A 100%);
  border: 1px solid rgba(164, 123, 255, 0.42);
  box-shadow: 0 24px 60px -20px rgba(128, 80, 245, 0.35);
}

.dd-faq-item {
  background: #12131A;
  border: 1px solid rgba(247, 247, 251, 0.07);
  border-radius: 16px;
  overflow: hidden;
}

.dd-faq-btn {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: transparent;
  border: none;
  color: #F7F7FB;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.dd-faq-body {
  padding: 0 20px 18px;
  color: #A5A8B5;
  font-size: 14px;
  line-height: 1.6;
  display: none;
}

.dd-faq-item.is-open .dd-faq-body {
  display: block;
}
