/* Destek Portal — ana sayfa ultra premium */
:root {
    --ph-bg: #f8fafc;
    --ph-surface: #ffffff;
    --ph-text: #0f172a;
    --ph-muted: #64748b;
    --ph-border: rgba(148, 163, 184, 0.28);
    --ph-violet: #6d28d9;
    --ph-violet-deep: #4c1d95;
    --ph-indigo: #4f46e5;
    --ph-gold: #e8c547;
    --ph-radius: 16px;
    --ph-radius-lg: 24px;
    --ph-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    --ph-header-h: 64px;
    --ph-safe-t: env(safe-area-inset-top, 0px);
    --ph-safe-b: env(safe-area-inset-bottom, 0px);
}

@media (max-width: 767px) {
    .d-none-mobile {
        display: none !important;
    }
}

.ph-page {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background: var(--ph-bg);
    color: var(--ph-text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Header */
.ph-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: calc(var(--ph-header-h) + var(--ph-safe-t));
    padding-top: var(--ph-safe-t);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ph-border);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}
.ph-header__inner {
    max-width: 80rem;
    margin: 0 auto;
    height: var(--ph-header-h);
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.ph-header__logo img {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}
.ph-header__nav {
    display: none;
    align-items: center;
    gap: 8px;
}
@media (min-width: 768px) {
    .ph-header__nav {
        display: flex;
    }
    .ph-header__menu-btn {
        display: none;
    }
}
.ph-header__link {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ph-muted);
    text-decoration: none;
    border-radius: 999px;
    transition: color 0.15s, background 0.15s;
}
.ph-header__link:hover {
    color: var(--ph-text);
    background: #f1f5f9;
}
.ph-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ph-header__menu-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: #f1f5f9;
    color: #334155;
    font-size: 18px;
    cursor: pointer;
}
.ph-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, filter 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}
.ph-btn--primary {
    color: #fff !important;
    background: linear-gradient(135deg, var(--ph-indigo), var(--ph-violet));
    box-shadow: 0 4px 16px rgba(109, 40, 217, 0.35);
}
.ph-btn--primary:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}
.ph-btn--ghost {
    color: var(--ph-text) !important;
    background: #f1f5f9;
    border: 1px solid var(--ph-border);
}
.ph-btn--lg {
    padding: 14px 24px;
    font-size: 15px;
    border-radius: 14px;
    min-height: 48px;
}
.ph-btn--block {
    width: 100%;
}

/* Mobile drawer */
.ph-drawer {
    position: fixed;
    inset: 0;
    z-index: 60;
    pointer-events: none;
    visibility: hidden;
}
.ph-drawer.is-open {
    pointer-events: auto;
    visibility: visible;
}
.ph-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    opacity: 0;
    transition: opacity 0.25s;
}
.ph-drawer.is-open .ph-drawer__backdrop {
    opacity: 1;
}
.ph-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 88vw);
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: max(16px, var(--ph-safe-t)) 16px max(16px, var(--ph-safe-b));
    box-shadow: -8px 0 40px rgba(15, 23, 42, 0.15);
}
.ph-drawer.is-open .ph-drawer__panel {
    transform: translateX(0);
}
.ph-drawer__nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 0;
}
.ph-drawer__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 600;
    color: var(--ph-text);
    text-decoration: none;
}

