/* 
   Omaha Subs Premium Design Language (Simplified 4-Service Multi-Catalog Version)
   Theme: Cyber-Grid Dashboard, Ambient Glows, Responsive Bottom Sheet Drawer
*/

:root {
    /* Color Space System */
    --bg-darker: #040407;
    --bg-dark: #09090f;
    --bg-card: rgba(13, 13, 22, 0.65);
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(168, 85, 247, 0.45);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #4b5563;
    
    --primary: #a855f7;
    --primary-glow: rgba(168, 85, 247, 0.4);
    --secondary: #d1d5db;
    --secondary-glow: rgba(209, 213, 219, 0.2);
    --emerald: #a855f7;
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Animation & Layout Tokens */
    --container-width: 1120px;
    --border-radius-lg: 20px;
    --border-radius-md: 10px;
    --transition-speed: 0.35s;
    --easing-standard: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets & scrollbars */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Custom modern scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* 1. Cybernetic Grid Backplane */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
}

/* Ambient Backlighting */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
    mix-blend-mode: screen;
}

.purple-glow {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(0,0,0,0) 70%);
    top: -100px;
    right: -100px;
    animation: floatGlow 20s infinite alternate;
}

.blue-glow {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary-glow) 0%, rgba(0,0,0,0) 70%);
    bottom: -200px;
    left: -200px;
    animation: floatGlow 25s infinite alternate-reverse;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, 50px) scale(1.1); }
}

/* Cursor Glow follow effect */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, rgba(148, 163, 184, 0.05) 40%, rgba(0,0,0,0) 75%);
    top: -200px;
    left: -200px;
    pointer-events: none;
    z-index: 1;
    transform: translate(var(--mouse-x, 0px), var(--mouse-y, 0px));
    will-change: transform;
}

/* Navigation Header */
.header {
    width: 100%;
    background: rgba(4, 4, 7, 0.65);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.8px;
}

.logo-accent {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link-support {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-speed);
}

.nav-link-support:hover {
    color: var(--primary);
}

.icon-svg {
    display: inline-block;
    vertical-align: middle;
}

/* Premium Buttons Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-speed) var(--easing-standard);
    text-decoration: none;
    border: none;
    outline: none;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-secondary);
}

.btn-glow {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-primary);
    box-shadow: 0 0 25px var(--primary-glow);
}

.btn-glow:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 0 35px var(--primary-glow);
}

.btn-telegram {
    background: #0088cc;
    color: var(--text-primary);
}

.btn-telegram:hover {
    background: #009be6;
}

/* Dashboard main screen */
.main-simple {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding-top: 130px;
    padding-bottom: 80px;
    position: relative;
    z-index: 2;
}

.simple-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Dashboard Welcome headers */
.welcome-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px auto;
}

.welcome-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
    line-height: 1.15;
}

.text-glow {
    background: linear-gradient(135deg, #6ee7b7, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.25);
}

.welcome-subtitle {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    color: var(--text-secondary);
}

/* Service Selector tabs styling */
.service-selector-container {
    display: flex;
    justify-content: center;
    margin-bottom: 44px;
}

.service-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 6px;
    gap: 4px;
    backdrop-filter: blur(10px);
}

.service-tab {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 10px 24px;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition-speed) var(--easing-standard);
    outline: none;
}

.service-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.service-tab.active {
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Service Info Banner */
.service-description-banner {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--primary);
    border-radius: var(--border-radius-md);
    padding: 18px 24px;
    margin-bottom: 12px;
    font-size: 14.5px;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}

/* Dynamic Grid toggling */
.service-grid {
    display: none !important;
}

.service-grid.active {
    display: grid !important;
    animation: gridFadeIn 0.5s var(--easing-standard) forwards;
}

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

/* Cards Grid */
.plans-grid-simple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.plan-card-simple {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color var(--transition-speed) var(--easing-standard), 
                transform var(--transition-speed) var(--easing-standard), 
                box-shadow var(--transition-speed) var(--easing-standard);
    will-change: transform, box-shadow;
}

