/* ========================================
   Space Theme - The Singularity Design System
   LTsite Universal Space Theme v1.0
   ======================================== */

:root {
    /* Space Color Palette */
    --space-black: #000000;
    --space-deep: #030308;
    --space-dark: #0a0a15;
    --neon-cyan: #00f5ff;
    --neon-blue: #0066ff;
    --star-white: #ffffff;
    --subtle-gray: #888888;
    --muted-gray: #4a4a5a;

    /* Semantic Colors */
    --space-primary: var(--neon-cyan);
    --space-text: var(--star-white);
    --space-text-muted: var(--subtle-gray);
    --space-border: rgba(0, 245, 255, 0.2);
    --space-surface: rgba(10, 10, 21, 0.8);
    --space-surface-elevated: rgba(20, 20, 40, 0.9);
}

/* ========================================
   Global Background - Space Theme
   ======================================== */
body.space-theme {
    background: var(--space-black) !important;
    color: var(--space-text);
    min-height: 100vh;
}

/* Star Canvas Container */
#space-bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Subtle Scanlines */
.space-scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.02) 2px,
        rgba(0, 0, 0, 0.02) 4px
    );
    pointer-events: none;
    z-index: 9999;
}

/* ========================================
   Header - Space Theme
   ======================================== */
body.space-theme #header {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--space-border);
    box-shadow: 0 4px 30px rgba(0, 245, 255, 0.1);
}

body.space-theme .header-container {
    background: transparent;
}

body.space-theme #header .logo-font {
    background: linear-gradient(180deg, var(--star-white) 0%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: 0.1em;
}

body.space-theme #header .header-left img {
    filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.3));
}

/* Navigation Links */
body.space-theme .header-nav .menu > li > a {
    color: var(--subtle-gray) !important;
    transition: all 0.3s ease;
}

body.space-theme .header-nav .menu > li > a:hover {
    color: var(--neon-cyan) !important;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

body.space-theme .header-nav .menu > li > a i {
    color: var(--neon-cyan);
}

/* Header Icon Buttons */
body.space-theme .header-icon-btn {
    color: var(--subtle-gray) !important;
    transition: all 0.3s ease;
}

body.space-theme .header-icon-btn:hover {
    color: var(--neon-cyan) !important;
    text-shadow: 0 0 15px rgba(0, 245, 255, 0.6);
}

body.space-theme .header-logout-btn {
    color: #ff6b6b !important;
}

body.space-theme .header-logout-btn:hover {
    color: #fff !important;
    background: rgba(255, 107, 107, 0.3) !important;
    text-shadow: 0 0 15px rgba(255, 107, 107, 0.6);
}

body.space-theme .menu-link-logout {
    color: #ff6b6b !important;
}

body.space-theme .menu-link-logout:hover {
    background: rgba(255, 107, 107, 0.2) !important;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.4);
}

/* Auth Buttons */
body.space-theme .button--text {
    color: var(--subtle-gray) !important;
    border-color: transparent !important;
}

body.space-theme .button--text:hover {
    color: var(--neon-cyan) !important;
}

body.space-theme .button--cta {
    background: transparent !important;
    border: 1px solid var(--neon-cyan) !important;
    color: var(--star-white) !important;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.2), inset 0 0 20px rgba(0, 245, 255, 0.05);
}

body.space-theme .button--cta:hover {
    background: rgba(0, 245, 255, 0.1) !important;
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.4), inset 0 0 30px rgba(0, 245, 255, 0.1);
    transform: translateY(-2px);
}

/* Dropdown Menus */
body.space-theme .dropdown-menu {
    background: var(--space-surface-elevated) !important;
    border: 1px solid var(--space-border) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 245, 255, 0.1);
}

body.space-theme .dropdown-menu-item {
    color: var(--subtle-gray) !important;
}

body.space-theme .dropdown-menu-item:hover {
    background: rgba(0, 245, 255, 0.1) !important;
    color: var(--star-white) !important;
}

body.space-theme .dropdown-menu-item i {
    color: var(--neon-cyan) !important;
}

body.space-theme .user-menu-header {
    border-bottom: 1px solid var(--space-border) !important;
}

body.space-theme .user-menu-name {
    color: var(--star-white) !important;
}