/* Hero */
.ph-hero {
    position: relative;
    background: linear-gradient(155deg, #1e1b4b 0%, #4c1d95 42%, #6d28d9 72%, #7c3aed 100%);
    overflow: hidden;
    padding: 32px 16px 48px;
}
@media (min-width: 768px) {
    .ph-hero {
        padding: 56px 24px 72px;
    }
}
.ph-hero__mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 50% at 100% 0%, rgba(232, 197, 71, 0.2), transparent 50%),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(99, 102, 241, 0.25), transparent 55%);
}
.ph-hero__orb {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    animation: ph-float 8s ease-in-out infinite;
}
.ph-hero__orb--1 {
    width: 280px;
    height: 280px;
    top: -80px;
    right: -60px;
}
.ph-hero__orb--2 {
    width: 200px;
    height: 200px;
    bottom: -40px;
    left: -40px;
    animation-delay: -3s;
}
@keyframes ph-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}
.ph-hero__inner {
    position: relative;
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}
.ph-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 16px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
}
.ph-hero__title {
    --ph-brand-w: min(400px, 86vw);
    margin: 0 auto;
    width: var(--ph-brand-w);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    text-align: center;
}
.ph-hero__logo {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
    filter: brightness(0) invert(1);
    opacity: 0.98;
}
.ph-hero__title span {
    display: block;
    width: 100%;
    font-size: clamp(1.75rem, 6vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-align: center;
    white-space: nowrap;
    background: linear-gradient(90deg, var(--ph-gold), #fde68a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ph-hero__lead {
    margin: 16px auto 0;
    max-width: 32rem;
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

/* Search card */
.ph-search {
    max-width: 40rem;
    margin: 28px auto 0;
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--ph-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}
@media (min-width: 640px) {
    .ph-search {
        padding: 28px 28px;
    }
}
.ph-search__title {
    margin: 0 0 4px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ph-text);
    text-align: center;
}
.ph-search__sub {
    margin: 0 0 20px;
    font-size: 14px;
    color: var(--ph-muted);
    text-align: center;
}
.ph-search__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
@media (min-width: 640px) {
    .ph-search__form {
        flex-direction: row;
        align-items: stretch;
    }
}
.ph-search__input {
    flex: 1;
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    font-size: 16px;
    border: 1px solid var(--ph-border);
    border-radius: 14px;
    background: #f8fafc;
    color: var(--ph-text);
}
.ph-search__input:focus {
    outline: none;
    border-color: var(--ph-violet);
    box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.15);
    background: #fff;
}
.ph-search__hint {
    margin: 16px 0 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ph-muted);
    text-align: left;
}
.ph-search__hint i {
    color: var(--ph-violet);
    margin-top: 2px;
    flex-shrink: 0;
}

/* Banners */
.ph-banner {
    padding: 14px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}
.ph-banner--demo {
    background: linear-gradient(90deg, #059669, #10b981);
    color: #fff;
}
.ph-banner--success {
    max-width: 48rem;
    margin: 16px auto;
    padding: 14px 18px;
    border-radius: 14px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}

/* Sections */
.ph-section {
    padding: 48px 16px;
}
@media (min-width: 768px) {
    .ph-section {
        padding: 72px 24px;
    }
}
.ph-section--alt {
    background: var(--ph-surface);
}
.ph-section--muted {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.ph-section__head {
    max-width: 40rem;
    margin: 0 auto 36px;
    text-align: center;
}
.ph-section__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ph-violet);
}
.ph-section__title {
    margin: 0;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}
.ph-section__lead {
    margin: 12px 0 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ph-muted);
}

