/* ================================================================
   assets/css/magaza-ac.css  —  Mağaza Açın Landing Page
   Stil 6 (3D Tilt) + Stil 7 (Stats Cards) | Dark & Light tema
   ================================================================ */

/* ── 1. TEMA DEĞİŞKENLERİ ─────────────────────────────────────── */
:root {
    --ma-bg: #ffffff;
    --ma-bg2: #f9fafb;
    --ma-bg3: #f3f4f6;
    --ma-surface: #ffffff;
    --ma-border: #e5e7eb;
    --ma-text: #111827;
    --ma-muted: #6b7280;
    --ma-green: #10b981;
    --ma-green2: #059669;
    --ma-blue: #3b82f6;
    --ma-purple: #8b5cf6;
    --ma-dark-bg: #0a0a10;
}

body.dark-theme {
    --ma-bg: #0a0a10;
    --ma-bg2: #0d0d18;
    --ma-bg3: #111120;
    --ma-surface: #13131d;
    --ma-border: rgba(255, 255, 255, .08);
    --ma-text: #f9fafb;
    --ma-muted: #9ca3af;
}

/* ── 2. LAYOUT DÜZELTME ───────────────────────────────────────── */
/* Sayfa sidebar olmadan açılıyor → body tam genişlik */
/* style.css: body { display:flex } → sidebar yokken tam genişlik ver */
body:has(.magaza-wrap) {
    display: block;
    /* flex yerine block → tam genişlik */
    background: var(--ma-bg);
}

body.dark-theme:has(.magaza-wrap) {
    background: #080810;
}

body {
    overflow-x: hidden;
}

.magaza-wrap {
    background: var(--ma-bg);
    color: var(--ma-text);
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
    /* header fixed 72px yükseklikte → üstten itmiyoruz çünkü hero padding bunu kapsıyor */
}

/* ── 3. YARDIMCILAR ──────────────────────────────────────────── */
.ma-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 48px;
}

.ma-section {
    padding: 104px 0;
}

.ma-section-head {
    text-align: center;
    margin-bottom: 64px;
}

.ma-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ma-green);
    margin-bottom: 12px;
}

.ma-section-title {
    font-size: clamp(30px, 3.5vw, 44px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.1;
    color: var(--ma-text);
    margin-bottom: 16px;
}

.ma-section-sub {
    font-size: 17px;
    color: var(--ma-muted);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto;
}

.gradient-clip {
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── 4. SCROLL REVEAL ────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1),
        transform .8s cubic-bezier(.16, 1, .3, 1);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

.reveal.d1 {
    transition-delay: .1s
}

.reveal.d2 {
    transition-delay: .2s
}

.reveal.d3 {
    transition-delay: .3s
}

.reveal.d4 {
    transition-delay: .4s
}

/* ── 5. BUTONLAR ─────────────────────────────────────────────── */
.ma-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--ma-green), var(--ma-green2));
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all .35s cubic-bezier(.16, 1, .3, 1);
    box-shadow: 0 16px 32px rgba(16, 185, 129, .25);
    white-space: nowrap;
    text-decoration: none;
}

.ma-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 24px 48px rgba(16, 185, 129, .4);
    color: #fff;
    text-decoration: none;
}

.ma-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: transparent;
    color: #9ca3af;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 100px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s;
    text-decoration: none;
}

.ma-btn-ghost:hover {
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

.ma-btn-large {
    padding: 20px 48px;
    font-size: 18px;
}

/* ── 6. HERO BÖLÜMÜ ─────────────────────────────────────────── */
.ma-hero {
    position: relative;
    background: #080810;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 48px 100px;
    overflow: hidden;
}

/* Dekoratif orbs */
.ma-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.ma-orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(16, 185, 129, .18);
    top: -200px;
    left: -120px;
    animation: orbFloat 8s ease-in-out infinite;
}

.ma-orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, .14);
    bottom: -150px;
    right: -80px;
    animation: orbFloat 11s ease-in-out infinite reverse;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(24px) scale(1.04);
    }
}

/* 2 sütun: Metin | Geniş Tilt Kart */
.ma-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1260px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.ma-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(16, 185, 129, .12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, .25);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 24px;
}

.ma-hero-title {
    font-size: clamp(40px, 4.5vw, 70px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.04;
    color: #fff;
    margin-bottom: 24px;
}

.ma-hero-desc {
    font-size: 17px;
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 500px;
}

.ma-hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ─── 3D TILT KARTI ──────────────────────────────────────────── */
.ma-tilt-wrap {
    position: relative;
}

.ma-tilt-card {
    background: linear-gradient(160deg, #141420, #0d1628);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 32px;
    padding: 44px 40px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, .6);
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform .12s linear;
    position: relative;
    overflow: hidden;
}

.ma-tilt-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
            rgba(16, 185, 129, .2) 0%, transparent 55%);
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s;
}

