/* ================================================================
   Fatih Yazılım - Modern Tasarım & Animasyonlar
   ================================================================ */

/* ---------- Temel ---------- */
* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.5rem;
}

body {
    font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    background-color: #05070d;
}

.font-display {
    font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
}

::selection {
    background: rgba(45, 212, 191, 0.35);
    color: #fff;
}

/* Kaydırma çubukları */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #0a0f1a; }
::-webkit-scrollbar-thumb { background: #2b3648; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #0d9488; }

.custom-scrollbar { scrollbar-width: thin; scrollbar-color: #3b4a5f #0a0f1a; }
.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #3b4a5f; border-radius: 10px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #0d9488; }

/* ---------- Animasyonlu Arka Plan ---------- */
.bg-fx {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 20% -10%, rgba(13, 148, 136, 0.14), transparent 60%),
        radial-gradient(ellipse 70% 60% at 110% 30%, rgba(79, 70, 229, 0.12), transparent 60%),
        radial-gradient(ellipse 90% 70% at 50% 120%, rgba(8, 145, 178, 0.12), transparent 60%),
        #05070d;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    will-change: transform;
}

.orb-1 {
    width: 42vw; height: 42vw;
    min-width: 340px; min-height: 340px;
    top: -14%; left: -12%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.5), transparent 65%);
    animation: drift1 26s ease-in-out infinite alternate;
}

.orb-2 {
    width: 36vw; height: 36vw;
    min-width: 300px; min-height: 300px;
    bottom: -16%; right: -10%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.42), transparent 65%);
    animation: drift2 32s ease-in-out infinite alternate;
}

.orb-3 {
    width: 26vw; height: 26vw;
    min-width: 220px; min-height: 220px;
    top: 38%; left: 58%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.3), transparent 65%);
    opacity: 0.35;
    animation: drift3 24s ease-in-out infinite alternate;
}

@keyframes drift1 {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(12vw, 10vh) scale(1.15); }
    100% { transform: translate(4vw, 18vh) scale(0.95); }
}

@keyframes drift2 {
    0%   { transform: translate(0, 0) scale(1.05); }
    50%  { transform: translate(-14vw, -12vh) scale(0.92); }
    100% { transform: translate(-6vw, -4vh) scale(1.12); }
}

