
        /* ===== CSS VARIABLES - Modern Design System ===== */
        :root {
            --page-bg: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
            --card-bg: #ffffff;
            --card-bg-glass: rgba(255, 255, 255, 0.95);
            --ink: #1a1a2e;
            --ink-light: #4a4a6a;
            --muted: #6c757d;
            --line: rgba(255, 255, 255, 0.2);
            --line-solid: #e0e5ec;
            --blue: #4f46e5;
            --blue-light: #818cf8;
            --blue-soft: rgba(79, 70, 229, 0.1);
            --blue-2: #3730a3;
            --green: #10b981;
            --green-soft: rgba(16, 185, 129, 0.1);
            --danger: #ef4444;
            --danger-soft: rgba(239, 68, 68, 0.1);
            --warn: #f59e0b;
            --warn-soft: rgba(245, 158, 11, 0.1);
            --purple: #8b5cf6;
            --accent: #f59e0b;
            --surface-soft: rgba(79, 70, 229, 0.05);
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --radius-xl: 24px;
            --radius-full: 9999px;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
            --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
            --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
            --shadow-glow: 0 0 30px rgba(79, 70, 229, 0.3);
            --transition-fast: 0.15s ease;
            --transition-normal: 0.3s ease;
            --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* ===== GLOBAL STYLES ===== */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            scrollbar-width: thin;
            scrollbar-color: var(--blue-light) rgba(255, 255, 255, 0.3);
        }

        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }

        ::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, var(--blue), var(--purple));
            border-radius: var(--radius-full);
        }

        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, var(--blue-2), var(--blue));
        }

        body {
            min-height: 100%;
            font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            color: var(--ink);
            background: var(--page-bg);
            background-attachment: fixed;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* Animated Background */
        body::before {
            content: "";
            position: fixed;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background:
                radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(79, 70, 229, 0.2) 0%, transparent 40%);
            animation: bgFloat 20s ease-in-out infinite;
            z-index: -1;
            pointer-events: none;
        }

        @keyframes bgFloat {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            33% { transform: translate(2%, -2%) rotate(1deg); }
            66% { transform: translate(-2%, 2%) rotate(-1deg); }
        }

        /* ===== PAGE LAYOUT ===== */
        .page {
            min-height: 100dvh;
            padding: clamp(16px, 2vw, 28px);
            display: flex;
            flex-direction: column;
            gap: 16px;
            position: relative;
        }

        /* ===== TOPBAR / NAVIGATION ===== */
        .topbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding: 12px 20px;
            background: var(--card-bg-glass);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: var(--radius-xl);
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: var(--shadow-md);
            animation: slideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .topbar-actions {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
            justify-content: flex-end;
        }

        .brand {
            text-decoration: none;
            display: inline-flex;
            align-items: baseline;
            gap: 2px;
            font-size: clamp(28px, 3.2vw, 40px);
            font-weight: 800;
            line-height: 1;
            letter-spacing: -0.02em;
            transition: transform var(--transition-fast);
        }

        .brand:hover {
            transform: scale(1.02);
        }

        .brand-en {
            background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .brand span:last-child {
            color: var(--ink);
        }

        .back-link {
            border: none;
            border-radius: var(--radius-md);
            padding: 10px 16px;
            text-decoration: none;
            color: var(--ink);
            background: rgba(255, 255, 255, 0.5);
            backdrop-filter: blur(10px);
            font-size: 14px;
            font-weight: 700;
            transition: all var(--transition-fast);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .back-link:hover {
            background: var(--blue-soft);
            border-color: var(--blue-light);
            color: var(--blue);
            transform: translateY(-2px);
        }

        .back-link:active {
            transform: translateY(0);
        }

        /* ===== LAYOUT ===== */
        .layout {
            width: min(1200px, 100%);
            margin: 0 auto;
            display: grid;
            grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
            gap: 16px;
            align-items: start;
        }

        /* ===== CARD COMPONENTS ===== */
        .card {
            background: var(--card-bg-glass);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: var(--radius-xl);
            border: 1px solid rgba(255, 255, 255, 0.4);
            box-shadow: var(--shadow-lg);
            padding: clamp(20px, 2vw, 28px);
            transition: all var(--transition-normal);
            animation: fadeInUp 0.6s ease both;
        }

        .card:nth-child(1) { animation-delay: 0.1s; }
        .card:nth-child(2) { animation-delay: 0.2s; }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .card:hover {
            box-shadow: var(--shadow-xl);
            transform: translateY(-2px);
        }

        /* ===== BADGES & LABELS ===== */
        .badge-step {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border-radius: var(--radius-full);
            background: linear-gradient(135deg, var(--blue-soft) 0%, rgba(129, 140, 248, 0.2) 100%);
            color: var(--blue);
            font-size: 12px;
            font-weight: 800;
            letter-spacing: 0.02em;
            padding: 8px 14px;
            margin-bottom: 14px;
            border: 1px solid rgba(79, 70, 229, 0.2);
        }

        /* ===== TYPOGRAPHY ===== */
        .title {
            margin: 0 0 12px;
            font-size: clamp(26px, 2.6vw, 36px);
            line-height: 1.1;
            letter-spacing: -0.02em;
            font-weight: 800;
            color: var(--ink);
            background: linear-gradient(135deg, var(--ink) 0%, var(--ink-light) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .sub {
            margin: 0;
            color: var(--muted);
            font-size: 15px;
            line-height: 1.5;
        }

        /* ===== DOMAIN BOX ===== */
        .domain-box {
            margin-top: 16px;
            border-radius: var(--radius-lg);
            border: 1px solid rgba(79, 70, 229, 0.2);
            background: linear-gradient(135deg, var(--blue-soft) 0%, rgba(139, 92, 246, 0.05) 100%);
            padding: 14px 16px;
            transition: all var(--transition-fast);
        }

        .domain-label {
            margin: 0;
            color: var(--ink-light);
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .domain-name {
            margin: 6px 0 0;
            font-size: 22px;
            line-height: 1.2;
            letter-spacing: -0.01em;
            font-weight: 800;
            color: var(--blue-2);
            word-break: break-all;
        }

        .domain-status {
            margin-top: 10px;
            display: inline-flex;
            align-items: center;
            border-radius: var(--radius-full);
            padding: 8px 14px;
            font-size: 12px;
            font-weight: 800;
            letter-spacing: 0.02em;
            background: var(--warn-soft);
            color: var(--warn);
        }

        .domain-status.ok {
            background: var(--green-soft);
            color: var(--green);
        }

        .domain-status.bad {
            background: var(--danger-soft);
            color: var(--danger);
        }

        /* ===== PRICE PANEL ===== */
        .price-panel {
            margin-top: 16px;
            border-radius: var(--radius-lg);
            border: 1px solid rgba(0, 0, 0, 0.06);
            background: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, rgba(139, 92, 246, 0.02) 100%);
            padding: 16px;
            display: grid;
            gap: 10px;
        }

        .price-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            font-size: 14px;
            color: var(--ink-light);
        }

        .price-row strong {
            color: var(--ink);
            font-size: 15px;
            font-weight: 700;
        }

        .price-row.total {
            border-top: 2px dashed rgba(79, 70, 229, 0.2);
            padding-top: 12px;
            margin-top: 4px;
        }

        .price-row.total strong {
            font-size: 20px;
            color: var(--blue);
            letter-spacing: -0.01em;
        }

        .hint {
            margin: 12px 0 0;
            font-size: 12px;
            color: var(--muted);
            line-height: 1.5;
            padding: 10px 12px;
            background: rgba(0, 0, 0, 0.02);
            border-radius: var(--radius-sm);
        }

        /* ===== FORM HEAD & STATUS ===== */
        .form-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 16px;
        }

        .form-title {
            margin: 0;
            font-size: clamp(20px, 1.7vw, 26px);
            line-height: 1.15;
            font-weight: 800;
            letter-spacing: -0.02em;
            color: var(--ink);
        }

        .status-box {
            display: none;
            margin-bottom: 14px;
            border-radius: var(--radius-md);
            padding: 12px 16px;
            font-size: 14px;
            font-weight: 700;
            border: none;
        }

        .status-box.show {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        .status-box.ok {
            background: linear-gradient(135deg, var(--green-soft) 0%, rgba(16, 185, 129, 0.15) 100%);
            color: var(--green);
            border: 1px solid rgba(16, 185, 129, 0.3);
        }

        .status-box.bad {
            background: linear-gradient(135deg, var(--danger-soft) 0%, rgba(239, 68, 68, 0.15) 100%);
            color: var(--danger);
            border: 1px solid rgba(239, 68, 68, 0.3);
        }

        /* ===== EMAIL ACCOUNT LIST ===== */
        .list {
            display: grid;
            gap: 12px;
        }

        .account-item {
            border: none;
            border-radius: var(--radius-lg);
            background: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, rgba(139, 92, 246, 0.02) 100%);
            padding: 16px;
            display: grid;
            gap: 12px;
            overflow: hidden;
            transform-origin: left top;
            border: 1px solid rgba(0, 0, 0, 0.04);
            transition: all var(--transition-fast);
        }

        .account-item:hover {
            border-color: var(--blue-light);
            box-shadow: var(--shadow-md);
        }

        .account-item.is-entering {
            animation: account-grow-in 360ms cubic-bezier(0.21, 0.96, 0.35, 1.05) both;
        }

        .account-item.is-leaving {
            animation: account-shrink-out 300ms cubic-bezier(0.55, 0.06, 0.68, 0.19) both;
            pointer-events: none;
        }

        @keyframes account-grow-in {
            0% {
                opacity: 0;
                transform: scaleX(0.72) scaleY(0.9);
                max-height: 0;
                padding-top: 0;
                padding-bottom: 0;
            }
            65% {
                opacity: 1;
                transform: scaleX(1.03) scaleY(1.01);
                max-height: 280px;
                padding-top: 16px;
                padding-bottom: 16px;
            }
            100% {
                opacity: 1;
                transform: scaleX(1) scaleY(1);
                max-height: 320px;
                padding-top: 16px;
                padding-bottom: 16px;
            }
        }

        @keyframes account-shrink-out {
            0% {
                opacity: 1;
                transform: scaleX(1) scaleY(1);
                max-height: 320px;
                padding-top: 16px;
                padding-bottom: 16px;
            }
            100% {
                opacity: 0;
                transform: scaleX(0.7) scaleY(0.9);
                max-height: 0;
                padding-top: 0;
                padding-bottom: 0;
            }
        }

        .account-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
        }

        .account-index {
            font-size: 14px;
            font-weight: 800;
            color: var(--ink);
        }

        .remove-btn {
            border: 2px solid rgba(239, 68, 68, 0.2);
            border-radius: var(--radius-sm);
            padding: 6px 12px;
            background: var(--danger-soft);
            color: var(--danger);
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: all var(--transition-fast);
        }

        .remove-btn:hover {
            background: var(--danger);
            color: #fff;
            transform: scale(1.05);
        }

        .remove-btn:disabled {
            opacity: 0.45;
            cursor: not-allowed;
        }

        /* ===== FIELD GRID & INPUTS ===== */
        .field-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
            gap: 12px;
        }

        .field label {
            display: block;
            margin-bottom: 6px;
            color: var(--ink);
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .field input {
            width: 100%;
            border: 2px solid var(--line-solid);
            border-radius: var(--radius-md);
            background: var(--card-bg);
            color: var(--ink);
            font-size: 14px;
            font-weight: 500;
            padding: 12px 14px;
            outline: none;
            transition: all var(--transition-fast);
        }

        .field input:focus {
            border-color: var(--blue-light);
            box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
        }

        .field input::placeholder {
            color: var(--muted);
        }

        .email-wrap {
            display: flex;
            align-items: center;
            border: 2px solid var(--line-solid);
            border-radius: var(--radius-md);
            background: var(--card-bg);
            overflow: hidden;
            transition: all var(--transition-fast);
        }

        .email-wrap:focus-within {
            border-color: var(--blue-light);
            box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
        }

        .email-wrap input {
            border: 0;
            border-radius: 0;
            box-shadow: none;
        }

        .email-wrap input:focus {
            border: 0;
            box-shadow: none;
        }

        .email-domain {
            display: inline-flex;
            align-items: center;
            padding: 0 12px;
            height: 44px;
            background: var(--blue-soft);
            border-left: 2px solid var(--line-solid);
            color: var(--blue-2);
            font-size: 13px;
            font-weight: 700;
            white-space: nowrap;
            transition: background var(--transition-fast);
        }

        .password-wrap {
            display: flex;
            align-items: center;
            border: 2px solid var(--line-solid);
            border-radius: var(--radius-md);
            background: var(--card-bg);
            overflow: hidden;
            transition: all var(--transition-fast);
        }

        .password-wrap:focus-within {
            border-color: var(--blue-light);
            box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
        }

        .password-wrap input {
            border: 0;
            border-radius: 0;
            box-shadow: none;
            padding-right: 8px;
        }

        .password-wrap input:focus {
            border: 0;
            box-shadow: none;
        }

        .password-policy-note {
            margin-top: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--muted);
        }

        .password-policy-note::before {
            content: "";
            width: 8px;
            height: 8px;
            border-radius: 999px;
            background: var(--warn);
            flex-shrink: 0;
        }

        .password-policy-note.is-ok {
            color: var(--green);
            font-weight: 700;
        }

        .password-policy-note.is-ok::before {
            background: var(--green);
        }

        .password-policy-note.is-bad {
            color: var(--danger);
            font-weight: 700;
        }

        .password-policy-note.is-bad::before {
            background: var(--danger);
        }

        .eye-btn {
            width: 44px;
            height: 44px;
            border: 0;
            border-left: 2px solid var(--line-solid);
            background: var(--blue-soft);
            color: var(--ink-light);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            flex-shrink: 0;
            transition: all var(--transition-fast);
        }

        .eye-btn:hover {
            background: var(--blue-light);
            color: var(--blue-2);
        }

        .eye-btn svg {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .eye-btn .eye-off {
            display: none;
        }

        .eye-btn.is-open .eye-off {
            display: block;
        }

        .eye-btn.is-open .eye-on {
            display: none;
        }

        .field-note {
            margin: 6px 0 0;
            color: var(--muted);
            font-size: 11px;
        }

        /* ===== ACTION BUTTONS ===== */
        .actions {
            margin-top: 16px;
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
            justify-content: space-between;
        }

        .add-btn {
            border: 2px dashed var(--blue-light);
            background: var(--blue-soft);
            color: var(--blue);
            border-radius: var(--radius-md);
            padding: 10px 16px;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: all var(--transition-fast);
        }

        .add-btn:hover {
            background: var(--blue);
            border-color: var(--blue);
            color: #fff;
            transform: translateY(-2px);
        }

        .submit-btn {
            border: none;
            border-radius: var(--radius-md);
            background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
            color: #fff;
            font-size: 15px;
            font-weight: 700;
            letter-spacing: -0.01em;
            padding: 12px 24px;
            cursor: pointer;
            min-width: 190px;
            box-shadow: var(--shadow-sm);
            transition: all var(--transition-fast);
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-glow);
        }

        .submit-btn:active {
            transform: translateY(0);
        }

        .submit-btn:disabled,
        .add-btn:disabled {
            opacity: 0.56;
            cursor: not-allowed;
            transform: none;
        }

        .result-list {
            margin: 10px 0 0;
            padding-left: 18px;
            display: grid;
            gap: 4px;
        }

        /* ===== CHECKOUT MODAL ===== */
        .checkout-modal {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 18px;
            background: rgba(26, 26, 46, 0.6);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            z-index: 90;
            opacity: 0;
            transition: opacity 250ms ease;
        }

        .checkout-modal.show,
        .checkout-modal.is-closing {
            display: flex;
        }

        .checkout-modal.show {
            opacity: 1;
        }

        .checkout-modal.is-closing {
            opacity: 0;
            pointer-events: none;
        }

        .checkout-panel {
            position: relative;
            width: min(760px, 100%);
            max-height: 92vh;
            overflow-y: auto;
            overflow-x: hidden;
            background: var(--card-bg-glass);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: var(--radius-xl);
            border: 1px solid rgba(255, 255, 255, 0.4);
            box-shadow: var(--shadow-xl);
            padding: 28px;
            transform: scale(0.2);
            opacity: 0;
            transform-origin: center center;
        }

        .checkout-modal.show .checkout-panel {
            animation: pop-surprise 420ms cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
        }

        .checkout-modal.show.is-closing .checkout-panel,
        .checkout-modal.is-closing .checkout-panel {
            animation: pop-dismiss 240ms cubic-bezier(0.55, 0.06, 0.68, 0.19) forwards;
        }

        @keyframes pop-surprise {
            0% { transform: scale(0.2); opacity: 0; }
            62% { transform: scale(1.08); opacity: 1; }
            80% { transform: scale(0.97); opacity: 1; }
            100% { transform: scale(1); opacity: 1; }
        }

        @keyframes pop-dismiss {
            0% { transform: scale(1); opacity: 1; }
            100% { transform: scale(0); opacity: 0; }
        }

        .checkout-close {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 36px;
            height: 36px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            backdrop-filter: blur(10px);
            color: var(--ink);
            display: grid;
            place-items: center;
            cursor: pointer;
            transition: all var(--transition-fast);
        }

        .checkout-close:hover {
            background: var(--danger-soft);
            border-color: var(--danger);
            color: var(--danger);
            transform: rotate(90deg);
        }

        .checkout-close svg {
            width: 18px;
            height: 18px;
            stroke: currentColor;
            stroke-width: 2;
            fill: none;
            stroke-linecap: round;
        }

        .checkout-head {
            display: flex;
            align-items: center;
            gap: 8px;
            padding-right: 48px;
        }

        .checkout-success-badge {
            width: 120px;
            height: 120px;
            flex: 0 0 120px;
            position: relative;
            display: grid;
            place-items: center;
            overflow: hidden;
        }

        .checkout-success-lottie {
            width: 100%;
            height: 100%;
            position: absolute;
            inset: 0;
            margin: 0;
            opacity: 0;
            pointer-events: none;
        }

        .checkout-success-lottie svg,
        .checkout-success-lottie canvas {
            width: 100% !important;
            height: 100% !important;
            display: block;
            transform: scale(3.25);
            transform-origin: center center;
        }

        .checkout-success-badge.is-animated .checkout-success-lottie {
            opacity: 1;
        }

        .checkout-success-badge.is-animated .checkout-success-core {
            opacity: 0;
        }

        .checkout-success-core {
            width: 56px;
            height: 56px;
            z-index: 1;
            display: grid;
            place-items: center;
            color: #fff;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--green) 0%, #059669 100%);
            box-shadow: 0 12px 24px rgba(16, 185, 129, 0.4);
            transition: opacity 180ms ease;
        }

        .checkout-success-core svg {
            width: 28px;
            height: 28px;
            stroke: currentColor;
            stroke-width: 2.5;
            fill: none;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .checkout-title {
            margin: 0;
            font-size: clamp(22px, 2.35vw, 28px);
            line-height: 1.2;
            letter-spacing: -0.02em;
            color: var(--ink);
            font-weight: 800;
            white-space: nowrap;
        }

        .checkout-sub {
            margin: 8px 0 0;
            color: var(--muted);
            font-size: clamp(13px, 1.25vw, 15px);
            line-height: 1.5;
            letter-spacing: -0.01em;
        }

        .checkout-summary {
            margin-top: 20px;
            border-radius: var(--radius-lg);
            background: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, rgba(139, 92, 246, 0.02) 100%);
            border: 1px solid rgba(0, 0, 0, 0.06);
            padding: 16px 20px;
            display: grid;
            gap: 12px;
        }

        .checkout-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: center;
            gap: 12px;
            color: var(--ink);
            font-size: 14px;
        }

        .checkout-row-label {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: var(--muted);
        }

        .checkout-row-icon {
            width: 18px;
            height: 18px;
            color: var(--blue);
            flex: 0 0 18px;
        }

        .checkout-row-icon svg {
            width: 18px;
            height: 18px;
            stroke: currentColor;
            stroke-width: 1.9;
            fill: none;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .checkout-row-value {
            text-align: right;
            color: var(--ink);
            font-size: 15px;
            font-weight: 700;
            letter-spacing: -0.01em;
        }

        .checkout-row.total {
            margin-top: 4px;
            padding-top: 12px;
            border-top: 2px dashed rgba(79, 70, 229, 0.2);
        }

        .checkout-row.total .checkout-row-label {
            color: var(--blue);
            font-weight: 800;
        }

        .checkout-row.total .checkout-row-value {
            color: var(--blue);
            font-size: clamp(28px, 3.1vw, 38px);
            font-weight: 800;
        }

        .checkout-field {
            margin-top: 18px;
        }

        .checkout-field label {
            display: block;
            margin-bottom: 8px;
            color: var(--ink);
            font-size: 13px;
            font-weight: 700;
            letter-spacing: -0.01em;
        }

        .method-picker {
            position: relative;
        }

        .method-picker select {
            position: absolute;
            left: 0;
            top: 0;
            width: 1px;
            height: 1px;
            opacity: 0;
            pointer-events: none;
        }

        .method-trigger {
            width: 100%;
            border: 2px solid var(--line-solid);
            border-radius: var(--radius-md);
            background: var(--card-bg);
            min-height: 52px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 12px 16px;
            color: var(--ink);
            cursor: pointer;
            box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1) inset;
            transition: all var(--transition-fast);
        }

        .method-trigger:hover {
            border-color: var(--blue-light);
            box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
        }

        .method-trigger:focus-visible {
            outline: none;
            border-color: var(--blue);
            box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
        }

        .method-trigger:disabled {
            opacity: 0.62;
            cursor: not-allowed;
        }

        .method-trigger-left {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
        }

        .method-trigger-name {
            font-size: 16px;
            font-weight: 700;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            letter-spacing: -0.01em;
        }

        .method-trigger-arrow {
            width: 22px;
            height: 22px;
            color: var(--blue);
            flex: 0 0 22px;
            transition: transform 180ms ease;
        }

        .method-trigger-arrow svg {
            width: 22px;
            height: 22px;
            stroke: currentColor;
            stroke-width: 2.2;
            fill: none;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .method-picker.open .method-trigger-arrow {
            transform: rotate(180deg);
        }

        .method-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 0;
            padding: 8px;
            border-radius: var(--radius-md);
            background: var(--card-bg-glass);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            box-shadow: var(--shadow-lg);
            z-index: 130;
            display: none;
            opacity: 0;
            transform: translateX(20px);
            pointer-events: none;
            border: 1px solid rgba(255, 255, 255, 0.4);
        }

        .method-menu.is-open {
            display: block;
            opacity: 1;
            transform: translateX(0);
            pointer-events: auto;
            animation: method-slide-in 220ms cubic-bezier(0.2, 0.82, 0.27, 1);
        }

        @keyframes method-slide-in {
            0% { opacity: 0; transform: translateX(20px); }
            100% { opacity: 1; transform: translateX(0); }
        }

        .method-option {
            width: 100%;
            border: 0;
            background: transparent;
            border-radius: var(--radius-sm);
            padding: 10px 12px;
            display: flex;
            align-items: center;
            gap: 12px;
            color: var(--ink);
            cursor: pointer;
            text-align: left;
            font-size: 15px;
            font-weight: 600;
            transition: all var(--transition-fast);
        }

        .method-option:hover,
        .method-option:focus-visible {
            background: var(--blue-soft);
            outline: none;
        }

        .method-option.is-active {
            background: var(--blue-soft);
            color: var(--blue);
        }

        .method-logo {
            width: 44px;
            height: 30px;
            border-radius: var(--radius-sm);
            border: 1px solid rgba(0, 0, 0, 0.08);
            background: var(--card-bg);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 44px;
        }

        .method-logo svg {
            display: block;
            width: 32px;
            height: 22px;
        }

        .method-logo .word {
            font-size: 8px;
            font-weight: 800;
            font-family: "Arial", "Helvetica", sans-serif;
            letter-spacing: 0.01em;
        }

        .checkout-secure {
            margin-top: 14px;
            border-radius: var(--radius-md);
            background: linear-gradient(135deg, var(--blue-soft) 0%, rgba(79, 70, 229, 0.08) 100%);
            border: 1px solid rgba(79, 70, 229, 0.2);
            padding: 12px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            color: var(--ink-light);
            font-size: 12px;
            line-height: 1.3;
        }

        .checkout-secure-label,
        .checkout-secure-right {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
        }

        .checkout-secure-icon {
            width: 16px;
            height: 16px;
            color: var(--green);
            flex: 0 0 16px;
        }

        .checkout-secure-icon svg {
            width: 16px;
            height: 16px;
            stroke: currentColor;
            stroke-width: 2;
            fill: none;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .checkout-actions {
            margin-top: 16px;
            display: flex;
            align-items: flex-end;
            gap: 12px;
            justify-content: space-between;
        }

        .terms-box {
            flex: 1 1 auto;
            min-width: 240px;
            display: grid;
            gap: 6px;
        }

        .terms-check {
            display: inline-flex;
            align-items: flex-start;
            gap: 10px;
            color: var(--ink-light);
            font-size: 13px;
            line-height: 1.4;
            font-weight: 500;
        }

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

        .terms-link-btn {
            border: 0;
            background: transparent;
            color: var(--blue);
            font-size: 13px;
            font-weight: 700;
            padding: 0;
            cursor: pointer;
            text-decoration: underline;
            text-underline-offset: 2px;
            transition: color var(--transition-fast);
        }

        .terms-link-btn:hover {
            color: var(--blue-2);
        }

        .terms-error {
            margin: 0;
            color: var(--danger);
            font-size: 12px;
            display: none;
        }

        .terms-error.show {
            display: block;
        }

        .ghost-btn {
            border: 2px solid var(--line-solid);
            border-radius: var(--radius-md);
            background: var(--card-bg);
            color: var(--ink);
            padding: 12px 20px;
            min-width: 118px;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            line-height: 1.2;
            transition: all var(--transition-fast);
        }

        .ghost-btn:hover {
            background: var(--blue-soft);
            border-color: var(--blue-light);
            color: var(--blue);
        }

        .ok-btn {
            border: none;
            border-radius: var(--radius-md);
            background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
            color: #fff;
            padding: 12px 24px;
            min-width: 180px;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            line-height: 1.2;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            box-shadow: var(--shadow-sm);
            transition: all var(--transition-fast);
        }

        .ok-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-glow);
        }

        .ok-btn:active {
            transform: translateY(0);
        }

        .ok-btn-arrow {
            width: 16px;
            height: 16px;
            stroke: currentColor;
            stroke-width: 2;
            fill: none;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .ghost-btn:disabled,
        .ok-btn:disabled {
            opacity: 0.58;
            cursor: not-allowed;
            transform: none;
        }

        /* ===== TERMS MODAL ===== */
        .terms-modal {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 16px;
            background: rgba(26, 26, 46, 0.6);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            z-index: 160;
            opacity: 0;
            transition: opacity 200ms ease;
        }

        .terms-modal.show,
        .terms-modal.is-closing {
            display: flex;
        }

        .terms-modal.show {
            opacity: 1;
        }

        .terms-modal.is-closing {
            opacity: 0;
            pointer-events: none;
        }

        .terms-panel {
            width: min(680px, 100%);
            max-height: 88vh;
            overflow: auto;
            background: var(--card-bg-glass);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.4);
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-xl);
            padding: 24px;
            transform: scale(0.2);
            opacity: 0;
            transform-origin: center center;
        }

        .terms-modal.show .terms-panel {
            animation: pop-surprise 420ms cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
        }

        .terms-modal.show.is-closing .terms-panel,
        .terms-modal.is-closing .terms-panel {
            animation: pop-dismiss 240ms cubic-bezier(0.55, 0.06, 0.68, 0.19) forwards;
        }

        .terms-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
        }

        .terms-title {
            margin: 0;
            color: var(--ink);
            font-size: 20px;
            font-weight: 800;
            letter-spacing: -0.01em;
        }

        .terms-close {
            width: 36px;
            height: 36px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            backdrop-filter: blur(10px);
            color: var(--ink);
            display: grid;
            place-items: center;
            cursor: pointer;
            transition: all var(--transition-fast);
        }

        .terms-close:hover {
            background: var(--danger-soft);
            border-color: var(--danger);
            color: var(--danger);
            transform: rotate(90deg);
        }

        .terms-close svg {
            width: 18px;
            height: 18px;
            stroke: currentColor;
            stroke-width: 2;
            fill: none;
            stroke-linecap: round;
        }

        .terms-content {
            margin-top: 12px;
            border-radius: var(--radius-md);
            background: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, rgba(139, 92, 246, 0.02) 100%);
            border: 1px solid rgba(0, 0, 0, 0.06);
            padding: 16px 20px;
            color: var(--ink-light);
            font-size: 13px;
            line-height: 1.6;
        }

        .terms-content ol {
            margin: 0;
            padding-left: 20px;
            display: grid;
            gap: 10px;
        }

        .terms-footer {
            margin-top: 16px;
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }

        /* ===== PAYMENT BOX ===== */
        .payment-box {
            margin-top: 14px;
            border-radius: var(--radius-lg);
            border: 1px solid rgba(79, 70, 229, 0.2);
            background: linear-gradient(135deg, var(--blue-soft) 0%, rgba(139, 92, 246, 0.05) 100%);
            padding: 16px;
            display: none;
        }

        .payment-box.show {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .payment-title {
            margin: 0;
            font-size: 15px;
            font-weight: 800;
            color: var(--ink);
        }

        .payment-note {
            margin: 6px 0 0;
            color: var(--muted);
            font-size: 12px;
            line-height: 1.5;
        }

        .payment-qr {
            margin-top: 12px;
            border-radius: var(--radius-md);
            border: 2px dashed var(--blue-light);
            background: var(--card-bg);
            padding: 14px;
            display: grid;
            place-items: center;
            min-height: 190px;
        }

        .payment-qr img {
            width: 210px;
            max-width: 100%;
            height: auto;
            display: block;
        }

        .va-list {
            margin: 12px 0 0;
            display: grid;
            gap: 10px;
        }

        .va-item {
            border-radius: var(--radius-md);
            border: 1px solid rgba(0, 0, 0, 0.08);
            background: var(--card-bg);
            padding: 12px 14px;
            transition: all var(--transition-fast);
        }

        .va-item:hover {
            border-color: var(--blue-light);
            box-shadow: var(--shadow-sm);
        }

        .va-bank {
            color: var(--ink-light);
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .va-number {
            margin-top: 4px;
            color: var(--ink);
            font-size: 16px;
            font-weight: 800;
            letter-spacing: 0.03em;
            word-break: break-all;
        }

        .payment-links {
            margin-top: 12px;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .payment-link-btn {
            border: none;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
            color: #fff;
            padding: 10px 14px;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            transition: all var(--transition-fast);
            box-shadow: var(--shadow-sm);
        }

        .payment-link-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .payment-meta {
            margin-top: 10px;
            font-size: 12px;
            color: var(--muted);
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 980px) {
            .layout {
                grid-template-columns: 1fr;
            }

            .topbar {
                flex-direction: column;
                gap: 12px;
            }

            .topbar-actions {
                width: 100%;
                justify-content: center;
            }
        }

        @media (max-width: 740px) {
            .page {
                padding: 12px;
            }

            .card {
                padding: 16px;
            }

            .field-grid {
                grid-template-columns: 1fr;
            }

            .account-item {
                padding: 14px;
            }

            .checkout-panel {
                padding: 20px;
                border-radius: var(--radius-lg);
            }

            .checkout-head {
                align-items: flex-start;
                gap: 10px;
            }

            .checkout-success-badge {
                width: 70px;
                height: 70px;
                flex-basis: 70px;
            }

            .checkout-success-core {
                width: 40px;
                height: 40px;
            }

            .checkout-success-lottie svg,
            .checkout-success-lottie canvas {
                transform: scale(3.05);
            }

            .checkout-success-core svg {
                width: 20px;
                height: 20px;
            }

            .checkout-title {
                font-size: 18px;
                white-space: normal;
            }

            .checkout-sub {
                font-size: 13px;
            }

            .checkout-summary {
                padding: 14px;
            }

            .checkout-row {
                font-size: 13px;
            }

            .checkout-row-value {
                font-size: 14px;
            }

            .checkout-row.total .checkout-row-value {
                font-size: 26px;
            }

            .checkout-secure {
                flex-wrap: wrap;
                font-size: 11px;
            }

            .checkout-actions {
                align-items: stretch;
                flex-direction: column;
            }

            .terms-box,
            .ok-btn,
            .ghost-btn {
                width: 100%;
                min-width: 0;
            }

            .terms-modal .terms-panel {
                padding: 16px;
            }

            .terms-title {
                font-size: 18px;
            }

            .terms-content {
                padding: 14px;
                font-size: 12px;
            }

            .actions {
                flex-direction: column;
                align-items: stretch;
            }

            .submit-btn {
                width: 100%;
                min-width: 0;
            }

            .add-btn {
                width: 100%;
                justify-content: center;
            }
        }
    