.ma-tilt-inner {
    position: relative;
    z-index: 2;
}

.ma-tilt-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.ma-tilt-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(16, 185, 129, .3);
}

.ma-tilt-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.ma-tilt-role {
    font-size: 13px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.dot-green {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .4
    }
}

.ma-tilt-chart-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.ma-tilt-amount {
    font-size: 40px;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 22px;
}

.ma-tilt-bars {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    height: 72px;
    margin-bottom: 22px;
    padding: 0 2px;
}

.ma-tilt-bar {
    flex: 1;
    background: rgba(255, 255, 255, .08);
    border-radius: 5px;
}

.ma-tilt-bar.active-bar {
    background: linear-gradient(to top, #10b981, #3b82f6);
    box-shadow: 0 0 14px rgba(16, 185, 129, .4);
}

.ma-tilt-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding-top: 20px;
}

.ma-tilt-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #9ca3af;
}

.ma-tilt-btn {
    padding: 9px 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
    text-decoration: none;
    display: inline-block;
}

.ma-tilt-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(16, 185, 129, .4);
    color: #fff;
}

/* Floating Badges */
.ma-float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(14, 14, 26, .88);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    font-size: 13px;
    color: #fff;
    animation: badgeFloat 4s ease-in-out infinite;
    white-space: nowrap;
    z-index: 5;
}

.ma-float-badge i {
    font-size: 18px;
    color: #10b981;
}

.ma-float-badge strong {
    display: block;
    font-weight: 800;
    font-size: 15px;
}

.ma-float-badge small {
    color: #9ca3af;
    font-size: 11px;
}

.badge-left {
    bottom: 32px;
    left: -28px;
}

.badge-right {
    top: 32px;
    right: -24px;
    animation-delay: 1.5s;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ─── STİL 7: STATS YATAY BANT (hero altı) ─────────────────── */
.ma-stats-row {
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, .035);
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 32px 48px;
}

.ma-stats-row-inner {
    max-width: 1260px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ma-stat-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all .35s cubic-bezier(.16, 1, .3, 1);
    cursor: default;
}

.ma-stat-card:hover {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(16, 185, 129, .35);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
}

.ma-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.si-green {
    background: rgba(16, 185, 129, .15);
    color: #10b981;
}

.si-blue {
    background: rgba(59, 130, 246, .15);
    color: #3b82f6;
}

.si-purple {
    background: rgba(139, 92, 246, .15);
    color: #8b5cf6;
}

.ma-stat-val {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.ma-stat-label {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 2px;
}

/* ── 7. NASIL ÇALIŞIR — 4 ADIM ──────────────────────────────── */
.ma-steps-section {
    background: var(--ma-bg);
}

.ma-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ma-step {
    background: var(--ma-surface);
    border: 1px solid var(--ma-border);
    border-radius: 24px;
    padding: 32px 24px;
    transition: all .4s cubic-bezier(.16, 1, .3, 1);
}

.ma-step:hover {
    transform: translateY(-7px);
    border-color: var(--ma-green);
    box-shadow: 0 24px 50px rgba(16, 185, 129, .1);
}

.ma-step-num {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
    color: #d1d5db;
    margin-bottom: 18px;
    text-transform: uppercase;
}

body.dark-theme .ma-step-num {
    color: #374151;
}

.ma-step-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(16, 185, 129, .12), rgba(5, 150, 105, .06));
    color: var(--ma-green);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}

.ma-step h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ma-text);
    margin-bottom: 10px;
}

.ma-step p {
    font-size: 14px;
    color: var(--ma-muted);
    line-height: 1.6;
}

/* ── 8. NEDEN LAZERDESEN — KOYU BÖLÜM ──────────────────────── */
.ma-dark-section {
    background: #070710;
}

.ma-dark-section .ma-section-title {
    color: #fff;
}

.ma-dark-section .ma-section-sub {
    color: #9ca3af;
}

body.dark-theme .ma-dark-section {
    background: #050508;
}

.ma-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ma-why-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 22px;
    padding: 32px 24px;
    transition: all .4s cubic-bezier(.16, 1, .3, 1);
}

.ma-why-card:hover {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(16, 185, 129, .3);
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .3);
}

.ma-why-icon {
    width: 56px;
    height: 56px;
    background: rgba(16, 185, 129, .12);
    color: #10b981;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.ma-why-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.ma-why-card p {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
}