@keyframes drift3 {
    0%   { transform: translate(0, 0) scale(0.9); }
    100% { transform: translate(-10vw, -8vh) scale(1.1); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- Header ---------- */
#site-header {
    background: rgba(7, 11, 19, 0.55);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transition: background 0.35s ease, box-shadow 0.35s ease;
    border-bottom: 1px solid transparent;
}

#site-header.is-scrolled {
    background: rgba(5, 8, 14, 0.9);
    box-shadow: 0 12px 35px -18px rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.logo-img {
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(45, 212, 191, 0.75);
    transition: transform 0.35s ease;
}

a:hover .logo-img { transform: rotate(-6deg) scale(1.06); }

/* Avatar yedekleri (görsel yüklenmezse görünür) */
.avatar-fallback,
.avatar-fallback-sm,
.avatar-fallback-lg,
.avatar-fallback-xl {
    position: absolute;
    inset: 0;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: linear-gradient(135deg, #0d9488, #0e7490);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
    overflow: hidden;
}

.avatar-fallback { font-size: 0.72rem; }
.avatar-fallback-sm { font-size: 0.7rem; }
.avatar-fallback-lg { font-size: 1rem; }
.avatar-fallback-xl { font-size: 1.6rem; }

/* Masaüstü menü */
.nav-link {
    position: relative;
    padding: 0.4rem 0;
    color: #cbd5e1;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, #2dd4bf, #22d3ee);
    transition: width 0.3s ease;
}

.nav-link:hover { color: #2dd4bf; }
.nav-link:hover::after,
.nav-link.active { width: 100%; color: #2dd4bf; }

.btn-cta-nav {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.2rem;
    border-radius: 0.8rem;
    font-weight: 700;
    color: #fff;
    background-image: linear-gradient(90deg, #0d9488, #0891b2);
    box-shadow: 0 8px 20px -8px rgba(13, 148, 136, 0.7);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-cta-nav:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 14px 26px -10px rgba(13, 148, 136, 0.8);
}

/* Mobil menü */
.mobile-menu:not(.hidden) { animation: menuIn 0.28s ease both; }

@keyframes menuIn {
    from { opacity: 0; transform: translateY(-10px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.mobile-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.8rem 1rem;
    border-radius: 0.9rem;
    color: #cbd5e1;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-link:hover { background: rgba(255, 255, 255, 0.05); color: #2dd4bf; }
.mobile-link.mobile-cta {
    margin-top: 0.35rem;
    color: #fff;
    background-image: linear-gradient(90deg, #0d9488, #0891b2);
}
.mobile-link.mobile-cta:hover { background-image: linear-gradient(90deg, #0f766e, #0e7490); color: #fff; }

/* ---------- Metin & Yardımcılar ---------- */
.gradient-text {
    background: linear-gradient(90deg, #5eead4, #22d3ee 45%, #a5b4fc);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientMove 5s ease-in-out infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(45, 212, 191, 0.35);
    box-shadow: 0 0 24px -8px rgba(45, 212, 191, 0.5);
}

.type-row {
    min-height: 2rem;
}

.caret {
    display: inline-block;
    width: 3px;
    height: 1.15em;
    margin-left: 3px;
    vertical-align: -0.2em;
    background: #2dd4bf;
    border-radius: 2px;
    animation: blink 0.9s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.section-eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.72rem;
    font-weight: 700;
    color: #5eead4;
    margin-bottom: 0.7rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.85rem, 4vw, 2.6rem);
    font-weight: 700;
    color: #fff;
}

.section-title::after {
    content: '';
    display: block;
    width: 68px;
    height: 4px;
    margin: 0.85rem auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #2dd4bf, #22d3ee, #818cf8);
    animation: barShine 4s ease-in-out infinite;
    background-size: 200% auto;
}

.section-title.text-left::after { margin-left: 0; margin-right: auto; }

@keyframes barShine {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* ---------- Butonlar ---------- */
.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.7rem;
    border-radius: 0.95rem;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    background-image: linear-gradient(90deg, #0d9488, #0891b2);
    box-shadow: 0 12px 26px -10px rgba(13, 148, 136, 0.65);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 55%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -12px rgba(13, 148, 136, 0.85);
}

.btn-primary:hover::after { animation: shine 0.9s ease forwards; }

@keyframes shine {
    to { left: 160%; }
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 0.9rem 1.6rem;
    border-radius: 0.95rem;
    font-weight: 600;
    color: #e5e7eb;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.3);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(45, 212, 191, 0.6);
    color: #5eead4;
    box-shadow: 0 14px 30px -16px rgba(45, 212, 191, 0.6);
}

.btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.72rem 1.35rem;
    border-radius: 0.95rem;
    font-weight: 700;
    color: #fff;
    background-image: linear-gradient(90deg, #16a34a, #22c55e);
    box-shadow: 0 10px 22px -10px rgba(34, 197, 94, 0.7);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-wa:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 14px 28px -10px rgba(34, 197, 94, 0.8);
}

/* ---------- Scroll'a göre belirme (reveal) ---------- */
html.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.8s ease var(--d, 0s),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s);
    will-change: opacity, transform;
}

html.js .reveal.show { opacity: 1; transform: none; }

/* ---------- Hero görselleri ---------- */
.g-border {
    background: linear-gradient(135deg,
        rgba(45, 212, 191, 0.75),
        rgba(34, 211, 238, 0.2) 40%,
        rgba(129, 140, 248, 0.6));
}

.float-slow { animation: floatY 7s ease-in-out infinite; }
.float-slow-2 { animation: floatY 9s ease-in-out -3s infinite; }

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.code-line {
    opacity: 0;
    transform: translateX(-14px);
    animation: codeIn 0.6s ease forwards;
    animation-delay: var(--d, 0s);
}

@keyframes codeIn {
    to { opacity: 1; transform: translateX(0); }
}

.float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 1rem;
    border-radius: 9999px;
    background: rgba(10, 15, 26, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.25);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 16px 36px -16px rgba(0, 0, 0, 0.8);
    animation: chipFloat 6s ease-in-out infinite;
}

.chip-1 { top: 6%; right: -3%; animation-delay: -1s; }
.chip-2 { bottom: 24%; left: -7%; animation-delay: -3s; }
.chip-3 { top: 52%; right: -10%; animation-delay: -4.5s; }

@keyframes chipFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-14px) rotate(2deg); }
}

/* ---------- Hizmet kartları ---------- */
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.6rem;
    border-radius: 1.3rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(71, 85, 105, 0.45);
    overflow: hidden;
    transition:
        opacity 0.8s ease var(--d, 0s),
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s),
        box-shadow 0.45s ease,
        border-color 0.45s ease,
        background 0.45s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: -150%;
    width: 55%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(45, 212, 191, 0.55);
    box-shadow: 0 28px 55px -22px rgba(6, 182, 212, 0.35);
    background: linear-gradient(180deg, rgba(13, 148, 136, 0.08), rgba(255, 255, 255, 0.02));
}

.service-card:hover::before { animation: shine 1s ease forwards; }

.service-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.icon-circle {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.1rem;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 10px 24px -8px rgba(8, 145, 178, 0.6);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .icon-circle { transform: translateY(-4px) rotate(-7deg) scale(1.06); }

.icon-circle-sm {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.8rem;
    font-size: 0.95rem;
    color: #fff;
    box-shadow: 0 8px 18px -8px rgba(8, 145, 178, 0.6);
}

.service-no {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.07);
    transition: color 0.4s ease;
    user-select: none;
}

.service-card:hover .service-no { color: rgba(45, 212, 191, 0.25); }

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #9ca3af;
}

.feature-list li i {
    width: 1.05rem;
    display: inline-flex;
    justify-content: center;
    color: #2dd4bf;
    flex-shrink: 0;
}

.feature-list li b {
    color: #d1d5db;
    font-weight: 600;
    margin-right: 0.2rem;
}

.price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    background: linear-gradient(90deg, #fff, #99f6e4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.price span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #5eead4;
    -webkit-text-fill-color: #5eead4;
    margin-left: 0.2rem;
}

.btn-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.72rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(45, 212, 191, 0.4);
    background: rgba(45, 212, 191, 0.06);
    color: #5eead4;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-card:hover {
    background-image: linear-gradient(90deg, #0d9488, #0891b2);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(13, 148, 136, 0.7);
}

/* ---------- CTA bandı ---------- */
.cta-band {
    background: linear-gradient(90deg,
        rgba(45, 212, 191, 0.65),
        rgba(34, 211, 238, 0.35) 45%,
        rgba(129, 140, 248, 0.6));
}

/* ---------- Hakkımızda ---------- */
.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(71, 85, 105, 0.35);
    border-radius: 1.1rem;
    padding: 1.15rem 0.75rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: rgba(45, 212, 191, 0.5);
    background: rgba(13, 148, 136, 0.07);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.15rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    margin-bottom: 0.4rem;
}

.stat-number span:not(.text-xl):not(.text-base) { color: #5eead4; }

.stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: #94a3b8;
}

.skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.25s ease;
}

.skill-chip i { color: #2dd4bf; }

.skill-chip:hover {
    border-color: rgba(45, 212, 191, 0.6);
    color: #fff;
    transform: translateY(-2px);
}

.social-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.social-btn:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.6); }

