/* ============================================================
   AynWeb — Ön yüz özel stilleri (Nexsas teması üzerine)
   Derlenmiş tema: tema/css/main.css
   Burada yalnızca temada bulunmayan bileşenler tanımlanır.
   ============================================================ */

/* --- İçeriğe geç bağlantısı --- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 1rem;
    z-index: 100;
    border-radius: 0.75rem;
    background: var(--color-primary-500);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
}

.skip-link:focus {
    left: 1rem;
}

/* --- Yüzen aksiyon düğmeleri (WhatsApp + yukarı çık) --- */
.fab {
    position: fixed;
    z-index: 60;
    display: flex;
    height: 3rem;
    width: 3rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.45);
    transition: opacity 0.25s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.fab-whatsapp {
    right: 4.5rem;
    bottom: 1.25rem;
    background: #25d366;
    font-size: 1.5rem;
    color: #fff;
}

.fab-whatsapp:hover {
    transform: translateY(-2px);
    background: #1fbd5a;
}

.fab-top {
    right: 4.5rem;
    bottom: 5rem;
    border: 1px solid var(--color-stroke-1);
    background: #fff;
    font-size: 0.875rem;
    color: var(--color-secondary);
}

.dark .fab-top {
    border-color: var(--color-stroke-7);
    background: var(--color-background-6);
    color: var(--color-accent);
}

.fab-top:hover {
    transform: translateY(-2px);
    color: var(--color-primary-500);
}

[data-back-to-top] {
    opacity: 0;
    pointer-events: none;
}

[data-back-to-top].is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* --- Hero slider --- */
.slider-slide {
    display: none;
    overflow: hidden;
}

.slider-slide.is-active {
    display: block;
    animation: slider-fade 0.6s ease both;
}

@keyframes slider-fade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 20;
    display: flex;
    height: 2.75rem;
    width: 2.75rem;
    cursor: pointer;
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--color-secondary);
    box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.4);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.slider-arrow:hover {
    background: #fff;
    color: var(--color-primary-500);
}

.slider-arrow--prev {
    left: 1rem;
}

.slider-arrow--next {
    right: 1rem;
}

@media (max-width: 767px) {
    .slider-arrow {
        display: none;
    }
}

/* main.css does not compile min-h-screen; needed by standalone pages (bakım, 404, 500) */
.min-h-screen {
    min-height: 100vh;
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slider-dot {
    height: 0.5rem;
    width: 0.5rem;
    cursor: pointer;
    border-radius: 9999px;
    background: rgba(26, 26, 28, 0.2);
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background: rgba(26, 26, 28, 0.4);
}

.slider-dot.is-active {
    width: 1.5rem;
    background: var(--color-primary-500);
}

/* --- Hero görseli: hafif yüzer animasyon --- */
.hero-visual img {
    animation: hero-float 7s ease-in-out infinite;
}

@keyframes hero-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* --- Kayan markalar: kütüphane --_gap değişkenini 0 bırakıyor; şerit aralığı bununla düzelir --- */
.logos-marquee-container {
    --_gap: 56px !important;
}

/* --- Kayan markalar: sistem/tarayıcı 'hareketi azalt' ayarında bile şerit akmaya devam eder --- */
.logos-marquee-container .horizontal-marquee-inner {
    animation: horizontal-marquee var(--_speed, 40000ms) linear infinite var(--_direction, forwards) !important;
}

/* --- Uçtan uca çözümler: 3'lü grid kartları (şablon Tailwind derlemesinde olmayan özel sınıflar) --- */
.sol-card {
    transition: border-color .3s, box-shadow .3s;
}

.sol-card:hover {
    border-color: var(--color-primary-500);
    box-shadow: 0 18px 40px -12px rgb(134 79 254 / .22);
}

.sol-card-icon {
    transition: background-color .3s, color .3s;
}

.sol-card:hover .sol-card-icon {
    background: var(--color-primary-500);
    color: #fff;
}

.sol-card-num {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    color: rgb(0 0 0 / .16);
}

.dark .sol-card-num {
    color: rgb(255 255 255 / .2);
}

.sol-card-summary {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sol-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    color: var(--color-primary-500);
}

.sol-card-link i {
    transition: translate .3s;
}

.sol-card:hover .sol-card-link i {
    translate: 5px 0;
}

/* --- Footer: 6 eşit kolon grid'i (şablon derlemesinde lg:grid-cols-6 yok) + küçük yazı boyutları --- */
.footer-grid {
    display: grid;
    gap: 4rem 0;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3rem 2rem;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 3rem 2.5rem;
    }
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
}

