/* ==========================================================================
   ELITE .ORG DOMAIN REGISTRAR - PREMIUM LUXURY STYLESHEET
   Color Palette: Deep Obsidian/Navy (#060913, #0b1120, #0f172a)
   Accents: Sovereign Gold (#e5b95f, #d4af37, #f59e0b) & Electric Blue (#38bdf8, #0ea5e9)
   ========================================================================== */

:root {
    --bg-dark: #060913;
    --bg-card: rgba(15, 23, 42, 0.72);
    --bg-card-hover: rgba(30, 41, 59, 0.82);
    --bg-surface: #0b1120;
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(229, 185, 95, 0.35);
    --border-blue: rgba(56, 189, 248, 0.35);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-gold: #f6c86a;
    --text-blue: #38bdf8;

    --gold-primary: #e5b95f;
    --gold-gradient: linear-gradient(135deg, #f6c86a 0%, #d4af37 50%, #b89125 100%);
    --blue-gradient: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    --dark-gradient: linear-gradient(180deg, #0b1120 0%, #060913 100%);
    
    --btc-orange: #f7931a;
    --btc-gradient: linear-gradient(135deg, #f7931a 0%, #d97706 100%);

    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.12);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.12);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.12);
    --info: #38bdf8;
    --info-bg: rgba(56, 189, 248, 0.12);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-glow-gold: 0 0 25px rgba(229, 185, 95, 0.22);
    --shadow-glow-blue: 0 0 25px rgba(56, 189, 248, 0.22);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

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

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 15% 10%, rgba(229, 185, 95, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(56, 189, 248, 0.05) 0%, transparent 40%),
        linear-gradient(to bottom, #080c18, #050811);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--text-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--text-gold);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
    background: rgba(6, 9, 19, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--dark-gradient);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow-gold);
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.brand-badge {
    color: var(--gold-primary);
    font-size: 0.8rem;
    font-weight: 800;
    margin-left: 4px;
    padding: 2px 6px;
    background: rgba(229, 185, 95, 0.12);
    border: 1px solid rgba(229, 185, 95, 0.25);
    border-radius: 4px;
}

.header-meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.live-btc-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-glass);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   PROGRESS STEPPER
   ========================================================================== */

.checkout-progress {
    max-width: 840px;
    margin: 24px auto 0;
    padding: 0 20px;
}

.stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.stepper::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 24px;
    right: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-bubble {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.step-item.active .step-bubble {
    background: var(--bg-dark);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    box-shadow: var(--shadow-glow-gold);
}

.step-item.active .step-label {
    color: var(--text-gold);
    font-weight: 600;
}

.step-item.completed .step-bubble {
    background: var(--gold-gradient);
    border-color: var(--gold-primary);
    color: #060913;
}

.step-item.completed .step-label {
    color: var(--text-primary);
}

/* ==========================================================================
   MAIN LAYOUT & CONTAINERS
   ========================================================================== */

.main-content {
    flex: 1;
    max-width: 1240px;
    width: 100%;
    margin: 32px auto;
    padding: 0 24px;
}

.page-hero {
    text-align: center;
    margin-bottom: 40px;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.page-hero .subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
}

/* ==========================================================================
   GLASS CARDS & CONTAINERS
   ========================================================================== */

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-glass);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.card-header {
    margin-bottom: 24px;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ==========================================================================
   PLAN SELECTOR CARDS (1-YEAR vs 3-YEAR)
   ========================================================================== */

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.plan-card {
    position: relative;
    background: var(--bg-surface);
    border: 2px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 28px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    border-color: rgba(229, 185, 95, 0.4);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-gold);
}

.plan-card.selected {
    border-color: var(--gold-primary);
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 0 30px rgba(229, 185, 95, 0.15), inset 0 0 15px rgba(229, 185, 95, 0.05);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--gold-gradient);
    color: #060913;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(229, 185, 95, 0.35);
    text-transform: uppercase;
}

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

