/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-light: #a78bfa;
    --secondary: #ec4899;
    --background: #0f0f1e;
    --surface: #1a1a2e;
    --surface-light: #252540;
    --text: #ffffff;
    --text-muted: #a0a0b8;
    --border: #2a2a40;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(124, 58, 237, 0.4);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-fluid {
    max-width: 100%;
    padding: 0 var(--spacing-md);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    background: rgba(15, 15, 30, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    
/* JeÃ…â€ºli uÃ…Â¼ywasz <a> zamiast <div> dla .nav-logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}
/* Logo Image - DODAJ TO */
.logo-icon-img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    margin-right: 0.5rem;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
}
/* ==============================================
   LOGO IMAGE FIX
   ============================================== */

.logo-icon-img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px;
    object-fit: cover;
    margin-right: 8px;
}

/* Panel override - smaller logo */
.panel-body .logo-icon-img {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-login {
    background: var(--gradient-primary);
    color: var(--text);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.user-avatar {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    cursor: pointer;
}

.user-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
    animation: fadeInDown 0.8s;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
    animation: fadeInUp 0.8s 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 0.8s 0.4s both;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--surface-light);
    border-color: var(--primary);
}

.btn-primary.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    justify-content: center;
    animation: fadeInUp 0.8s 0.6s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ========================================
   SECTIONS
   ======================================== */
.features,
.how-it-works,
.pricing,
.cta {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* ========================================
   FEATURES GRID
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all 0.3s;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.feature-description {
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
}

.feature-tags {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.tag {
    background: var(--surface-light);
    color: var(--primary-light);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-sm);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.step-description {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary);
}

/* ==========================================
   PRICING SECTION - Opcja 3 (Hybrid)
   ========================================== */

.pricing {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0a0f 0%, #151520 50%, #0a0a0f 100%);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    pointer-events: none;
}

.pricing::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    pointer-events: none;
}

