@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    /* Core Palette - Premium Purple Theme */
    --primary: #310e6f;
    --primary-light: #5218bd;
    --primary-glow: rgba(49, 14, 111, 0.5);
    --secondary: #4c1db0;
    --accent: #7c3aed;

    /* Backgrounds */
    --bg-body: #050507;
    --bg-sidebar: #0a0a0c;
    --bg-card: rgba(20, 20, 25, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-strong: rgba(10, 10, 15, 0.9);

    /* Status Colors */
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #310e6f;

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #9496a1;
    --text-dim: #6b7280;

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --border-primary: rgba(49, 14, 111, 0.3);

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    --shadow-primary: 0 0 30px var(--primary-glow);

    /* Geometry */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --container-width: 1200px;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
    background: transparent;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Background Effects */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.mesh-blob {
    position: absolute;
    filter: blur(100px);
    opacity: 0.2;
    animation: float 15s infinite ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -5%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--primary), transparent);
}

.blob-2 {
    bottom: -10%;
    right: -5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--secondary), transparent);
    animation-delay: -7s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #a8a8a8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-glass {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Navbar */
/* Navigation Bar */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: var(--container-width);
    padding: 0.75rem 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.navbar.scrolled {
    top: 1rem;
    background: rgba(10, 10, 15, 0.9);
    padding: 0.6rem 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.35rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo img {
    height: 36px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

/* Secondary Buttons */
.btn-secondary {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(49, 14, 111, 0.2);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(49, 14, 111, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Updated Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 20px -5px var(--primary-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px -5px var(--primary-glow);
    filter: brightness(1.1);
}

.btn-primary i {
    font-size: 1.1rem;
    margin-right: 0.4rem;
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    text-align: center;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(49, 14, 111, 0.15);
    border: 1px solid var(--border-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 2.5rem;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.product-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid var(--border-color);
    z-index: 10;
}

.product-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

.product-price.free {
    color: var(--success);
}

/* Footer */
footer {
    background: #020203;
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--border-color);
    margin-top: 6rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 400px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.75rem;
    }
}

/* Client Area Sidebar */
.sidebar {
    width: 280px;
    height: 100vh;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    padding: 2.5rem 1.5rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-dim);
    margin: 2.5rem 0 1rem 1rem;
    font-weight: 700;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
}

.nav-item:hover,
.nav-item.active {
    background: var(--bg-glass);
    color: var(--text-primary);
}

.nav-item.active {
    background: rgba(49, 14, 111, 0.15);
    color: var(--primary-light);
    border-left: 4px solid var(--primary);
}

.main-content {
    margin-left: 280px;
    padding: 3rem 4rem;
    min-height: 100vh;
}

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 2rem;
    }
}

.floating-badge {
    background: rgba(49, 14, 111, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 0 20px var(--primary-glow);
}

.floating-badge svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
    stroke: var(--primary);
}

.badge-1 {
    top: -20px;
    left: -20px;
    animation-delay: 0s;
}

.badge-2 {
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.badge-3 {
    bottom: -20px;
    left: 20px;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: radial-gradient(circle at 20% 50%, rgba(49, 14, 111, 0.08) 0%, #000000 70%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 0 20px var(--primary-glow);
}

.section-subtitle {
    font-size: 18px;
    color: #ffffff;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-item {
    background: var(--bg-tertiary);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
    border-color: var(--primary);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon {
    width: 28px;
    height: 28px;
    stroke-width: 2;
    color: var(--primary);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

/* Products section */
.products {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.products-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

/* Product card: estilo tipo tarjeta horizontal con imagen grande y borde verde */
.product-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 18px;
    border-radius: 14px;
    display: flex;
    gap: 18px;
    align-items: stretch;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}


.product-media {
    position: relative;
    width: 46%;
    min-width: 260px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #000000, #0a0a0a);
    border: 4px solid rgba(0, 76, 255, 0.18);
    /* usa color primary */
    box-shadow: 0 6px 30px rgba(0, 76, 255, 0.06), 0 8px 40px rgba(0, 0, 0, 0.7) inset;
}

.product-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.18);
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 6px 4px;
}

.product-info h4 {
    margin: 0 0 8px 0;
    font-size: 22px;
    color: var(--text-primary);
}

.product-meta {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

.product-price {
    color: var(--primary);
    font-weight: 800;
    font-size: 22px;
    text-shadow: 0 6px 24px rgba(59, 130, 246, 0.06);
}

.product-actions {
    display: flex;
    gap: 12px;
    align-items: center
}

.btn-buy {
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    color: var(--bg-primary);
    border: none;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    box-shadow: 0 8px 30px rgba(0, 76, 255, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-buy:hover {
    transform: translateY(-3px) scale(1.02);
    filter: brightness(1.05);
    box-shadow: 0 18px 40px rgba(0, 76, 255, 0.28);
}

.btn-details:hover {
    transform: translateY(-2px);
}

.btn-details {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 10px 14px;
    border-radius: 10px;
}

@media (max-width: 900px) {
    .product-card {
        flex-direction: column;
    }

    .product-media {
        width: 100%;
        min-width: auto;
    }
}

/* Micro-interactions y animaciones de entrada */
@keyframes enterUp {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.995);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.product-card {
    will-change: transform, opacity;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(59, 130, 246, 0.04);
    border-color: rgba(59, 130, 246, 0.12);
}

.product-media img {
    transition: transform 0.7s cubic-bezier(.2, .9, .2, 1);
}

.product-media:hover img {
    transform: scale(1.05) rotate(-1deg);
}

/* make entrance smoother if JS doesn't animate immediately */
.product-card[data-animated="true"] {
    animation: enterUp 0.6s cubic-bezier(.2, .95, .2, 1) both;
}

/* Top orders */
.top-orders {
    padding: 60px 0;
    background: var(--bg-primary);
}

.top-orders-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

/* Orders cards: estilo similar a productos, pero más compacto */
.order-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 12px;
    border-radius: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.order-media {
    width: 36%;
    min-width: 140px;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid rgba(0, 76, 255, 0.12);
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center
}

.order-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover
}

.order-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px
}

.order-info .title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary)
}

.order-info .meta {
    font-size: 13px;
    color: var(--text-secondary)
}

.order-info .order-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 6px
}

