/* Root variables for consistent theming - Strict Monochrome Dark Theme */
:root {
    --bg-primary: #000000;
    --bg-secondary: #0D0D0D;
    --bg-tertiary: #1A1A1A;
    --text-primary: #FFFFFF;
    --text-secondary: #808080;
    --text-muted: #808080;
    --accent-primary: #404040;
    --accent-success: #404040;
    --accent-danger: #262626;
    --accent-warning: #404040;
    --border-color: #262626;
    --shadow-color: rgba(0, 0, 0, 0.8);
    --glass-bg: rgba(13, 13, 13, 0.7);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Animated Background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(26, 26, 26, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(13, 13, 13, 0.4) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(26, 26, 26, 0.2) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-20px, -20px); }
    66% { transform: translate(20px, -10px); }
}

/* Navigation */
.navbar {
    background-color: var(--bg-secondary) !important;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    box-shadow: 0 2px 20px var(--shadow-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary) !important;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: translateX(5px);
}

.navbar-brand i {
    margin-right: 0.5rem;
    animation: maskFloat 3s ease-in-out infinite;
}

@keyframes maskFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.nav-link {
    color: var(--text-secondary) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FFFFFF;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary) !important;
    transform: translateY(-2px);
}

.nav-link:hover::before {
    width: 100%;
}

