/**
 * Magic UI — iç sayfa katmanı (glass kartlar, hero, nav uyumu)
 */

.fast-magic-page {
  background: transparent;
  color: var(--color-text-primary, #f8fafc);
}

.fast-magic-page .inner-hero {
  position: relative;
  padding-top: calc(var(--nav-height, 72px) + 2.5rem);
}

.fast-magic-page .inner-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mu-accent-soft, #93c5fd);
}

.fast-magic-page .inner-hero h1 {
  max-width: 18ch;
}

.fast-magic-page .inner-hero h1 .mu-aurora-text {
  display: inline;
}

.fast-magic-page .content-card,
.fast-magic-page .faq-item,
.fast-magic-page .ref-card,
.fast-magic-page .sector-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.fast-magic-page .site-header {
  background: rgba(5, 6, 10, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.fast-magic-page .site-header.is-scrolled {
  background: rgba(5, 6, 10, 0.88);
}

.fast-magic-page .site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 6, 10, 0.72);
  backdrop-filter: blur(12px);
}

.fast-magic-page .cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border: 1px solid rgba(96, 165, 250, 0.28);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(15, 23, 42, 0.72));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.fast-magic-page .cta-band p {
  color: #e2e8f0;
  max-width: 42ch;
  font-size: 1.05rem;
}

.fast-magic-page .cta-band .trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.fast-magic-page .nav-dropdown-menu a:hover,
.fast-magic-page .nav a[data-nav-link]:hover {
  color: #93c5fd;
}

.fast-magic-page .inner-page {
  position: relative;
  z-index: 1;
}

@keyframes innerInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes innerInLeft {
  from {
    opacity: 0;
    transform: translate3d(-72px, 20px, 0);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

html.inner-motion-go .fast-magic-page .inner-hero .eyebrow {
  animation: innerInLeft 0.88s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

html.inner-motion-go .fast-magic-page .inner-hero h1 {
  animation: innerInUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

html.inner-motion-go .fast-magic-page .inner-hero .lead,
html.inner-motion-go .fast-magic-page .inner-hero p:not(.eyebrow) {
  animation: innerInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

html.inner-motion-go .fast-magic-page .content-card,
html.inner-motion-go .fast-magic-page .faq-item,
html.inner-motion-go .fast-magic-page .ref-card,
html.inner-motion-go .fast-magic-page .sector-card {
  opacity: 0;
  animation: innerInUp 0.82s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--inner-i, 0) * 80ms + 0.42s);
}

html.inner-motion-go .fast-magic-page main .content-card:nth-of-type(1),
html.inner-motion-go .fast-magic-page main .faq-item:nth-of-type(1),
html.inner-motion-go .fast-magic-page main .ref-card:nth-of-type(1) {
  --inner-i: 0;
}

html.inner-motion-go .fast-magic-page main .content-card:nth-of-type(2),
html.inner-motion-go .fast-magic-page main .faq-item:nth-of-type(2),
html.inner-motion-go .fast-magic-page main .ref-card:nth-of-type(2) {
  --inner-i: 1;
}

html.inner-motion-go .fast-magic-page main .content-card:nth-of-type(3),
html.inner-motion-go .fast-magic-page main .faq-item:nth-of-type(3),
html.inner-motion-go .fast-magic-page main .ref-card:nth-of-type(3) {
  --inner-i: 2;
}

@supports (animation-timeline: view()) {
  html.css-scroll-inner.inner-motion-go .fast-magic-page .content-card,
  html.css-scroll-inner.inner-motion-go .fast-magic-page .faq-item,
  html.css-scroll-inner.inner-motion-go .fast-magic-page .ref-card,
  html.css-scroll-inner.inner-motion-go .fast-magic-page .sector-card {
    opacity: 1;
    animation: innerCardViewIn linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 44%;
    animation-delay: 0s;
  }

  html.css-scroll-inner.inner-motion-go .fast-magic-page main .content-card:nth-of-type(n),
  html.css-scroll-inner.inner-motion-go .fast-magic-page main .faq-item:nth-of-type(n),
  html.css-scroll-inner.inner-motion-go .fast-magic-page main .ref-card:nth-of-type(n),
  html.css-scroll-inner.inner-motion-go .fast-magic-page main .sector-card:nth-of-type(n) {
    animation-range: entry calc(8% + var(--inner-i, 0) * 5%) cover calc(42% + var(--inner-i, 0) * 4%);
  }
}

@keyframes innerCardViewIn {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

.fast-magic-page .cluster-nav-strip {
  margin: 0 0 1.5rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.fast-magic-page .comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.fast-magic-page .comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.fast-magic-page .comparison-table th,
.fast-magic-page .comparison-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
  color: var(--text-2, #cbd5e1);
}

.fast-magic-page .comparison-table thead th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text, #f8fafc);
  font-weight: 700;
}

.fast-magic-page .comparison-table tbody th[scope="row"] {
  color: var(--text, #f8fafc);
  font-weight: 600;
  white-space: nowrap;
}

.fast-magic-page .comparison-table tbody tr:last-child th,
.fast-magic-page .comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.fast-magic-page .comparison-table a {
  color: var(--magic-cyan, #22d3ee);
  text-decoration: none;
}

.fast-magic-page .comparison-table a:hover,
.fast-magic-page .comparison-table a:focus-visible {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  html.inner-motion-go .fast-magic-page .inner-hero .eyebrow,
  html.inner-motion-go .fast-magic-page .inner-hero h1,
  html.inner-motion-go .fast-magic-page .inner-hero .lead,
  html.inner-motion-go .fast-magic-page .content-card,
  html.inner-motion-go .fast-magic-page .faq-item,
  html.inner-motion-go .fast-magic-page .ref-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  html.css-scroll-inner.inner-motion-go .fast-magic-page .content-card,
  html.css-scroll-inner.inner-motion-go .fast-magic-page .faq-item,
  html.css-scroll-inner.inner-motion-go .fast-magic-page .ref-card,
  html.css-scroll-inner.inner-motion-go .fast-magic-page .sector-card {
    animation: none !important;
  }
}