.plan-card-simple::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--primary), var(--secondary)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-speed) var(--easing-standard);
    pointer-events: none;
}

.plan-card-simple:hover::after {
    opacity: 1;
}

.plan-card-simple:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.plan-featured {
    border: 1px solid rgba(16, 185, 129, 0.35);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.1);
}

.plan-featured::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--primary);
    pointer-events: none;
    opacity: 0.8;
}

.plan-featured:hover {
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.2);
}

/* Out of Stock visual */
.plan-card-simple.oos-card {
    opacity: 0.55;
}

.oos-badge {
    color: #f97316 !important;
    border-color: rgba(249, 115, 22, 0.3) !important;
    background: rgba(249, 115, 22, 0.1) !important;
}

.plan-header-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.plan-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.plan-featured .plan-badge {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.plan-price {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
    display: flex;
    align-items: baseline;
    letter-spacing: -0.5px;
}

.plan-duration {
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: 4px;
}

.plan-setup-fee {
    font-size: 13.5px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 28px;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.feature-check {
    color: var(--primary);
    flex-shrink: 0;
}

/* Downloader Code Console box */
.downloader-code-box {
    background: rgba(0, 0, 0, 0.35);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    padding: 16px;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.dl-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.8px;
}

.dl-code {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: #d1d5db;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

.dl-code svg {
    color: #60a5fa;
    animation: dlPulse 2s infinite ease-in-out;
}

@keyframes dlPulse {
    0%, 100% { transform: translateY(0); opacity: 0.8; }
    50% { transform: translateY(2px); opacity: 1; }
}

.dl-hint {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* Custom Interactive Modal Window */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-speed) var(--easing-standard);
}

.modal.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 5, 0.85);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 480px;
    padding: 44px 40px;
    position: relative;
    z-index: 210;
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.55);
    transform: translateY(30px);
    transition: transform var(--transition-speed) var(--easing-standard);
}

.modal.open .modal-content {
    transform: translateY(0);
}

.modal-drag-handle {
    display: none;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
}

.modal-close:hover {
    color: var(--text-primary);
}

/* Wizard Step Progress Tracker Component */
.wizard-progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    padding: 0 10px;
}

.wizard-step {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    transition: all var(--transition-speed) var(--easing-standard);
    position: relative;
    z-index: 2;
}

.wizard-step.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--text-primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.wizard-step.completed {
    border-color: var(--emerald);
    background: var(--emerald);
    color: var(--bg-darker);
}

.wizard-line {
    flex-grow: 1;
    height: 2px;
    background: var(--border-color);
    margin: 0 8px;
    position: relative;
    z-index: 1;
}

.wizard-line.active {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: -0.5px;
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 28px;
    text-align: center;
}

.checkout-step {
    display: none;
}

.checkout-step.active {
    display: block;
}

/* Checkout step 2 price breakdown box */
.price-breakdown-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 18px;
    margin-bottom: 24px;
}

.selected-plan-text {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.price-details-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    color: var(--text-secondary);
}

.price-row.total-row {
    border-top: 1px dashed var(--border-color);
    padding-top: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

/* Form Controls */
.form-group {
    margin-bottom: 24px;
}

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

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-weight: 700;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 14px 16px 14px 34px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: border-color var(--transition-speed);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

.form-hint {
    display: block;
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 8px;
}

.tg-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    margin: 20px 0;
}

.tg-divider::before,
.tg-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.tg-divider span {
    padding: 0 12px;
}

.tg-login-placeholder {
    margin-bottom: 30px;
}

/* Currency Selectors */
.currency-selector {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.currency-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all var(--transition-speed) var(--easing-standard);
    text-align: left;
}

.currency-btn.active {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.06);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.05);
}

.currency-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 1px solid transparent;
}

.currency-icon.usdc {
    background: rgba(245, 158, 11, 0.12);
    color: #60a5fa;
    border-color: rgba(245, 158, 11, 0.2);
}

.currency-icon.btc {
    background: rgba(245, 158, 11, 0.12);
    color: #d1d5db;
    border-color: rgba(245, 158, 11, 0.2);
}