body.space-theme .user-menu-email {
    color: var(--subtle-gray) !important;
}

body.space-theme .dropdown-divider {
    border-color: var(--space-border) !important;
}

/* Notification */
body.space-theme .notification-list {
    background: transparent !important;
}

body.space-theme .notification-item {
    color: var(--subtle-gray) !important;
    border-bottom: 1px solid var(--space-border) !important;
}

body.space-theme .notification-item:hover {
    background: rgba(0, 245, 255, 0.1) !important;
    color: var(--star-white) !important;
}

body.space-theme .notification-item.is-unread {
    background: rgba(0, 245, 255, 0.05) !important;
}

/* ========================================
   Footer - Space Theme
   ======================================== */
body.space-theme .desktop-footer {
    background: rgba(0, 0, 0, 0.8) !important;
    border-top: 1px solid var(--space-border) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

body.space-theme .footer-copyright {
    color: var(--muted-gray) !important;
}

body.space-theme .footer-link {
    color: var(--subtle-gray) !important;
}

body.space-theme .footer-link:hover {
    color: var(--neon-cyan) !important;
}

body.space-theme .footer-divider {
    color: var(--muted-gray) !important;
}

/* Mobile App Footer */
body.space-theme .app-footer-nav {
    background: rgba(0, 0, 0, 0.9) !important;
    border-top: 1px solid var(--space-border) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

body.space-theme .app-footer-nav a {
    color: var(--subtle-gray) !important;
}

body.space-theme .app-footer-nav a:hover,
body.space-theme .app-footer-nav a.active {
    color: var(--neon-cyan) !important;
}

body.space-theme .app-footer-nav .nav-icon {
    color: inherit !important;
}

/* Floating Contact Button */
body.space-theme .floating-contact-button {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.2) 0%, rgba(0, 102, 255, 0.3) 100%) !important;
    border: 1px solid var(--neon-cyan) !important;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3) !important;
}

body.space-theme .floating-contact-button:hover {
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.5) !important;
}

/* ========================================
   Content Area Overrides
   ======================================== */
body.space-theme main {
    position: relative;
    z-index: 1;
}

/* Cards & Surfaces */
body.space-theme .card,
body.space-theme .surface {
    background: var(--space-surface) !important;
    border: 1px solid var(--space-border) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Buttons - Primary */
body.space-theme .button-primary,
body.space-theme .btn-primary,
body.space-theme .btn--primary {
    background: transparent !important;
    border: 1px solid var(--neon-cyan) !important;
    color: var(--star-white) !important;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

body.space-theme .button-primary:hover,
body.space-theme .btn-primary:hover,
body.space-theme .btn--primary:hover {
    background: rgba(0, 245, 255, 0.1) !important;
    box-shadow: 0 0 25px rgba(0, 245, 255, 0.4);
}

/* Form Elements */
body.space-theme input,
body.space-theme textarea,
body.space-theme select {
    background: rgba(10, 10, 21, 0.8) !important;
    border: 1px solid var(--space-border) !important;
    color: var(--star-white) !important;
}

body.space-theme input:focus,
body.space-theme textarea:focus,
body.space-theme select:focus {
    border-color: var(--neon-cyan) !important;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2) !important;
    outline: none;
}

body.space-theme input::placeholder,
body.space-theme textarea::placeholder {
    color: var(--muted-gray) !important;
}

/* Links */
body.space-theme a {
    color: var(--neon-cyan);
    transition: all 0.3s ease;
}

body.space-theme a:hover {
    color: var(--star-white);
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

/* Text Colors */
body.space-theme h1,
body.space-theme h2,
body.space-theme h3,
body.space-theme h4,
body.space-theme h5,
body.space-theme h6 {
    color: var(--star-white) !important;
}

body.space-theme p,
body.space-theme span,
body.space-theme div {
    color: inherit;
}

/* ========================================
   Dashboard Specific - Space Theme
   ======================================== */
body.space-theme .dashboard-v5 {
    background: transparent !important;
}

body.space-theme .dashboard-v5 .profile-section {
    background: transparent;
}

body.space-theme .dashboard-v5 .profile-name {
    color: var(--star-white) !important;
}

body.space-theme .dashboard-v5 .profile-handle {
    color: var(--subtle-gray) !important;
}

body.space-theme .dashboard-v5 .profile-badge.pro {
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-blue) 100%) !important;
}

