:root {
    --bg: #0a0b10;
    --txt: #e9f0ff;
    --muted: #9db0ff;
    --acc1: #8a5cff;
    --acc2: #00ffd5;
    --acc3: #ff2e79;
    --acc4: #ffd166;
    --glass: rgba(255,255,255,.06);
    /* form teması */
    --glass-strong: rgba(255,255,255,.10);
    --txt-2: #e9efff;
    --muted-2: #9fb0d4;
    --ok: #1ee0a1;
    --err: #ff5d7a;
    --ring: 0 0 0 3px rgba(0,255,213,.25), 0 0 25px rgba(125,95,255,.35);
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    background: radial-gradient(1200px 800px at 70% -10%, rgba(138,92,255,.25), transparent 60%), linear-gradient(180deg,#0a0b10,#0a0b10 40%,#0c0f1a);
    color: var(--txt);
    font-family: Outfit, system-ui, sans-serif;
}

/* =========================
   NAV
   ========================= */
.nav-wrap {
    position: sticky;
    top: 0;
    z-index: 500;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    position: relative;
    background: linear-gradient(180deg, rgba(10,11,16,.8), rgba(10,11,16,.35));
    backdrop-filter: blur(6px);
    z-index: 600;
}

.nav-blur {
    position: absolute;
    inset: 0;
    filter: blur(16px);
    opacity: .2;
    pointer-events: none; /* tıklamayı engellemesin */
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .4px;
}

.brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: conic-gradient(from 0deg,var(--acc1),var(--acc2),var(--acc3),var(--acc1));
}

.menu {
    display: flex;
    align-items: center;
    gap: 18px;
}

    .menu a {
        color: #dfe6ff;
        text-decoration: none;
        opacity: .9;
    }

    /* Dil seçici */
    .menu .lang {
        display: flex;
        align-items: center;
        gap: 6px;
        background: var(--glass);
        padding: 6px 10px;
        border-radius: 12px;
    }

.lang select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #0e0f12;
    color: #fff;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    padding: .4rem 1.8rem .4rem .6rem;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right .6rem center;
    background-size: 14px;
    font: inherit;
    cursor: pointer;
}

    .lang select:hover {
        border-color: rgba(255,255,255,.3);
    }

    .lang select:focus {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 2px rgba(59,130,246,.3);
    }

/* =========================
   USER MENU + DROPDOWN
   ========================= */
.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    padding: 6px 10px;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease;
}

    .user-btn:hover {
        background: rgba(255,255,255,.12);
    }

.badge {
    font-size: .72rem;
    padding: .15rem .45rem;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
}

/* Varsayılan: kapalı görünüm (JS .show ekler) */
.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: #0e0f12;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    padding: .5rem;
    z-index: 9999;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top right;
    transition: transform .18s ease, opacity .18s ease;
    overflow: hidden;
}

    .user-dropdown.show {
        opacity: 1;
        transform: scaleY(1);
    }

    .user-dropdown a,
    .user-dropdown button {
        display: flex;
        align-items: center;
        gap: .5rem;
        width: 100%;
        padding: .6rem .8rem;
        border-radius: 10px;
        background: transparent;
        color: #fff;
        text-align: left;
        border: none;
        cursor: pointer;
        transition: background .15s;
    }

        .user-dropdown a:hover,
        .user-dropdown button:hover {
            background: rgba(255,255,255,.08);
        }

/* =========================
   HERO
   ========================= */
.hero {
    position: relative;
    min-height: 92vh;
    overflow: hidden;
}

.parallax.layer {
    position: absolute;
    inset: -10% -5%;
    background-repeat: no-repeat;
    pointer-events: none;
    transform: translateZ(0);
}

.l1 {
    background: radial-gradient(600px 300px at 15% 20%, rgba(0,255,213,.18), transparent 60%);
}

.l2 {
    background: radial-gradient(900px 500px at 80% 10%, rgba(138,92,255,.22), transparent 70%);
}

.l3 {
    background: radial-gradient(600px 340px at 50% 90%, rgba(255,46,121,.18), transparent 60%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 120px 24px 64px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.06;
    margin: 0 0 16px;
}

.hero .badge {
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--acc1), var(--acc2));
    margin-right: 10px;
}