.order-price {
    color: var(--primary);
    font-weight: 800
}

.order-actions .btn {
    padding: 8px 12px;
    border-radius: 8px
}

@media (max-width:700px) {
    .order-card {
        flex-direction: column;
        align-items: stretch
    }

    .order-media {
        width: 100%;
        min-width: auto
    }
}

/* Simple modal/form for adding product */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal {
    background: var(--bg-tertiary);
    padding: 20px;
    border-radius: 12px;
    width: 480px;
    max-width: 92%;
    border: 1px solid var(--border);
}

.modal h3 {
    margin-top: 0;
}

.modal input,
.modal textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-primary);
}

.modal .row {
    display: flex;
    gap: 8px
}

.modal .actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    position: relative;
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    border: 2px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-image {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-weight: 600;
    font-size: 16px;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--bg-primary);
}

.pricing-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.pricing-content {
    background: var(--bg-tertiary);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.pricing-content:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

.pricing-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.pricing-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.pricing-features-list {
    margin-bottom: 32px;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-primary);
    font-size: 16px;
}

.check-icon {
    width: 20px;
    height: 20px;
    stroke-width: 3;
    color: var(--primary);
    flex-shrink: 0;
}

.pricing-note {
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
    font-style: italic;
}

.pricing-sidebar {
    position: sticky;
    top: 100px;
}

.requirements-box {
    background: var(--bg-tertiary);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.requirements-box:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

.requirements-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.requirements-section {
    margin-bottom: 24px;
}

.requirements-section:last-child {
    margin-bottom: 0;
}

.requirements-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.requirements-section ul {
    list-style: none;
}

.requirements-section li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.requirements-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* FAQ Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 76, 255, 0.3);
    border-radius: var(--radius-lg);
    margin-bottom: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 76, 255, 0.2);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 76, 255, 0.3);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 76, 255, 0.05);
}

.faq-question h3 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px 25px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

@media (max-width: 768px) {
    .faq-container {
        margin: 0 15px;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 15px 20px;
    }

    .faq-answer p {
        font-size: 14px;
    }
}