.footer-link-v2 {
    font-size: 13.5px;
}

.footer-about {
    font-size: 14px;
}

.footer-copy {
    font-size: 13.5px;
}

footer figure img {
    max-width: 100%;
    height: auto;
}


/* --- Flash bildirimleri --- */
.flash-stack {
    position: fixed;
    right: 1rem;
    top: 5.5rem;
    z-index: 80;
    display: flex;
    width: calc(100% - 2rem);
    max-width: 24rem;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

.flash-toast {
    --flash-bg: #fff;
    --flash-border: var(--color-stroke-1);
    --flash-bar: var(--color-primary-500);
    --flash-icon: var(--color-primary-500);
    --flash-text: var(--color-secondary);
    pointer-events: auto;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    overflow: hidden;
    border-radius: 0.875rem;
    border: 1px solid var(--flash-border);
    background: var(--flash-bg);
    padding: 1rem 1rem 1rem 1.25rem;
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.flash-toast::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--flash-bar);
}

.flash-toast--success {
    --flash-bar: #10b981;
    --flash-icon: #059669;
    --flash-bg: #ecfdf5;
    --flash-border: #a7f3d0;
    --flash-text: #064e3b;
}

.flash-toast--error {
    --flash-bar: #ef4444;
    --flash-icon: #dc2626;
    --flash-bg: #fef2f2;
    --flash-border: #fecaca;
    --flash-text: #7f1d1d;
}

.flash-toast--warning {
    --flash-bar: #f59e0b;
    --flash-icon: #d97706;
    --flash-bg: #fffbeb;
    --flash-border: #fde68a;
    --flash-text: #78350f;
}

.flash-toast--info {
    --flash-bar: #3b82f6;
    --flash-icon: #2563eb;
    --flash-bg: #eff6ff;
    --flash-border: #bfdbfe;
    --flash-text: #1e3a8a;
}

.dark .flash-toast {
    --flash-bg: #0f1217;
    --flash-border: var(--color-stroke-7);
    --flash-text: var(--color-accent);
}

.dark .flash-toast--success {
    --flash-bar: #10b981;
    --flash-icon: #34d399;
    --flash-border: rgba(16, 185, 129, 0.35);
}

.dark .flash-toast--error {
    --flash-bar: #ef4444;
    --flash-icon: #f87171;
    --flash-border: rgba(239, 68, 68, 0.35);
}

.dark .flash-toast--warning {
    --flash-bar: #f59e0b;
    --flash-icon: #fbbf24;
    --flash-border: rgba(245, 158, 11, 0.35);
}

.dark .flash-toast--info {
    --flash-bar: #3b82f6;
    --flash-icon: #60a5fa;
    --flash-border: rgba(59, 130, 246, 0.35);
}

.flash-toast.is-hiding {
    opacity: 0;
    transform: translateX(16px);
}

.flash-toast__icon {
    margin-top: 0.125rem;
    color: var(--flash-icon);
}

.flash-toast__text {
    flex: 1 1 0%;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--flash-text);
}

.flash-toast__close {
    cursor: pointer;
    color: rgba(26, 26, 28, 0.4);
    transition: color 0.2s ease;
}

.flash-toast__close:hover {
    color: var(--flash-text);
}

.dark .flash-toast__close {
    color: rgba(252, 252, 252, 0.4);
}

/* --- Form bileşenleri --- */
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-secondary);
}

