/**
 * Ana sayfa görsel cilası — hafif animasyon (GPU transform/opacity).
 * prefers-reduced-motion: animasyonlar kapanır.
 */

/* Dark: SEO / makale linkleri okunur kalsın */
body.dark .menu-article-body a,
body.dark .aill-page-seo a,
html[data-theme="dark"] .menu-article-body a {
  color: #93c5fd;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-spot,
  .tool-hero-card,
  .benefit-card,
  .security-card,
  .home-row-promo-center__card,
  .home-media-card,
  .feature-banner-right,
  .home-guides-card {
    transition: none !important;
    animation: none !important;
  }
}

/* —— Hero layout + sol görsel ortalama —— */
.home-row-hero-waitlist .hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 36px 6% 28px;
}
.home-row-hero-waitlist .hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.home-row-hero-waitlist .hero-visual {
  width: 100%;
  max-width: 340px;
  margin: 18px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
}
.home-row-hero-waitlist .hero-visual img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  filter: drop-shadow(0 18px 40px rgba(37, 99, 235, 0.18));
}

/* —— Hero sağ: spotlight CTA paneli —— */
.home-hero-spotlight {
  position: relative;
  padding: 22px 20px 18px;
  border-radius: 20px;
  border: 1px solid rgba(53, 119, 255, 0.22);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(53, 119, 255, 0.14), transparent 55%),
    linear-gradient(160deg, #ffffff 0%, #f3f7ff 100%);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
body.dark .home-hero-spotlight {
  border-color: rgba(29, 209, 161, 0.28);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(29, 209, 161, 0.16), transparent 55%),
    linear-gradient(160deg, #0f2244 0%, #0a162e 100%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}
.home-hero-spotlight__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 8px;
}
body.dark .home-hero-spotlight__badge {
  color: #5eead4;
  background: rgba(29, 209, 161, 0.14);
}
.home-hero-spotlight__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.home-hero-spotlight__badge {
  margin-bottom: 0;
}
.home-hero-spotlight__title {
  margin: 0 0 14px;
  font-size: 1.15rem;
  line-height: 1.35;
  color: inherit;
}
.home-hero-spotlight__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.home-hero-spotlight__featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 4px;
}
.home-hero-spot {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-decoration: none;
  color: inherit;
  padding: 12px 12px 11px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  transition: transform 0.28s cubic-bezier(.22,1,.36,1), box-shadow 0.28s ease, border-color 0.22s ease, background 0.22s ease;
  animation: homeSpotIn 0.55s ease both;
  animation-delay: calc(var(--spot-i, 0) * 0.07s);
  will-change: transform;
}
body.dark .home-hero-spot {
  background: rgba(15, 34, 68, 0.55);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}