.footer {
    background: #000000;
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 15px;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.legal-page {
    padding: 120px 0 80px;
    background: radial-gradient(circle at 20% 10%, rgba(0, 76, 255, 0.10) 0%, #000000 55%);
    min-height: calc(100vh - 200px);
}

.legal-hero {
    text-align: center;
    margin-bottom: 32px;
}

.legal-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 0 20px rgba(0, 76, 255, 0.25);
}

.legal-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

.legal-card {
    background: rgba(0, 0, 0, 0.70);
    border: 1px solid rgba(0, 76, 255, 0.30);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 18px 50px rgba(0, 76, 255, 0.12);
    backdrop-filter: blur(14px);
}

.legal-list {
    margin: 0;
    padding-left: 22px;
}

.legal-list li {
    margin: 18px 0;
}

.legal-list h2 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.legal-list p {
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    font-size: 15px;
}

/* Client/Admin Area Styles */
.client-area {
    padding: 120px 0 80px;
    background: radial-gradient(circle at 20% 10%, rgba(0, 76, 255, 0.10) 0%, #000000 55%);
    min-height: calc(100vh - 200px);
}

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

.client-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 0 20px rgba(0, 76, 255, 0.25);
}

.client-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

/* Admin Dashboard */
.admin-dashboard {
    max-width: 1200px;
    margin: 0 auto;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(0, 0, 0, 0.70);
    border: 1px solid rgba(0, 76, 255, 0.30);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(14px);
}

.stat-card h3 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.stat-card h3 i {
    font-size: 16px;
    color: var(--primary);
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.admin-actions {
    display: grid;
    gap: 30px;
}

.action-section {
    background: rgba(0, 0, 0, 0.50);
    border: 1px solid rgba(0, 76, 255, 0.20);
    border-radius: 12px;
    padding: 25px;
}

.action-section h2 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.admin-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.admin-btn i {
    font-size: 16px;
    width: 16px;
    text-align: center;
}

.admin-btn.primary {
    background: var(--primary);
    color: white;
}

.admin-btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.admin-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Client Dashboard */
.client-dashboard {
    max-width: 800px;
    margin: 0 auto;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.70);
    border: 1px solid rgba(0, 76, 255, 0.30);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(14px);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary);
}

.profile-details h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.profile-details p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 4px 0;
}

.client-sections {
    display: grid;
    gap: 25px;
}

.client-section {
    background: rgba(0, 0, 0, 0.50);
    border: 1px solid rgba(0, 76, 255, 0.20);
    border-radius: 12px;
    padding: 25px;
}

.client-section h2 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.no-data {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 20px;
    font-style: italic;
}

.support-options {
    display: grid;
    gap: 15px;
}

.support-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.support-link i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.support-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

/* Responsive for client area */
@media (max-width: 768px) {
    .client-area {
        padding: 100px 0 60px;
    }

    .client-title {
        font-size: 28px;
    }

    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-number {
        font-size: 24px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .user-profile {
        flex-direction: column;
        text-align: center;
    }

    .profile-avatar {
        width: 60px;
        height: 60px;
    }
}

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

    .action-section {
        padding: 20px;
    }

    .client-section {
        padding: 20px;
    }
}

/* Animations for modals and notifications */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        gap: 40px;
    }

    .pricing-wrapper {
        grid-template-columns: 1fr;
    }

    .pricing-sidebar {
        position: static;
    }

    /* Floating nav pill responsive */
    @media (min-width: 1025px) {
        .nav-menu {
            margin-top: 10px;
        }
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .nav-menu {
        background: var(--primary-dark);
        padding: 8px 12px;
        border-radius: 999px;
        box-shadow: 0 10px 28px rgba(0, 76, 255, 0.28);
        border: none;
        margin-top: 30px;
        gap: 20px;
    }

    .nav-menu a {
        padding: 6px 10px;
        border-radius: 12px;
        color: #ffffff !important;
        font-size: 14px;
    }

    .nav-menu a:hover {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.20) !important;
    }

    .nav-menu a.active {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.26) !important;
    }

    .nav-menu a.active::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .discord-login-btn {
        position: relative;
        right: auto;
        margin-left: auto;
        margin-right: 50px;
        background: rgba(255, 255, 255, 0.26);
        color: var(--primary);
    }

    .discord-login-btn:hover {
        background: rgba(255, 255, 255, 0.26);
    }

    .discord-login-area {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-left: auto;
        margin-right: 50px;
    }

    .discord-login-area .discord-login-btn {
        margin-right: 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: flex-start;
        padding: 180px 32px 32px;
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
        z-index: 1000;
        gap: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu a {
        display: block;
        padding: 16px 0;
        width: 100%;
        color: #ffffff !important;
    }

    /* Fix Panel button in mobile menu */
    .nav-menu .discord-login-btn {
        position: static;
        margin: 16px 0 0 0;
        width: 100%;
        justify-content: center;
        background: rgba(255, 255, 255, 0.26);
        color: var(--primary);
    }

    .nav-menu .discord-login-btn:hover {
        background: rgba(255, 255, 255, 0.26);
    }

    .nav-menu .user-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        padding: 16px 0;
        width: 100%;
        background: transparent;
        color: #ffffff !important;
        text-decoration: none;
        border-radius: 0;
        box-shadow: none;
    }

    .nav-menu .user-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff !important;
    }

    .nav-menu .panel-avatar {
        width: 24px;
        height: 24px;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

    .nav-menu a.nav-cta {
        margin-top: 16px;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding: 80px 0;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 24px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .pricing-content {
        padding: 32px 24px;
    }

    .features,
    .gallery,
    .pricing {
        padding: 60px 0;
    }

    /* Legal pages responsive */
    .legal-page {
        padding: 40px 0;
    }

    .legal-title {
        font-size: 28px;
    }

    .legal-subtitle {
        font-size: 14px;
    }

    .legal-card {
        padding: 20px;
    }

    .legal-list h2 {
        font-size: 16px;
    }

    .legal-list p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .container {
        padding: 0 16px;
    }

    .product-image {
        padding: 40px 24px;
    }

    .mta-logo {
        font-size: 60px;
    }

    /* Legal pages mobile */
    .legal-title {
        font-size: 24px;
    }

    .legal-card {
        padding: 16px;
    }

    .legal-list {
        padding-left: 16px;
    }

    .legal-list li {
        margin: 14px 0;
    }
}


/* =========================================================
   UI Refresh (2026) - Consistent modern look across panels
   ========================================================= */

:root {
    --bg-0: #05070b;
    --bg-1: rgba(15, 23, 42, 0.55);
    --bg-2: rgba(15, 23, 42, 0.82);
    --card: rgba(10, 15, 26, 0.72);
    --card-border: rgba(49, 14, 111, 0.20);
    --muted: rgba(229, 231, 235, 0.72);
    --muted-2: rgba(229, 231, 235, 0.55);
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --ring: rgba(49, 14, 111, 0.45);
}

/* Better defaults */
body {
    background: radial-gradient(1200px 700px at 15% 0%, rgba(49, 14, 111, 0.15), transparent 55%),
        radial-gradient(900px 600px at 85% 10%, rgba(49, 14, 111, 0.08), transparent 60%),
        var(--bg-0);
    color: var(--text-primary);
}

a {
    color: var(--primary-light);
    text-decoration: none;
}

a:hover {
    color: #7aa7ff;
    text-decoration: underline;
}

hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 18px 0;
}