.dark .form-label {
    color: var(--color-accent);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid var(--color-stroke-1);
    background: #fff;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--color-secondary);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(26, 26, 28, 0.4);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--color-primary-500);
    box-shadow: 0 0 0 3px rgba(134, 79, 254, 0.15);
}

.dark .form-input,
.dark .form-select,
.dark .form-textarea {
    border-color: var(--color-stroke-7);
    background: var(--color-background-6);
    color: var(--color-accent);
}

.dark .form-input::placeholder,
.dark .form-textarea::placeholder {
    color: rgba(252, 252, 252, 0.35);
}

.form-textarea {
    min-height: 9rem;
    resize: vertical;
}

/* Form select: tema select stili olmadığından form-input ailesiyle uyumlu edilir (özel ok) */
.form-select {
    appearance: none;
    padding-right: 2.75rem;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231a1a1c' stroke-opacity='0.5' stroke-width='2'><path stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.875rem;
    cursor: pointer;
}

.dark .form-select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23fcfcfc' stroke-opacity='0.5' stroke-width='2'><path stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/></svg>");
}

/* Blog kart görseli: tema derlemesinde sabit yükseklik sınıfı üretilmediği için aspect-ratio kullanılır */
.blog-thumb {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
}

.blog-thumb-placeholder {
    aspect-ratio: 16 / 9;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-background-3);
    color: var(--color-primary-500);
    font-size: 1.6rem;
}

.dark .blog-thumb-placeholder {
    background: var(--color-background-7);
}

/* Tema .btn:before hover oku, ikonlu butonlarda ikonun/metnin üstüne biniyor: ikonlu butonlarda ok animasyonu + metin kayması kapatılır */
.btn:has(> i[class*="fa-"]):before {
    content: none;
}

.btn:has(> i[class*="fa-"]):hover span {
    translate: none;
}

.form-error {
    margin-top: 0.375rem;
    font-size: 0.75rem;
    color: #dc2626;
}

.dark .form-error {
    color: #f87171;
}

.form-checkbox {
    height: 1rem;
    width: 1rem;
    accent-color: var(--color-primary-500);
}

/* --- Sayfalama --- */
.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 2.5rem;
    border-top: 1px solid var(--color-stroke-1);
    padding-top: 1.5rem;
}

.dark .pagination {
    border-color: var(--color-stroke-7);
}

.pagination__meta {
    font-size: 0.75rem;
    color: rgba(26, 26, 28, 0.55);
}

.dark .pagination__meta {
    color: rgba(252, 252, 252, 0.55);
}

.pagination__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pagination__link,
.pagination__current {
    display: flex;
    height: 2.25rem;
    min-width: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    padding: 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.pagination__link {
    border: 1px solid var(--color-stroke-1);
    color: rgba(26, 26, 28, 0.6);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.pagination__link:hover {
    border-color: var(--color-primary-500);
    color: var(--color-primary-500);
}

.pagination__current {
    background: var(--color-primary-500);
    font-weight: 700;
    color: #fff;
}

.pagination__dots {
    padding: 0 0.25rem;
    color: rgba(26, 26, 28, 0.4);
}

.dark .pagination__link {
    border-color: var(--color-stroke-7);
    color: rgba(252, 252, 252, 0.6);
}

.dark .pagination__link:hover {
    border-color: var(--color-primary-500);
    color: var(--color-primary-500);
}

.dark .pagination__dots {
    color: rgba(252, 252, 252, 0.4);
}

/* --- Kart / boş durum yardımcıları --- */
.site-card {
    border-radius: 1.25rem;
    border: 1px solid var(--color-stroke-1);
    background: #fff;
}

.dark .site-card {
    border-color: var(--color-background-7);
    background: var(--color-background-6);
}

/* --- İletişim bilgi kartları (sade) --- */
.contact-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(10, 10, 15, 0.08);
    background: #ffffff;
    padding: 1.6rem 1.25rem;
    text-align: center;
    transition: translate 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.contact-tile__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.9rem;
    background: var(--color-background-3);
    color: var(--color-primary-500);
    font-size: 0.95rem;
}

.contact-tile__label {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-secondary);
    opacity: 0.6;
}