body.space-theme .dashboard-v5 .quick-action {
    background: var(--space-surface) !important;
    border: 1px solid var(--space-border) !important;
    color: var(--star-white) !important;
}

body.space-theme .dashboard-v5 .quick-action:hover {
    border-color: var(--neon-cyan) !important;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
}

body.space-theme .dashboard-v5 .quick-action-icon.primary {
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-blue) 100%) !important;
}

body.space-theme .dashboard-v5 .quick-action-icon.secondary {
    background: var(--space-surface-elevated) !important;
    color: var(--neon-cyan) !important;
}

body.space-theme .dashboard-v5 .section-title {
    color: var(--star-white) !important;
    border-left-color: var(--neon-cyan) !important;
}

body.space-theme .dashboard-v5 .section-title i {
    color: var(--neon-cyan) !important;
}

body.space-theme .dashboard-v5 .section-count {
    background: var(--space-surface) !important;
    color: var(--subtle-gray) !important;
}

body.space-theme .dashboard-v5 .stxt-item {
    background: var(--space-surface) !important;
    border: 1px solid var(--space-border) !important;
}

body.space-theme .dashboard-v5 .stxt-item:hover {
    border-color: var(--neon-cyan) !important;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.15);
}

body.space-theme .dashboard-v5 .stxt-icon {
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-blue) 100%) !important;
}

body.space-theme .dashboard-v5 .stxt-title {
    color: var(--star-white) !important;
}

body.space-theme .dashboard-v5 .stxt-category {
    background: var(--space-surface-elevated) !important;
    color: var(--subtle-gray) !important;
}

body.space-theme .dashboard-v5 .stxt-status.public {
    background: rgba(0, 245, 255, 0.2) !important;
    color: var(--neon-cyan) !important;
}

body.space-theme .dashboard-v5 .stxt-status.private {
    background: var(--space-surface-elevated) !important;
    color: var(--subtle-gray) !important;
}

body.space-theme .dashboard-v5 .stxt-btn {
    color: var(--subtle-gray) !important;
}

body.space-theme .dashboard-v5 .stxt-btn:hover {
    background: var(--space-surface-elevated) !important;
    color: var(--neon-cyan) !important;
}

body.space-theme .dashboard-v5 .admin-section {
    background: var(--space-surface) !important;
    border: 1px solid var(--space-border) !important;
}

body.space-theme .dashboard-v5 .admin-title {
    color: var(--subtle-gray) !important;
}

body.space-theme .dashboard-v5 .admin-link {
    background: var(--space-surface-elevated) !important;
    color: var(--star-white) !important;
}

body.space-theme .dashboard-v5 .admin-link:hover {
    background: rgba(0, 245, 255, 0.1) !important;
}

body.space-theme .dashboard-v5 .admin-link i {
    color: var(--neon-cyan) !important;
}

/* Empty State */
body.space-theme .dashboard-v5 .empty-state {
    background: var(--space-surface) !important;
    border: 1px solid var(--space-border) !important;
}

body.space-theme .dashboard-v5 .empty-icon {
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-blue) 100%) !important;
}

body.space-theme .dashboard-v5 .empty-state h3 {
    color: var(--star-white) !important;
}

body.space-theme .dashboard-v5 .empty-state p {
    color: var(--subtle-gray) !important;
}

body.space-theme .dashboard-v5 .empty-btn {
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-blue) 100%) !important;
}

/* ========================================
   Preloader - Space Theme
   ======================================== */
body.space-theme .preloader {
    background: var(--space-black) !important;
}

/* ========================================
   Search Modal - Space Theme
   ======================================== */
body.space-theme .search-modal-content {
    background: var(--space-surface-elevated) !important;
    border: 1px solid var(--space-border) !important;
}

body.space-theme .search-input {
    background: var(--space-surface) !important;
    border: 1px solid var(--space-border) !important;
    color: var(--star-white) !important;
}

/* ========================================
   Alerts & Messages
   ======================================== */