.currency-info {
    display: flex;
    flex-direction: column;
}

.currency-name {
    font-weight: 700;
    font-size: 13.5px;
    color: var(--text-primary);
}

.currency-desc {
    font-size: 10.5px;
    color: var(--text-muted);
}

/* Payment box */
.payment-details-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.qr-code-box {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-darker);
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.qr-svg {
    width: 100%;
    height: 100%;
}

.address-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.address-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.address-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.address-value {
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.address-copy-container {
    display: flex;
    border: 1px solid var(--border-color);
    background: var(--bg-darker);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.address-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    padding: 10px 12px;
    color: var(--text-secondary);
    font-family: monospace;
    font-size: 11.5px;
    outline: none;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-left: 1px solid var(--border-color);
    padding: 0 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-speed);
}

.copy-btn:hover {
    color: var(--primary);
    background: rgba(16, 185, 129, 0.08);
}

/* Payment Status watcher */
.payment-status {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(16, 185, 129, 0.03);
    border: 1px solid rgba(16, 185, 129, 0.15);
    padding: 12px 18px;
    border-radius: var(--border-radius-md);
    margin-bottom: 24px;
}

.status-spinner {
    color: var(--primary);
    display: flex;
}

.spinner-svg {
    animation: rotate 1.5s linear infinite;
    transform-origin: center;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.status-text {
    font-size: 13.5px;
    color: #c084fc;
}

/* Step 3 Success design */
.success-icon-box {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.success-details {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    margin-bottom: 32px;
    text-align: center;
}

.success-details p {
    font-size: 15px;
    margin-bottom: 12px;
}

.success-details p:last-child {
    margin-bottom: 0;
}

/* Simple Footer */
.footer-simple {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 32px 0;
    position: relative;
    z-index: 10;
}

.footer-container-simple {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 13.5px;
}

.footer-links-simple a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition-speed);
}

.footer-links-simple a:hover {
    color: var(--primary);
}

/* Mobile bottom nav defaults (hidden on desktop) */
.mobile-nav {
    display: none;
}

/* 📱 Responsive break configurations */
@media (max-width: 960px) {
    .plans-grid-simple {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 76px; /* space offset for mobile bottom bar */
    }

    .header-actions {
        display: none; /* Hide top bot buttons */
    }

    /* Mobile Sticky Bottom Tab Navigation */
    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 64px;
        background: rgba(4, 4, 7, 0.85);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        border-top: 1px solid var(--border-color);
        justify-content: space-around;
        align-items: center;
        z-index: 150;
        padding-bottom: env(safe-area-inset-bottom, 0); /* Support safe area on iPhones */
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 11px;
        font-weight: 500;
        flex: 1;
        height: 100%;
        transition: color var(--transition-speed);
    }

    .mobile-nav-item i {
        font-size: 18px;
    }

    .mobile-nav-item:hover,
    .mobile-nav-item:active {
        color: var(--primary);
    }

    .mobile-nav-accent {
        color: var(--primary);
    }
    
    .mobile-nav-accent:hover {
        color: var(--primary-glow);
    }

    /* Grid layout stack */
    .plans-grid-simple {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .plan-card-simple {
        padding: 36px 24px;
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }

    .footer-container-simple {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Mobile Bottom Drawer layout */
    .modal {
        align-items: flex-end; /* modal drops to bottom sheet drawer */
    }

    .modal-content {
        max-width: 100%;
        border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
        padding: 36px 20px 24px 20px;
        transform: translateY(100%);
        border-bottom: none;
        max-height: 88vh;
        overflow-y: auto;
    }

    .modal.open .modal-content {
        transform: translateY(0);
    }

    .modal-drag-handle {
        display: block;
        width: 36px;
        height: 4px;
        background: var(--text-muted);
        border-radius: 2px;
        margin: -16px auto 24px auto;
        opacity: 0.5;
    }

    /* Ensure minimum touch guidelines height */
    .btn,
    .currency-btn,
    .form-control {
        min-height: 48px;
    }

    .payment-details-box {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .address-value {
        font-size: 15px;
    }
}
