/* --- TEMA: landing (main.css) ile ortak palet --- */
:root {
    --bg:      #0a0a0b;
    --bg2:     #111114;
    --card:    #1a1a1e;
    --ink:     #f5f5f7;
    --mute:    #8b8b93;
    --line:    rgba(255, 255, 255, .08);
    --orange:  #D97440;
    --orange2: #E88652;
    --glow:    rgba(217, 116, 64, .35);
    --glass:   rgba(255, 255, 255, .04);
    --glass-b: rgba(255, 255, 255, .09);
    --success: #3da56f;
    --danger:  #E74C3C;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }

/* Arka plan efektleri */
body::before {
    content: "";
    position: fixed;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(217,116,64,.13) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
body::after {
    content: "";
    position: fixed;
    top: -30%; bottom: -30%; left: 60%;
    width: 1px;
    background: var(--orange);
    transform: rotate(12deg);
    opacity: .12;
    pointer-events: none;
    z-index: 0;
}

/* --- NAVBAR --- */
.navbar {
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
    background: rgba(10, 10, 11, .85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.nav-left { display: flex; align-items: center; gap: 20px; }

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--ink);
}

.logo img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 6px;
}

.nav-divider { width: 1px; height: 20px; background: var(--line); }

.back-link {
    color: var(--mute);
    font-size: 14px;
    transition: color .3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.back-link .back-arr { display: inline-block; transition: transform .25s; }
.back-link:hover { color: var(--ink); }
.back-link:hover .back-arr { transform: translateX(-3px); }

.nav-tag {
    font-size: 12px;
    color: var(--mute);
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- WIZARD --- */
.wizard-container {
    max-width: 860px;
    margin: 44px auto;
    padding: 0 24px;
    width: 100%;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

/* --- STEPPER --- */
.progress-stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 44px;
    position: relative;
}

.progress-line {
    position: absolute;
    top: 17px; left: 0;
    height: 2px;
    background: var(--line);
    width: 100%;
    z-index: 1;
}

.progress-line-active {
    position: absolute;
    top: 17px; left: 0;
    height: 2px;
    background: var(--orange);
    width: 0%;
    z-index: 2;
    transition: width .6s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 0 10px var(--glow);
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    width: 20%;
    text-align: center;
}

.step-circle {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg2);
    border: 2px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--mute);
    transition: all .4s ease;
    margin-bottom: 10px;
    position: relative;
}

.step-label {
    font-size: 12px;
    color: var(--mute);
    font-weight: 500;
    transition: color .4s;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: .3px;
}

.step-indicator.active .step-circle {
    border-color: var(--orange);
    background: var(--bg);
    color: var(--orange);
    box-shadow: 0 0 14px var(--glow);
}

.step-indicator.active .step-circle::after {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 1px solid var(--orange);
    opacity: 0;
    animation: pulse-ring 2.6s ease-out infinite;
}

.step-indicator.active .step-label { color: var(--ink); font-weight: 600; }

.step-indicator.completed .step-circle {
    border-color: var(--success);
    background: var(--success);
    color: #fff;
    animation: pop .35s ease;
}

.step-indicator.completed .step-label { color: var(--mute); }

@keyframes pop { 0% { transform: scale(.8); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

/* --- PANELLER --- */
.step-panel {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-b);
    border-radius: 18px;
    padding: 42px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
    display: none;
}

.step-panel.active {
    display: block;
    animation: slide-fwd .45s cubic-bezier(.4, 0, .2, 1);
}

@keyframes slide-fwd { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: translateX(0); } }

.step-title { font-size: 26px; margin-bottom: 10px; text-align: center; }

.step-desc {
    color: var(--mute);
    font-size: 14px;
    text-align: center;
    margin-bottom: 30px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* --- FORM --- */
.form-group { margin-bottom: 20px; position: relative; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--mute);
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 14px;
    outline: none;
    transition: all .3s ease;
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(217, 116, 64, .15), 0 0 18px rgba(217, 116, 64, .12);
}

.password-wrapper { position: relative; }

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--mute);
    display: flex;
    align-items: center;
    transition: color .2s;
}

.password-toggle:hover { color: var(--ink); }

.form-error {
    color: var(--danger);
    font-size: 12px;
    margin-top: 6px;
    display: none;
}

/* --- BUTONLAR --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all .25s ease;
    border: 1px solid transparent;
    text-align: center;
    text-decoration: none;
}

.btn-primary { background: var(--orange); color: #0a0a0b; width: 100%; }

.btn-primary:hover:not(:disabled) {
    background: var(--orange2);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px -8px var(--glow);
}

.btn-primary:disabled { opacity: .4; cursor: not-allowed; }

.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }

.btn-ghost:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-2px);
}

.spinner {
    width: 16px; height: 16px;
    border: 2px solid rgba(10, 10, 11, .3);
    border-top-color: #0a0a0b;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    display: inline-block;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* --- SÖZLEŞME ONAY KUTUSU --- */
.terms-check-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0 20px;
    padding: 14px 16px;
    background: rgba(217, 116, 64, .04);
    border: 1px solid rgba(217, 116, 64, .18);
    border-radius: 10px;
}

.terms-check-group input[type="checkbox"] {
    width: 16px; height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--orange);
    cursor: pointer;
}

.terms-check-group label {
    font-size: 13px;
    color: var(--mute);
    cursor: pointer;
    line-height: 1.5;
}

