:root {
    --primary-50: #ecfdf5;
    --primary-100: #d1fae5;
    --primary-200: #a7f3d0;
    --primary-300: #6ee7b7;
    --primary-400: #34d399;
    --primary-500: #10b981;
    --primary-600: #059669;
    --primary-700: #047857;
    --primary-800: #065f46;
    --primary-900: #064e3b;
    --dark-800: #1e293b;
    --dark-900: #0f172a;
}

* {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

html {
    scroll-behavior: smooth;
}

.gradient-hero {
    background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 50%, #d1fae5 100%);
}

.gradient-hero-soft {
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

.gradient-accent {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
}

.gradient-mint {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: white;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.btn-secondary {
    background: white;
    color: var(--dark-800);
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--primary-50);
    border-color: var(--primary-300);
    color: var(--primary-700);
}

.btn-outline {
    background: transparent;
    color: var(--dark-800);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-ghost {
    background: transparent;
    color: var(--dark-800);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.btn-ghost:hover {
    background: var(--primary-50);
    color: var(--primary-700);
}

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

.btn-xs {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.45);
}

.btn-danger-outline {
    background: transparent;
    color: #ef4444;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    border: 2px solid #fecaca;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-danger-outline:hover {
    background: #fef2f2;
    border-color: #ef4444;
}

.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.625rem;
    transition: all 0.2s ease;
}

.btn-icon-sm {
    width: 2rem;
    height: 2rem;
    font-size: 0.875rem;
}

.card {
    background: white;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08), 0 16px 32px rgba(0,0,0,0.08);
}

.card-flat {
    background: white;
    border-radius: 1.25rem;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.card-flat:hover {
    border-color: var(--primary-300);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.card-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 1.25rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary-100);
    color: var(--primary-600);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-lg {
    width: 4rem;
    height: 4rem;
    background: var(--primary-100);
    color: var(--primary-600);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-icon-circle {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-200) 100%);
    color: var(--primary-600);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.status-online {
    background-color: #22c55e;
    animation: pulse 2s infinite;
}

.status-playing {
    background-color: #22c55e;
    animation: pulse 1s infinite;
}

.status-paused {
    background-color: #eab308;
}

.status-offline {
    background-color: #ef4444;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }

.stat-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-900);
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.sidebar {
    background: white;
    border-right: 1px solid #e2e8f0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #64748b;
    font-weight: 500;
    transition: all 0.15s ease;
}

.sidebar-link:hover {
    background: var(--primary-50);
    color: var(--primary-700);
}

.sidebar-link.active {
    background: var(--primary-100);
    color: var(--primary-700);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background: #dcfce7;
    color: #166534;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.badge-info {
    background: var(--primary-100);
    color: var(--primary-700);
}

.input-field {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.875rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-400);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.input-field::placeholder {
    color: #94a3b8;
}

.label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.table-container {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.table-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.table-row {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.table-row:hover {
    background: #f8fafc;
}

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

.pricing-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid var(--primary-500);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1), 0 20px 40px rgba(16, 185, 129, 0.15);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-400), var(--primary-600));
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.12);
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    color: #374151;
}

.check-list li::before {
    content: "✓";
    width: 1.5rem;
    height: 1.5rem;
    background: var(--primary-100);
    color: var(--primary-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--dark-900);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-600);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-dark {
    background: var(--dark-900);
    color: white;
}

.nav-link {
    color: #64748b;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-600);
    background: var(--primary-50);
}

.nav-link.active {
    color: var(--primary-600);
    background: var(--primary-50);
}

.avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: var(--primary-100);
    color: var(--primary-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    border: 1px solid #e2e8f0;
    min-width: 12rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 50;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.875rem 1.25rem;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s ease;
}

.dropdown-item:first-child {
    border-radius: 1rem 1rem 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 1rem 1rem;
}

.dropdown-item:hover {
    background: var(--primary-50);
    color: var(--primary-700);
}

.toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 100;
    animation: slideIn 0.3s ease;
}

.toast-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.toast-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.toast-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.toast-info {
    background: var(--primary-100);
    color: var(--primary-700);
    border: 1px solid var(--primary-200);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: 1.5rem;
    max-width: 32rem;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    transform: scale(0.95);
    transition: transform 0.2s ease;
}

.modal-overlay.show .modal {
    transform: scale(1);
}

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #64748b;
}

.empty-state-icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #94a3b8;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    background: #e2e8f0;
    color: #64748b;
    transition: all 0.3s ease;
}

.step.active {
    background: var(--primary-500);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.step.completed {
    background: var(--primary-100);
    color: var(--primary-600);
}

.step-line {
    flex: 1;
    height: 3px;
    background: #e2e8f0;
    border-radius: 2px;
}

.step-line.completed {
    background: var(--primary-300);
}

.testimonial-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.testimonial-quote {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-cloud {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.logo-cloud-item {
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 1.125rem;
    color: #64748b;
}

.logo-cloud-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    color: var(--dark-800);
}

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

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

.blob-green {
    background: var(--primary-200);
}

.blob-mint {
    background: #a7f3d0;
}

.blob-teal {
    background: #99f6e4;
}

.hero-image-container {
    position: relative;
}

.hero-image-blob {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-200) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
}

.hero-stats-card {
    background: white;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.number-badge {
    width: 2rem;
    height: 2rem;
    background: var(--primary-500);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.feature-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
}

.feature-list-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary-100);
    color: var(--primary-600);
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-section {
    background: linear-gradient(135deg, var(--dark-900) 0%, #1a2e4a 100%);
    border-radius: 2rem;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
    border-radius: 50%;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.02);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-50);
    color: var(--primary-700);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.floating-card {
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-image-container {
        margin-top: 2rem;
    }
    
    .cta-section {
        padding: 2rem;
    }
}