.home-hero-spot--glass:hover,
.home-hero-spot:hover {
  transform: translateY(-7px) scale(1.025);
  border-color: rgba(53, 119, 255, 0.55);
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 18px 40px rgba(53, 119, 255, 0.22),
    0 0 0 1px rgba(53, 119, 255, 0.12);
}
body.dark .home-hero-spot--glass:hover,
body.dark .home-hero-spot:hover {
  border-color: rgba(29, 209, 161, 0.55);
  background: rgba(15, 34, 68, 0.88);
  box-shadow:
    0 18px 42px rgba(29, 209, 161, 0.22),
    0 0 0 1px rgba(29, 209, 161, 0.14);
}
.home-hero-spot--lg {
  padding: 20px 16px 18px;
  min-height: 132px;
  border-width: 1.5px;
  border-color: rgba(124, 77, 255, 0.4);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(124, 77, 255, 0.16), transparent 55%),
    rgba(255, 255, 255, 0.82);
}
body.dark .home-hero-spot--lg {
  border-color: rgba(255, 79, 216, 0.4);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(124, 77, 255, 0.28), transparent 55%),
    rgba(15, 34, 68, 0.72);
}
.home-hero-spot--lg .home-hero-spot__icon { font-size: 1.65rem; }
.home-hero-spot--lg .home-hero-spot__q { font-size: 15.5px; }
.home-hero-spot--lg .home-hero-spot__a { font-size: 13px; opacity: 0.88; }
.home-hero-spot--lg:hover {
  transform: translateY(-9px) scale(1.03);
  box-shadow:
    0 22px 48px rgba(124, 77, 255, 0.28),
    0 0 0 1px rgba(124, 77, 255, 0.18);
}
@media (max-width: 520px) {
  .home-hero-spotlight__featured { grid-template-columns: 1fr; }
}
.home-hero-spot__icon { font-size: 1.25rem; line-height: 1; }
.home-hero-spot__q { font-size: 13px; font-weight: 700; line-height: 1.35; }
.home-hero-spot__a { font-size: 12px; opacity: 0.78; line-height: 1.4; }
.home-hero-spotlight__wl {
  margin-top: 12px;
  width: 100%;
  border: 1px dashed rgba(53, 119, 255, 0.45);
  background: transparent;
  color: #2563eb;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
body.dark .home-hero-spotlight__wl {
  color: #5eead4;
  border-color: rgba(29, 209, 161, 0.45);
}
.home-hero-spotlight__wl:hover {
  background: rgba(53, 119, 255, 0.08);
}
@keyframes homeSpotIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .home-row-hero-waitlist .hero {
    grid-template-columns: 1fr;
  }
  .home-hero-spotlight__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* —— Tool hero kart —— */
.tool-hero {
  display: flex;
  justify-content: center;
}
.tool-hero-card {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 36px 28px 32px;
  border-radius: 22px;
  text-align: center;
  border: 1px solid rgba(53, 119, 255, 0.2);
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(53, 119, 255, 0.12), transparent 60%),
    #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  animation: homeCardRise 0.6s ease both;
}
body.dark .tool-hero-card {
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(29, 209, 161, 0.14), transparent 60%),
    #0f2244;
  border-color: rgba(29, 209, 161, 0.28);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  color: #f8fafc;
}
.tool-hero-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: #3577ff;
  box-shadow: 0 22px 56px rgba(53, 119, 255, 0.22);
}
body.dark .tool-hero-card:hover {
  border-color: #1dd1a1;
  box-shadow: 0 22px 56px rgba(29, 209, 161, 0.22);
}
.tool-hero-card h2 { margin: 0 0 10px; }
.tool-hero-card .tool-hero-sub { color: inherit; opacity: 0.82; }
.tool-hero-card__brand {
  margin: 0 auto 14px;
}