body.space-theme .alert-success {
    background: rgba(0, 245, 255, 0.1) !important;
    border: 1px solid var(--neon-cyan) !important;
    color: var(--neon-cyan) !important;
}

body.space-theme .flash-message {
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-blue) 100%) !important;
    box-shadow: 0 8px 24px rgba(0, 245, 255, 0.3) !important;
}

/* ========================================
   Scrollbar - Space Theme
   ======================================== */
body.space-theme ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

body.space-theme ::-webkit-scrollbar-track {
    background: var(--space-deep);
}

body.space-theme ::-webkit-scrollbar-thumb {
    background: var(--muted-gray);
    border-radius: 4px;
}

body.space-theme ::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
}

/* ========================================
   Contact Page - Space Theme Chat UI
   ======================================== */
body.space-theme.page-contact {
    background: var(--space-black);
}

body.space-theme .contact-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
}

body.space-theme .page-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--star-white);
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(180deg, var(--star-white) 0%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.space-theme .interactive-contact-form {
    background: transparent;
}

/* Chat Avatar */
body.space-theme .chat-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-blue) 100%);
    color: var(--space-black);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

body.space-theme .user-avatar {
    background: var(--space-surface-elevated);
    color: var(--neon-cyan);
    box-shadow: none;
    border: 1px solid var(--space-border);
}

/* Chat Message Wrapper */
body.space-theme .chat-message-wrapper {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

body.space-theme .chat-message-wrapper--user {
    flex-direction: row-reverse;
}

/* Chat Bubble */
body.space-theme .chat-bubble {
    max-width: 85%;
    padding: 16px 20px;
    border-radius: 16px;
    line-height: 1.7;
    font-size: 0.95rem;
}

body.space-theme .chat-bubble--bot {
    background: var(--space-surface);
    border: 1px solid var(--space-border);
    color: var(--star-white);
    border-bottom-left-radius: 4px;
}

body.space-theme .chat-bubble--user {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.15) 0%, rgba(0, 102, 255, 0.15) 100%);
    border: 1px solid var(--neon-cyan);
    color: var(--star-white);
    border-bottom-right-radius: 4px;
}

body.space-theme .chat-bubble--error {
    border-color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
}

body.space-theme .chat-bubble p {
    margin: 0;
    color: var(--star-white);
}

/* Chat Options (Buttons) */
body.space-theme .chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: 64px;
    margin-bottom: 24px;
}

body.space-theme .chat-option-button {
    padding: 12px 20px;
    background: transparent;
    border: 1px solid var(--space-border);
    color: var(--subtle-gray);
    border-radius: 24px;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.space-theme .chat-option-button:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    background: rgba(0, 245, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
    transform: translateY(-2px);
}

/* Chat Input Area */
body.space-theme .chat-input-area {
    margin-left: 64px;
    margin-bottom: 24px;
}

body.space-theme .chat-input-area .form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--space-surface) !important;
    border: 1px solid var(--space-border) !important;
    border-radius: 12px;
    color: var(--star-white) !important;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    resize: vertical;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

body.space-theme .chat-input-area .form-control:focus {
    border-color: var(--neon-cyan) !important;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.2) !important;
    outline: none;
}

body.space-theme .chat-input-area .form-control::placeholder {
    color: var(--muted-gray) !important;
}

/* Chat Navigation Buttons */
body.space-theme .chat-nav-buttons,
body.space-theme .chat-final-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

body.space-theme .chat-prev-button {
    background: transparent !important;
    border: 1px solid var(--space-border) !important;
    color: var(--subtle-gray) !important;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.space-theme .chat-prev-button:hover {
    border-color: var(--subtle-gray) !important;
    color: var(--star-white) !important;
}

body.space-theme .chat-next-button,
body.space-theme #js-contact-submit {
    background: transparent !important;
    border: 1px solid var(--neon-cyan) !important;
    color: var(--star-white) !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

body.space-theme .chat-next-button:hover,
body.space-theme #js-contact-submit:hover {
    background: rgba(0, 245, 255, 0.1) !important;
    box-shadow: 0 0 25px rgba(0, 245, 255, 0.4);
    transform: translateY(-2px);
}

/* Summary Section */
body.space-theme .chat-summary {
    font-size: 0.9rem;
}

