        :root {
            --navy-900: #0a1124;
            --navy-800: #111a36;
            --navy-700: #16213e;
            --navy-600: #1f3163;
            --orange:   #f27a1a;
            --orange-2: #ff9447;
            --crimson:  #dc2626;
            --gold:     #ffcd2e;
            --ink:      #0f172a;
            --paper:    #f6f4ee;
            --paper-2:  #efece4;
            --line:     #e7e2d6;
            --muted:    #6b6757;
            --success:  #16a34a;
            --danger:   #dc2626;
        }
        * { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
        html, body { height: 100%; }
        body {
            font-family: 'Manrope', system-ui, -apple-system, sans-serif;
            background: var(--paper);
            color: var(--ink);
            margin: 0;
        }

        /* ===================== LAYOUT ===================== */
        .reg-wrap {
            display: grid;
            grid-template-columns: 1fr 1.05fr;
            min-height: 100vh;
        }
        @media (max-width: 992px) {
            .reg-wrap { grid-template-columns: 1fr; }
        }

        /* ===================== LEFT — BRAND PANE ===================== */
        .reg-left {
            position: relative;
            color: #fff;
            padding: 56px 56px 48px;
            background:
                radial-gradient(900px 600px at 80% 20%, rgba(242, 122, 26, 0.22) 0%, transparent 60%),
                radial-gradient(700px 500px at 10% 95%, rgba(214, 28, 28, 0.18) 0%, transparent 70%),
                linear-gradient(135deg, #0a1124 0%, #111a36 60%, #1c1430 100%);
            overflow: hidden;
            isolation: isolate;
            display: flex;
            flex-direction: column;
        }
        .reg-left::before {
            content: '';
            position: absolute; inset: 0;
            background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.16'/></svg>");
            mix-blend-mode: overlay;
            opacity: 0.5;
            z-index: 0;
            pointer-events: none;
        }
        .reg-left::after {
            content: '';
            position: absolute; inset: 0;
            background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
            background-size: 22px 22px;
            mask-image: radial-gradient(ellipse 60% 50% at 80% 30%, #000 30%, transparent 70%);
            -webkit-mask-image: radial-gradient(ellipse 60% 50% at 80% 30%, #000 30%, transparent 70%);
            z-index: 0;
            pointer-events: none;
        }
        .reg-left > * { position: relative; z-index: 2; }

        .reg-back {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: auto;
            transition: color .18s ease, gap .18s ease;
            align-self: flex-start;
        }
        .reg-back:hover { color: #fff; gap: 8px; }

        .reg-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 205, 46, 0.1);
            border: 1px solid rgba(255, 205, 46, 0.35);
            color: var(--gold);
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 2.2px;
            padding: 6px 12px;
            border-radius: 999px;
            text-transform: uppercase;
            margin: 48px 0 18px;
            align-self: flex-start;
        }
        .reg-eyebrow .dot {
            width: 6px; height: 6px;
            border-radius: 50%;
            background: var(--orange);
            box-shadow: 0 0 0 0 rgba(242, 122, 26, 0.6);
            animation: regPulse 1.6s ease-out infinite;
        }
        @keyframes regPulse {
            0%,100% { box-shadow: 0 0 0 0 rgba(242, 122, 26, 0.55); }
            50%     { box-shadow: 0 0 0 7px rgba(242, 122, 26, 0); }
        }

        .reg-headline {
            font-family: 'Bricolage Grotesque', serif;
            font-weight: 800;
            font-size: clamp(2rem, 4.4vw, 3.4rem);
            line-height: 1.02;
            letter-spacing: -0.03em;
            margin: 0 0 18px;
            color: #fff;
        }
        .reg-headline .accent {
            background: linear-gradient(180deg, #ffd086 0%, var(--orange-2) 50%, var(--orange) 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        .reg-sub {
            font-size: 1rem;
            line-height: 1.55;
            color: rgba(255,255,255,0.72);
            max-width: 460px;
            margin: 0 0 36px;
        }

        .reg-perks {
            display: flex;
            flex-direction: column;
            gap: 16px;
            max-width: 460px;
            margin-bottom: 40px;
        }
        .reg-perk {
            display: flex;
            align-items: flex-start;
            gap: 14px;
            padding: 16px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 14px;
            transition: background .2s ease, border-color .2s ease, transform .2s ease;
        }
        .reg-perk:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(242, 122, 26, 0.35);
            transform: translateY(-2px);
        }
        .reg-perk .ico {
            flex-shrink: 0;
            width: 38px; height: 38px;
            display: flex; align-items: center; justify-content: center;
            background: linear-gradient(135deg, rgba(242, 122, 26, 0.25) 0%, rgba(242, 122, 26, 0.1) 100%);
            border: 1px solid rgba(242, 122, 26, 0.4);
            border-radius: 10px;
            color: var(--orange-2);
            font-size: 1.1rem;
        }
        .reg-perk .text { flex: 1; }
        .reg-perk .text strong {
            font-family: 'Bricolage Grotesque', serif;
            font-weight: 700;
            font-size: 0.96rem;
            color: #fff;
            display: block;
            margin-bottom: 2px;
            letter-spacing: -0.01em;
        }
        .reg-perk .text span {
            font-size: 0.85rem;
            color: rgba(255,255,255,0.62);
            line-height: 1.45;
        }

        .reg-brand-foot {
            display: flex; align-items: center; gap: 12px;
            margin-top: auto;
            padding-top: 24px;
            border-top: 1px solid rgba(255,255,255,0.08);
        }
        .reg-brand-foot img { height: 36px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3)); }
        .reg-brand-foot .wm { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
        .reg-brand-foot .wm .name {
            font-family: 'Bricolage Grotesque', serif;
            font-weight: 800;
            font-size: 0.95rem;
            color: #fff;
            letter-spacing: -0.01em;
        }
        .reg-brand-foot .wm .tag {
            font-size: 0.6rem;
            color: rgba(255,255,255,0.5);
            letter-spacing: 1.5px;
            text-transform: uppercase;
            font-weight: 600;
        }

        @media (max-width: 992px) {
            .reg-left { padding: 36px 28px 32px; }
            .reg-eyebrow { margin-top: 28px; }
            .reg-perks { display: none; } /* mobilde gizle, alanı azaltmak için */
            .reg-headline { font-size: clamp(1.6rem, 6vw, 2.4rem); }
            .reg-back { display: none; } /* mobilde formun altında geri linki olsun */
        }

        /* ===================== RIGHT — FORM PANE ===================== */
        .reg-right {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 56px 56px;
            background:
                radial-gradient(800px 500px at 90% -10%, rgba(242, 122, 26, 0.05) 0%, transparent 60%),
                var(--paper);
        }
        @media (max-width: 992px) { .reg-right { padding: 36px 24px; } }
        @media (max-width: 576px) { .reg-right { padding: 28px 18px; } }

        .reg-form-wrap {
            width: 100%;
            max-width: 540px;
        }

        .reg-form-head { margin-bottom: 28px; }
        .reg-form-head .crumb {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 1.6px;
            text-transform: uppercase;
            color: var(--orange);
            margin-bottom: 8px;
        }
        .reg-form-head .crumb::before { content: ''; width: 22px; height: 2px; background: var(--orange); }
        .reg-form-head h2 {
            font-family: 'Bricolage Grotesque', serif;
            font-weight: 800;
            font-size: clamp(1.5rem, 3vw, 2rem);
            color: var(--ink);
            margin: 0 0 6px;
            letter-spacing: -0.025em;
            line-height: 1.1;
        }
        .reg-form-head p {
            font-size: 0.95rem;
            color: var(--muted);
            margin: 0;
            line-height: 1.5;
        }

        /* Form fields */
        .reg-field { margin-bottom: 16px; }
        .reg-field label {
            display: block;
            font-size: 0.78rem;
            font-weight: 700;
            color: var(--ink);
            margin-bottom: 6px;
            letter-spacing: 0.2px;
        }
        .reg-field label .req { color: var(--crimson); }
        .reg-field label .hint {
            font-size: 0.7rem;
            font-weight: 500;
            color: var(--muted);
            margin-left: 4px;
        }
        .reg-input,
        .reg-textarea {
            width: 100%;
            padding: 12px 14px;
            background: #fff;
            border: 1.5px solid var(--line);
            border-radius: 11px;
            font-family: 'Manrope', sans-serif;
            font-size: 0.95rem;
            color: var(--ink);
            transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
            outline: none;
        }
        .reg-input:focus,
        .reg-textarea:focus {
            border-color: var(--orange);
            box-shadow: 0 0 0 4px rgba(242, 122, 26, 0.15);
            background: #fff;
        }
        .reg-input::placeholder,
        .reg-textarea::placeholder { color: #a8a294; font-weight: 500; }
        .reg-input.is-invalid {
            border-color: var(--danger);
            background: #fef4f4;
        }
        .reg-input.is-invalid:focus { box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12); }
        .reg-textarea { resize: vertical; min-height: 84px; }

        .reg-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
        }
        @media (max-width: 480px) { .reg-row { grid-template-columns: 1fr; } }

        .reg-helper {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.78rem;
            font-weight: 600;
            margin-top: -6px;
            margin-bottom: 14px;
        }
        .reg-helper.danger { color: var(--danger); }
        .reg-helper.success { color: var(--success); }
        .reg-helper.d-none { display: none !important; }

        /* KVKK consent box */
        .reg-consent {
            margin-top: 6px;
            padding: 16px 18px;
            background: linear-gradient(135deg, #fff8ee 0%, #fff2e0 100%);
            border: 1px solid #f3d59a;
            border-radius: 14px;
        }
        .reg-consent .ck {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            cursor: pointer;
        }
        .reg-consent .ck + .ck { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(243, 213, 154, 0.6); }
        .reg-consent input[type="checkbox"] {
            flex-shrink: 0;
            width: 18px; height: 18px;
            margin-top: 2px;
            accent-color: var(--orange);
            cursor: pointer;
        }
        .reg-consent .ck-text {
            font-size: 0.82rem;
            line-height: 1.5;
            color: #5a4d2f;
        }
        .reg-consent .ck-text strong { color: var(--ink); font-weight: 700; }
        .reg-consent .ck-text .opt { color: var(--muted); font-style: italic; font-size: 0.78rem; }

        /* Footer actions */
        .reg-actions {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            margin-top: 24px;
            flex-wrap: wrap;
        }
        .reg-back-mobile {
            display: none;
            color: var(--muted);
            text-decoration: none;
            font-size: 0.88rem;
            font-weight: 600;
        }
        .reg-back-mobile:hover { color: var(--ink); }
        @media (max-width: 992px) { .reg-back-mobile { display: inline-flex; align-items: center; gap: 4px; } }

        .reg-submit {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 13px 26px;
            background: linear-gradient(135deg, var(--orange) 0%, #d86815 100%);
            color: #fff;
            font-family: 'Manrope', sans-serif;
            font-weight: 700;
            font-size: 0.95rem;
            letter-spacing: 0.2px;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            box-shadow: 0 14px 30px -10px rgba(242, 122, 26, 0.55);
            transition: transform .18s ease, box-shadow .18s ease;
            margin-left: auto;
        }
        .reg-submit:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 18px 36px -10px rgba(242, 122, 26, 0.7);
        }
        .reg-submit:disabled { opacity: 0.6; cursor: wait; }
        .reg-submit i.bi { font-size: 1rem; }

        .reg-login-link {
            margin-top: 20px;
            text-align: center;
            font-size: 0.88rem;
            color: var(--muted);
        }
        .reg-login-link a {
            color: var(--orange);
            font-weight: 700;
            text-decoration: none;
            border-bottom: 1px dashed rgba(242, 122, 26, 0.4);
        }
        .reg-login-link a:hover { color: #d86815; }

        /* Alerts */
        .reg-alert {
            display: flex;
            gap: 12px;
            align-items: flex-start;
            padding: 16px 18px;
            border-radius: 14px;
            margin-bottom: 22px;
            font-size: 0.92rem;
            line-height: 1.5;
        }
        .reg-alert.success {
            background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
            border: 1px solid #86efac;
            color: #166534;
        }
        .reg-alert.danger {
            background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
            border: 1px solid #fca5a5;
            color: #991b1b;
        }
        .reg-alert .ico {
            flex-shrink: 0;
            width: 36px; height: 36px;
            display: flex; align-items: center; justify-content: center;
            background: rgba(255, 255, 255, 0.6);
            border-radius: 10px;
            font-size: 1.2rem;
        }
        .reg-alert.success .ico { color: #166534; }
        .reg-alert.danger .ico { color: #991b1b; }
        .reg-alert strong { font-weight: 700; display: block; margin-bottom: 2px; font-family: 'Bricolage Grotesque', serif; }
        .reg-alert a {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-top: 10px;
            padding: 8px 14px;
            background: #166534;
            color: #fff !important;
            text-decoration: none;
            font-weight: 700;
            font-size: 0.85rem;
            border-radius: 10px;
        }
        .reg-alert a:hover { background: #14532d; }

        /* ===================== OTP MODAL — site dilinde ===================== */
        .otp-modal-content {
            border-radius: 18px;
            border: none;
            background: var(--paper);
            box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4);
            overflow: hidden;
        }
        .otp-modal-head {
            position: relative;
            padding: 24px 26px 22px;
            color: #fff;
            background:
                radial-gradient(600px 300px at 80% 20%, rgba(242, 122, 26, 0.25) 0%, transparent 60%),
                linear-gradient(135deg, #0a1124 0%, #111a36 100%);
            overflow: hidden;
        }
        .otp-modal-head::after {
            content: '';
            position: absolute; left: 0; right: 0; bottom: -1px;
            height: 2px;
            background: linear-gradient(90deg, transparent 0%, var(--orange) 50%, transparent 100%);
        }
        .otp-modal-head h5 {
            font-family: 'Bricolage Grotesque', serif;
            font-weight: 800;
            font-size: 1.2rem;
            margin: 0;
            display: flex; align-items: center; gap: 8px;
            letter-spacing: -0.01em;
        }
        .otp-modal-head h5 i { color: var(--orange-2); }
        .otp-modal-body { padding: 26px; }
        .otp-modal-body p { font-size: 0.92rem; color: var(--muted); margin: 0 0 4px; }
        .otp-phone {
            font-family: 'Bricolage Grotesque', serif;
            font-weight: 800;
            font-size: 1.3rem;
            color: var(--ink);
            margin: 0 0 18px;
            letter-spacing: 0.5px;
        }
        .otp-input {
            flex: 1;
            max-width: 240px;
            padding: 14px 16px;
            border: 2px solid var(--line);
            border-radius: 11px;
            background: #fff;
            font-family: 'Bricolage Grotesque', serif;
            font-weight: 800;
            font-size: 1.4rem;
            text-align: center;
            letter-spacing: 0.4em;
            color: var(--ink);
            outline: none;
            transition: border-color .18s ease, box-shadow .18s ease;
        }
        .otp-input:focus {
            border-color: var(--orange);
            box-shadow: 0 0 0 4px rgba(242, 122, 26, 0.15);
        }
        .otp-resend {
            padding: 10px 14px;
            background: #fff;
            border: 1.5px solid var(--line);
            border-radius: 11px;
            font-family: 'Manrope', sans-serif;
            font-weight: 600;
            font-size: 0.82rem;
            color: var(--ink);
            cursor: pointer;
            white-space: nowrap;
            transition: border-color .18s ease, color .18s ease;
        }
        .otp-resend:hover:not(:disabled) { border-color: var(--orange); color: var(--orange); }
        .otp-resend:disabled { opacity: 0.6; cursor: wait; }

        .otp-status {
            margin-top: 12px;
            min-height: 1.2em;
            font-size: 0.85rem;
            font-weight: 600;
        }
        .otp-status .text-success { color: var(--success) !important; }
        .otp-status .text-danger { color: var(--danger) !important; }
        .otp-countdown {
            margin-top: 4px;
            font-size: 0.78rem;
            color: var(--muted);
        }
        .otp-countdown.text-danger { color: var(--danger); }

        .otp-modal-foot {
            padding: 18px 26px 22px;
            display: flex;
            gap: 10px;
            justify-content: flex-end;
            border-top: 1px solid var(--line);
        }
        .otp-btn-cancel {
            padding: 11px 20px;
            background: transparent;
            border: 1.5px solid var(--line);
            border-radius: 10px;
            font-family: 'Manrope', sans-serif;
            font-weight: 600;
            color: var(--muted);
            cursor: pointer;
            transition: border-color .18s ease, color .18s ease;
        }
        .otp-btn-cancel:hover { border-color: var(--ink); color: var(--ink); }
        .otp-btn-confirm {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 11px 22px;
            background: linear-gradient(135deg, var(--orange) 0%, #d86815 100%);
            color: #fff;
            border: none;
            border-radius: 10px;
            font-family: 'Manrope', sans-serif;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 10px 22px -10px rgba(242, 122, 26, 0.55);
            transition: transform .18s ease;
        }
        .otp-btn-confirm:hover:not(:disabled) { transform: translateY(-1px); }
        .otp-btn-confirm:disabled { opacity: 0.6; cursor: wait; }