.lead {
    max-width: 780px;
    margin: 0 auto 24px;
    color: var(--muted);
    font-size: clamp(16px, 2.3vw, 20px);
}

.cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 18px;
}

.btn-glow, .btn-ghost {
    padding: 12px 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-glow {
    background: linear-gradient(90deg, var(--acc1), var(--acc2));
    color: #0c0c12;
    box-shadow: 0 0 24px rgba(138,92,255,.35), 0 0 40px rgba(0,255,213,.25);
    transition: filter .2s ease;
}

    .btn-glow:hover {
        filter: brightness(1.08);
    }

.btn-lg {
    padding: 14px 22px;
}

.btn-ghost {
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
}

.hero-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 700px;
    margin: 26px auto 0;
}

    .hero-kpis .num {
        font-size: 28px;
        font-weight: 900;
        display: block;
    }

/* =========================
   LOGOS MARQUEE
   ========================= */
.logos {
    padding: 24px 0;
    opacity: .9;
}

    .logos .swiper-slide span {
        display: inline-block;
        padding: 10px 24px;
        border-radius: 12px;
        background: var(--glass);
    }

/* =========================
   SECTIONS
   ========================= */
.features, .how, .pricing, .faq {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

    .features h2, .how h2, .pricing h2, .faq h2 {
        text-align: center;
        margin: 0 0 28px;
        font-size: clamp(28px, 4vw, 40px);
    }

    .features .grid, .pricing .grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

@media (max-width:900px) {
    .features .grid, .pricing .grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.1);
    padding: 20px;
    border-radius: 18px;
}

    .card i {
        font-size: 28px;
        color: var(--acc2);
    }

    .card.pop {
        transform: translateY(0);
        transition: .4s cubic-bezier(.2,.7,.2,1);
    }

        .card.pop:hover {
            transform: translateY(-6px);
            box-shadow: 0 10px 40px rgba(0,0,0,.35);
        }

.how {
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
    border-radius: 24px;
}

.how-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.how ol {
    list-style: decimal-leading-zero;
    text-align: left;
    max-width: 680px;
    margin: 18px auto;
    line-height: 1.8;
    color: #cfe0ff;
}

.pricing .price {
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.1);
    padding: 22px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
}

.price .tag {
    display: inline-block;
    background: var(--glass);
    padding: 6px 10px;
    border-radius: 10px;
    margin: 6px 0 10px;
}

.price .cost {
    font-size: 28px;
    margin: 8px 0 12px;
}

.price--pro {
    outline: 2px solid rgba(138,92,255,.5);
}

    .price--pro .spark {
        position: absolute;
        inset: -40% -20%;
        background: conic-gradient(from 0deg, var(--acc1), transparent 30%, var(--acc2), transparent 60%, var(--acc3));
        filter: blur(40px);
        opacity: .25;
        animation: spin 14s linear infinite;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.faq details {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 10px;
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
}

/* =========================
   FOOTER
   ========================= */
.footer {
    padding: 40px 24px 24px;
    border-top: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
}

    .footer .grid {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 18px;
    }

    .footer a {
        color: #cfe0ff;
        text-decoration: none;
        display: block;
        margin: 4px 0;
        opacity: .9;
    }

.copy {
    text-align: center;
    opacity: .6;
    margin-top: 18px;
}

.brand--footer {
    font-weight: 900;
    margin-bottom: 6px;
}

/* =========================
   AUTH / FORMS
   ========================= */
.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #0f1016 0%, #1a2030 100%);
    backdrop-filter: blur(6px);
}

.auth-glass {
    width: 380px;
    padding: 40px 30px;
    border-radius: 20px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 8px 30px rgba(0,0,0,.5);
    color: #e6e9ff;
    animation: fadeInUp .6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
    text-align: center;
}

.auth-sub {
    text-align: center;
    color: #8f9bb3;
    margin-bottom: 30px;
}

.form-floating label {
    color: #a9b3cc;
    transition: all .2s;
}

.form-control.neon-input {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    color: #fff;
}

    .form-control.neon-input:focus {
        border-color: #00ffd5;
        box-shadow: 0 0 10px rgba(0,255,213,.3);
        background: rgba(255,255,255,.07);
    }