body.space-theme .chat-summary p {
    margin-bottom: 8px;
    color: var(--star-white);
}

body.space-theme .chat-summary strong {
    color: var(--neon-cyan);
    font-weight: 600;
}

/* Error Message */
body.space-theme .chat-error-message {
    color: #ff4757;
    font-size: 0.8rem;
    margin-top: -10px;
    margin-bottom: 12px;
}

/* Contact Step Visibility */
body.space-theme .contact-step {
    display: none;
}

body.space-theme .contact-step.is-active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

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

/* Responsive */
@media (max-width: 600px) {
    body.space-theme .chat-options {
        margin-left: 0;
    }

    body.space-theme .chat-input-area {
        margin-left: 0;
    }

    body.space-theme .chat-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    body.space-theme .chat-bubble {
        max-width: 100%;
        padding: 14px 16px;
    }

    body.space-theme .chat-option-button {
        width: 100%;
        text-align: center;
    }
}

/* Primary Option Button (Apply/Consultation) */
body.space-theme .chat-option-button--primary {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.15) 0%, rgba(0, 102, 255, 0.15) 100%) !important;
    border: 2px solid var(--neon-cyan) !important;
    color: var(--neon-cyan) !important;
    font-weight: 600;
}

body.space-theme .chat-option-button--primary:hover {
    background: rgba(0, 245, 255, 0.25) !important;
    box-shadow: 0 0 25px rgba(0, 245, 255, 0.4);
}

/* Plan Selection Cards */
body.space-theme .plan-selection-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-left: 64px;
    margin-bottom: 24px;
}

body.space-theme .plan-select-card {
    background: var(--space-surface);
    border: 1px solid var(--space-border);
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

body.space-theme .plan-select-card:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 245, 255, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 245, 255, 0.15);
}

body.space-theme .plan-select-card--recommended {
    border: 2px solid var(--neon-cyan);
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.08) 0%, rgba(0, 102, 255, 0.08) 100%);
}

body.space-theme .plan-select-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-blue) 100%);
    color: var(--space-black);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

body.space-theme .plan-select-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

body.space-theme .plan-select-name {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--star-white);
    letter-spacing: 0.05em;
}

body.space-theme .plan-select-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neon-cyan);
}

body.space-theme .plan-select-price small {
    font-size: 0.7rem;
    color: var(--subtle-gray);
    font-weight: 400;
}

body.space-theme .plan-select-desc {
    font-size: 0.8rem;
    color: var(--subtle-gray);
    margin: 0 0 12px 0;
}

body.space-theme .plan-select-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

body.space-theme .plan-select-features li {
    font-size: 0.75rem;
    color: var(--subtle-gray);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

body.space-theme .plan-select-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
    font-size: 0.7rem;
}

body.space-theme .plan-select-card--custom {
    border-style: dashed;
}

/* Outline Button */
body.space-theme .button--outline {
    background: transparent !important;
    border: 1px solid var(--space-border) !important;
    color: var(--subtle-gray) !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.8rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

body.space-theme .button--outline:hover {
    border-color: var(--neon-cyan) !important;
    color: var(--neon-cyan) !important;
}

/* Responsive Plan Cards */
@media (max-width: 600px) {
    body.space-theme .plan-selection-cards {
        grid-template-columns: 1fr;
        margin-left: 0;
    }

    body.space-theme .plan-select-card {
        padding: 16px;
    }
}

/* ========================================
   Premium Page - Space Theme
   ======================================== */
body.space-theme.page-premium {
    background: var(--space-black);
}

body.space-theme .premium-hero-section {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, var(--space-black) 100%) !important;
    position: relative;
    padding: 100px 20px 80px;
    text-align: center;
}

body.space-theme .premium-hero-section .page-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--star-white);
    margin-bottom: 20px;
    line-height: 1.4;
}

