/* =============================================
   HelpMe — helpme.css
   Saf CSS, Bootstrap 5 ile uyumlu.
   Tailwind artığı yok, çakışan stil yok.
   ============================================= */

/* ========== CSS VARIABLES ========== */
:root {
    --ink: #182027;
    --muted: #6d767c;
    --blue: #2367f2;
    --blue-dark: #1854d0;
    --cream: #f8f8f5;
    --line: #e5e8e7;
    --coral: #ff755f;
}

/* ========== RESET & BASE ========== */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: 72px;
    background: var(--cream);
    color: var(--ink);
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

.helpme-site {
    overflow-x: hidden;
}

/* ========== NAVBAR ========== */
.helpme-nav {
    background: rgba(248, 248, 245, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(24, 32, 39, 0.07);
    padding: 1.05rem 0;
    z-index: 1030;
}

.navbar-brand {
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.navbar-brand:hover {
    color: var(--blue);
}

.brand-mark {
    width: 31px;
    height: 31px;
    border-radius: 10px;
    background: var(--blue);
    color: white;
    display: inline-grid;
    place-items: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.nav-link {
    color: #596268;
    font-weight: 600;
    font-size: 0.94rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--blue);
}

/* ========== BUTTONS ========== */
.btn {
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--blue);
    border-color: var(--blue);
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(35, 103, 242, 0.18);
}

.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(35, 103, 242, 0.25);
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, p {
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1;
    max-width: 730px;
    margin: 0 0 1.5rem;
}

h1 span,
h2 em {
    color: var(--blue);
    font-style: normal;
}

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    padding: 6rem 0 5rem;
    background: var(--cream);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-glow-one {
    width: 580px;
    height: 580px;
    right: -170px;
    top: -200px;
    background: radial-gradient(circle, rgba(132, 186, 255, 0.25), rgba(132, 186, 255, 0) 70%);
}

.hero-glow-two {
    width: 360px;
    height: 360px;
    left: -170px;
    bottom: -130px;
    background: radial-gradient(circle, rgba(255, 216, 125, 0.18), rgba(255, 216, 125, 0) 70%);
}

/* Eyebrow Label */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--blue);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--coral);
    display: inline-block;
    flex-shrink: 0;
}

/* Hero Copy */
.hero-copy {
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.7;
    max-width: 530px;
    margin-bottom: 2rem;
}

/* Hero Social Proof */
.hero-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.6rem;
}

.avatar-stack {
    display: flex;
}

.avatar-stack span {
    height: 34px;
    width: 34px;
    border: 2px solid var(--cream);
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: #b9d5ff;
    color: #1752bc;
    font-size: 0.58rem;
    font-weight: 800;
    margin-left: -8px;
}

.avatar-stack span:first-child {
    margin-left: 0;
    background: #ffd4c5;
    color: #b14f3b;
}

.avatar-stack span:nth-child(2) {
    background: #cce9da;
    color: #267355;
}

.avatar-stack span:nth-child(3) {
    background: #e6d5ff;
    color: #744bb4;
}

.avatar-stack .avatar-more {
    background: var(--ink);
    color: #fff;
}

.hero-proof strong,
.hero-proof small {
    display: block;
}

.hero-proof strong {
    font-size: 0.84rem;
}

.hero-proof small {
    color: var(--muted);
    font-size: 0.74rem;
    margin-top: 0.2rem;
}

/* ========== HERO CARD ========== */
.hero-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 25px 70px rgba(29, 54, 78, 0.12);
    padding: 1.5rem;
    transform: rotate(2deg);
    max-width: 440px;
    margin-left: auto;
}

.hero-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.4rem;
}

.mini-label {
    color: var(--blue);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
}

.hero-card h2 {
    font-size: 1.55rem;
    line-height: 1.15;
    margin: 0.35rem 0 0;
    font-weight: 800;
}

.online-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4ac68b;
    box-shadow: 0 0 0 5px #e1f7eb;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    color: #a7afb3;
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

