/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Dark Theme Variables */
body.dark-theme {
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-dark: #0f172a;
    --border-color: #374151;
}

body.dark-theme .navbar {
    background: rgba(17, 24, 39, 0.95);
    border-bottom-color: var(--border-color);
}

body.dark-theme .feature-card,
body.dark-theme .pricing-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

body.dark-theme .contact-form input,
body.dark-theme .contact-form textarea {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

body.dark-theme .btn-secondary {
    background: var(--bg-secondary);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

body.dark-theme .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

body.dark-theme .hero-background {
    opacity: 0.15;
}

body.dark-theme .video-wrapper {
    background: var(--bg-dark);
}

body.dark-theme .form-group input,
body.dark-theme .form-group textarea {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

body.dark-theme .form-group input:focus,
body.dark-theme .form-group textarea:focus {
    border-color: var(--primary-color);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.btn-nav {
    background: var(--gradient-1);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    background: var(--bg-secondary);
    transform: scale(1.05);
}

.theme-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(15deg);
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-toggle {
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
}

.language-toggle:hover {
    border-color: var(--primary-color);
    background: var(--bg-secondary);
    transform: scale(1.05);
}

.language-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.language-toggle:hover .language-icon {
    transform: rotate(-15deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-options {
    max-height: 300px;
    overflow-y: auto;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.language-option:hover {
    background: var(--bg-secondary);
    padding-left: 1.25rem;
}

.language-option.active {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.language-option::before {
    content: '✓ ';
    margin-right: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.language-option.active::before {
    opacity: 1;
}

.language-flag {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background-color: var(--bg-primary);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    opacity: 0.1;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Video Container */
.video-container {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--bg-dark);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: auto;
    cursor: pointer;
}

.video-wrapper:hover .video-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.play-button {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* About Section */
.about {
    background: var(--bg-primary);
}

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

.about-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-list {
    list-style: none;
    margin-top: 2rem;
}

.about-list li {
    padding: 0.75rem 0;
    font-size: 1.125rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Pricing Section */
.pricing {
    background: var(--bg-secondary);
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    overflow: visible;
    border: 2px solid var(--border-color);
    position: relative;
}

/* Sale Badge / Gift Ribbon - Realistisch Cadeaulintje */
.sale-badge {
    position: absolute;
    top: -0px;
    left: -0px;
    width: 120px;
    height: 120px;
    z-index: 10;
    pointer-events: none;
}

/* Ribbon Image */
.sale-badge .ribbon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: ribbonFloat 3s ease-in-out infinite;
    /* Verwijder witte achtergrond - probeer verschillende blend modes */
    mix-blend-mode: multiply;
    /* Fallback voor donkere thema's */
}

body.dark-theme .sale-badge .ribbon-image {
    mix-blend-mode: screen;
    filter: 
        drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3))
        invert(0.1)
        brightness(1.1);
}

/* SALE text on ribbon */
.sale-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 900;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 6;
    white-space: nowrap;
    text-transform: uppercase;
    pointer-events: none;
}

/* Floating animation */
@keyframes ribbonFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-2px) rotate(1deg);
    }
    75% {
        transform: translateY(-2px) rotate(-1deg);
    }
}

.pricing-card.has-discount {
    animation: discountPulse 3s ease-in-out infinite;
}

@keyframes discountPulse {
    0%, 100% {
        box-shadow: var(--shadow-xl);
    }
    50% {
        box-shadow: 0 20px 25px -5px rgba(239, 68, 68, 0.3), 0 10px 10px -5px rgba(239, 68, 68, 0.1);
    }
}

.pricing-header {
    background: var(--gradient-1);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: visible;
}

.pricing-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.price-original {
    font-size: 2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: line-through;
    text-decoration-thickness: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.9);
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: white;
}

.price-discount {
    font-size: 0.875rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    backdrop-filter: blur(10px);
}

.price-period {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.pricing-features {
    padding: 2.5rem;
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    padding: 0.75rem 0;
    font-size: 1.125rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-cta {
    padding: 0 2.5rem 2.5rem;
    text-align: center;
}

.payment-info {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
}

.pricing-cta .btn {
    width: 100%;
}

/* Contact Section */
.contact {
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform 0.3s ease, background 0.3s ease;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    body.dark-theme .nav-links {
        background: var(--bg-secondary);
    }

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

    .hero {
        padding: 100px 0 60px;
    }

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

    .btn {
        width: 100%;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .video-wrapper {
        border-radius: 0.5rem;
    }

    .pricing-header {
        padding: 2rem 1.5rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .pricing-features {
        padding: 2rem 1.5rem;
    }

    .pricing-cta {
        padding: 0 1.5rem 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.feature-card,
.pricing-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Auth Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-primary);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form button[type="submit"] {
    margin-top: 0.5rem;
}

.auth-form h2 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.auth-switch {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
}

.auth-switch a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.auth-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-align: center;
    min-height: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-message.success {
    background-color: #10b981;
    color: white;
    opacity: 1;
    display: block;
}

.auth-message.error {
    background-color: #ef4444;
    color: white;
    opacity: 1;
    display: block;
}

.user-menu {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Dashboard Styles */
.dashboard-container {
    padding: 120px 0 80px;
    min-height: 100vh;
    background-color: var(--bg-primary);
}

.dashboard-header {
    margin-bottom: 3rem;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.dashboard-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    text-align: center;
}

.stat-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

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

.dashboard-section {
    margin-bottom: 3rem;
}

.dashboard-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.users-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.user-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    transition: all 0.3s ease;
}

.user-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.user-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.user-info p {
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.user-meta {
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.user-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 300px;
}

.toggle-switch {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.toggle-switch input[type="checkbox"] {
    position: relative;
    width: 50px;
    height: 26px;
    appearance: none;
    background-color: var(--border-color);
    border-radius: 13px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.toggle-switch input[type="checkbox"]:checked {
    background-color: var(--primary-color);
}

.toggle-switch input[type="checkbox"]::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
}

.toggle-switch input[type="checkbox"]:checked::before {
    transform: translateX(24px);
}

.toggle-label {
    font-weight: 500;
    color: var(--text-primary);
}

.user-packages {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.user-packages h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.packages-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.package-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.package-remove {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    transition: background-color 0.3s ease;
}

.package-remove:hover {
    background: rgba(255, 255, 255, 0.5);
}

.no-packages {
    color: var(--text-secondary);
    font-style: italic;
}

.package-select {
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.875rem;
}

.package-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Search Box */
.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

.search-result {
    padding: 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.search-result:hover {
    background: var(--bg-secondary);
}

.search-result:last-child {
    border-bottom: none;
}

.badge-customer {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

/* Info Card */
.info-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--text-primary);
}

.info-value {
    color: var(--text-secondary);
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.package-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.package-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.package-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.package-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.package-status.active {
    background: #10b981;
    color: white;
}

.no-packages-message {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 1rem;
    border: 2px dashed var(--border-color);
    text-align: center;
    color: var(--text-secondary);
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .user-card {
        flex-direction: column;
    }
    
    .user-actions {
        min-width: 100%;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .info-row {
        flex-direction: column;
        gap: 0.5rem;
    }
}


/* Dashboard Tabs Styling */
.dashboard-tabs {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-button:hover {
    color: var(--primary-color);
    background: var(--bg-secondary);
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content-wrapper {
    margin-top: 2rem;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

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

/* License Keys Styling */
.licenses-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.license-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.license-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.license-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.license-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.license-status {
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.license-status.status-active {
    background: #10b981;
    color: white;
}

.license-status.status-suspended {
    background: #ef4444;
    color: white;
}

.license-status.status-expired {
    background: #6b7280;
    color: white;
}

.license-body {
    padding: 1.5rem;
}

.license-key-display {
    margin-bottom: 1.5rem;
}

.license-key-display label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.key-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-primary);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 2px solid var(--border-color);
}

.key-wrapper code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-color);
}

.btn-copy {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.license-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-item .label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.info-item .value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Downloads Styling */
.downloads-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.download-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.download-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.download-icon {
    font-size: 2.5rem;
}

.download-title-section {
    flex: 1;
}

.download-title-section h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
}

.download-package {
    font-size: 0.875rem;
    opacity: 0.9;
}

.download-version {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.download-body {
    padding: 1.5rem;
}

.download-description {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.download-changelog {
    background: var(--bg-primary);
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    border-left: 4px solid var(--primary-color);
}

.download-changelog strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.changelog-content {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.download-meta {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.download-footer {
    padding: 1.5rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.download-footer .btn {
    min-width: 200px;
}

/* No Data Messages */
.no-data-message {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 1rem;
    border: 2px dashed var(--border-color);
    text-align: center;
    color: var(--text-secondary);
}

.no-data-message p {
    margin: 0.5rem 0;
}

/* Responsive Tabs */
@media (max-width: 768px) {
    .dashboard-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-button {
        padding: 1rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .license-info {
        grid-template-columns: 1fr;
    }
    
    .key-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .key-wrapper code {
        font-size: 0.875rem;
        word-break: break-all;
    }
    
    .download-header {
        flex-wrap: wrap;
    }
    
/* Pending Orders Styling */
.pending-orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pending-order-card {
    background: var(--bg-secondary);
    border: 2px solid #f59e0b;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pending-order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.15);
}

.pending-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    flex-wrap: wrap;
    gap: 1rem;
}

.pending-order-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.order-id {
    display: block;
    font-size: 0.875rem;
    opacity: 0.9;
}

.order-info {
    flex: 1;
}

.order-status {
    text-align: right;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-badge.status-pending {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.pending-order-body {
    padding: 1.5rem;
}

.order-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-item .label {
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.detail-item .value {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 500;
}

.invoice-link {
    background: var(--bg-primary);
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    word-break: break-all;
    color: var(--primary-color);
}

.order-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.order-actions .btn {
    flex: 1;
    min-width: 200px;
}

.btn-discord {
    background: #5865f2;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.btn-discord:hover {
    background: #4752c4;
}

.discord-support-section {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1rem;
    color: white;
}

.support-card {
    text-align: center;
}

.support-card h3 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
}

.support-card p {
    margin: 0 0 1.5rem 0;
    opacity: 0.95;
    font-size: 1.05rem;
}

/* Responsive Pending Orders */
@media (max-width: 768px) {
    .pending-order-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-status {
        text-align: left;
    }
    
    .order-details {
        grid-template-columns: 1fr;
    }
    
    .order-actions {
        flex-direction: column;
    }
    
    .order-actions .btn {
        min-width: auto;
    }
    
    .discord-support-section {
        padding: 1.5rem;
    }
    
    .language-dropdown {
        right: auto;
        left: 0;
        min-width: 180px;
    }
    
    .nav-links {
        gap: 0.5rem;
    }
    
    .theme-toggle,
    .language-toggle {
        padding: 0.4rem 0.6rem;
        font-size: 1.1rem;
    }
}