/* Service cards */
.ph-services {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 640px) {
    .ph-services {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .ph-services {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}
.ph-svc-card {
    padding: 24px;
    background: var(--ph-surface);
    border: 1px solid var(--ph-border);
    border-radius: var(--ph-radius-lg);
    box-shadow: var(--ph-shadow);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.ph-section--alt .ph-svc-card {
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
}
.ph-svc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(109, 40, 217, 0.25);
    box-shadow: 0 20px 48px rgba(109, 40, 217, 0.12);
}
.ph-svc-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    margin-bottom: 16px;
}
.ph-svc-card__icon--violet { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.ph-svc-card__icon--emerald { background: linear-gradient(135deg, #059669, #10b981); }
.ph-svc-card__icon--purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.ph-svc-card__icon--amber { background: linear-gradient(135deg, #d97706, #f59e0b); }
.ph-svc-card__icon--cyan { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.ph-svc-card__icon--indigo { background: linear-gradient(135deg, #4338ca, #4f46e5); }
.ph-svc-card__title {
    margin: 0 0 8px;
    font-size: 1.125rem;
    font-weight: 800;
}
.ph-svc-card__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ph-muted);
}

/* Why us */
.ph-why {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    gap: 32px;
    align-items: center;
}
@media (min-width: 1024px) {
    .ph-why {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}
.ph-why__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ph-why__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    background: var(--ph-surface);
    border: 1px solid var(--ph-border);
    border-radius: var(--ph-radius);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.ph-why__check {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
}
.ph-why__check--g { background: linear-gradient(135deg, #059669, #10b981); }
.ph-why__check--b { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.ph-why__check--p { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }
.ph-why__item h3 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 800;
}
.ph-why__item p {
    margin: 0;
    font-size: 14px;
    color: var(--ph-muted);
    line-height: 1.5;
}
.ph-why__visual {
    padding: 32px 28px;
    border-radius: var(--ph-radius-lg);
    background: linear-gradient(145deg, var(--ph-indigo), var(--ph-violet-deep));
    color: #fff;
    text-align: center;
    box-shadow: 0 24px 56px rgba(76, 29, 149, 0.35);
    position: relative;
    overflow: hidden;
}
.ph-why__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(232, 197, 71, 0.25), transparent 50%);
}
.ph-why__visual > * {
    position: relative;
}
.ph-why__visual-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}
.ph-why__visual h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    font-weight: 800;
}
.ph-why__visual p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

/* CTA band */
.ph-cta {
    padding: 40px 16px;
    background: linear-gradient(135deg, #312e81, #5b21b6);
}
.ph-cta__inner {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}
.ph-cta__inner h2 {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    font-weight: 800;
}
.ph-cta__inner p {
    margin: 0 0 20px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}
.ph-cta__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 280px;
    margin: 0 auto;
}
@media (min-width: 480px) {
    .ph-cta__actions {
        flex-direction: row;
        justify-content: center;
        max-width: none;
    }
}
.ph-btn--white {
    background: #fff;
    color: var(--ph-violet-deep) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.ph-btn--outline {
    background: transparent;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

/* Footer */
.ph-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 48px 16px max(24px, var(--ph-safe-b));
}
.ph-footer__grid {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    gap: 32px;
}
@media (min-width: 768px) {
    .ph-footer__grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 40px;
    }
}
.ph-footer__brand img {
    height: 52px;
    width: auto;
    max-width: 220px;
    margin-bottom: 14px;
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}
.ph-footer__brand p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    max-width: 280px;
}
.ph-footer__col h3 {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e2e8f0;
}
.ph-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ph-footer__links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s;
}
.ph-footer__links a:hover {
    color: #fff;
}
.ph-footer__account {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}
.ph-footer__register {
    display: block;
    text-align: center;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.15s;
}
.ph-footer__register:hover {
    color: #fff;
    text-decoration: underline;
}
.ph-footer__copy {
    max-width: 80rem;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 13px;
}

.hidden {
    display: none !important;
}

/* Hesabım + bildirim */
.ph-header__account {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ph-notif {
    position: relative;
}
.ph-notif__btn {
    position: relative;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: #f1f5f9;
    color: #475569;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, transform 0.15s;
}
.ph-notif__btn:hover {
    background: #ede9fe;
    color: var(--ph-violet);
}
.ph-notif__btn--pulse {
    animation: ph-notif-pulse 0.6s ease-in-out 2;
}
@keyframes ph-notif-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
.ph-notif__badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}
.ph-notif__panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 22rem;
    max-width: calc(100vw - 24px);
    z-index: 60;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--ph-border);
    box-shadow: 0 20px 48px rgba(76, 29, 149, 0.16);
    overflow: hidden;
}
.ph-notif__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    background: linear-gradient(125deg, #faf9fc, #f5f3ff);
    border-bottom: 1px solid var(--ph-border);
}
.ph-notif__head-title {
    font-size: 13px;
    font-weight: 800;
    color: #1e293b;
}
.ph-notif__ack {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ph-violet);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
}
.ph-notif__ack:hover {
    background: rgba(109, 40, 217, 0.08);
}
.ph-notif__list {
    max-height: 18rem;
    overflow-y: auto;
}
.ph-notif__empty {
    padding: 16px 14px;
    font-size: 13px;
    color: var(--ph-muted);
    text-align: center;
    margin: 0;
}
.ph-notif__empty--err {
    color: #dc2626;
}
.ph-notif__item {
    display: flex;
    gap: 10px;
    padding: 11px 14px;
    text-decoration: none;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    transition: background 0.12s;
}
.ph-notif__item:hover {
    background: #f8fafc;
}
.ph-notif__item:last-child {
    border-bottom: none;
}
.ph-notif__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.ph-notif__item--message .ph-notif__icon {
    background: #ede9fe;
    color: var(--ph-violet);
}
.ph-notif__item--status .ph-notif__icon {
    background: #dbeafe;
    color: #2563eb;
}
.ph-notif__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ph-notif__title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}
.ph-notif__line {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}
.ph-notif__meta {
    font-size: 12px;
    color: var(--ph-muted);
    line-height: 1.35;
}
.ph-notif__time {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}
.ph-notif__foot {
    display: block;
    padding: 10px 14px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--ph-violet);
    text-decoration: none;
    background: #faf9fc;
    border-top: 1px solid var(--ph-border);
}
.ph-notif__foot:hover {
    background: #f5f3ff;
}