::selection {
    background: rgba(49, 14, 111, 0.35);
}

/* Focus styles */
:where(a, button, input, select, textarea, [tabindex]):focus {
    outline: none;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    box-shadow: 0 0 0 3px var(--ring);
    border-color: rgba(49, 14, 111, 0.55) !important;
}

/* Unified form controls */
input,
select,
textarea {
    background: rgba(2, 6, 23, 0.55);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    padding: 10px 12px;
    transition: transform .08s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input::placeholder,
textarea::placeholder {
    color: rgba(229, 231, 235, 0.45);
}

input:hover,
select:hover,
textarea:hover {
    border-color: rgba(49, 14, 111, 0.30);
}

input:disabled,
select:disabled,
textarea:disabled {
    opacity: .55;
    cursor: not-allowed;
}

label {
    color: rgba(229, 231, 235, 0.86);
    font-weight: 600;
}

/* Buttons */
button,
.btn,
input[type="submit"],
input[type="button"] {
    appearance: none;
    border: 1px solid rgba(49, 14, 111, 0.35);
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
    color: #fff;
    border-radius: 14px;
    padding: 10px 14px;
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .35);
    cursor: pointer;
    transition: transform .08s ease, filter .18s ease, box-shadow .18s ease, background .18s ease;
}

button:hover,
.btn:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    filter: brightness(1.06);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .42);
}

button:active,
.btn:active,
input[type="submit"]:active,
input[type="button"]:active {
    transform: translateY(1px) scale(0.99);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(255, 255, 255, 0.12);
}

.btn-danger {
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.95), rgba(185, 28, 28, 0.95));
    border-color: rgba(239, 68, 68, 0.45);
}

.btn-success {
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.95), rgba(21, 128, 61, 0.95));
    border-color: rgba(34, 197, 94, 0.45);
}

/* Cards / glass */
.card,
.glass,
.panel-card,
.legal-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
    backdrop-filter: blur(10px);
}

/* Tables */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.40);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

th,
td {
    padding: 12px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
}

th {
    text-align: left;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(229, 231, 235, 0.70);
    background: rgba(15, 23, 42, 0.55);
}

tr:hover td {
    background: rgba(49, 14, 111, 0.08);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(15, 23, 42, 0.55);
}

.badge.success {
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.12);
    color: #86efac;
}

.badge.warning {
    border-color: rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.12);
    color: #fcd34d;
}

.badge.danger {
    border-color: rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
}

/* Better spacing on common layouts */
.wrap,
.container {
    scroll-margin-top: 90px;
}

.section-title h2 {
    letter-spacing: -0.02em;
}

.section-title p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    button,
    .btn,
    input[type="submit"],
    input[type="button"] {
        width: 100%;
    }
}


/* Logo fallback: only shows if the image fails to load */
.brand-fallback {
    display: none;
    font-weight: 600;
    color: inherit;
    margin-left: 10px;
    white-space: nowrap;
}


/* Navbar logo sizing */
.logo img,
.navbar-brand img,
.brand img {
    height: 40px;
    width: auto;
    display: block;
}