.btn-neon {
    background: linear-gradient(90deg,#7d5fff,#00ffd5);
    border: none;
    border-radius: 12px;
    padding: 10px 0;
    font-weight: 600;
    color: #000;
    transition: box-shadow .25s ease, transform .15s;
}

    .btn-neon:hover {
        box-shadow: 0 0 20px rgba(125,95,255,.6);
        transform: translateY(-2px);
    }

.auth-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

    .auth-links a {
        color: #00ffd5;
        text-decoration: none;
        transition: opacity .2s;
    }

        .auth-links a:hover {
            opacity: .7;
        }

.profile-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 20px;
    font-size: 15px;
    color: #d0e2ff;
    box-shadow: inset 0 0 15px rgba(0,255,213,.05);
    animation: fadeInUp .8s ease;
}

.alert {
    background: rgba(0,255,213,.1);
    border: 1px solid rgba(0,255,213,.3);
    color: #00ffd5;
    border-radius: 12px;
}

/* Gelişmiş form alanları */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.field {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--glass-strong);
    background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

    .field .icon {
        padding: 0 12px;
        color: var(--muted-2);
        display: flex;
        align-items: center;
    }

.input {
    width: 100%;
    padding: 14px 14px;
    font-size: 15px;
    color: var(--txt-2);
    background: transparent;
    border: 0;
    outline: none;
}

.field label {
    position: absolute;
    left: 46px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--muted-2);
    pointer-events: none;
    transition: all .16s ease;
}

.input::placeholder {
    color: transparent;
}

.input:focus + label,
.input:not(:placeholder-shown) + label {
    top: 8px;
    transform: none;
    font-size: 11px;
    letter-spacing: .2px;
    color: #cfe6ff;
}

.field:has(.input:focus) {
    border-color: transparent;
    box-shadow: var(--ring);
    background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
}

.field:has(.input-validation-error) {
    border-color: rgba(255,93,122,.6);
    box-shadow: 0 0 0 3px rgba(255,93,122,.2);
}

    .field:has(.input-validation-error) label {
        color: #ffc0cb;
    }

.text-danger, .field-error {
    color: var(--err);
    font-size: 12px;
    margin-top: 4px;
    padding-left: 6px;
}

.field.valid {
    border-color: rgba(30,224,161,.5);
    box-shadow: 0 0 0 3px rgba(30,224,161,.18);
}

.toggle-pass {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--muted-2);
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 8px;
    transition: background .15s, color .15s;
}

    .toggle-pass:hover {
        background: rgba(255,255,255,.08);
        color: #fff;
    }

.validation-summary-errors {
    background: rgba(255,93,122,.1);
    border: 1px solid rgba(255,93,122,.3);
    color: #fff;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 12px;
}

.validation-summary-valid {
    display: none;
}

.input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px rgba(255,255,255,.08) inset !important;
    -webkit-text-fill-color: var(--txt-2) !important;
}

/* Field-row (Login sayfası) */
.field-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

    .field-row label {
        flex: 0 0 110px;
        text-align: left;
        font-weight: 600;
        color: #b0c0e3;
        font-size: 15px;
        letter-spacing: .2px;
    }

.input-glass {
    flex: 1;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    padding: 12px 14px;
    transition: all .25s ease;
}

    .input-glass::placeholder {
        color: rgba(200,210,230,.5);
    }

    .input-glass:focus {
        outline: none;
        border-color: transparent;
        background: rgba(255,255,255,.12);
        box-shadow: 0 0 6px #00e0ff, 0 0 18px #a400ff;
    }

.text-danger {
    color: #ff6c88;
    font-size: 13px;
    margin-left: 120px;
}

@media (max-width: 576px) {
    .field-row {
        flex-direction: column;
        align-items: stretch;
    }

        .field-row label {
            flex: none;
            margin-bottom: 4px;
        }

    .text-danger {
        margin-left: 0;
    }
}

.field-error {
    display: block;
    margin-top: 4px;
    text-align: left;
    padding-left: 8px;
    color: #ff6c88;
    font-size: 13px;
}

@media (max-width: 576px) {
    .field-error {
        margin-left: 0;
    }
}