.contact-tile__value {
    font-size: 0.95rem;
    line-height: 1.45;
    font-weight: 500;
    color: var(--color-secondary);
    overflow-wrap: anywhere;
}

.contact-tile:hover {
    translate: 0 -4px;
    border-color: rgba(134, 79, 254, 0.45);
    box-shadow: 0 10px 30px -12px rgba(134, 79, 254, 0.25);
}

.dark .contact-tile {
    background: var(--color-background-6);
    border-color: rgba(255, 255, 255, 0.08);
}

.dark .contact-tile__icon {
    background: var(--color-background-7);
}

.dark .contact-tile__label {
    color: var(--color-accent);
}

.dark .contact-tile__value {
    color: var(--color-accent);
}

.contact-layout {
    display: grid;
    gap: 1.5rem;
}

.contact-tiles {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .contact-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .contact-layout {
        grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
        align-items: start;
    }

    .contact-tiles {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* --- Hover yükselmesi (kartlar) --- */
/* GSAP reveal animasyonu inline translate:none yazdığı için hover kaydırması !important ile ezilir. */
.card-lift {
    transition: translate 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card-lift:hover {
    translate: 0 -6px !important;
    border-color: rgba(134, 79, 254, 0.45);
    box-shadow: 0 28px 56px -32px rgba(19, 23, 30, 0.35);
}

.dark .card-lift:hover {
    box-shadow: 0 28px 56px -32px rgba(0, 0, 0, 0.7);
}

/* --- Süreç adımları --- */
.process-step {
    position: relative;
    overflow: hidden;
}

.process-step__num {
    position: absolute;
    top: 0.75rem;
    right: 1.25rem;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(26, 26, 28, 0.06);
    transition: color 0.35s ease;
}

.process-step:hover .process-step__num {
    color: rgba(134, 79, 254, 0.18);
}

.dark .process-step__num {
    color: rgba(252, 252, 252, 0.08);
}

/* --- Dekoratif çizgi şekilleri --- */
.deco-shape {
    pointer-events: none;
    user-select: none;
    line-height: 1;
    color: rgba(134, 79, 254, 0.14);
}

.deco-shape--sm {
    font-size: 2.5rem;
}

.deco-shape--md {
    font-size: 5rem;
}

.deco-shape--lg {
    font-size: 10rem;
}

.dark .deco-shape {
    color: rgba(134, 79, 254, 0.2);
}

/* --- Teknoloji bandı --- */
.tech-band {
    background-image: linear-gradient(180deg, #b3c3da 0%, #93a5be 100%);
}

.dark .tech-band {
    background-image: linear-gradient(180deg, #181d26 0%, #0f1217 100%);
}

/* --- Paket teaser kartları --- */
.pricing-card {
    width: 100%;
}

.price-strike {
    text-decoration: line-through;
}

@media (min-width: 1024px) {
    .pricing-card {
        flex: 0 1 408px;
    }
}

/* --- Bölünmüş içerik düzeni --- */
.split-layout {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .split-layout {
        grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
        gap: 3rem;
    }

    .sticky-col {
        position: sticky;
        top: 7rem;
    }
}

/* --- SSS kategori hedefleri --- */
.faq-group {
    scroll-margin-top: 7rem;
}

/* --- Alt CTA şeridi --- */
.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background-image: linear-gradient(135deg, #dfe4f7 0%, #cfd7ee 45%, #e9ddff 100%);
    padding: 3.5rem 1.75rem;
    text-align: center;
}

@media (min-width: 640px) {
    .cta-band {
        padding: 4rem 3rem;
    }
}

.dark .cta-band {
    background-image: linear-gradient(135deg, #181d26 0%, #1c2233 45%, #241d38 100%);
}

.cta-band__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.cta-band__shape {
    position: absolute;
    line-height: 1;
    color: rgba(134, 79, 254, 0.22);
    pointer-events: none;
    user-select: none;
}

.cta-band__shape--left {
    left: -2.5rem;
    bottom: -3.5rem;
    font-size: 13rem;
    transform: rotate(12deg);
}

.cta-band__shape--right {
    right: -3rem;
    top: -4rem;
    font-size: 15rem;
    transform: rotate(-14deg);
}

.dark .cta-band__shape {
    color: rgba(134, 79, 254, 0.3);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: 1.25rem;
    border: 1px dashed var(--color-stroke-1);
    padding: 4rem 1.5rem;
    text-align: center;
}

.dark .empty-state {
    border-color: var(--color-stroke-7);
}

.empty-state i {
    font-size: 2rem;
    color: var(--color-primary-500);
    opacity: 0.5;
}

.empty-state p {
    font-size: 0.9375rem;
    color: rgba(26, 26, 28, 0.6);
}

.dark .empty-state p {
    color: rgba(252, 252, 252, 0.6);
}

/* --- Dokümantasyon kenar menüsü --- */
.docs-link {
    display: block;
    border-radius: 0.75rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    color: rgba(26, 26, 28, 0.7);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.docs-link:hover {
    background: var(--color-background-3);
    color: var(--color-secondary);
}

.docs-link.is-active {
    background: var(--color-primary-500);
    color: #fff;
}

.dark .docs-link {
    color: rgba(252, 252, 252, 0.7);
}

.dark .docs-link:hover {
    background: var(--color-background-7);
    color: var(--color-accent);
}

/* --- Galeri --- */
.gallery-thumb {
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 0.75rem;
    transition: border-color 0.2s ease;
}

.gallery-thumb.is-active {
    border-color: var(--color-primary-500);
}

[data-gallery-thumb] img,
[data-gallery-main] img {
    -webkit-user-drag: none;
    user-select: none;
}

.gallery-thumb img {
    display: block;
    aspect-ratio: 1;
    width: 100%;
    object-fit: cover;
}

[data-gallery-main] img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* --- Zengin içerik (veritabanı HTML içerikleri) --- */
.rich-content {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(26, 26, 28, 0.75);
}

.dark .rich-content {
    color: rgba(252, 252, 252, 0.75);
}

.rich-content > :first-child {
    margin-top: 0;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
    margin: 2rem 0 0.75rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-secondary);
}

.dark .rich-content h2,
.dark .rich-content h3,
.dark .rich-content h4 {
    color: var(--color-accent);
}

.rich-content h2 {
    font-size: 1.5rem;
}

.rich-content h3 {
    font-size: 1.25rem;
}

.rich-content h4 {
    font-size: 1.125rem;
}

.rich-content p {
    margin: 0.75rem 0;
}

.rich-content a {
    color: var(--color-primary-500);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rich-content ul,
.rich-content ol {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.rich-content ul {
    list-style: disc;
}

.rich-content ol {
    list-style: decimal;
}

.rich-content li {
    margin: 0.375rem 0;
}

.rich-content blockquote {
    margin: 1.25rem 0;
    border-left: 3px solid var(--color-primary-500);
    border-radius: 0 0.75rem 0.75rem 0;
    background: var(--color-background-3);
    padding: 0.875rem 1.25rem;
    font-style: italic;
}

.dark .rich-content blockquote {
    background: var(--color-background-7);
}

.rich-content img {
    margin: 1.25rem 0;
    border-radius: 1rem;
}

.rich-content code {
    border-radius: 0.375rem;
    background: var(--color-background-3);
    padding: 0.125rem 0.375rem;
    font-size: 0.875em;
}

.dark .rich-content code {
    background: var(--color-background-7);
}

.rich-content pre {
    margin: 1.25rem 0;
    overflow-x: auto;
    border-radius: 0.75rem;
    background: var(--color-background-8);
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    color: #e5e7eb;
}

.rich-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

.rich-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.875rem;
}

.rich-content th,
.rich-content td {
    border: 1px solid var(--color-stroke-1);
    padding: 0.625rem 0.875rem;
    text-align: left;
}

.dark .rich-content th,
.dark .rich-content td {
    border-color: var(--color-stroke-7);
}

.rich-content th {
    background: var(--color-background-3);
    font-weight: 600;
    color: var(--color-secondary);
}

.dark .rich-content th {
    background: var(--color-background-7);
    color: var(--color-accent);
}

.rich-content hr {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid var(--color-stroke-1);
}

.dark .rich-content hr {
    border-color: var(--color-stroke-7);
}

/* --- details oku (WebKit) --- */
summary::-webkit-details-marker {
    display: none;
}

/* --- Kopyalama geri bildirimi --- */
[data-copy].is-copied {
    color: var(--color-primary-500);
}

/* --- Sayfa başlığı (iç sayfa hero) --- */
.page-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--color-stroke-1);
    background-image: linear-gradient(180deg, rgba(134, 79, 254, 0.07) 0%, rgba(134, 79, 254, 0) 100%);
}

.dark .page-hero {
    border-color: var(--color-stroke-7);
    background-image: linear-gradient(180deg, rgba(134, 79, 254, 0.14) 0%, rgba(134, 79, 254, 0) 100%);
}

.page-hero__inner {
    position: relative;
    padding: 6rem 0 2.5rem;
}

@media (min-width: 1024px) {
    .page-hero__inner {
        padding: 7.5rem 0 3rem;
    }
}
/* Sıkılaştırılmış sayfa başlığı; bölüm boşluğu tek noktadan yönetilir. */
.page-hero + section {
    padding-top: 2rem;
}

@media (min-width: 768px) {
    .page-hero + section {
        padding-top: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .page-hero + section {
        padding-top: 3rem;
    }
}

.page-hero__crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.75rem;
}

.page-hero__crumbs i {
    font-size: 0.5rem;
    color: rgba(26, 26, 28, 0.35);
}

.page-hero__crumbs a {
    color: rgba(26, 26, 28, 0.55);
    transition: color 0.2s ease;
}

.page-hero__crumbs a:hover {
    color: var(--color-primary-500);
}

.page-hero__crumbs span {
    color: rgba(26, 26, 28, 0.4);
}

.dark .page-hero__crumbs i {
    color: rgba(252, 252, 252, 0.35);
}

.dark .page-hero__crumbs a {
    color: rgba(252, 252, 252, 0.55);
}

.dark .page-hero__crumbs span {
    color: rgba(252, 252, 252, 0.4);
}

.page-hero__title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--color-secondary);
}

@media (min-width: 640px) {
    .page-hero__title {
        font-size: 2.75rem;
    }
}

.dark .page-hero__title {
    color: var(--color-accent);
}

.page-hero__subtitle {
    margin-top: 0.875rem;
    max-width: 42rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(26, 26, 28, 0.6);
}

.dark .page-hero__subtitle {
    color: rgba(252, 252, 252, 0.6);
}

/* --- İç sayfa hero süslemeleri --- */
.page-hero__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(26, 26, 28, 0.09) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}

.page-hero__shape {
    position: absolute;
    pointer-events: none;
    user-select: none;
    line-height: 1;
    color: rgba(134, 79, 254, 0.1);
}

.page-hero__shape--main {
    right: 4%;
    top: 50%;
    font-size: 15rem;
    transform: translateY(-50%) rotate(-6deg);
}

.page-hero__shape--small {
    right: 21%;
    top: 18%;
    font-size: 5rem;
    color: rgba(134, 79, 254, 0.16);
}

.dark .page-hero__dots {
    background-image: radial-gradient(rgba(252, 252, 252, 0.08) 1px, transparent 1px);
}

.dark .page-hero__shape--main {
    color: rgba(134, 79, 254, 0.14);
}

.dark .page-hero__shape--small {
    color: rgba(134, 79, 254, 0.22);
}

/* --- Ürün kartı --- */
.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid var(--color-stroke-1);
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, translate 0.3s ease;
}

.product-card:hover {
    translate: 0 -4px !important;
    border-color: rgba(134, 79, 254, 0.4);
    box-shadow: 0 24px 48px -24px rgba(19, 23, 30, 0.25);
}

.dark .product-card {
    border-color: var(--color-background-7);
    background: var(--color-background-6);
}

.dark .product-card:hover {
    border-color: rgba(134, 79, 254, 0.4);
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
}

.product-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, rgba(134, 79, 254, 0.12), rgba(19, 23, 30, 0.06));
}

