/**
 * Ana sayfa — yalnızca masaüstü (min-width: 901px)
 * Mobil stillere / home-*-mobile.css dosyalarına dokunmaz.
 */

@media (min-width: 901px) {
  /* ---------- Hero: atmosfer + marka odaklı ---------- */
  body[data-page="home"] .hero {
    position: relative;
    padding: 3.75rem 0 4.5rem !important;
    overflow: hidden;
    background:
      radial-gradient(ellipse 55% 70% at 92% 18%, rgba(22, 163, 74, 0.14) 0%, transparent 58%),
      radial-gradient(ellipse 45% 55% at 8% 88%, rgba(14, 165, 233, 0.08) 0%, transparent 55%),
      linear-gradient(165deg, #f8fafc 0%, #ffffff 42%, #f0fdf4 100%) !important;
  }

  body[data-page="home"] .hero::before {
    content: "";
    display: block !important;
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
    opacity: 0.55;
  }

  body[data-page="home"] .hero__grid {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.98fr) !important;
    gap: 3.5rem !important;
    align-items: center !important;
  }

  body[data-page="home"] .hero__content {
    animation: homeDeskFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  body[data-page="home"] .hero__visual {
    display: block !important;
    animation: homeDeskFadeUp 0.65s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  /* Streamlined gizlemeyi PC'de aç — mobil kurallarına dokunma */
  body[data-page="home"] .hero__badge,
  body[data-page="home"] .hero-metrics,
  body[data-page="home"] .hero__stats,
  body[data-page="home"] .home-quick-links {
    display: revert !important;
  }

  body[data-page="home"] .hero__badge {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(22, 163, 74, 0.22) !important;
    color: #15803d !important;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.08);
  }

  body[data-page="home"] .hero h1 {
    font-size: clamp(2.35rem, 4.4vw, 3.45rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
    margin-bottom: 1rem !important;
    max-width: 14ch;
    color: #0f172a !important;
    background: none !important;
    -webkit-text-fill-color: #0f172a !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
  }

  body[data-page="home"] .hero h1 #hero-title,
  body[data-page="home"] .hero h1 span:first-child {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    background: none !important;
  }

  body[data-page="home"] .hero h1 #hero-title-highlight,
  body[data-page="home"] .hero h1 span:last-child {
    display: inline;
    color: transparent !important;
    background: linear-gradient(120deg, #16a34a 0%, #15803d 55%, #0f766e 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
  }

  body[data-page="home"] .hero__text {
    max-width: 42ch !important;
    font-size: 1.08rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
    color: #475569 !important;
  }

  body[data-page="home"] .hero-search {
    max-width: 560px;
  }

  body[data-page="home"] .hero-search__card {
    padding: 1.15rem 1.2rem 1.2rem !important;
    border-radius: 20px !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
      0 1px 2px rgba(15, 23, 42, 0.04),
      0 18px 40px rgba(15, 23, 42, 0.1) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }

  body[data-page="home"] .hero-search__card:hover,
  body[data-page="home"] .hero-search__card:focus-within {
    transform: translateY(-2px);
    border-color: rgba(22, 163, 74, 0.35) !important;
    box-shadow:
      0 0 0 4px rgba(22, 163, 74, 0.08),
      0 22px 48px rgba(15, 23, 42, 0.12) !important;
  }

  body[data-page="home"] .hero-search__input {
    height: 50px !important;
    border-radius: 12px !important;
  }

  body[data-page="home"] .hero-search__btn {
    height: 52px !important;
    border-radius: 14px !important;
    font-size: 0.98rem !important;
    letter-spacing: 0.01em;
  }

  body[data-page="home"] .hero__tags {
    margin-top: 1.15rem !important;
  }

  body[data-page="home"] .hero__tag {
    border-radius: 999px !important;
    padding: 0.4rem 0.9rem !important;
    font-weight: 600 !important;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
  }

  body[data-page="home"] .hero__tag:hover {
    transform: translateY(-2px);
    border-color: rgba(22, 163, 74, 0.35) !important;
    background: #f0fdf4 !important;
    color: #15803d !important;
  }

  body[data-page="home"] .home-quick-links {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.15rem;
  }

  body[data-page="home"] .home-quick-links a {
    min-height: 42px;
    padding: 0.45rem 1rem;
    border-radius: 12px;
    font-size: 0.88rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }

  body[data-page="home"] .home-quick-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  }

  body[data-page="home"] .hero-metrics,
  body[data-page="home"].home-show-hero-stats .hero-metrics {
    display: grid !important;
    max-width: 560px;
    margin-top: 1.5rem !important;
    gap: 0.7rem;
  }

  body[data-page="home"] .hero-metrics__item {
    border-radius: 14px !important;
    padding: 0.95rem 0.85rem !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  body[data-page="home"] .hero-metrics__item:hover {
    transform: translateY(-3px);
  }

  body[data-page="home"] .hero__card {
    border-radius: 24px !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow:
      0 4px 12px rgba(15, 23, 42, 0.04),
      0 28px 56px rgba(15, 23, 42, 0.12) !important;
    overflow: hidden;
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  }

  body[data-page="home"] .hero__card:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translateY(-4px);
    box-shadow:
      0 8px 20px rgba(15, 23, 42, 0.06),
      0 32px 64px rgba(15, 23, 42, 0.14) !important;
  }

  body[data-page="home"] .hero__card-grid .mini-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }

  body[data-page="home"] .hero__card-grid .mini-card:hover {
    transform: translateY(-3px);
  }

  /* ---------- Bölümler ---------- */
  body[data-page="home"] .section {
    padding: 4.25rem 0 !important;
  }

  body[data-page="home"] .section__header {
    margin-bottom: 2rem !important;
  }

  body[data-page="home"] .section__header h2 {
    font-size: clamp(1.65rem, 2.4vw, 2.05rem) !important;
    letter-spacing: -0.03em;
    font-weight: 800;
    margin-bottom: 0.45rem !important;
  }

  body[data-page="home"] .section__header p {
    font-size: 1.02rem !important;
    max-width: 48ch;
  }

  body[data-page="home"] .categories-hub__chip,
  body[data-page="home"] .how-hub__chip,
  body[data-page="home"] .smart-section__chip {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.65rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid rgba(22, 163, 74, 0.18);
  }

  /* Kategoriler */
  body[data-page="home"] .categories-hub {
    background:
      linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  }

  body[data-page="home"] .categories--hub,
  body[data-page="home"] #categories {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.85rem !important;
  }

  body[data-page="home"] .category-card {
    border-radius: 18px !important;
    padding: 1.15rem 0.75rem !important;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  }

  body[data-page="home"] .category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(22, 163, 74, 0.28);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
  }

  body[data-page="home"] .category-card h3 {
    font-size: 0.9rem !important;
    font-weight: 700;
  }

  body[data-page="home"] .categories__footer a,
  body[data-page="home"] .section__footer-link a {
    font-size: 0.95rem;
    font-weight: 700;
    color: #15803d;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
  }

  body[data-page="home"] .categories__footer a:hover,
  body[data-page="home"] .section__footer-link a:hover {
    color: #166534;
  }

  /* Nasıl çalışır */
  body[data-page="home"] .how-hub {
    background:
      radial-gradient(ellipse 50% 60% at 100% 0%, rgba(14, 165, 233, 0.06) 0%, transparent 50%),
      #ffffff;
  }

  body[data-page="home"] .steps--hub,
  body[data-page="home"] #home-how-steps {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.9rem !important;
  }

  body[data-page="home"] .step--hub {
    position: relative;
    border-radius: 20px !important;
    padding: 1.25rem 1.05rem !important;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }

  body[data-page="home"] .step--hub:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--step-accent, #16a34a) 35%, transparent);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
  }

  body[data-page="home"] .step--hub h3 {
    font-size: 0.98rem !important;
    letter-spacing: -0.02em;
    margin: 0.75rem 0 0.4rem;
  }

  body[data-page="home"] .step--hub p {
    font-size: 0.84rem !important;
    line-height: 1.5;
    color: #64748b;
  }

  /* Ürün ızgaraları */
  body[data-page="home"] .products-grid {
    gap: 1.15rem !important;
  }

  body[data-page="home"] .products-grid .product-card {
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  body[data-page="home"] .products-grid .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  }

  body[data-page="home"] .product-card__image {
    height: 168px !important;
    max-height: 168px !important;
    aspect-ratio: auto !important;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  }

  body[data-page="home"] .product-card__image .product-card__img,
  body[data-page="home"] .product-card__image img {
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
  }

  body[data-page="home"] .btn--lg {
    min-height: 52px;
    padding-inline: 1.6rem;
    border-radius: 14px;
    font-weight: 700;
  }

  /* Neden + yorumlar */
  body[data-page="home"] .benefits {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem !important;
  }

  body[data-page="home"] .benefit-card {
    border-radius: 20px !important;
    padding: 1.35rem 1.2rem !important;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }

  body[data-page="home"] .benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(22, 163, 74, 0.25);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
  }

  body[data-page="home"] .benefit-card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    background: linear-gradient(145deg, #f0fdf4, #dcfce7);
    color: #15803d;
    display: grid;
    place-items: center;
    margin-bottom: 0.85rem;
  }

  body[data-page="home"] .testimonials {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem !important;
  }

  body[data-page="home"] .testimonial {
    border-radius: 20px !important;
    padding: 1.4rem 1.25rem !important;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  body[data-page="home"] .testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
  }

  /* Scroll reveal */
  body[data-page="home"] .home-desk-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body[data-page="home"] .home-desk-reveal.is-in {
    opacity: 1;
    transform: translateY(0);
  }

  body[data-page="home"] .home-desk-reveal:nth-child(2) {
    transition-delay: 0.06s;
  }

  body[data-page="home"] .home-desk-reveal:nth-child(3) {
    transition-delay: 0.12s;
  }

  /* Koyu mod */
  [data-theme="dark"] body[data-page="home"] .hero,
  body[data-page="home"][data-theme="dark"] .hero,
  [data-theme="dark"] body[data-page="home"] .hero {
    background:
      radial-gradient(ellipse 55% 70% at 92% 18%, rgba(34, 197, 94, 0.16) 0%, transparent 58%),
      radial-gradient(ellipse 45% 55% at 8% 88%, rgba(56, 189, 248, 0.08) 0%, transparent 55%),
      linear-gradient(165deg, #0b1120 0%, #0f172a 50%, #052e16 100%) !important;
  }

  [data-theme="dark"] body[data-page="home"] .hero h1,
  [data-theme="dark"] body[data-page="home"] .hero h1 #hero-title {
    color: #f8fafc !important;
    -webkit-text-fill-color: #f8fafc !important;
  }

  [data-theme="dark"] body[data-page="home"] .hero__text {
    color: #94a3b8 !important;
  }

  [data-theme="dark"] body[data-page="home"] .hero-search__card,
  [data-theme="dark"] body[data-page="home"] .hero__card,
  [data-theme="dark"] body[data-page="home"] .category-card,
  [data-theme="dark"] body[data-page="home"] .step--hub,
  [data-theme="dark"] body[data-page="home"] .benefit-card,
  [data-theme="dark"] body[data-page="home"] .testimonial {
    background: #111827 !important;
    border-color: #1e293b !important;
  }

  [data-theme="dark"] body[data-page="home"] .categories-hub,
  [data-theme="dark"] body[data-page="home"] .how-hub {
    background: #0b1120 !important;
  }
}

@keyframes homeDeskFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
  body[data-page="home"] .hero__content,
  body[data-page="home"] .hero__visual,
  body[data-page="home"] .home-desk-reveal,
  body[data-page="home"] .hero__card,
  body[data-page="home"] .category-card,
  body[data-page="home"] .step--hub,
  body[data-page="home"] .benefit-card,
  body[data-page="home"] .testimonial,
  body[data-page="home"] .products-grid .product-card {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Geniş ekran: 5 adım rahat sığsın; orta masaüstünde 3+2 */
@media (min-width: 901px) and (max-width: 1199px) {
  body[data-page="home"] .steps--hub,
  body[data-page="home"] #home-how-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body[data-page="home"] .categories--hub,
  body[data-page="home"] #categories {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  body[data-page="home"] .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