body.space-theme .premium-hero-section .highlight {
    background: linear-gradient(180deg, var(--neon-cyan) 0%, var(--neon-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.space-theme .premium-hero-section .page-subtitle {
    color: var(--subtle-gray);
    font-size: 1rem;
    line-height: 1.8;
}

body.space-theme .pricing-section {
    background: transparent !important;
    padding: 60px 20px;
}

body.space-theme .pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

body.space-theme .plan-card {
    background: var(--space-surface) !important;
    border: 1px solid var(--space-border) !important;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

body.space-theme .plan-card:hover {
    border-color: var(--neon-cyan) !important;
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 245, 255, 0.15);
}

body.space-theme .plan-card.is-recommended {
    border: 2px solid var(--neon-cyan) !important;
    position: relative;
}

body.space-theme .plan-card .recommended-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-blue) 100%);
    color: var(--space-black);
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 700;
}

body.space-theme .plan-card-inner {
    padding: 32px 24px;
}

body.space-theme .plan-card h2 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--star-white) !important;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

body.space-theme .plan-card h2 span {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--subtle-gray);
    margin-top: 4px;
    letter-spacing: 0;
}

body.space-theme .plan-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-cyan) !important;
    margin: 16px 0;
}

body.space-theme .plan-card .price span {
    font-size: 0.8rem;
    color: var(--subtle-gray);
    font-weight: 400;
}

body.space-theme .plan-card .plan-description {
    color: var(--subtle-gray) !important;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

body.space-theme .plan-card .button--outline {
    width: 100%;
    justify-content: center;
    padding: 14px;
    margin-bottom: 24px;
}

body.space-theme .plan-card .button--primary {
    width: 100%;
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-blue) 100%) !important;
    border: none !important;
    color: var(--space-black) !important;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    margin-bottom: 24px;
    display: block;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

body.space-theme .plan-card .button--primary:hover {
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
    transform: translateY(-2px);
}

body.space-theme .features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

body.space-theme .features-list li {
    padding: 10px 0;
    color: var(--subtle-gray);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.space-theme .features-list li:last-child {
    border-bottom: none;
}

body.space-theme .features-list li strong {
    color: var(--star-white);
}

body.space-theme .feature-icon--yes {
    color: var(--neon-cyan) !important;
}

body.space-theme .feature-icon--no {
    color: var(--muted-gray) !important;
}

body.space-theme .feature-icon--future {
    color: #f59e0b !important;
}

body.space-theme .features-list li.is-disabled {
    opacity: 0.5;
}

body.space-theme .features-list li.is-future {
    opacity: 0.8;
}

/* Use Cases Section */
body.space-theme .use-cases-section {
    margin-top: 60px;
    padding: 40px;
    background: var(--space-surface);
    border: 1px solid var(--space-border);
    border-radius: 16px;
}

body.space-theme .use-cases-section h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    color: var(--star-white) !important;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

body.space-theme .use-cases-section h3 i {
    color: var(--neon-cyan);
}

body.space-theme .use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

body.space-theme .use-case-card {
    background: var(--space-surface-elevated);
    border: 1px solid var(--space-border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

body.space-theme .use-case-card i {
    font-size: 2rem;
    color: var(--neon-cyan);
    margin-bottom: 12px;
}

body.space-theme .use-case-card h4 {
    font-size: 1rem;
    color: var(--star-white) !important;
    margin-bottom: 8px;
}

body.space-theme .use-case-card p {
    font-size: 0.8rem;
    color: var(--subtle-gray);
    line-height: 1.6;
}

/* Security & Guarantee Sections */
body.space-theme .pricing-security-info,
body.space-theme .pricing-guarantee {
    margin-top: 40px;
    padding: 32px;
    background: var(--space-surface);
    border: 1px solid var(--space-border);
    border-radius: 16px;
    text-align: center;
}

body.space-theme .pricing-security-info h3,
body.space-theme .pricing-guarantee h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    color: var(--star-white) !important;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

body.space-theme .pricing-security-info h3 i,
body.space-theme .pricing-guarantee h3 i {
    color: var(--neon-cyan);
}

body.space-theme .pricing-security-info p,
body.space-theme .pricing-guarantee p {
    color: var(--subtle-gray);
    font-size: 0.9rem;
    line-height: 1.8;
}

body.space-theme .security-features-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    list-style: none;
    padding: 0;
}

body.space-theme .security-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    max-width: 280px;
}

body.space-theme .security-features-list li i {
    font-size: 1.5rem;
    color: var(--neon-cyan);
    flex-shrink: 0;
}

body.space-theme .security-features-list li strong {
    display: block;
    color: var(--star-white);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

body.space-theme .security-features-list li span {
    color: var(--subtle-gray);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* Provision Models Section */
body.space-theme .provision-models-section {
    background: var(--space-deep) !important;
    padding: 80px 20px;
    margin-top: 0;
}

body.space-theme .section-title-centered {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--star-white) !important;
    text-align: center;
    margin-bottom: 16px;
}

body.space-theme .section-description-centered {
    color: var(--subtle-gray) !important;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 48px;
}

body.space-theme .provision-card {
    background: var(--space-surface) !important;
    border: 1px solid var(--space-border) !important;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

body.space-theme .provision-card:hover {
    border-color: var(--neon-cyan) !important;
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 245, 255, 0.15);
}

body.space-theme .provision-card-featured {
    border: 2px solid var(--neon-cyan) !important;
}

body.space-theme .provision-badge {
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-blue) 100%) !important;
    color: var(--space-black) !important;
}