/* =========================
   TOAST
   ========================= */
.top-toast {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #0f5132;
    color: #d1fae5;
    border-bottom: 1px solid #0a3622;
    padding: .7rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toast-close {
    background: transparent;
    border: 0;
    color: inherit;
    font-size: 1rem;
    cursor: pointer;
}

/* =========================
   BUTONLAR (Login/Register header)
   ========================= */
.btn-login, .btn-register {
    border-radius: 10px;
    padding: 6px 14px;
    text-decoration: none;
    font-weight: 500;
    transition: all .2s;
}

.btn-login {
    background: transparent;
    color: #00ffd5;
    border: 1px solid #00ffd5;
}

    .btn-login:hover {
        background: #00ffd5;
        color: #000;
    }

.btn-register {
    background: linear-gradient(90deg,#7d5fff,#00ffd5);
    color: #000;
    font-weight: 600;
}

    .btn-register:hover {
        box-shadow: 0 0 20px rgba(125,95,255,.6);
        transform: translateY(-1px);
    }

/* (İsteğe bağlı) cam efektli nav varyantı */
.glassy-nav {
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(12px);
    background: rgba(20, 20, 35, 0.55);
    padding: 12px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
}

.logo-gradient {
    background: linear-gradient(90deg, #0ff 0%, #f0f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn.btn-neon {
    background: linear-gradient(90deg, #00f0ff, #f000ff);
    border: none;
    color: white;
    border-radius: 12px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

    .btn.btn-neon:hover {
        transform: scale(1.05);
        box-shadow: 0 0 10px #00f0ff, 0 0 20px #f000ff;
    }

.btn.btn-outline {
    border: 1px solid #00f0ff;
    background: transparent;
    color: #00f0ff;
    border-radius: 12px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

    .btn.btn-outline:hover {
        background: #00f0ff;
        color: #000;
    }

.btn.btn-glass {
    background: rgba(255,255,255,.15);
    color: #fff;
    border-radius: 10px;
    padding: 6px 14px;
    backdrop-filter: blur(8px);
    transition: .2s;
}

    .btn.btn-glass:hover {
        background: rgba(255,255,255,.25);
    }

.user-info {
    display: flex;
    align-items: center;
    color: #fff;
}

.user-name {
    font-weight: 500;
    margin-right: 6px;
}

.premium-badge {
    animation: pulse 1.5s infinite alternate;
    font-size: 1.2rem;
}

@keyframes pulse {
    from {
        text-shadow: 0 0 5px #00f0ff;
        transform: scale(1);
    }

    to {
        text-shadow: 0 0 15px #f0f;
        transform: scale(1.2);
    }
}
/* Profile layout */
.profile-wrap {
    width: min(100%, 980px);
    margin: auto;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 8px 30px rgba(0,0,0,.35);
}

.profile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.ph-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 800;
    background: linear-gradient(90deg,var(--acc1),var(--acc2));
    color: #0b0d14;
}

.plan-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,.18);
    background: var(--glass);
    color: #fff;
}

    .plan-badge.pro {
        outline: 2px solid rgba(138,92,255,.45);
    }

    .plan-badge.free {
        opacity: .9;
    }

.profile-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    margin: 10px 0 14px;
    border: 1px solid rgba(255, 215, 0, .25);
    background: linear-gradient(180deg, rgba(255,215,0,.10), rgba(255,255,255,.04));
}

    .profile-alert .muted {
        color: #cfe0ff;
        opacity: .8;
        font-size: .9rem;
    }

.profile-stats {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
    margin-bottom: 14px;
}

.stat {
    background: linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    padding: 12px 14px;
}

.stat-k {
    color: var(--muted);
    font-size: .85rem;
}

.stat-v {
    font-weight: 700;
    margin-top: 2px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.card {
    background: linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    padding: 16px;
}

.section-title {
    margin: 0 0 10px;
    font-size: 1.05rem;
}

.mt-1 {
    margin-top: .5rem;
}

.mt-2 {
    margin-top: 1rem;
}

/* Mobil düzen */
@media (max-width: 768px) {
    .profile-stats {
        grid-template-columns: 1fr;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .ph-right {
        align-self: flex-start;
    }
}
