:root {
            --green-dark: #06291f;
            --green-main: #0b3f31;
            --green-soft: #0f5a44;
            --gold: #c9a247;
            --gold-light: #f1d17a;
            --white: #ffffff;
            --soft-bg: #f3faf6;
            --text-main: #123128;
            --text-soft: #70837a;
            --border: rgba(11, 63, 49, 0.12);
            --danger: #d94a4a;
            --warning: #d99a22;
            --success: #1f9d64;
            --shadow: 0 24px 60px rgba(6, 41, 31, 0.18);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }

        body {
            min-height: 100vh;
            font-family: 'Poppins', sans-serif;
            background:
                radial-gradient(circle at top left, rgba(241, 209, 122, 0.24), transparent 34%),
                linear-gradient(135deg, #eaf7f1 0%, #f9fcf9 48%, #edf8f3 100%);
            color: var(--text-main);
            overflow-x: hidden;
        }

        .mobile-page {
            width: 100%;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 18px;
            position: relative;
        }

        .mobile-page::before {
            content: "";
            position: fixed;
            width: 280px;
            height: 280px;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(11, 63, 49, 0.16), rgba(201, 162, 71, 0.17));
            top: -95px;
            right: -105px;
            z-index: 0;
        }

        .mobile-page::after {
            content: "";
            position: fixed;
            width: 230px;
            height: 230px;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(201, 162, 71, 0.18), rgba(11, 63, 49, 0.10));
            bottom: -110px;
            left: -90px;
            z-index: 0;
        }

        .auth-shell {
            width: 100%;
            max-width: 390px;
            min-height: 100vh;
            background: var(--white);
            border-radius: 34px;
            overflow: hidden;
            position: relative;
            z-index: 2;
            box-shadow: var(--shadow);
            border: none;
        }

        .hero-area {
            min-height: 238px;
            padding: 26px 24px 24px;
            position: relative;
            background:
                linear-gradient(145deg, rgba(6, 41, 31, 0.97), rgba(12, 89, 66, 0.93)),
                radial-gradient(circle at top right, rgba(241, 209, 122, 0.30), transparent 34%);
            color: var(--white);
            overflow: hidden;
        }

        .hero-area::before {
            content: "";
            position: absolute;
            width: 210px;
            height: 210px;
            border: 1px solid rgba(241, 209, 122, 0.20);
            border-radius: 50%;
            right: -72px;
            top: -78px;
        }

        .hero-area::after {
            content: "";
            position: absolute;
            width: 150px;
            height: 150px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 50%;
            left: -75px;
            bottom: -65px;
        }

        .brand-row {
            display: flex;
            align-items: center;
            gap: 12px;
            position: relative;
            z-index: 2;
        }

        .brand-logo {
            width: 56px;
            height: 56px;
            border-radius: 18px;
            object-fit: contain;
            background: #ffffff;
            padding: 5px;
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
        }

        .brand-text h1 {
            font-family: 'Cinzel', serif;
            font-size: 16.5px;
            line-height: 1.16;
            letter-spacing: 0.7px;
            font-weight: 700;
        }

        .brand-text p {
            font-size: 10.4px;
            color: rgba(255, 255, 255, 0.74);
            margin-top: 3px;
            letter-spacing: 0.4px;
        }

        .hero-copy {
            position: relative;
            z-index: 2;
            margin-top: 28px;
        }

        .hero-copy .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 7px 11px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.10);
            border: 1px solid rgba(255, 255, 255, 0.14);
            font-size: 10.5px;
            color: rgba(255, 255, 255, 0.88);
            margin-bottom: 13px;
        }

        .hero-copy .eyebrow i {
            color: var(--gold-light);
            font-size: 11px;
        }

        .hero-copy h2 {
            font-size: 21px;
            line-height: 1.28;
            font-weight: 650;
            max-width: 270px;
            letter-spacing: -0.25px;
        }

        .hero-copy p {
            max-width: 282px;
            margin-top: 8px;
            font-size: 11.8px;
            line-height: 1.62;
            color: rgba(255, 255, 255, 0.72);
            font-weight: 300;
        }

        .floating-card {
            position: absolute;
            right: 21px;
            bottom: 17px;
            width: 112px;
            padding: 12px;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.16);
            backdrop-filter: blur(14px);
            z-index: 2;
        }

        .mini-chart {
            height: 52px;
            display: flex;
            align-items: end;
            gap: 5px;
        }

        .mini-chart span {
            width: 12px;
            border-radius: 10px 10px 3px 3px;
            background: linear-gradient(180deg, var(--gold-light), var(--gold));
        }

        .mini-chart span:nth-child(1) { height: 20px; }
        .mini-chart span:nth-child(2) { height: 31px; }
        .mini-chart span:nth-child(3) { height: 40px; }
        .mini-chart span:nth-child(4) { height: 50px; }

        .floating-card p {
            font-size: 9.4px;
            color: rgba(255, 255, 255, 0.78);
            margin-top: 7px;
        }

        .form-area {
            padding: 24px 24px 26px;
            background: var(--white);
            border-radius: 30px 30px 0 0;
            margin-top: -24px;
            position: relative;
            z-index: 5;
        }

        .form-heading {
            margin-bottom: 18px;
        }

        .form-heading h3 {
            font-size: 18px;
            font-weight: 650;
            letter-spacing: -0.2px;
            color: var(--text-main);
        }

        .form-heading p {
            margin-top: 5px;
            font-size: 12px;
            color: var(--text-soft);
            line-height: 1.55;
        }

        .tabs {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5px;
            padding: 5px;
            background: #f1f6f3;
            border: 1px solid var(--border);
            border-radius: 16px;
            margin-bottom: 20px;
        }

        .tab-btn {
            border: none;
            outline: none;
            text-decoration: none;
            text-align: center;
            padding: 10px 12px;
            border-radius: 12px;
            font-family: 'Poppins', sans-serif;
            font-size: 12px;
            font-weight: 600;
            color: var(--text-soft);
            background: transparent;
            cursor: pointer;
        }

        .tab-btn.active {
            color: #ffffff;
            background: linear-gradient(135deg, var(--green-main), var(--green-soft));
            box-shadow: 0 9px 18px rgba(11, 63, 49, 0.18);
        }

        .form-group {
            margin-bottom: 14px;
        }

        .form-label {
            display: block;
            font-size: 11.5px;
            font-weight: 600;
            color: var(--text-main);
            margin-bottom: 8px;
        }

        .input-box {
            position: relative;
        }

        .input-box input {
            width: 100%;
            height: 47px;
            border: 1px solid var(--border);
            background: #f8fbf9;
            border-radius: 15px;
            padding: 0 44px 0 43px;
            font-size: 13px;
            font-family: 'Poppins', sans-serif;
            color: var(--text-main);
            outline: none;
            transition: 0.25s ease;
        }

        .input-box input::placeholder {
            color: #9eaaa5;
        }

        .input-box input:focus {
            border-color: rgba(201, 162, 71, 0.75);
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(201, 162, 71, 0.13);
        }

        .input-box input.is-invalid {
            border-color: var(--danger);
            background: #fff8f8;
        }

        .input-box input[readonly] {
            background: #f0f5f2;
            color: #69786f;
        }

        .icon-left {
            position: absolute;
            top: 35%;
            left: 15px;
            transform: translateY(-50%);
            font-size: 14px;
            color: var(--green-soft);
        }

        .toggle-pw {
            position: absolute;
            right: 13px;
            top: 50%;
            transform: translateY(-50%);
            border: none;
            background: transparent;
            color: #8e9a94;
            font-size: 14px;
            cursor: pointer;
            width: 28px;
            height: 28px;
            display: grid;
            place-items: center;
        }

        .field-hint,
        .field-error {
            margin-top: 6px;
            font-size: 10.5px;
            line-height: 1.45;
        }

        .field-hint {
            color: #98a5a0;
        }

        .field-error {
            color: var(--danger);
        }

        .pw-strength {
            margin-top: 8px;
        }

        .pw-track {
            width: 100%;
            height: 4px;
            background: #eef3f0;
            border-radius: 999px;
            overflow: hidden;
        }

        .pw-bar {
            width: 0;
            height: 100%;
            border-radius: 999px;
            transition: 0.25s ease;
        }

        .pw-bar.weak {
            width: 33%;
            background: var(--danger);
        }

        .pw-bar.medium {
            width: 66%;
            background: var(--warning);
        }

        .pw-bar.strong {
            width: 100%;
            background: var(--success);
        }

        .pw-label {
            display: block;
            margin-top: 5px;
            font-size: 10.4px;
            color: #98a5a0;
        }

        .terms-row {
            margin: 17px 0 18px;
        }

        .check-label {
            display: flex;
            align-items: flex-start;
            gap: 9px;
            color: var(--text-soft);
            font-size: 11.4px;
            line-height: 1.55;
            cursor: pointer;
            user-select: none;
        }

        .check-label input {
            display: none;
        }

        .check-box {
            width: 17px;
            height: 17px;
            min-width: 17px;
            border-radius: 5px;
            border: 1.4px solid rgba(11, 63, 49, 0.25);
            display: grid;
            place-items: center;
            color: #ffffff;
            font-size: 9px;
            transition: 0.2s ease;
            margin-top: 1px;
        }

        .check-box i {
            opacity: 0;
            transform: scale(0.7);
            transition: 0.2s ease;
        }

        .check-label input:checked + .check-box {
            background: var(--green-main);
            border-color: var(--green-main);
        }

        .check-label input:checked + .check-box i {
            opacity: 1;
            transform: scale(1);
        }

        .submit-btn {
            width: 100%;
            height: 49px;
            border: none;
            border-radius: 16px;
            background: linear-gradient(135deg, var(--gold-light), var(--gold));
            color: #183329;
            font-family: 'Poppins', sans-serif;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            cursor: pointer;
            box-shadow: 0 13px 25px rgba(201, 162, 71, 0.28);
            transition: 0.25s ease;
        }

        .submit-btn:active {
            transform: scale(0.985);
        }

        .submit-btn:disabled {
            opacity: 0.65;
            cursor: not-allowed;
        }

        .spinner {
            display: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 2px solid rgba(24, 51, 41, 0.22);
            border-top-color: #183329;
            animation: spin 0.7s linear infinite;
        }

        .submit-btn.loading .spinner {
            display: block;
        }

        .submit-btn.loading .btn-text,
        .submit-btn.loading .btn-arrow {
            display: none;
        }

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

        .benefit-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 22px;
        }

        .benefit-card {
            border: 1px solid var(--border);
            border-radius: 17px;
            padding: 13px 12px;
            background: #fbfdfb;
        }

        .benefit-card i {
            width: 28px;
            height: 28px;
            border-radius: 10px;
            display: grid;
            place-items: center;
            color: var(--green-main);
            background: rgba(11, 63, 49, 0.08);
            font-size: 13px;
            margin-bottom: 9px;
        }

        .benefit-card strong {
            display: block;
            font-size: 11.4px;
            color: var(--text-main);
            margin-bottom: 3px;
        }

        .benefit-card span {
            display: block;
            font-size: 10.2px;
            line-height: 1.45;
            color: var(--text-soft);
        }

        .security-note {
            margin-top: 18px;
            padding: 12px 13px;
            border-radius: 16px;
            background: rgba(11, 63, 49, 0.055);
            border: 1px solid rgba(11, 63, 49, 0.08);
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .security-note i {
            color: var(--gold);
            font-size: 14px;
            margin-top: 2px;
        }

        .security-note p {
            font-size: 10.8px;
            line-height: 1.55;
            color: var(--text-soft);
        }

        .page-footer {
            text-align: center;
            padding: 0 24px 24px;
            background: var(--white);
            color: #9aa7a1;
            font-size: 10.5px;
        }

        .page-footer a {
            color: var(--green-main);
            font-weight: 600;
            text-decoration: none;
        }

        @media (max-width: 430px) {
            .mobile-page {
                padding: 0;
                align-items: stretch;
            }

            .auth-shell {
                max-width: 100%;
                min-height: 100vh;
                border-radius: 0;
                box-shadow: none;
            }

            .hero-area {
                min-height: 235px;
                padding: 24px 21px 24px;
            }

            .form-area {
                padding: 23px 21px 24px;
            }

            .brand-logo {
                width: 54px;
                height: 54px;
            }

            .brand-text h1 {
                font-size: 16px;
            }

            .hero-copy h2 {
                font-size: 20px;
                max-width: 245px;
            }

            .floating-card {
                width: 104px;
                right: 17px;
                bottom: 16px;
            }
        }

        @media (max-width: 350px) {
            .hero-copy h2 {
                font-size: 18.5px;
            }

            .floating-card {
                display: none;
            }

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