body.space-theme .provision-header {
    background: linear-gradient(145deg, rgba(0, 245, 255, 0.1) 0%, rgba(0, 102, 255, 0.1) 100%) !important;
    padding: 32px 24px;
    text-align: center;
}

body.space-theme .provision-header i {
    font-size: 2.5rem;
    color: var(--neon-cyan) !important;
    margin-bottom: 16px;
}

body.space-theme .provision-header h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    color: var(--star-white) !important;
    margin-bottom: 8px;
}

body.space-theme .provision-price {
    color: var(--neon-cyan) !important;
    font-size: 1.1rem;
}

body.space-theme .provision-body {
    padding: 24px;
}

body.space-theme .provision-description {
    color: var(--subtle-gray) !important;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

body.space-theme .provision-body h4 {
    color: var(--star-white) !important;
    font-size: 1rem;
    margin-bottom: 12px;
}

body.space-theme .provision-list li {
    color: var(--subtle-gray) !important;
    padding: 8px 0;
}

body.space-theme .provision-list li i {
    color: var(--neon-cyan) !important;
}

body.space-theme .provision-example {
    background: var(--space-surface-elevated) !important;
    border-left: 3px solid var(--neon-cyan) !important;
    padding: 16px;
    border-radius: 8px;
}

body.space-theme .provision-example strong {
    color: var(--neon-cyan) !important;
}

body.space-theme .provision-example p {
    color: var(--subtle-gray) !important;
    font-size: 0.85rem;
}

body.space-theme .button-provision {
    background: transparent !important;
    border: 1px solid var(--neon-cyan) !important;
    color: var(--star-white) !important;
    padding: 12px 24px;
    border-radius: 8px;
    display: block;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

body.space-theme .button-provision:hover {
    background: rgba(0, 245, 255, 0.1) !important;
    box-shadow: 0 0 25px rgba(0, 245, 255, 0.4);
    transform: translateY(-2px);
}

body.space-theme .provision-note {
    background: var(--space-surface) !important;
    border: 1px solid var(--neon-cyan) !important;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

body.space-theme .provision-note h4 {
    font-family: 'Orbitron', monospace;
    color: var(--neon-cyan) !important;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

body.space-theme .provision-note p {
    color: var(--subtle-gray) !important;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ========================================
   Theme Toggle UI
   ======================================== */
.theme-toggle-item {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    cursor: default !important;
}

.theme-toggle-switch {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 2px;
}

body.space-theme .theme-toggle-switch {
    background: var(--space-surface-elevated);
}

.theme-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.theme-btn:hover {
    color: #333;
}

.theme-btn.active {
    background: #fff;
    color: #333;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

body.space-theme .theme-btn {
    color: var(--subtle-gray);
}

body.space-theme .theme-btn:hover {
    color: var(--star-white);
}

body.space-theme .theme-btn.active {
    background: var(--neon-cyan);
    color: var(--space-black);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 768px) {
    body.space-theme #header {
        padding: 10px 0;
    }

    body.space-theme .pricing-table {
        grid-template-columns: 1fr;
    }

    body.space-theme .provision-models-grid {
        grid-template-columns: 1fr;
    }
}