.dark .product-card__media {
    background: linear-gradient(135deg, rgba(134, 79, 254, 0.18), rgba(7, 11, 16, 0.5));
}

.product-card__media img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card__media img {
    transform: scale(1.05);
}

.product-card__media i {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(134, 79, 254, 0.35);
    transition: transform 0.5s ease;
}

.product-card:hover .product-card__media i {
    transform: scale(1.1);
}

.product-card__badges {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    display: flex;
    gap: 0.5rem;
}

.product-card__badge {
    border-radius: 9999px;
    padding: 0.25rem 0.625rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #fff;
}

.product-card__badge--featured {
    background: var(--color-primary-500);
}

.product-card__badge--sale {
    background: #10b981;
}

.product-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
}

.product-card__title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-secondary);
}

.product-card__title a {
    transition: color 0.2s ease;
}

.product-card:hover .product-card__title a {
    color: var(--color-primary-500);
}

.dark .product-card__title {
    color: var(--color-accent);
}

.product-card__desc {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(26, 26, 28, 0.6);
}

.dark .product-card__desc {
    color: rgba(252, 252, 252, 0.6);
}

.product-card__footer {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    border-top: 1px solid var(--color-stroke-1);
    padding-top: 1rem;
}

.dark .product-card__footer {
    border-color: var(--color-stroke-7);
}