/* ---------- İletişim kartları ---------- */
.contact-card {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid;
    background: rgba(255, 255, 255, 0.025);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.contact-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 24px 45px -20px rgba(0, 0, 0, 0.7);
    background: rgba(255, 255, 255, 0.045);
}

.contact-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.15rem;
    flex-shrink: 0;
    transition: all 0.35s ease;
}

/* ---------- Form & yorumlar ---------- */
.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 0.45rem;
}

.form-input {
    width: 100%;
    padding: 0.72rem 1rem;
    border-radius: 0.8rem;
    font-size: 0.9rem;
    color: #e5e7eb;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(71, 85, 105, 0.5);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.form-input::placeholder { color: #64748b; }

.form-input:focus {
    border-color: #2dd4bf;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.empty-state {
    padding: 3rem 1.5rem;
    text-align: center;
    border: 2px dashed rgba(71, 85, 105, 0.35);
    border-radius: 1.2rem;
    animation: popIn 0.4s ease both;
}

.review-card {
    background: rgba(31, 41, 55, 0.55);
    border: 1px solid rgba(71, 85, 105, 0.4);
    border-left: 4px solid #2dd4bf;
    border-radius: 1rem;
    padding: 1.05rem 1.2rem;
    animation: reviewIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateX(5px);
    border-color: rgba(45, 212, 191, 0.5);
    box-shadow: 0 16px 32px -18px rgba(45, 212, 191, 0.4);
}

.review-head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.7rem;
}