/* Hero Split Layout */
.pricing-hero {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.pricing-free,
.pricing-hosting {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-free:hover,
.pricing-hosting:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
}

.pricing-free h3,
.pricing-hosting h3 {
    font-size: 18px;
    font-weight: 600;
    color: #a1a1aa;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.big-price {
    font-size: 64px;
    font-weight: 800;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin: 20px 0;
}

.big-price span {
    font-size: 24px;
    font-weight: 600;
    color: #71717a;
}

.pricing-free p,
.pricing-hosting p {
    color: #a1a1aa;
    font-size: 16px;
    margin-top: 15px;
}

.pricing-divider {
    font-size: 48px;
    font-weight: 300;
    color: #3f3f46;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Scale Chart */
.pricing-scale {
    max-width: 1000px;
    margin: 80px auto 0;
    padding: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.pricing-scale h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

.scale-chart {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    height: 300px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

.scale-chart::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.scale-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.scale-bar {
    width: 100%;
    max-width: 80px;
    background: linear-gradient(180deg, #8b5cf6 0%, #6366f1 50%, #3b82f6 100%);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -5px 30px rgba(139, 92, 246, 0.4);
    transition: all 0.3s ease;
    animation: barGrow 0.8s ease-out forwards;
    transform-origin: bottom;
    position: relative;
}

@keyframes barGrow {
    from {
        transform: scaleY(0);
        opacity: 0;
    }
    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

.scale-item:hover .scale-bar {
    filter: brightness(1.2);
    box-shadow: 0 -5px 40px rgba(139, 92, 246, 0.6);
}

.scale-item span {
    font-size: 14px;
    font-weight: 600;
    color: #d4d4d8;
    text-align: center;
    line-height: 1.4;
}

.scale-note {
    text-align: center;
    color: #71717a;
    font-size: 14px;
    font-style: italic;
    margin-top: 20px;
}

/* Features Included */
.pricing-included {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.pricing-included h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.included-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    color: #e4e4e7;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.included-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(5px);
}

.included-item::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

/* CTA at bottom */
.pricing .btn-primary.large {
    display: block;
    margin: 60px auto 0;
    padding: 20px 60px;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.pricing .btn-primary.large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-hero {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pricing-divider {
        font-size: 32px;
        transform: rotate(90deg);
    }
    
    .big-price {
        font-size: 48px;
    }
    
    .scale-chart {
        height: 250px;
        gap: 10px;
    }
    
    .scale-bar {
        max-width: 50px;
    }
    
    .scale-item span {
        font-size: 12px;
    }
    
    .included-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-scale,
    .pricing-included {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .pricing {
        padding: 60px 0;
    }
    
    .pricing-free,
    .pricing-hosting {
        padding: 30px 20px;
    }
    
    .big-price {
        font-size: 40px;
    }
    
    .scale-chart {
        height: 200px;
    }
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
    background: var(--surface);
    border-radius: var(--radius-lg);
    margin: var(--spacing-xl) var(--spacing-md);
    padding: var(--spacing-xl);
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.cta-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-column h4 {
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ========================================
   PANEL STYLES
   ======================================== */
.panel-body {
    background: var(--background);
}

.panel-layout {
    display: flex;
    min-height: calc(100vh - 60px);
}

.panel-sidebar {
    width: 280px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    padding: var(--spacing-md);
    overflow-y: auto;
}

.sidebar-header {
    margin-bottom: var(--spacing-md);
}

.ad-banner {
    background: var(--surface-light);
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-muted);
}

.ad-icon {
    font-size: 1.5rem;
}

.sidebar-category {
    margin-bottom: var(--spacing-lg);
}

.category-header h3 {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.category-menu {
    list-style: none;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 0.25rem;
}

.menu-item:hover {
    background: var(--surface-light);
}

.menu-item.active {
    background: var(--primary);
    color: var(--text);
}

.menu-icon {
    font-size: 1.25rem;
}

.panel-content {
    flex: 1;
    padding: var(--spacing-lg);
    overflow-y: auto;
}

.content-header {
    margin-bottom: var(--spacing-lg);
}

.content-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.text-muted {
    color: var(--text-muted);
}

/* ========================================
   MODULES GRID
   ======================================== */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.module-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    cursor: pointer;
    transition: all 0.3s;
}

.module-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.module-icon {
    width: 60px;
    height: 60px;
    background: var(--surface-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.module-icon.placeholder {
    opacity: 0.5;
}

.module-info {
    flex: 1;
}

.module-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.module-description {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.module-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.module-status.active {
    color: var(--success);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
}

.panel-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* ========================================
   MODAL
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text);
}

.modal-body {
    padding: var(--spacing-md);
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: flex-end;
    padding: var(--spacing-md);
    border-top: 1px solid var(--border);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .panel-layout {
        flex-direction: column;
    }
    
    .panel-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links {
        display: none;
    }
}
/* ========================================
   ABOUT SECTION (O NAS)
   ======================================== */
.about {
    padding: var(--spacing-xl) 0;
    background: var(--surface);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.about-card {
    padding: var(--spacing-lg);
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.2);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   MODULE DETAILS MODAL
   ======================================== */
.module-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.module-modal.active {
    opacity: 1;
    visibility: visible;
}

.module-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.module-modal-content {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.module-modal.active .module-modal-content {
    transform: scale(1) translateY(0);
}

.module-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.module-modal-close:hover {
    background: var(--background);
    border-color: var(--primary);
    color: var(--primary);
    transform: rotate(90deg);
}

.module-modal-header {
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(236, 72, 153, 0.05));
}

.module-modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.module-modal-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.module-modal-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

.module-modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.module-modal-body::-webkit-scrollbar {
    width: 8px;
}

.module-modal-body::-webkit-scrollbar-track {
    background: var(--surface);
}

.module-modal-body::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.module-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.module-section {
    margin-bottom: 2rem;
}

.module-section:last-child {
    margin-bottom: 0;
}

.module-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
}

.module-features-list,
.module-config-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.module-features-list li,
.module-config-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.module-features-list li:hover,
.module-config-list li:hover {
    background: var(--background);
    border-color: var(--primary);
    transform: translateX(4px);
}

.module-features-list li svg,
.module-config-list li svg {
    flex-shrink: 0;
    margin-top: 0.15rem;
    fill: var(--primary);
}

.module-features-list li span,
.module-config-list li span {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.9rem;
}

.module-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.module-modal-footer button {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.module-modal-footer .btn-secondary {
    background: var(--surface-light);
    color: var(--text);
    border: 1px solid var(--border);
}

.module-modal-footer .btn-secondary:hover {
    background: var(--background);
    border-color: var(--primary);
}

.module-modal-footer .btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.module-modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

.features-grid .feature-card {
    cursor: pointer;
    position: relative;
}

.features-grid .feature-card::after {
    content: '🔍';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.features-grid .feature-card:hover::after {
    opacity: 0.5;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(124, 58, 237, 0);
    }
}

.features-grid .feature-card:hover {
    animation: pulse 2s infinite;
}