.product-card__price-old {
    display: block;
    font-size: 0.75rem;
    color: rgba(26, 26, 28, 0.45);
    text-decoration: line-through;
}

.dark .product-card__price-old {
    color: rgba(252, 252, 252, 0.45);
}

.product-card__price {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--color-secondary);
}

.dark .product-card__price {
    color: var(--color-accent);
}

.product-card__cta {
    display: inline-flex;
    height: 2.25rem;
    width: 2.25rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    border: 1px solid var(--color-stroke-1);
    color: rgba(26, 26, 28, 0.55);
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.product-card__cta i {
    font-size: 0.7rem;
}

.product-card__cta:hover {
    border-color: var(--color-primary-500);
    background: var(--color-primary-500);
    color: #fff;
}

.dark .product-card__cta {
    border-color: var(--color-stroke-7);
    color: rgba(252, 252, 252, 0.55);
}

.dark .product-card__cta:hover {
    border-color: var(--color-primary-500);
    color: #fff;
}

/* --- Kaydırma çubuğu --- */
html {
    scrollbar-width: thin;
    scrollbar-color: #c8cfd9 #f4f5f8;
}

html.dark {
    scrollbar-color: #303b49 #0f1217;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f4f5f8;
}

html.dark ::-webkit-scrollbar-track {
    background: #0f1217;
}

::-webkit-scrollbar-thumb {
    border: 2px solid #f4f5f8;
    border-radius: 9999px;
    background: #c8cfd9;
}

html.dark ::-webkit-scrollbar-thumb {
    border-color: #0f1217;
    background: #303b49;
}

::-webkit-scrollbar-thumb:hover {
    background: #aab3c0;
}

html.dark ::-webkit-scrollbar-thumb:hover {
    background: #3d4a5c;
}

/* --- Seçim rengi --- */
::selection {
    background: rgba(134, 79, 254, 0.25);
}

/* --- Hareket azaltma tercihi --- */
@media (prefers-reduced-motion: reduce) {
    .slider-slide.is-active {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }

    .fab,
    [data-flash],
    [data-back-to-top],
    [data-gallery-thumb],
    .flash-toast {
        transition: none;
    }

    .hero-visual img {
        animation: none;
    }

    .card-lift:hover {
        translate: none !important;
    }

    .product-card:hover {
        translate: none !important;
    }

    .contact-tile:hover {
        translate: none;
    }
}