.plan-duration {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.plan-radio-wrap {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.plan-card.selected .plan-radio-wrap {
    border-color: var(--gold-primary);
}

.plan-radio-inner {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.2s ease;
}

.plan-card.selected .plan-radio-inner {
    background: var(--gold-primary);
}

.plan-pricing {
    margin-bottom: 20px;
}

.plan-price-main {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.plan-price-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

.plan-price-sub strong {
    color: var(--gold-primary);
}

.plan-features {
    list-style: none;
    margin-top: auto;
    border-top: 1px solid var(--border-glass);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.plan-features li svg {
    color: var(--success);
    flex-shrink: 0;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */

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

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

.form-control {
    width: 100%;
    background: rgba(6, 9, 19, 0.7);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--text-blue);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.input-with-button {
    display: flex;
    gap: 10px;
}

.input-with-button .form-control {
    flex: 1;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary-gold {
    background: var(--gold-gradient);
    color: #060913;
    box-shadow: 0 4px 16px rgba(229, 185, 95, 0.25);
}

.btn-primary-gold:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(229, 185, 95, 0.4);
    color: #000;
}

.btn-primary-blue {
    background: var(--blue-gradient);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.25);
}

.btn-primary-blue:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.btn-secondary {
    background: rgba(30, 41, 59, 0.7);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(51, 65, 85, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   ORDER SUMMARY SIDEBAR / CARD
   ========================================================================== */

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: start;
}

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

.summary-card {
    background: rgba(11, 17, 32, 0.85);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: sticky;
    top: 96px;
}

.summary-list {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.summary-row.total-row {
    border-top: 1px solid var(--border-glass);
    padding-top: 16px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.summary-row.btc-row {
    font-size: 1rem;
    color: var(--text-gold);
    font-weight: 600;
}

.tax-badge {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: normal;
}

.separate-notice-banner {
    background: rgba(56, 189, 248, 0.08);
    border-left: 3px solid var(--text-blue);
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 0.825rem;
    color: #bae6fd;
    margin: 20px 0;
    line-height: 1.5;
}

/* ==========================================================================
   BITCOIN PAYMENT INTERFACE
   ========================================================================== */

.payment-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 32px;
}

@media (max-width: 900px) {
    .payment-grid {
        grid-template-columns: 1fr;
    }
}

.qr-container {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.qr-canvas-wrap {
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-caption {
    margin-top: 12px;
    font-size: 0.8rem;
    color: #334155;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.countdown-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--border-glass);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.countdown-timer {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.copy-field-wrap {
    position: relative;
    margin-bottom: 18px;
}

.copy-input {
    width: 100%;
    background: rgba(6, 9, 19, 0.9);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 14px 100px 14px 16px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 500;
}

.copy-btn {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid var(--border-glass);
    color: var(--text-blue);
    padding: 0 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: var(--text-blue);
    color: #060913;
}

/* Status Indicators */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-awaiting {
    background: var(--warning-bg);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--warning);
}

.status-detected {
    background: var(--info-bg);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--info);
}

.status-confirming {
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #c084fc;
}

.status-confirmed {
    background: var(--success-bg);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.status-underpaid, .status-failed, .status-expired {
    background: var(--danger-bg);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

.status-overpaid {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

/* ==========================================================================
   INFO & FAQ SECTIONS
   ========================================================================== */

.content-section {
    margin-top: 64px;
}

.section-heading {
    text-align: center;
    margin-bottom: 36px;
}

.section-heading h2 {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-box {
    background: rgba(11, 17, 32, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 24px;
}

.feature-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(229, 185, 95, 0.1);
    border: 1px solid rgba(229, 185, 95, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    margin-bottom: 16px;
}

.feature-box h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(11, 17, 32, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
    padding: 20px 24px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-answer {
    padding: 0 24px 20px;
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-icon {
    transition: transform 0.2s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    border-top: 1px solid var(--border-glass);
    background: #03060d;
    padding: 40px 24px 24px;
    margin-top: auto;
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Toast Notifications */
.toast-notice {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    border: 1px solid var(--gold-primary);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 9999;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-notice.show {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .main-content {
        padding: 0 16px;
        margin: 20px auto;
    }
    .page-hero h1 {
        font-size: 1.85rem;
    }
    .glass-card {
        padding: 20px;
    }
    .header-container {
        padding: 12px 16px;
    }
    .stepper .step-label {
        display: none;
    }
    .copy-input {
        padding-right: 80px;
        font-size: 0.85rem;
    }
}
