        :root {
            --mr-magenta: #96154A;
            --mr-magenta-dark: #7a1140;
            --mr-magenta-light: #b01958;
            --mr-purple: #6B2D5B;
            --mr-green: #00A859;
            --mr-orange: #F5A623;
            --mr-bg: #FFFFFF;
            --mr-bg-gray: #F4F6F8;
            --mr-bg-light: #FAFAFA;
            --mr-text: #2D2D2D;
            --mr-text-light: #5A5A5A;
            --mr-text-muted: #8E8E8E;
            --mr-border: #E5E5E5;
            --mr-border-light: #EFEFEF;
            --mr-shadow: 0 2px 8px rgba(0,0,0,0.06);
            --mr-shadow-md: 0 4px 16px rgba(0,0,0,0.08);
            --mr-shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
            --mr-radius: 8px;
            --mr-radius-md: 12px;
            --mr-radius-lg: 20px;
            --mr-radius-xl: 30px;
        }

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

        body {
            font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--mr-bg);
            color: var(--mr-text);
            min-height: 100vh;
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
        }

        /* ========== HEADER ========== */
        .header {
            background: var(--mr-bg);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header-top {
            padding: 12px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 1400px;
            margin: 0 auto;
        }

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

        .menu-btn {
            width: 42px;
            height: 42px;
            border: 1.5px solid var(--mr-border);
            border-radius: 8px;
            background: transparent;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 5px;
            padding: 11px;
            transition: border-color 0.2s;
        }

        .menu-btn:hover { border-color: var(--mr-magenta); }
        .menu-btn span {
            display: block;
            width: 100%;
            height: 2px;
            background: var(--mr-magenta);
            border-radius: 2px;
        }

        .logo img { height: 55px; width: auto; }

        .header-right {
            display: flex;
            align-items: center;
            gap: 24px;
        }

        .header-icon {
            color: var(--mr-magenta);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 600;
            transition: opacity 0.2s;
        }

        .header-icon:hover { opacity: 0.8; }
        .header-icon svg { width: 30px; height: 30px; }

        .nav-bar {
            background: var(--mr-bg);
            border-top: 1px solid var(--mr-border-light);
            border-bottom: 1px solid var(--mr-border-light);
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .nav-menu {
            display: flex;
            align-items: center;
            list-style: none;
        }

        .nav-menu li a {
            display: block;
            padding: 16px 22px;
            color: var(--mr-text);
            text-decoration: none;
            font-weight: 600;
            font-size: 15px;
            border-bottom: 3px solid transparent;
            margin-bottom: -1px;
            transition: all 0.2s ease;
        }

        .nav-menu li a:hover { color: var(--mr-magenta); }
        .nav-menu li.active a {
            color: var(--mr-magenta);
            border-bottom-color: var(--mr-magenta);
        }

        .nav-menu .btn-pro {
            background: var(--mr-magenta);
            color: white !important;
            border-radius: 25px;
            padding: 11px 26px !important;
            margin-left: 15px;
            border-bottom: none !important;
        }

        .nav-menu .btn-pro:hover { background: var(--mr-magenta-dark); }

        /* ========== BREADCRUMB ========== */
        .breadcrumb {
            padding: 16px 24px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .breadcrumb ul {
            list-style: none;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 13px;
        }

        .breadcrumb a {
            color: var(--mr-text-light);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .breadcrumb a:hover { color: var(--mr-magenta); }
        .breadcrumb .icon-loc { width: 14px; height: 14px; }
        .breadcrumb .separator { color: var(--mr-text-muted); }
        .breadcrumb .active { color: var(--mr-magenta); font-weight: 600; }

        /* ========== STEPS INDICATOR ========== */
        .steps-indicator {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0;
            padding: 30px 24px 20px;
            max-width: 600px;
            margin: 0 auto;
        }

        .step-item {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .step-circle {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--mr-border);
            color: var(--mr-text-muted);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 14px;
            transition: all 0.3s;
            flex-shrink: 0;
        }

        .step-item.active .step-circle {
            background: var(--mr-magenta);
            color: white;
        }

        .step-item.completed .step-circle {
            background: var(--mr-green);
            color: white;
        }

        .step-label {
            font-size: 13px;
            font-weight: 600;
            color: var(--mr-text-muted);
            display: none;
        }

        .step-item.active .step-label { color: var(--mr-magenta); }
        .step-item.completed .step-label { color: var(--mr-green); }

        .step-line {
            width: 60px;
            height: 3px;
            background: var(--mr-border);
            margin: 0 10px;
            border-radius: 2px;
            transition: background 0.3s;
            align-self: center;
            margin-top: 0;
        }

        .step-line.completed { background: var(--mr-green); }

        @media (min-width: 640px) {
            .step-label { display: block; }
        }

        /* ========== PAGES ========== */
        .page { display: none; }
        .page.active { display: block; animation: fadeIn 0.4s ease; }

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

        /* ========== PAGE 1: SEARCH ========== */
        .hero {
            text-align: center;
            padding: 10px 24px 30px;
            max-width: 800px;
            margin: 0 auto;
        }

        .hero-animation {
            width: 220px;
            height: 180px;
            margin: 0 auto 5px;
        }

        .hero h1 {
            font-size: 28px;
            font-weight: 800;
            color: var(--mr-text);
            line-height: 1.35;
        }

        .search-section {
            max-width: 580px;
            margin: 0 auto 40px;
            padding: 0 24px;
        }

        .search-box {
            background: var(--mr-bg-gray);
            border-radius: var(--mr-radius-xl);
            padding: 22px 28px;
        }

        .search-form {
            display: flex;
            gap: 12px;
            margin-bottom: 14px;
        }

        .input-group {
            flex: 1;
            position: relative;
        }

        .input-group input, .form-input {
            width: 100%;
            padding: 15px 18px;
            font-size: 15px;
            font-family: inherit;
            border: none;
            border-radius: var(--mr-radius);
            background: var(--mr-bg);
            color: var(--mr-text);
            box-shadow: var(--mr-shadow);
            transition: box-shadow 0.2s;
        }

        .input-group input:focus, .form-input:focus {
            outline: none;
            box-shadow: var(--mr-shadow), 0 0 0 2px var(--mr-magenta);
        }

        .input-group input::placeholder, .form-input::placeholder {
            color: var(--mr-text-muted);
        }

        /* Autocomplete */
        .autocomplete-dropdown {
            position: absolute;
            top: calc(100% + 6px);
            left: 0;
            right: 0;
            background: var(--mr-bg);
            border-radius: var(--mr-radius);
            box-shadow: var(--mr-shadow-lg);
            max-height: 300px;
            overflow-y: auto;
            z-index: 1000;
            display: none;
        }

        .autocomplete-dropdown.visible {
            display: block;
            animation: dropFade 0.2s ease;
        }

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

        .autocomplete-item {
            padding: 13px 18px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: background 0.15s;
            border-bottom: 1px solid var(--mr-border-light);
        }

        .autocomplete-item:last-child { border-bottom: none; }
        .autocomplete-item:hover { background: var(--mr-bg-gray); }
        .autocomplete-item .postcode {
            font-weight: 700;
            color: var(--mr-text);
            min-width: 52px;
        }
        .autocomplete-item .separator { color: var(--mr-text-muted); }
        .autocomplete-item .city { color: var(--mr-text); }

        /* Country Select */
        .country-select {
            position: relative;
            min-width: 125px;
        }

        .country-select select {
            width: 100%;
            padding: 15px 38px 15px 18px;
            font-size: 15px;
            font-family: inherit;
            border: none;
            border-radius: var(--mr-radius);
            background: var(--mr-bg);
            color: var(--mr-text);
            cursor: pointer;
            appearance: none;
            box-shadow: var(--mr-shadow);
        }

        .country-select::after {
            content: '';
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-top: 6px solid var(--mr-text-muted);
            pointer-events: none;
        }

        .btn-primary {
            width: 100%;
            padding: 15px 28px;
            font-size: 16px;
            font-weight: 700;
            font-family: inherit;
            color: white;
            background: var(--mr-magenta);
            border: none;
            border-radius: var(--mr-radius);
            cursor: pointer;
            transition: background 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .btn-primary:hover { background: var(--mr-magenta-dark); }
        .btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

        .btn-primary .loader {
            display: none;
            width: 18px;
            height: 18px;
            border: 2px solid rgba(255,255,255,0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.7s linear infinite;
        }

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

        .btn-primary.loading .loader { display: block; }
        .btn-primary.loading .btn-text { display: none; }

        .info-text {
            text-align: center;
            margin-top: 20px;
            font-size: 13px;
            color: var(--mr-text-light);
            line-height: 1.6;
        }

        /* Results */
        .results-section {
            display: none;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 24px 100px;
        }

        .results-section.visible {
            display: block;
            animation: fadeIn 0.4s ease;
        }

        .results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
            padding-bottom: 16px;
            border-bottom: 2px solid var(--mr-magenta);
        }

        .results-header h2 { font-size: 22px; font-weight: 700; }

        .results-count {
            font-size: 14px;
            color: var(--mr-text-light);
            background: var(--mr-bg-gray);
            padding: 8px 18px;
            border-radius: 20px;
            font-weight: 600;
        }

        .filter-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 24px;
        }

        .filter-tab {
            padding: 10px 22px;
            font-size: 14px;
            font-weight: 600;
            font-family: inherit;
            border: 2px solid var(--mr-border);
            border-radius: 25px;
            background: var(--mr-bg);
            color: var(--mr-text);
            cursor: pointer;
            transition: all 0.2s;
        }

        .filter-tab:hover {
            border-color: var(--mr-magenta);
            color: var(--mr-magenta);
        }

        .filter-tab.active {
            background: var(--mr-magenta);
            border-color: var(--mr-magenta);
            color: white;
        }

        .results-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 18px;
        }

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 30px;
            padding-top: 25px;
            border-top: 1px solid var(--mr-border-light);
        }

        .pagination-btn {
            min-width: 40px;
            height: 40px;
            padding: 0 12px;
            font-size: 14px;
            font-weight: 600;
            font-family: inherit;
            border: 2px solid var(--mr-border);
            border-radius: 8px;
            background: var(--mr-bg);
            color: var(--mr-text);
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .pagination-btn:hover:not(:disabled) {
            border-color: var(--mr-magenta);
            color: var(--mr-magenta);
        }

        .pagination-btn:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }

        .pagination-btn.active {
            background: var(--mr-magenta);
            border-color: var(--mr-magenta);
            color: white;
        }

        .pagination-btn svg {
            width: 16px;
            height: 16px;
            fill: currentColor;
        }

        .pagination-info {
            font-size: 13px;
            color: var(--mr-text-muted);
            margin: 0 10px;
        }

        /* Relay Card */
        .relay-card {
            background: var(--mr-bg);
            border: 1px solid var(--mr-border);
            border-radius: var(--mr-radius-md);
            overflow: hidden;
            cursor: pointer;
            transition: all 0.25s ease;
        }

        .relay-card:hover {
            border-color: var(--mr-magenta);
            box-shadow: var(--mr-shadow-md);
            transform: translateY(-2px);
        }

        .relay-card.selected {
            border-color: var(--mr-magenta);
            border-width: 2px;
            box-shadow: 0 0 0 3px rgba(150, 21, 74, 0.1);
        }

        .relay-card-header {
            display: flex;
            align-items: flex-start;
            gap: 14px;
            padding: 18px 18px 14px;
            background: linear-gradient(180deg, var(--mr-bg-light) 0%, var(--mr-bg) 100%);
        }

        .relay-icon {
            width: 48px;
            height: 48px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .relay-icon.point-relais {
            background: linear-gradient(135deg, var(--mr-magenta) 0%, var(--mr-magenta-light) 100%);
        }

        .relay-icon.locker {
            background: linear-gradient(135deg, var(--mr-purple) 0%, #8B4078 100%);
        }

        .relay-icon svg { width: 26px; height: 26px; fill: white; }

        .relay-info { flex: 1; min-width: 0; }

        .relay-type-label {
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            color: var(--mr-magenta);
            margin-bottom: 4px;
        }

        .relay-type-label.locker { color: var(--mr-purple); }

        .relay-name {
            font-size: 15px;
            font-weight: 700;
            color: var(--mr-text);
            line-height: 1.3;
            margin-bottom: 2px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .relay-id {
            font-size: 11px;
            color: var(--mr-text-muted);
            font-family: 'SF Mono', Monaco, monospace;
        }

        .relay-card-body { padding: 0 18px 16px; }

        .relay-address {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 14px;
            padding: 12px;
            background: var(--mr-bg-gray);
            border-radius: var(--mr-radius);
        }

        .relay-address-icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
        .relay-address-icon svg { width: 100%; height: 100%; fill: var(--mr-magenta); }

        .relay-address-text {
            font-size: 13px;
            color: var(--mr-text-light);
            line-height: 1.45;
        }

        .relay-address-text strong {
            display: block;
            color: var(--mr-text);
            font-weight: 600;
        }

        .relay-hours { margin-bottom: 14px; }

        .relay-hours-toggle {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 12px;
            background: var(--mr-bg-light);
            border: 1px solid var(--mr-border-light);
            border-radius: var(--mr-radius);
            cursor: pointer;
            transition: all 0.2s;
        }

        .relay-hours-toggle:hover { border-color: var(--mr-border); }
        .relay-hours-toggle .left { display: flex; align-items: center; gap: 8px; }
        .relay-hours-toggle svg { width: 16px; height: 16px; fill: var(--mr-magenta); }
        .relay-hours-toggle .label { font-size: 12px; font-weight: 600; color: var(--mr-text); }

        .relay-hours-toggle .status {
            font-size: 11px;
            font-weight: 600;
            padding: 3px 8px;
            border-radius: 10px;
        }

        .relay-hours-toggle .status.open { background: #E8F5E9; color: #2E7D32; }
        .relay-hours-toggle .status.closed { background: #FFEBEE; color: #C62828; }

        .relay-hours-toggle .chevron {
            width: 16px;
            height: 16px;
            transition: transform 0.2s;
        }

        .relay-hours.expanded .relay-hours-toggle .chevron { transform: rotate(180deg); }

        .relay-hours-content {
            display: none;
            padding: 12px;
            background: var(--mr-bg-light);
            border: 1px solid var(--mr-border-light);
            border-top: none;
            border-radius: 0 0 var(--mr-radius) var(--mr-radius);
            margin-top: -1px;
        }

        .relay-hours.expanded .relay-hours-content { display: block; }

        .hours-row {
            display: flex;
            justify-content: space-between;
            padding: 5px 0;
            font-size: 12px;
            border-bottom: 1px dashed var(--mr-border-light);
        }

        .hours-row:last-child { border-bottom: none; }
        .hours-row .day { font-weight: 600; color: var(--mr-text); }
        .hours-row .time { color: var(--mr-text-light); font-family: 'SF Mono', Monaco, monospace; font-size: 11px; }
        .hours-row .time.closed { color: var(--mr-text-muted); font-style: italic; font-family: inherit; }

        .btn-select {
            width: 100%;
            padding: 12px 18px;
            font-size: 13px;
            font-weight: 700;
            font-family: inherit;
            color: var(--mr-magenta);
            background: transparent;
            border: 2px solid var(--mr-magenta);
            border-radius: var(--mr-radius);
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-select:hover { background: var(--mr-magenta); color: white; }
        .btn-select svg { width: 16px; height: 16px; fill: currentColor; }

        .relay-card.selected .btn-select {
            background: var(--mr-green);
            border-color: var(--mr-green);
            color: white;
        }

        .message-box {
            text-align: center;
            padding: 60px 40px;
            background: var(--mr-bg-gray);
            border-radius: var(--mr-radius-lg);
            grid-column: 1 / -1;
        }

        .message-box.error { background: #FEF2F2; }
        .message-box svg { width: 50px; height: 50px; margin-bottom: 16px; }
        .message-box h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
        .message-box p { color: var(--mr-text-light); font-size: 14px; }

        /* Selection Banner */
        .selection-banner {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--mr-bg);
            border-top: 3px solid var(--mr-green);
            padding: 16px 24px;
            box-shadow: 0 -4px 30px rgba(0,0,0,0.12);
            z-index: 1000;
        }

        .selection-banner.visible { display: block; animation: slideUp 0.3s ease; }

        @keyframes slideUp {
            from { transform: translateY(100%); }
            to { transform: translateY(0); }
        }

        .selection-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

        .selection-info { display: flex; align-items: center; gap: 16px; }

        .selection-check {
            width: 46px;
            height: 46px;
            background: var(--mr-green);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .selection-check svg { width: 22px; height: 22px; fill: white; }
        .selection-text h4 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
        .selection-text p { font-size: 13px; color: var(--mr-text-light); }

        .btn-confirm {
            padding: 13px 30px;
            font-size: 14px;
            font-weight: 700;
            font-family: inherit;
            color: white;
            background: var(--mr-green);
            border: none;
            border-radius: var(--mr-radius);
            cursor: pointer;
            transition: opacity 0.2s;
        }

        .btn-confirm:hover { opacity: 0.9; }

        /* ========== PAGE 2: FORM ========== */
        .form-section {
            max-width: 650px;
            margin: 0 auto;
            padding: 20px 24px 60px;
        }

        .form-title {
            text-align: center;
            margin-bottom: 30px;
        }

        .form-title h2 {
            font-size: 24px;
            font-weight: 800;
            color: var(--mr-text);
            margin-bottom: 10px;
        }

        .form-title p {
            color: var(--mr-text-light);
            font-size: 14px;
        }

        .selected-relay-card {
            background: linear-gradient(135deg, rgba(150, 21, 74, 0.03) 0%, rgba(150, 21, 74, 0.08) 100%);
            border: 2px solid var(--mr-magenta);
            border-radius: var(--mr-radius-md);
            padding: 18px;
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .selected-relay-card .icon {
            width: 50px;
            height: 50px;
            background: var(--mr-magenta);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .selected-relay-card .icon svg { width: 26px; height: 26px; fill: white; }
        .selected-relay-card .info { flex: 1; }
        .selected-relay-card .info .name { font-weight: 700; color: var(--mr-text); margin-bottom: 2px; }
        .selected-relay-card .info .address { font-size: 13px; color: var(--mr-text-light); }

        .selected-relay-card .change-btn {
            font-size: 13px;
            color: var(--mr-magenta);
            background: none;
            border: none;
            cursor: pointer;
            font-weight: 600;
            text-decoration: underline;
        }

        .form-card {
            background: var(--mr-bg);
            border: 1px solid var(--mr-border);
            border-radius: var(--mr-radius-lg);
            padding: 30px;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            margin-bottom: 16px;
        }

        .form-row.full { grid-template-columns: 1fr; }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .form-group label {
            font-size: 13px;
            font-weight: 600;
            color: var(--mr-text);
        }

        .form-group label .required {
            color: var(--mr-magenta);
        }

        .form-input {
            border: 1px solid var(--mr-border);
            box-shadow: none;
        }

        .form-input:focus {
            border-color: var(--mr-magenta);
            box-shadow: 0 0 0 3px rgba(150, 21, 74, 0.1);
        }

        .address-autocomplete {
            position: relative;
        }

        .btn-submit {
            width: 100%;
            margin-top: 10px;
        }

        /* ========== PAGE 3: PAYMENT ========== */
        .payment-section {
            padding: 30px 24px 60px;
            max-width: 700px;
            margin: 0 auto;
        }

        .card-form-wrapper {
            display: flex;
            flex-direction: column;
            gap: 0;
        }

        /* Credit Card Visual */
        .credit-card-box {
            perspective: 1000px;
            margin-bottom: 25px;
            z-index: 10;
            position: relative;
        }

        .credit-card {
            width: 100%;
            max-width: 400px;
            height: 240px;
            margin: 0 auto;
            position: relative;
            transform-style: preserve-3d;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .credit-card.flipped {
            transform: rotateY(180deg);
        }

        .card-front, .card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 16px;
            backface-visibility: hidden;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        .card-back {
            transform: rotateY(180deg);
        }

        .card-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #96144a 0%, #7a1140 50%, #5c0d30 100%);
        }

        .card-bg::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.1);
        }

        .card-content {
            position: relative;
            z-index: 2;
            padding: 25px;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            color: white;
            font-family: 'Courier New', monospace;
        }

        .card-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }

        .card-chip {
            width: 50px;
            height: auto;
        }

        .card-type {
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: flex-end;
        }

        .card-type img {
            max-height: 100%;
            max-width: 70px;
        }

        .card-number {
            font-size: 22px;
            letter-spacing: 3px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            display: flex;
            justify-content: space-between;
            padding: 0 5px;
        }

        .card-digit {
            transition: all 0.3s ease;
        }

        .card-bottom {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
        }

        .card-label {
            font-size: 10px;
            text-transform: uppercase;
            opacity: 0.7;
            margin-bottom: 4px;
            letter-spacing: 1px;
        }

        .card-name {
            font-size: 16px;
            text-transform: uppercase;
            letter-spacing: 1px;
            max-width: 200px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .card-date {
            font-size: 16px;
            letter-spacing: 2px;
        }

        /* Card Back */
        .card-band {
            background: rgba(0, 0, 0, 0.8);
            height: 45px;
            margin-top: 30px;
        }

        .card-cvv-box {
            padding: 20px 25px;
            text-align: right;
        }

        .card-cvv-label {
            font-size: 11px;
            color: white;
            text-transform: uppercase;
            margin-bottom: 5px;
            letter-spacing: 1px;
        }

        .card-cvv-band {
            background: white;
            height: 40px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            padding-right: 15px;
            font-family: 'Courier New', monospace;
            font-size: 18px;
            letter-spacing: 3px;
            color: #333;
        }

        .card-type-back {
            position: absolute;
            bottom: 20px;
            right: 25px;
            height: 35px;
            opacity: 0.7;
        }

        .card-type-back img {
            max-height: 100%;
        }

        /* Payment Form Card */
        .payment-form-card {
            background: white;
            border-radius: var(--mr-radius-lg);
            box-shadow: var(--mr-shadow-lg);
            padding: 35px;
        }

        .payment-form-card .form-group {
            margin-bottom: 20px;
        }

        .payment-form-card .form-row {
            margin-bottom: 20px;
        }

        .expiry-inputs {
            display: flex;
            gap: 12px;
        }

        .expiry-inputs select {
            flex: 1;
        }

        .card-error {
            color: #dc3545;
            font-size: 12px;
            margin-top: 5px;
            min-height: 18px;
        }

        .secure-badge {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px;
            background: rgba(0, 168, 89, 0.08);
            border-radius: var(--mr-radius);
            margin-bottom: 20px;
            font-size: 13px;
            color: var(--mr-green);
            font-weight: 600;
        }

        .btn-pay {
            width: 100%;
            font-size: 18px;
            padding: 16px 24px;
        }

        /* Card type backgrounds */
        .credit-card[data-type="visa"] .card-bg {
            background: linear-gradient(135deg, #1a1f71 0%, #00579f 100%);
        }

        .credit-card[data-type="mastercard"] .card-bg {
            background: linear-gradient(135deg, #eb001b 0%, #f79e1b 100%);
        }

        .credit-card[data-type="amex"] .card-bg {
            background: linear-gradient(135deg, #006fcf 0%, #00adef 100%);
        }

        .credit-card[data-type="discover"] .card-bg {
            background: linear-gradient(135deg, #ff6000 0%, #ffb000 100%);
        }

        @media (max-width: 480px) {
            .credit-card {
                height: 200px;
            }
            .credit-card-box {
                margin-bottom: 20px;
            }
            .payment-form-card {
                padding: 25px 20px;
            }
            .card-number {
                font-size: 18px;
                letter-spacing: 2px;
            }
            .card-name, .card-date {
                font-size: 14px;
            }
            .card-chip {
                width: 40px;
            }
        }

        /* ========== PAGE 4: CONFIRMATION ========== */
        .confirmation-section {
            max-width: 650px;
            margin: 0 auto;
            padding: 20px 24px 60px;
            text-align: center;
        }

        .success-icon {
            width: 90px;
            height: 90px;
            background: linear-gradient(135deg, var(--mr-green) 0%, #00C96A 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            box-shadow: 0 8px 30px rgba(0, 168, 89, 0.3);
        }

        .success-icon svg { width: 45px; height: 45px; fill: white; }

        .confirmation-title {
            font-size: 26px;
            font-weight: 800;
            color: var(--mr-text);
            margin-bottom: 10px;
        }

        .confirmation-subtitle {
            font-size: 15px;
            color: var(--mr-text-light);
            margin-bottom: 35px;
        }

        .summary-card {
            background: var(--mr-bg-gray);
            border-radius: var(--mr-radius-lg);
            padding: 28px;
            text-align: left;
            margin-bottom: 25px;
        }

        .summary-card h3 {
            font-size: 14px;
            font-weight: 700;
            color: var(--mr-magenta);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 18px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--mr-magenta);
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px dashed var(--mr-border);
        }

        .summary-row:last-child { border-bottom: none; }
        .summary-row .label { font-size: 13px; color: var(--mr-text-muted); }
        .summary-row .value { font-size: 14px; font-weight: 600; color: var(--mr-text); text-align: right; }

        .btn-new {
            background: var(--mr-bg);
            color: var(--mr-magenta);
            border: 2px solid var(--mr-magenta);
        }

        .btn-new:hover {
            background: var(--mr-magenta);
            color: white;
        }

        /* ========== FOOTER ========== */
        .footer {
            margin-top: 60px;
        }

        .footer-image {
            width: 100%;
            height: 200px;
            background: url('https://www.mondialrelay.fr/media/125667/vous-%C3%AAtes-commer%C3%A7ant.jpg') center/cover;
            position: relative;
        }

        .footer-image::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 120px;
            background: linear-gradient(90deg, var(--mr-magenta) 0%, transparent 100%);
        }

        .footer-main {
            background: var(--mr-magenta);
            padding: 40px 24px;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 30px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255,255,255,0.15);
            margin-bottom: 40px;
        }

        .social-links {
            display: flex;
            gap: 20px;
        }

        .social-link {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.2s;
            cursor: pointer;
        }

        .social-link:hover {
            opacity: 0.7;
        }

        .social-link svg {
            width: 28px;
            height: 28px;
            fill: white;
        }

        .footer-payment {
            display: flex;
            align-items: center;
            gap: 15px;
            flex-wrap: wrap;
        }

        .payment-icons {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .payment-icon {
            width: 40px;
            height: 26px;
            background: white;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 4px;
        }

        .payment-icon img {
            max-width: 100%;
            max-height: 100%;
        }

        .payment-secure {
            display: flex;
            align-items: center;
            gap: 8px;
            color: white;
            font-size: 14px;
            font-weight: 600;
            text-decoration: underline;
            cursor: pointer;
        }

        .payment-secure svg {
            width: 18px;
            height: 18px;
            fill: white;
        }

        .footer-links {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 40px;
            margin-bottom: 50px;
        }

        .footer-links-col h4 {
            display: none;
        }

        .footer-links-col ul {
            list-style: none;
        }

        .footer-links-col li {
            margin-bottom: 12px;
        }

        .footer-links-col span {
            color: white;
            font-size: 14px;
            cursor: pointer;
            transition: opacity 0.2s;
        }

        .footer-links-col span:hover {
            opacity: 0.7;
        }

        .footer-partner {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 40px;
        }

        .footer-partner-badge {
            background: white;
            border-radius: 8px;
            padding: 15px 20px;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .footer-partner-badge img {
            height: 50px;
        }

        .footer-app {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            padding-top: 40px;
            border-top: 1px solid rgba(255,255,255,0.15);
        }

        .app-badge {
            height: 50px;
            cursor: pointer;
            transition: opacity 0.2s;
        }

        .app-badge:hover {
            opacity: 0.8;
        }

        @media (max-width: 992px) {
            .footer-links {
                grid-template-columns: repeat(2, 1fr);
                gap: 30px;
            }
        }

        @media (max-width: 768px) {
            .footer-top {
                flex-direction: column;
                align-items: flex-start;
            }
            .footer-links {
                grid-template-columns: 1fr 1fr;
            }
            .footer-app {
                flex-direction: column;
            }
            .footer-partner {
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .footer-links {
                grid-template-columns: 1fr;
            }
        }

        /* Responsive */
        @media (max-width: 992px) {
            .nav-bar { display: none; }
            .header-icon span { display: none; }
        }

        @media (max-width: 768px) {
            .search-form { flex-direction: column; }
            .country-select { min-width: 100%; }
            .results-grid { grid-template-columns: 1fr; }
            .selection-content { flex-direction: column; text-align: center; }
            .selection-info { flex-direction: column; }
            .btn-confirm { width: 100%; }
            .hero h1 { font-size: 24px; }
            .form-row { grid-template-columns: 1fr; }
            .form-card { padding: 20px; }
        }

        @media (max-width: 480px) {
            .header-top { padding: 10px 16px; }
            .search-section, .form-section, .confirmation-section { padding-left: 16px; padding-right: 16px; }
            .search-box { padding: 18px 20px; border-radius: var(--mr-radius-lg); }
            .relay-card-header { padding: 14px 14px 12px; }
            .relay-card-body { padding: 0 14px 14px; }
            .steps-indicator { padding: 20px 16px 15px; }
        }

        /* Fullscreen Loader */
        .fullscreen-loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 99999;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .fullscreen-loader.active {
            display: flex;
            opacity: 1;
        }

        .loader-content {
            text-align: center;
            padding: 40px;
        }

        .loader-spinner {
            width: 60px;
            height: 60px;
            border: 4px solid #f0f0f0;
            border-top-color: var(--mr-magenta);
            border-radius: 50%;
            animation: loaderSpin 1s linear infinite;
            margin: 0 auto 25px;
        }

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

        .loader-text {
            font-size: 18px;
            font-weight: 600;
            color: var(--mr-dark);
            margin-bottom: 8px;
        }

        .loader-subtext {
            font-size: 14px;
            color: var(--mr-text-light);
        }

        /* Animation dots */
        .loader-subtext::after {
            content: '';
            animation: loadingDots 1.5s infinite;
        }

        @keyframes loadingDots {
            0%, 20% { content: '.'; }
            40% { content: '..'; }
            60%, 100% { content: '...'; }
        }

        /* Mobile responsive */
        @media (max-width: 768px) {
            .loader-spinner {
                width: 50px;
                height: 50px;
            }
            .loader-text {
                font-size: 16px;
            }
            .loader-subtext {
                font-size: 13px;
            }
        }