/* —— Feature banner (media+text) —— */
.home-media-text.feature-banner {
  gap: 40px;
  padding: 56px 6%;
}
.home-media-card {
  position: relative;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(53, 119, 255, 0.18);
  background: linear-gradient(145deg, #fff, #eef4ff);
  box-shadow: 0 16px 40px rgba(53, 119, 255, 0.12);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  animation: homeCardRise 0.55s ease both;
}
body.dark .home-media-card {
  background: linear-gradient(145deg, #12264a, #0a162e);
  border-color: rgba(29, 209, 161, 0.25);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}
.home-media-card:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: 0 22px 50px rgba(53, 119, 255, 0.2);
}
.feature-banner-right {
  max-width: 420px;
  padding: 8px 4px;
  animation: homeCardRise 0.65s ease both;
}
.feature-banner-right h2 {
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.dark .feature-banner-right h2 {
  background: linear-gradient(90deg, #e2e8f0, #5eead4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* —— Security 3’lü: gerçek kartlar —— */
.security-section {
  background: linear-gradient(180deg, #0c1b33 0%, #102445 100%);
}
body.dark .security-section {
  background: linear-gradient(180deg, #07111f 0%, #0c1b33 100%);
}
.security-grid {
  gap: 18px;
}
.security-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 28px 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  animation: homeCardRise 0.55s ease both;
}
.security-card:nth-child(2) { animation-delay: 0.06s; }
.security-card:nth-child(3) { animation-delay: 0.12s; }
.security-card:hover {
  transform: translateY(-5px);
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.25);
}
.security-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(53, 119, 255, 0.18);
  margin-bottom: 14px;
}

/* —— Benefit kartları (açık/koyu net) —— */
.benefit-card {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  animation: homeCardRise 0.55s ease both;
}
.benefit-card:nth-child(2) { animation-delay: 0.06s; }
.benefit-card:nth-child(3) { animation-delay: 0.12s; }
.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #3577ff, #1dd1a1);
  opacity: 0.85;
}
.benefit-card:hover {
  transform: translateY(-6px);
  border-color: #3577ff;
  box-shadow: 0 16px 36px rgba(53, 119, 255, 0.16);
}
body.dark .benefit-card {
  background: linear-gradient(165deg, #143056 0%, #0e1a2c 100%);
  border-color: #2a4570;
  color: #f1f5f9;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
body.dark .benefit-card:hover {
  border-color: #1dd1a1;
  box-shadow: 0 16px 36px rgba(29, 209, 161, 0.2);
}
body.dark .benefit-card h3 { color: #f8fafc; }

/* —— NT WebP promo kart —— */
.home-row-promo-center__card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(59, 130, 246, 0.28), transparent 55%),
    linear-gradient(165deg, #0f172a, #111827);
  color: #f8fafc;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  animation: homeCardRise 0.6s ease both;
}
body:not(.dark) .home-row-promo-center__card {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(59, 130, 246, 0.14), transparent 55%),
    linear-gradient(165deg, #ffffff, #eef4ff);
  color: #0f172a;
  border-color: rgba(53, 119, 255, 0.25);
  box-shadow: 0 18px 44px rgba(53, 119, 255, 0.14);
}
.home-row-promo-center__card:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: #60a5fa;
  box-shadow: 0 26px 60px rgba(37, 99, 235, 0.28);
}
.home-row-promo-center__price {
  color: #60a5fa;
}
body:not(.dark) .home-row-promo-center__price {
  color: #2563eb;
}

/* —— Show all link —— */
a.show-all-btn {
  display: inline-block;
  text-decoration: none;
  margin-top: 34px;
  padding: 14px 30px;
  background: var(--primary-blue, #3577ff);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 22px rgba(53, 119, 255, 0.28);
}
a.show-all-btn:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

/* —— Guides + waitlist chip —— */
.home-guides {
  padding: 2.5rem 1.25rem 2rem;
}
.home-guides__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.home-guides__inner > h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}
.home-guides__sub {
  margin: 0 0 1.25rem;
  opacity: 0.85;
  max-width: 42rem;
}
.home-guides-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.home-guides-card {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(127, 127, 127, 0.28);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
body.dark .home-guides-card {
  background: #0f2244;
  border-color: #253f72;
}
.home-guides-card:hover {
  transform: translateY(-3px);
  border-color: #3577ff;
  box-shadow: 0 10px 26px rgba(53, 119, 255, 0.14);
}
.home-guides-card strong {
  display: block;
  margin-bottom: 0.35rem;
}
.home-guides-card span {
  font-size: 0.92rem;
  opacity: 0.85;
}
.home-guides__foot {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.home-wl-chip {
  border: 1px solid rgba(53, 119, 255, 0.4);
  background: rgba(53, 119, 255, 0.08);
  color: #2563eb;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
body.dark .home-wl-chip {
  color: #5eead4;
  border-color: rgba(29, 209, 161, 0.45);
  background: rgba(29, 209, 161, 0.1);
}

/* —— Waitlist dialog —— */
.wl-dialog {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(520px, calc(100vw - 24px));
}
.wl-dialog::backdrop {
  background: rgba(8, 15, 30, 0.62);
  backdrop-filter: blur(4px);
}
.wl-dialog__panel {
  position: relative;
}
.wl-dialog__close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.08);
  color: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
body.dark .wl-dialog__close {
  background: rgba(255, 255, 255, 0.1);
}
.wl-dialog #waitlist.glass-card {
  margin: 0 !important;
  padding: 22px !important;
  max-height: min(85vh, 720px);
  overflow: auto;
}

@keyframes homeCardRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