.review-avatar {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    background: linear-gradient(135deg, #0d9488, #0891b2);
    flex-shrink: 0;
    box-shadow: 0 6px 14px -6px rgba(8, 145, 178, 0.7);
}

.review-name { font-weight: 700; color: #fff; font-size: 0.95rem; }

.review-date { font-size: 0.7rem; color: #64748b; }

.review-stars { color: #fbbf24; font-size: 0.7rem; letter-spacing: 0.1em; }

.review-text { font-size: 0.88rem; color: #cbd5e1; line-height: 1.6; }

@keyframes reviewIn {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Sohbet widget ---------- */
.chat-window {
    display: flex;
    flex-direction: column;
    border-radius: 1.1rem;
    overflow: hidden;
    background: #0a0f1a;
    box-shadow: 0 30px 70px -18px rgba(0, 0, 0, 0.85);
    transform-origin: bottom right;
    animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.9) translateY(12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.chat-msg-in { animation: reviewIn 0.35s ease both; }

.chat-fab {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 55;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    color: #fff;
    font-size: 1.45rem;
    background-image: linear-gradient(135deg, #0d9488, #0891b2);
    box-shadow: 0 14px 30px -8px rgba(13, 148, 136, 0.75);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chat-fab::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 9999px;
    border: 2px solid rgba(45, 212, 191, 0.6);
    animation: fabPulse 2.2s ease-out infinite;
}

@keyframes fabPulse {
    0% { transform: scale(0.9); opacity: 0.9; }
    70%, 100% { transform: scale(1.35); opacity: 0; }
}

.chat-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 20px 40px -10px rgba(13, 148, 136, 0.9); }

.chat-fab .fab-close { display: none; }

.chat-fab.open { background-image: linear-gradient(135deg, #334155, #1e293b); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.8); }
.chat-fab.open .fab-icon { display: none; }
.chat-fab.open .fab-close { display: block; }
.chat-fab.open::before { display: none; }

.chat-opt {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.6rem 0.9rem;
    border-radius: 0.8rem;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    color: #5eead4;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.25s ease;
}

.chat-opt:hover {
    background: rgba(45, 212, 191, 0.15);
    color: #fff;
    transform: translateX(3px);
    box-shadow: 0 8px 18px -10px rgba(45, 212, 191, 0.6);
}

.chat-opt i { width: 1.05rem; text-align: center; }

.typing-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #94a3b8;
    display: inline-block;
    animation: typingBounce 1.2s ease-in-out infinite;
}

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-5px); opacity: 1; }
}

/* ---------- Yukarı çık butonu ---------- */
.back-top {
    position: fixed;
    left: 1.2rem;
    bottom: 1.2rem;
    z-index: 45;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.95rem;
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.25);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.35s ease;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    color: #fff;
    border-color: rgba(45, 212, 191, 0.7);
    box-shadow: 0 10px 24px -8px rgba(45, 212, 191, 0.5);
    transform: translateY(-3px);
}

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    left: 50%;
    bottom: 1.6rem;
    z-index: 80;
    max-width: min(92vw, 420px);
    padding: 0.9rem 1.4rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(45, 212, 191, 0.5);
    box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 14px);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    text-align: center;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* ---------- Erişilebilirlik: İçeriğe atla ---------- */
/* Varsayılan olarak ekran dışında; yalnızca klavye ile odaklandığında görünür */
.skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    z-index: 100;
    padding: 0.6rem 1.1rem;
    border-radius: 0.75rem;
    background: #0d9488;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus-visible {
    top: 12px;
}

/* ---------- Hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