.search-box kbd {
    font-size: 0.65rem;
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 0.15rem 0.35rem;
    margin-left: auto;
    background: transparent;
    color: inherit;
}

/* Quick Grid */
.quick-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem;
}

.quick-grid > div {
    display: block;
    padding: 1rem;
    border-radius: 13px;
    background: #f6f8fa;
    transition: transform 0.2s ease;
}

.quick-grid > div:hover {
    transform: translateY(-2px);
}

.quick-grid i {
    display: block;
    color: var(--blue);
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
}

.quick-grid span {
    display: block;
    font-weight: 700;
    font-size: 0.8rem;
}

.quick-grid small {
    display: block;
    color: var(--muted);
    font-size: 0.67rem;
    margin-top: 0.3rem;
}

/* Response Badge */
.response-badge {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    border-top: 1px solid var(--line);
    margin-top: 1.25rem;
    padding-top: 1rem;
    color: var(--muted);
    font-size: 0.7rem;
}

.response-badge strong {
    margin-left: auto;
    color: var(--ink);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #42c481;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ========== SECTION SHARED ========== */
.section-padding {
    padding: 7.5rem 0;
}

.section-heading {
    max-width: 650px;
    margin: 0 auto;
}

.section-heading h2,
.process-section h2,
.request-section h2 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-heading p,
.muted-copy {
    color: var(--muted);
    line-height: 1.7;
}

/* ========== ÖZELLİKLER (FEATURES) ========== */
.feature-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.7rem;
    transition: all 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(29, 54, 78, 0.09);
}

.feature-icon {
    width: 45px;
    height: 45px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: #e8f0ff;
    color: var(--blue);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

/* Feature card renk varyasyonları - parent col üzerinden */
.col-md-4:nth-child(2) .feature-icon {
    background: #fff0e9;
    color: #e66b4e;
}

.col-md-4:nth-child(3) .feature-icon {
    background: #e5f7ef;
    color: #2c9b6a;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.feature-card a {
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.2s ease;
}

.feature-card a:hover {
    color: var(--blue-dark);
}

/* ========== NASIL ÇALIŞIR (PROCESS) ========== */
.process-section {
    background: #edf3ff;
}

.step-card {
    height: 100%;
    position: relative;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
}

.step-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.step-number {
    font-size: 2.6rem;
    color: var(--blue);
    font-weight: 800;
    letter-spacing: -0.08em;
    margin-bottom: 3rem;
}

.step-line {
    height: 1px;
    background: #b8cdf9;
    margin-bottom: 1.5rem;
    position: relative;
}

.step-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: -3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
}

/* ========== DESTEK TALEBİ (REQUEST) ========== */
.request-section {
    background: #fff;
}

.contact-note {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border-top: 1px solid var(--line);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
}