.dropdown-menu-dark {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content */
.main-content {
    padding-top: 100px;
    padding-bottom: 60px;
    flex: 1;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards with Glassmorphism */
.card {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cardSlide 0.5s ease;
    overflow: hidden;
}

@keyframes cardSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(64, 64, 64, 0.3);
    border-color: rgba(64, 64, 64, 0.5);
}

.card-header {
    background-color: rgba(58, 58, 58, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-weight: 600;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
}

.card-header::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.card:hover .card-header::after {
    left: 100%;
}

.card-body {
    color: var(--text-primary);
    padding: 1.5rem;
}

/* Forms with Modern Style */
.form-control,
.form-select {
    background-color: rgba(58, 58, 58, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background-color: rgba(26, 26, 26, 0.8);
    border-color: #FFFFFF;
    color: var(--text-primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1),
                0 0 20px rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.form-label {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-control:focus ~ .form-label,
.form-select:focus ~ .form-label {
    color: var(--accent-primary);
}

/* Premium Buttons */
.btn {
    border-radius: 8px;
    padding: 0.625rem 1.75rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #262626, #1A1A1A);
    border: 1px solid #404040;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    color: #FFFFFF;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(64, 64, 64, 0.5);
    background: linear-gradient(135deg, #404040, #262626);
    border-color: #808080;
}

.btn-success {
    background: linear-gradient(135deg, #262626, #1A1A1A);
    border: 1px solid #404040;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    color: #FFFFFF;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(64, 64, 64, 0.5);
    background: linear-gradient(135deg, #404040, #262626);
    border-color: #808080;
}

.btn-danger {
    background: linear-gradient(135deg, #1A1A1A, #0D0D0D);
    border: 1px solid #262626;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    color: #808080;
}

.btn-secondary {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: rgba(26, 26, 26, 0.9);
    border-color: #FFFFFF;
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

/* Tables with Modern Style */
.table {
    color: var(--text-primary);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.table-dark {
    background-color: transparent;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(58, 58, 58, 0.3);
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background-color: rgba(26, 26, 26, 0.5);
    transform: scale(1.01);
}

/* Badges with Glow Effect */
.badge {
    padding: 0.35rem 0.75rem;
    font-weight: 500;
    border-radius: 6px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 currentColor;
    }
    50% {
        box-shadow: 0 0 10px 2px currentColor;
    }
}

/* Alerts with Slide Animation */
.alert {
    border: none;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    animation: alertSlide 0.4s ease;
}

@keyframes alertSlide {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-info {
    background-color: rgba(26, 26, 26, 0.8);
    color: #FFFFFF;
    border-left: 4px solid #404040;
}

.alert-success {
    background-color: rgba(26, 26, 26, 0.8);
    color: #FFFFFF;
    border-left: 4px solid #404040;
}

.alert-warning {
    background-color: rgba(26, 26, 26, 0.8);
    color: #808080;
    border-left: 4px solid #262626;
}

.alert-danger {
    background-color: rgba(13, 13, 13, 0.8);
    color: #808080;
    border-left: 4px solid #262626;
}

/* Footer */
.footer {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* License Cards with Premium Feel */
.license-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7), rgba(13, 13, 13, 0.7));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.license-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(64, 64, 64, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.license-card:hover::before {
    opacity: 1;
}

.license-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(64, 64, 64, 0.3);
    border-color: rgba(64, 64, 64, 0.5);
}

.license-type {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
}

.license-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(45deg, #FFFFFF, #808080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.license-features {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.license-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    padding-left: 1.5rem;
    position: relative;
}

.license-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #FFFFFF;
    font-weight: bold;
    animation: checkBounce 0.5s ease;
}

@keyframes checkBounce {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.license-features li:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.license-features li i {
    color: var(--accent-success);
    margin-right: 0.5rem;
}

/* Dashboard Stats with Animation */
.stat-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7), rgba(13, 13, 13, 0.7));
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #262626, #404040, #262626);
    border-radius: 12px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(64, 64, 64, 0.4);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    animation: countUp 1s ease;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* USDT Wallet Address with Copy Animation */
.wallet-address {
    background-color: var(--bg-primary);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    word-break: break-all;
    margin: 1rem 0;
    transition: all 0.3s ease;
    position: relative;
}

.wallet-address:hover {
    border-color: #FFFFFF;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Copy Button */
.copy-btn {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    color: var(--accent-primary);
    transform: scale(1.1);
}

.copy-btn:active {
    transform: scale(0.95);
}

/* Transaction Status */
.status-pending {
    color: var(--accent-warning);
    animation: statusPulse 1.5s ease-in-out infinite;
}

.status-confirmed {
    color: var(--accent-success);
}

.status-rejected {
    color: var(--accent-danger);
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Progress Bar Animation */
.progress {
    background-color: rgba(58, 58, 58, 0.5);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(45deg, #404040, #808080);
    animation: progressStripe 1s linear infinite;
    position: relative;
}

.progress-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.2) 75%,
        transparent 75%,
        transparent
    );
    background-size: 30px 30px;
    animation: progressMove 1s linear infinite;
}

@keyframes progressMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 30px 30px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-content {
        padding-top: 80px;
    }
    
    .license-card {
        margin-bottom: 1rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
}

/* Loading Spinner with Modern Style */
.spinner-border {
    color: var(--accent-primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#1A1A1A, #404040);
    border-radius: 5px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(#404040, #808080);
}

/* Page Loader Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 0.5s ease 1s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Input Focus Animation */
.form-control,
.form-select {
    position: relative;
}

.form-control::placeholder {
    transition: all 0.3s ease;
}

.form-control:focus::placeholder {
    opacity: 0.5;
    transform: translateX(5px);
}

/* Hover Effects for Interactive Elements */
a {
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
}

/* Modal Animations */
.modal {
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ==========================================================================
   STRICT MONOCHROME OVERRIDES
   Forces all Bootstrap semantic colors into the allowed greyscale palette:
   #000000 #0D0D0D #1A1A1A #262626 #404040 #808080 #FFFFFF
   ========================================================================== */

/* --- Text utilities --- */
.text-primary,
.text-info,
.text-success,
.text-danger,
.text-warning,
.text-white,
.text-light,
.text-dark,
.text-body,
.text-body-emphasis,
.text-black {
    color: #FFFFFF !important;
}

.text-secondary,
.text-muted,
.text-body-secondary {
    color: #808080 !important;
}

/* --- Background utilities --- */
.bg-primary,
.bg-success,
.bg-info,
.bg-warning {
    background-color: #262626 !important;
    color: #FFFFFF !important;
}

.bg-secondary,
.bg-danger {
    background-color: #1A1A1A !important;
    color: #FFFFFF !important;
}

.bg-light {
    background-color: #262626 !important;
    color: #FFFFFF !important;
}

.bg-dark,
.bg-black {
    background-color: #0D0D0D !important;
    color: #FFFFFF !important;
}

/* --- text-bg-* helpers (Bootstrap 5.2+) --- */
.text-bg-primary,
.text-bg-secondary,
.text-bg-success,
.text-bg-danger,
.text-bg-warning,
.text-bg-info,
.text-bg-light,
.text-bg-dark {
    background-color: #262626 !important;
    color: #FFFFFF !important;
}

/* --- Badges --- */
.badge.bg-primary,
.badge.bg-secondary,
.badge.bg-success,
.badge.bg-danger,
.badge.bg-warning,
.badge.bg-info,
.badge.bg-light,
.badge.bg-dark,
.badge.text-bg-primary,
.badge.text-bg-secondary,
.badge.text-bg-success,
.badge.text-bg-danger,
.badge.text-bg-warning,
.badge.text-bg-info,
.badge.text-bg-light,
.badge.text-bg-dark {
    background-color: #262626 !important;
    color: #FFFFFF !important;
    border: 1px solid #404040;
}

/* --- Buttons (info/warning/light/dark + outlines) --- */
.btn-info,
.btn-warning,
.btn-light,
.btn-dark {
    background: linear-gradient(135deg, #262626, #1A1A1A) !important;
    border: 1px solid #404040 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.btn-info:hover,
.btn-warning:hover,
.btn-light:hover,
.btn-dark:hover {
    background: linear-gradient(135deg, #404040, #262626) !important;
    border-color: #808080 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(64, 64, 64, 0.5);
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-warning,
.btn-outline-info,
.btn-outline-light,
.btn-outline-dark {
    background: transparent !important;
    border: 1px solid #404040 !important;
    color: #FFFFFF !important;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-success:hover,
.btn-outline-danger:hover,
.btn-outline-warning:hover,
.btn-outline-info:hover,
.btn-outline-light:hover,
.btn-outline-dark:hover {
    background: #1A1A1A !important;
    border-color: #808080 !important;
    color: #FFFFFF !important;
}

/* --- Borders --- */
.border-primary,
.border-secondary,
.border-success,
.border-danger,
.border-warning,
.border-info,
.border-light,
.border-dark {
    border-color: #404040 !important;
}

/* --- Links --- */
.link-primary,
.link-secondary,
.link-success,
.link-danger,
.link-warning,
.link-info,
.link-light,
.link-dark {
    color: #FFFFFF !important;
}

.link-primary:hover,
.link-secondary:hover,
.link-success:hover,
.link-danger:hover,
.link-warning:hover,
.link-info:hover,
.link-light:hover,
.link-dark:hover {
    color: #808080 !important;
}

/* --- Status colors used in templates --- */
.status-confirmed,
.status-pending,
.status-rejected {
    color: #808080 !important;
}

/* --- Form check / switch accents --- */
.form-check-input {
    background-color: #1A1A1A;
    border-color: #404040;
}

.form-check-input:checked {
    background-color: #404040;
    border-color: #808080;
}

.form-check-input:focus {
    border-color: #808080;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
}

/* --- Progress bar (ensure greyscale) --- */
.progress-bar.bg-success,
.progress-bar.bg-info,
.progress-bar.bg-warning,
.progress-bar.bg-danger,
.progress-bar.bg-primary {
    background: linear-gradient(45deg, #404040, #808080) !important;
}

/* --- Bootstrap spinner accent --- */
.spinner-border.text-primary,
.spinner-border.text-success,
.spinner-border.text-info {
    color: #808080 !important;
}

/* --- Generic content links inside main content --- */
.main-content a:not(.btn):not(.nav-link):not(.dropdown-item):not(.navbar-brand) {
    color: #FFFFFF;
}

.main-content a:not(.btn):not(.nav-link):not(.dropdown-item):not(.navbar-brand):hover {
    color: #808080;
}

/* ==========================================================================
   NO DECORATIVE ANIMATIONS
   Disable all keyframe animations and hover lift/scale transforms,
   keeping only the functional loading spinner.
   ========================================================================== */
*,
*::before,
*::after {
    animation: none !important;
}

.spinner-border {
    animation: spin 0.8s linear infinite !important;
}

/* Remove hover lift / scale / float transforms */
.card:hover,
.license-card:hover,
.stat-card:hover,
.btn:hover,
.table tbody tr:hover,
.navbar-brand:hover,
.nav-link:hover,
.form-control:focus,
.form-select:focus,
.copy-btn:hover,
.license-features li:hover {
    transform: none !important;
}

/* Remove decorative pseudo-element effects (shimmer / ripple / glow sweeps) */
.btn::before,
.card-header::after,
.license-card::before,
.stat-card::after {
    content: none !important;
    display: none !important;
}

/* Keep the animated background static */
body::before {
    animation: none !important;
}

/* ==========================================================================
   DROGOZ NETWORK
   ========================================================================== */
.drogoz-section {
    padding: 80px 0;
}

.drogoz-card {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
    background: linear-gradient(135deg, #0D0D0D, #000000);
    border: 1px solid #262626;
    border-radius: 20px;
    padding: 3rem;
    text-align: left;
}

.drogoz-logo-circle {
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #404040;
    background: #000000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.drogoz-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.drogoz-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78rem;
    color: #808080;
    margin-bottom: 0.5rem;
}

.drogoz-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.drogoz-text {
    color: #808080;
    max-width: 560px;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.drogoz-btn svg,
.nav-drogoz svg {
    width: 18px;
    height: 18px;
    vertical-align: -3px;
    margin-right: 6px;
}

.nav-drogoz-logo {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #404040;
    margin-right: 7px;
    vertical-align: -6px;
}

/* Highlighted Drogoz nav item */
.nav-drogoz {
    border: 1px solid #262626;
    border-radius: 8px;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
}

.nav-drogoz:hover {
    border-color: #404040;
}

/* Small Drogoz badge for forms / panels */
.drogoz-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    color: #808080;
    text-decoration: none;
    font-size: 0.85rem;
}

.drogoz-badge:hover {
    color: #FFFFFF;
}

.drogoz-badge .drogoz-badge-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #404040;
    background: #000000;
    flex-shrink: 0;
}

.drogoz-badge .drogoz-badge-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .drogoz-card {
        text-align: center;
        padding: 2rem;
    }
    .drogoz-title {
        font-size: 1.6rem;
    }
}

/* ==========================================================================
   MODERN FOOTER
   ========================================================================== */
.footer {
    background: #0D0D0D;
    border-top: 1px solid #1A1A1A;
    padding: 3.5rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 2.5rem;
}

.footer-brand-top {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Orbitron', 'Arial Black', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FFFFFF;
    font-size: 1.2rem;
}

.footer-brand-top img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #262626;
}

.footer-desc {
    color: #808080;
    margin-top: 1rem;
    line-height: 1.7;
    max-width: 540px;
    font-size: 0.92rem;
}

.footer-drogoz {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.4rem;
    text-decoration: none;
    padding: 0.6rem 0.9rem;
    border: 1px solid #1A1A1A;
    border-radius: 12px;
    transition: border-color 0.2s ease;
}

.footer-drogoz:hover {
    border-color: #404040;
}

.footer-drogoz-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #404040;
    flex-shrink: 0;
    background: #000000;
}

.footer-drogoz-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer-drogoz strong {
    display: block;
    color: #FFFFFF;
    font-size: 0.9rem;
}

.footer-drogoz small {
    color: #808080;
    font-size: 0.78rem;
}

.footer-col h6 {
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.78rem;
    margin-bottom: 1rem;
}

.footer-col a,
.footer-col .footer-tag {
    display: block;
    color: #808080;
    text-decoration: none;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-top: 1px solid #1A1A1A;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    color: #808080;
    font-size: 0.85rem;
}

.footer-bottom strong {
    color: #FFFFFF;
}

/* ==========================================================================
   DOCUMENTATION (modern)
   ========================================================================== */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.doc-card {
    background: linear-gradient(160deg, #0D0D0D, #000000);
    border: 1px solid #1A1A1A;
    border-radius: 16px;
    padding: 1.75rem;
    transition: border-color 0.2s ease;
    height: 100%;
}

.doc-card:hover {
    border-color: #404040;
}

.doc-card .doc-ico {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #1A1A1A;
    border: 1px solid #262626;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.doc-card .doc-ico svg {
    width: 22px;
    height: 22px;
    color: #FFFFFF;
}

.doc-card h5 {
    color: #FFFFFF;
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.doc-card p {
    color: #808080;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.doc-metric {
    font-family: 'Orbitron', monospace;
    font-size: 2.3rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1;
}

.doc-metric-label {
    color: #808080;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.74rem;
    margin-top: 0.4rem;
}

/* ==========================================================================
   FEATURES BENTO (Cursor x Apple)
   ========================================================================== */
.section-lead {
    color: #808080;
    text-align: center;
    max-width: 680px;
    margin: -1rem auto 2.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.features-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.bento-card {
    position: relative;
    background: linear-gradient(160deg, #0D0D0D, #000000);
    border: 1px solid #1A1A1A;
    border-radius: 20px;
    padding: 1.75rem;
    transition: border-color 0.25s ease, transform 0.25s ease;
    overflow: hidden;
}

.bento-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.bento-card:hover {
    border-color: #404040;
    transform: translateY(-3px);
}

.bento-card:hover::after {
    opacity: 1;
}

.bento-ico {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: #1A1A1A;
    border: 1px solid #262626;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.bento-ico svg {
    width: 24px;
    height: 24px;
    color: #FFFFFF;
}

.bento-card h3 {
    color: #FFFFFF;
    font-size: 1.12rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.bento-card p {
    color: #808080;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

.bento-hero {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #111111 0%, #000000 60%);
    padding: 2.5rem;
}

.bento-hero .bento-stat {
    flex-shrink: 0;
    text-align: center;
    min-width: 200px;
}

.bento-hero .bento-stat .num {
    font-family: 'Orbitron', monospace;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(180deg, #FFFFFF, #808080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bento-hero .bento-stat .lbl {
    color: #808080;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.bento-hero .bento-body {
    flex: 1;
    min-width: 260px;
}

.bento-hero .bento-body h3 {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
}

.bento-hero .bento-body p {
    color: #808080;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.bento-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bento-chip {
    border: 1px solid #262626;
    background: #0D0D0D;
    color: #FFFFFF;
    font-size: 0.78rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
}

/* ==========================================================================
   DOWNLOAD (Apple-style product block)
   ========================================================================== */
.dl-wrap {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: stretch;
}

.dl-visual {
    position: relative;
    border-radius: 26px;
    border: 1px solid #1A1A1A;
    background:
        radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.10) 0%, transparent 55%),
        linear-gradient(160deg, #111111, #000000);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    overflow: hidden;
}

.dl-visual img {
    width: 240px;
    max-width: 70%;
    border-radius: 50%;
    filter: drop-shadow(0 20px 60px rgba(255, 255, 255, 0.12));
}

.dl-visual .dl-floating {
    position: absolute;
    bottom: 22px;
    left: 22px;
    right: 22px;
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.dl-pill {
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid #262626;
    color: #FFFFFF;
    border-radius: 12px;
    padding: 0.55rem 0.9rem;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.dl-pill svg {
    width: 16px;
    height: 16px;
}

.dl-panel {
    background: linear-gradient(160deg, #0D0D0D, #000000);
    border: 1px solid #1A1A1A;
    border-radius: 26px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.dl-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78rem;
    color: #808080;
    margin-bottom: 0.6rem;
}

.dl-title {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.05;
    background: linear-gradient(180deg, #FFFFFF, #9c9c9c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.85rem;
}

.dl-sub {
    color: #808080;
    line-height: 1.7;
    margin-bottom: 1.4rem;
    max-width: 520px;
}

.dl-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.dl-badge {
    border: 1px solid #262626;
    background: #0D0D0D;
    color: #FFFFFF;
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.dl-badge svg {
    width: 15px;
    height: 15px;
}

.dl-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.dl-actions .btn {
    flex: 1;
    min-width: 200px;
}

.dl-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.dl-highlight {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: #0D0D0D;
    border: 1px solid #1A1A1A;
    border-radius: 14px;
    padding: 0.85rem 1rem;
}

.dl-highlight svg {
    width: 20px;
    height: 20px;
    color: #FFFFFF;
    flex-shrink: 0;
}

.dl-highlight .h-t {
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 600;
}

.dl-highlight .h-s {
    color: #808080;
    font-size: 0.78rem;
}

.dl-reqs {
    border-top: 1px solid #1A1A1A;
    padding-top: 1.25rem;
}

.dl-reqs h6 {
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.76rem;
    margin-bottom: 0.85rem;
}

.dl-reqs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
}

.dl-reqs li {
    color: #808080;
    font-size: 0.86rem;
    margin-bottom: 0.5rem;
}

.dl-reqs li svg {
    width: 15px;
    height: 15px;
    color: #FFFFFF;
    vertical-align: -2px;
    margin-right: 7px;
}

/* ==========================================================================
   PRICING (programmer style)
   ========================================================================== */
.pricing-eyebrow {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    text-align: center;
    color: #808080;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

#pricing svg {
    width: 18px;
    height: 18px;
    vertical-align: -3px;
    color: #FFFFFF;
}

#pricing h5 {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    letter-spacing: 0.3px;
    font-weight: 700;
}

#pricing h5 svg {
    margin-right: 8px;
}

#pricing .btn-computer-control svg {
    width: 18px;
    height: 18px;
    vertical-align: -2px;
    margin: 0;
}

#pricing .license-price {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

#pricing .computer-count-display,
#pricing .final-price,
#pricing #monthly-price,
#pricing #base-price,
#pricing .duration-display {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

#pricing .calculator-card {
    position: relative;
}

#pricing .calculator-card::before {
    content: "// license.config";
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.72rem;
    color: #404040;
    letter-spacing: 1px;
    z-index: 2;
}

@media (max-width: 575px) {
    #pricing .calculator-card::before {
        display: none;
    }
}

@media (max-width: 991px) {
    .features-bento {
        grid-template-columns: repeat(2, 1fr);
    }
    .dl-wrap {
        grid-template-columns: 1fr;
    }
    .dl-visual {
        min-height: 260px;
    }
}

@media (max-width: 575px) {
    .features-bento {
        grid-template-columns: 1fr;
    }
    .bento-hero {
        padding: 1.75rem;
    }
    .bento-hero .bento-stat .num {
        font-size: 3.2rem;
    }
    .dl-reqs ul {
        columns: 1;
    }
    .dl-actions .btn {
        min-width: 100%;
    }
}

/* Pipeline steps */
.doc-pipeline {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.doc-step {
    position: relative;
    background: #0D0D0D;
    border: 1px solid #1A1A1A;
    border-radius: 14px;
    padding: 1.5rem 1.25rem 1.25rem;
}

.doc-step::before {
    counter-increment: step;
    content: "0" counter(step);
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    color: #404040;
    margin-bottom: 0.5rem;
}

.doc-step h6 {
    color: #FFFFFF;
    margin-bottom: 0.4rem;
}

.doc-step p {
    color: #808080;
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Comparison / security matrix table */
.doc-matrix {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1.5rem;
    border: 1px solid #1A1A1A;
    border-radius: 14px;
    overflow: hidden;
}

.doc-matrix th,
.doc-matrix td {
    padding: 0.9rem 1rem;
    text-align: left;
    border-bottom: 1px solid #1A1A1A;
    font-size: 0.9rem;
}

.doc-matrix thead th {
    background: #1A1A1A;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.78rem;
}

.doc-matrix td {
    color: #808080;
}

.doc-matrix td.yes {
    color: #FFFFFF;
    font-weight: 600;
}

.doc-matrix tbody tr:last-child td {
    border-bottom: none;
}

.doc-matrix .col-us {
    background: rgba(64, 64, 64, 0.15);
    color: #FFFFFF;
}

/* Roadmap timeline */
.doc-roadmap {
    position: relative;
    margin-top: 1.5rem;
    padding-left: 1.5rem;
    border-left: 2px solid #1A1A1A;
}

.doc-roadmap .road-item {
    position: relative;
    padding: 0 0 1.75rem 1.25rem;
}

.doc-roadmap .road-item::before {
    content: "";
    position: absolute;
    left: -1.95rem;
    top: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #404040;
    border: 2px solid #000000;
}

.doc-roadmap .road-item.done::before {
    background: #FFFFFF;
}

.doc-roadmap .road-phase {
    font-family: 'Orbitron', monospace;
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #808080;
}

.doc-roadmap .road-item h6 {
    color: #FFFFFF;
    margin: 0.2rem 0 0.3rem;
}

.doc-roadmap .road-item p {
    color: #808080;
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Matrix / formula band */
.doc-formula {
    font-family: 'Courier New', monospace;
    background: #0D0D0D;
    border: 1px solid #1A1A1A;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: #FFFFFF;
    overflow-x: auto;
    white-space: nowrap;
    margin-bottom: 0.75rem;
}

.doc-formula .muted {
    color: #808080;
}

/* ==========================================================================
   MOBILE REFINEMENTS
   ========================================================================== */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #0D0D0D;
        border: 1px solid #1A1A1A;
        border-radius: 12px;
        margin-top: 0.75rem;
        padding: 0.75rem 1rem;
    }
    .navbar-nav .nav-link {
        padding: 0.65rem 0.25rem !important;
    }
    .nav-drogoz {
        margin-top: 0.4rem;
        text-align: center;
    }
    .navbar-nav .btn {
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer {
        margin-top: 2.5rem;
        padding: 2.5rem 0 1.25rem;
    }
    .section-title {
        font-size: 1.6rem !important;
    }
    .hero-logo-img {
        width: 220px;
    }
    .doc-matrix {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }
    .brand-logo {
        height: 34px;
        width: 34px;
    }
    .navbar-brand {
        font-size: 1.15rem;
    }
    .drogoz-logo-circle {
        width: 120px;
        height: 120px;
    }
} 