.link-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--orange);
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
    vertical-align: baseline;
}

.link-btn:hover { text-decoration: underline; }

/* --- ADIM 2: DOĞRULAMA --- */
.verify-wrap { text-align: center; }

.verification-graphic {
    width: 88px; height: 88px;
    margin: 0 auto 26px;
    background: rgba(217, 116, 64, .07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(217, 116, 64, .3);
    color: var(--orange);
    position: relative;
    animation: float 5s ease-in-out infinite;
}

.verification-graphic::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid var(--orange);
    opacity: 0;
    animation: pulse-ring 3s ease-out infinite;
}

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

.bypass-note {
    background: rgba(217, 116, 64, .05);
    border: 1px solid rgba(217, 116, 64, .2);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 24px;
    font-size: 13px;
    text-align: center;
}

/* --- ADIM 3: PAKETLER --- */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 8px;
}

.plan-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-b);
    border-radius: 16px;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all .3s ease;
}

.plan-card:hover { transform: translateY(-6px); border-color: var(--orange); }

.plan-card.popular {
    border-color: var(--orange);
    box-shadow: 0 0 0 1px var(--orange), 0 20px 50px -20px var(--glow);
}

.popular-badge {
    position: absolute;
    top: -11px; left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: #0a0a0b;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: .5px;
}

.plan-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
}

.plan-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--orange);
}

.plan-price span { font-size: 12px; font-weight: 400; color: var(--mute); }

.plan-features {
    list-style: none;
    margin-bottom: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.plan-features li {
    font-size: 13px;
    color: var(--mute);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.plan-features li::before {
    content: "→";
    color: var(--orange);
    font-weight: 700;
    flex-shrink: 0;
}

/* --- ADIM 4: ÖDEME --- */
.pay-summary {
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px 24px;
    margin-bottom: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pay-summary .k {
    font-size: 11px;
    color: var(--mute);
    margin-bottom: 4px;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pay-summary .vname { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px; }

.pay-summary .vprice {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--orange);
}

.loadbar {
    height: 3px;
    background: var(--line);
    border-radius: 99px;
    overflow: hidden;
    margin-top: 18px;
    position: relative;
}

.loadbar .fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    background-size: 200% 100%;
    animation: shimmer 1.2s linear infinite;
}

@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.secure-note {
    text-align: center;
    font-size: 11px;
    color: var(--mute);
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.payment-error {
    display: none;
    margin-top: 16px;
    padding: 14px 18px;
    background: rgba(231, 76, 60, .08);
    border: 1px solid rgba(231, 76, 60, .35);
    border-radius: 10px;
    color: #fca5a5;
    font-size: 14px;
}

/* --- ADIM 5: KURULUM --- */
.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(217, 116, 64, .08);
    color: var(--orange);
    border: 1px solid rgba(217, 116, 64, .4);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: .5px;
}

.version-badge.loading { position: relative; overflow: hidden; }

.version-badge.loading::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(217, 116, 64, .25), transparent);
    background-size: 200% 100%;
    animation: shimmer 1.4s linear infinite;
}

.download-list { display: flex; flex-direction: column; gap: 14px; }

.btn-download {
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all .3s;
    color: var(--ink);
    cursor: pointer;
}

.btn-download:hover { border-color: var(--orange); transform: translateY(-2px); }

.download-left { display: flex; align-items: center; gap: 16px; }

.download-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(217, 116, 64, .08);
    border: 1px solid rgba(217, 116, 64, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    flex-shrink: 0;
}

.download-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px; }
.download-sub { font-size: 11px; color: var(--mute); }

.download-arrow { color: var(--mute); transition: all .3s; font-size: 18px; }
.btn-download:hover .download-arrow { color: var(--orange); transform: translateY(2px); }

.panel-cta {
    text-align: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

/* --- FOOTER --- */
.footer {
    border-top: 1px solid var(--line);
    padding: 22px 0;
    text-align: center;
    font-size: 12px;
    color: var(--mute);
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.legal-link {
    color: var(--mute);
    margin-left: 14px;
    transition: color .2s;
    cursor: pointer;
}

.legal-link:hover { color: var(--ink); }

/* --- MODAL SİSTEMİ --- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal-box {
    background: var(--card);
    border: 1px solid var(--glass-b);
    border-radius: 16px;
    padding: 36px;
    width: 100%;
    max-width: 480px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.modal-close {
    position: absolute;
    top: 16px; right: 16px;
    background: none;
    border: none;
    color: var(--mute);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    transition: color .2s;
}

.modal-close:hover { color: var(--ink); }

.modal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    padding-right: 32px;
}

.legal-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-menu-list li button {
    width: 100%;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 16px 20px;
    color: var(--ink);
    font-size: 14px;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color .2s, background .2s;
}

.legal-menu-list li button:hover {
    border-color: var(--orange);
    background: rgba(217, 116, 64, .04);
}

.modal-back {
    background: none;
    border: none;
    color: var(--mute);
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    transition: color .2s;
}

.modal-back:hover { color: var(--ink); }

.modal-content-text { color: var(--mute); font-size: 14px; line-height: 1.8; }
.modal-content-text p { margin-bottom: 12px; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .plans-grid { grid-template-columns: 1fr; }
    .step-panel { padding: 26px; }
    .progress-stepper { margin-bottom: 28px; }
    .step-label { display: none; }
    .nav-tag { display: none; }
}