/* ── 9. KOMİSYON TABLOSU ────────────────────────────────────── */
.ma-commission-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.ma-comm-card {
    background: linear-gradient(160deg, #0d0d18, #0a1628);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 28px;
    padding: 52px 44px;
    text-align: center;
    color: #fff;
    box-shadow: 0 40px 80px rgba(0, 0, 0, .3);
}

.ma-comm-top h3 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.ma-comm-top p {
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 36px;
}

.ma-comm-rate {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin-bottom: 6px;
}

.ma-comm-num {
    font-size: 96px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ma-comm-pct {
    font-size: 40px;
    font-weight: 800;
    color: #10b981;
    margin-top: 14px;
}

.ma-comm-label {
    font-size: 15px;
    font-weight: 600;
    color: #9ca3af;
}

.ma-comm-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ma-comm-feat {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 24px;
    background: var(--ma-surface);
    border: 1px solid var(--ma-border);
    border-radius: 18px;
    transition: all .3s;
}

.ma-comm-feat:hover {
    border-color: var(--ma-green);
    transform: translateX(5px);
}

.ma-comm-feat-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(16, 185, 129, .1);
    color: #10b981;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ma-comm-feat h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--ma-text);
    margin-bottom: 4px;
}

.ma-comm-feat p {
    font-size: 13px;
    color: var(--ma-muted);
    line-height: 1.5;
}

/* ── 10. SSS ACCORDION ──────────────────────────────────────── */
.ma-faq-section {
    background: var(--ma-bg2);
}

.ma-faq-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

.ma-faq-left .ma-section-title {
    text-align: left;
}

.ma-faq-left .ma-section-sub {
    text-align: left;
    margin: 0;
}

.ma-faq-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ma-faq-item {
    background: var(--ma-surface);
    border: 1px solid var(--ma-border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s;
}

.ma-faq-item.open {
    border-color: var(--ma-green);
    box-shadow: 0 8px 28px rgba(16, 185, 129, .1);
}

.ma-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--ma-text);
    transition: color .3s;
}

.ma-faq-item.open .ma-faq-q {
    color: var(--ma-green);
}

.ma-faq-icon {
    font-size: 13px;
    flex-shrink: 0;
    transition: transform .3s;
    color: var(--ma-muted);
}

.ma-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.16, 1, .3, 1);
}

.ma-faq-a p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--ma-muted);
    line-height: 1.7;
}

/* ── 11. CTA BANNER ─────────────────────────────────────────── */
.ma-cta-banner {
    background: linear-gradient(160deg, #0d1117, #0a1628);
    padding: 100px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, .04);
}

.ma-cta-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(16, 185, 129, .12);
    filter: blur(120px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.ma-cta-title {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
    color: #fff;
}

.ma-cta-sub {
    font-size: 18px;
    color: #9ca3af;
    margin-bottom: 44px;
    position: relative;
    z-index: 2;
}

.ma-cta-note {
    margin-top: 20px;
    font-size: 13px;
    color: #6b7280;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ── 12. DARK TEMA — EKSTRA DÜZELTMELER ─────────────────────── */
body.dark-theme .ma-step {
    background: #111120;
    border-color: rgba(255, 255, 255, .07);
}

body.dark-theme .ma-step h3 {
    color: #f9fafb;
}

body.dark-theme .ma-faq-section {
    background: #0a0a14;
}

body.dark-theme .ma-faq-item {
    background: #111120;
    border-color: rgba(255, 255, 255, .07);
}

body.dark-theme .ma-faq-q {
    color: #f9fafb;
}

body.dark-theme .ma-comm-feat {
    background: #111120;
    border-color: rgba(255, 255, 255, .07);
}

body.dark-theme .ma-comm-feat h4 {
    color: #f9fafb;
}

/* ── 13. MOBİL UYUM ─────────────────────────────────────────── */
@media (max-width: 1280px) {
    .ma-hero-inner {
        grid-template-columns: 1fr 1fr;
    }

    .ma-stats-row-inner {
        grid-template-columns: repeat(3, 1fr);
    }

    .badge-left,
    .badge-right {
        display: none;
    }
}

@media (max-width: 960px) {
    .ma-hero {
        min-height: auto;
        padding: 110px 32px 60px;
    }

    .ma-hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .ma-tilt-wrap {
        max-width: 540px;
        margin: 0 auto;
    }

    .ma-stats-row {
        padding: 24px 32px;
    }

    .ma-stats-row-inner {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 16px;
    }

    .ma-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ma-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ma-commission-grid {
        grid-template-columns: 1fr;
    }

    .ma-faq-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .ma-container {
        padding: 0 20px;
    }

    .ma-section {
        padding: 72px 0;
    }

    .ma-hero {
        padding: 110px 20px 60px;
    }

    .ma-hero-title {
        font-size: 38px;
    }

    .ma-hero-btns {
        flex-direction: column;
    }

    .ma-steps-grid {
        grid-template-columns: 1fr;
    }

    .ma-why-grid {
        grid-template-columns: 1fr;
    }

    .ma-comm-num {
        font-size: 72px;
    }

    .ma-cta-banner {
        padding: 72px 20px;
    }

    .ma-stats-row {
        padding: 20px;
    }

    .ma-stats-row-inner {
        grid-template-columns: 1fr;
    }
}