/* ===== MIACIA STUDIO — Site Styles ===== */
/* Color palette: zinc-900 dark, amber-700 accent, cream #faf9f6 bg */

[x-cloak] { display: none !important; }

/* Accessibility sr-only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===== Form Styles ===== */
.form-input {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #e4e4e7;
  background: #fff;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: #18181b;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  outline: 2px solid #f59e0b;
  outline-offset: 0;
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* ===== Prose Section Typography ===== */
.prose-section h2 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #18181b;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #27272a;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose-section p,
.prose-section li {
  line-height: 1.7;
  color: #52525b;
}

.prose-section ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

/* ===== Metric Cards ===== */
.metric-card {
  border: 1px solid #e4e4e7;
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.08);
}

/* ===== Solution Cards ===== */
.solution-card {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.solution-card:hover {
  border-color: #d4d4d8;
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* ===== Icon Containers ===== */
.icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  flex-shrink: 0;
}

.icon-container svg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-container-lg {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
}

.icon-container-lg svg {
  width: 2rem;
  height: 2rem;
}

/* ===== Pillar Cards ===== */
.pillar-card {
  border: 1px solid #e4e4e7;
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pillar-card:hover {
  border-color: #d4d4d8;
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

/* ===== Process Timeline ===== */
.process-step {
  position: relative;
  border: 1px solid #e4e4e7;
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.process-step:hover {
  border-color: #fbbf24;
  box-shadow: 0 4px 16px -4px rgba(251, 191, 36, 0.2);
}

.process-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #18181b;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* ===== FAQ Accordion ===== */
.faq-item {
  border: 1px solid #e4e4e7;
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: #d4d4d8;
}

.faq-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  color: #18181b;
  font-size: 0.9375rem;
}

.faq-trigger:hover {
  background: #fafafa;
}

.faq-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-content {
  padding: 0 1.25rem 1.25rem;
  color: #52525b;
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ===== Branded Illustration Container ===== */
.illustration-container {
  background: linear-gradient(135deg, #faf9f6 0%, #f5f3ef 50%, #fef3c7 100%);
  border: 1px solid #e4e4e7;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  min-height: 320px;
}

.illustration-container svg {
  max-width: 100%;
  height: auto;
}

/* ===== Differentiator Table ===== */
.diff-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #e4e4e7;
  border-radius: 0.75rem;
  overflow: hidden;
}

.diff-cell {
  padding: 1rem 1.25rem;
  background: #fff;
  font-size: 0.875rem;
  line-height: 1.5;
}

.diff-cell-us {
  color: #18181b;
  font-weight: 500;
}

.diff-cell-them {
  color: #71717a;
}

/* ===== Roadmap Timeline ===== */
.roadmap-card {
  position: relative;
  border: 1px solid #e4e4e7;
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

/* ===== Client Logo Ticker Marquee ===== */
.logo-ticker-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

.logo-ticker-track {
  display: inline-flex;
  gap: 4rem;
  animation: logo-marquee 30s linear infinite;
  align-items: center;
}

.logo-ticker-track:hover {
  animation-play-state: paused;
}

.logo-ticker-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-ticker-item img {
  height: 2.5rem;
  width: auto;
  max-width: 180px;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
  object-fit: contain;
}

.logo-ticker-item img:hover {
  opacity: 1;
  transform: scale(1.05);
}

@keyframes logo-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


.roadmap-card:hover {
  border-color: #fbbf24;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge-live {
  background: #ecfdf5;
  color: #047857;
}

.status-badge-roadmap {
  background: #fef3c7;
  color: #92400e;
}

/* ===== CTA Section Enhanced ===== */
.cta-section {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: #09090b; /* zinc-950 background */
  padding: 3rem 2rem;
  text-align: center;
}

.cta-section h2 {
  color: #ffffff !important;
}

.cta-section p {
  color: #d4d4d8 !important; /* light zinc-300 */
}

.cta-section p.text-zinc-500 {
  color: #71717a !important; /* muted zinc-500 */
}


.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== Results Banner ===== */
.results-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #18181b, #27272a);
  border-radius: 1rem;
  color: #fff;
  text-align: center;
}

.results-banner .metric-value {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fbbf24;
}

.results-banner .metric-label {
  font-size: 0.75rem;
  color: #a1a1aa;
  margin-top: 0.25rem;
}

/* ===== Smooth Scroll ===== */
html {
  scroll-behavior: smooth;
}

/* ===== Focus Styles ===== */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== Selection Color ===== */
::selection {
  background: #fde68a;
  color: #18181b;
}

/* ===== Infinite Scroll Logo Ticker ===== */
.logo-ticker-container {
  overflow: hidden;
  padding: 3rem 0;
  background: transparent;
  border-top: 1px solid #e4e4e7;
  border-bottom: 1px solid #e4e4e7;
  position: relative;
  width: 100%;
}

.logo-ticker-container::before,
.logo-ticker-container::after {
  content: "";
  height: 100%;
  position: absolute;
  top: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.logo-ticker-container::before {
  left: 0;
  background: linear-gradient(to right, #faf9f6 0%, transparent 100%);
}

.logo-ticker-container::after {
  right: 0;
  background: linear-gradient(to left, #faf9f6 0%, transparent 100%);
}

.logo-ticker-track {
  display: flex;
  width: max-content;
  animation: logoScroll 25s linear infinite;
}

.logo-ticker-track:hover {
  animation-play-state: paused;
}

.logo-ticker-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 55px;
  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.logo-ticker-item:hover {
  opacity: 1;
  transform: scale(1.06);
}

.logo-ticker-item img {
  max-height: 40px;
  max-width: 160px;
  object-fit: contain;
}

.logo-ticker-label {
  font-size: 0.65rem;
  color: #71717a;
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

@keyframes logoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