.contact-note > i {
    color: var(--blue);
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.contact-note strong {
    display: block;
    font-size: 0.88rem;
}

.contact-note span {
    display: block;
    color: var(--muted);
    font-size: 0.76rem;
    margin-top: 0.3rem;
}

/* Form */
.request-form {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 2rem;
    background: var(--cream);
}

.form-label {
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
}

.form-control,
.form-select {
    border: 1px solid #dfe4e8;
    border-radius: 10px;
    padding: 0.78rem 0.9rem;
    font-size: 0.86rem;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 0.2rem rgba(35, 103, 242, 0.12);
}

.alert {
    font-size: 0.82rem;
    border-radius: 10px;
}

/* ========== SSS (FAQ) ========== */
.faq-section {
    background: var(--cream);
}

.faq-list {
    max-width: 800px;
    margin: 2.5rem auto 0;
    border-top: 1px solid var(--line);
}

.accordion-item {
    background: transparent;
    border-bottom: 1px solid var(--line);
    border-left: 0;
    border-right: 0;
    border-top: 0;
}

.accordion-button {
    background: transparent !important;
    box-shadow: none !important;
    padding: 1.3rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
}

.accordion-button::after {
    background-size: 1rem;
}

.accordion-body {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.7;
    padding: 0 2rem 1.4rem 0;
}

/* ========== FOOTER ========== */
.site-footer {
    background: var(--ink);
    padding: 2.2rem 0;
    color: #9ea8ae;
}

.site-footer .navbar-brand {
    color: white;
    font-size: 1.15rem;
}

.site-footer .navbar-brand:hover {
    color: rgba(255, 255, 255, 0.8);
}

.site-footer .brand-mark {
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
}

.site-footer p {
    font-size: 0.75rem;
}

.footer-links {
    display: flex;
    gap: 1.2rem;
}

.footer-links a {
    color: #c7ced1;
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

/* ========== RESPONSIVE ========== */

/* Tablet ve altı */
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 4rem;
    }

    .hero-card {
        margin: 2rem auto 0;
        transform: none;
        max-width: 100%;
    }

    .navbar-collapse {
        background: var(--cream);
        padding: 1rem 0;
        border-top: 1px solid var(--line);
        margin-top: 0.5rem;
    }

    .navbar-collapse .btn {
        margin-top: 0.5rem;
    }

    .navbar-collapse .navbar-nav {
        margin-bottom: 0.5rem;
    }
}

/* Mobil */
@media (max-width: 575.98px) {
    .hero-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .section-padding {
        padding: 4.5rem 0;
    }

    h1 {
        font-size: 2.6rem;
    }

    .hero-card {
        padding: 1.1rem;
    }

    .request-form {
        padding: 1.2rem;
    }

    .site-footer {
        padding: 1.8rem 0;
    }

    .footer-links {
        gap: 0.8rem;
    }

    .quick-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== CHAT & TICKET TRACKING ========== */
.chat-thread-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.chat-thread-header {
    background: #fafaf8;
    border-bottom: 1px solid var(--line);
    padding: 1.25rem 1.75rem;
}

.chat-messages-area {
    background: #fbfbf9;
    padding: 1.75rem;
    max-height: 540px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.chat-bubble-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.chat-bubble-wrapper.is-user {
    align-self: flex-end;
    align-items: flex-end;
}

.chat-bubble-wrapper.is-admin {
    align-self: flex-start;
    align-items: flex-start;
}

.chat-bubble {
    padding: 0.95rem 1.25rem;
    border-radius: 18px;
    font-size: 0.96rem;
    line-height: 1.55;
    position: relative;
    word-break: break-word;
}

.chat-bubble-wrapper.is-user .chat-bubble {
    background: #eef2f8;
    color: var(--ink);
    border-bottom-right-radius: 4px;
    border: 1px solid #dfe5ef;
}

.chat-bubble-wrapper.is-admin .chat-bubble {
    background: linear-gradient(135deg, #2367f2 0%, #1752cd 100%);
    color: #ffffff;
    border-bottom-left-radius: 4px;
    box-shadow: 0 4px 12px rgba(35, 103, 242, 0.22);
}

.chat-bubble-meta {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.chat-reply-bar {
    background: #ffffff;
    border-top: 1px solid var(--line);
    padding: 1.25rem 1.75rem;
}

/* ========== STATUS BADGES ========== */
.badge-status {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4em 0.85em;
    border-radius: 50rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.badge-status-waiting {
    background-color: #fff8e6;
    color: #b7791f;
    border: 1px solid #fbd38d;
}

.badge-status-answered {
    background-color: #e6fffa;
    color: #234e52;
    border: 1px solid #81e6d9;
}

.badge-status-closed {
    background-color: #edf2f7;
    color: #4a5568;
    border: 1px solid #cbd5e0;
}

/* ========== ADMIN DASHBOARD ========== */
.admin-stat-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.4rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.admin-table thead th {
    background: #f8f8f5;
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    border-bottom: 1px solid var(--line);
    padding: 1rem;
}

.admin-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
}

.admin-table tbody tr:hover td {
    background-color: #fbfbf9;
}