.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 15, 26, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.nav-logo span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--gray-400);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-ghost {
    background: transparent;
    border: none;
    color: var(--gray-400);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
}

.btn-ghost:hover { color: var(--white); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(3px, 3px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(3px, -3px); }

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-2);
        flex-direction: column;
        padding: 20px;
        gap: 12px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-buttons {
        display: none;
    }
}

.language-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.lang-flag {
    font-size: 1.1rem;
}

.lang-name {
    font-size: 0.85rem;
}

.lang-btn i {
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    width: 200px;
    max-height: 300px;
    overflow-y: auto;
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    background: none;
    border: none;
    border-radius: 8px;
    color: #aaa;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.lang-option.active {
    background: rgba(99, 102, 241, 0.2);
    color: white;
}

.lang-option .lang-flag {
    font-size: 1rem;
}

.lang-option .lang-name {
    font-size: 0.85rem;
}.home {
    padding-top: 60px;
}

/* Hero */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray-400);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat span:last-child {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-top: 4px;
}

/* Sections */
.section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.tool-card {
    background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tool-card:hover::before { opacity: 1; }

.tool-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--primary);
}

.tool-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.tool-card p {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* Platforms */
.platforms-section {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.platform-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.platform-card.tiktok:hover { border-color: var(--tiktok); }
.platform-card.youtube:hover { border-color: var(--youtube); }
.platform-card.facebook:hover { border-color: var(--facebook); }

.platform-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon svg {
    width: 64px;
    height: 64px;
}

.platform-card.tiktok .platform-icon { color: var(--tiktok); }
.platform-card.youtube .platform-icon { color: var(--youtube); }
.platform-card.facebook .platform-icon { color: var(--facebook); }

.platform-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.platform-specs {
    text-align: left;
    margin: 20px 0;
}

.platform-specs li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--gray-400);
}

.platform-specs li:last-child { border-bottom: none; }
.platform-specs i { color: var(--success); width: 16px; }

.platform-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-400);
}

/* Models */
.models-section {
    background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark-3) 50%, var(--dark) 100%);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.model-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s ease;
}

.model-card:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-4px);
}

.model-version {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.model-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.model-card p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Studio */
.studio-section {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
}

.studio-tool-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.tool-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--gray-400);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tool-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.tool-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: var(--primary);
    color: white;
}

.studio-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 32px;
}

.studio-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.studio-option {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
}

.studio-option h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.studio-option select {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.studio-option select:focus { outline: none; border-color: var(--primary); }
.studio-option select option { background: var(--dark-2); color: white; }

.studio-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.studio-input label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary);
}

.studio-input textarea {
    width: 100%;
    min-height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    color: white;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
    line-height: 1.7;
}

.studio-input textarea::placeholder { color: var(--gray-500); }
.studio-input textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2); }

.studio-preview {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-placeholder {
    text-align: center;
    color: var(--gray-500);
}

.preview-placeholder i {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.3;
}

.preview-placeholder p {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.preview-placeholder span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.studio-actions {
    display: flex;
    gap: 16px;
}

.btn-preview {
    flex: 1;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-preview:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.btn-generate-studio {
    flex: 2;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-generate-studio:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

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

.cta-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-outline {
    border-color: white;
}

.cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .studio-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
}.dashboard-layout {
    display: flex;
    min-height: 100vh;
    background: #0f0f12;
}

.sidebar {
    width: 240px;
    background: #16161a;
    border-right: 1px solid #232329;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    transition: width 0.3s ease;
    z-index: 100;
}

.dashboard-layout.collapsed .sidebar {
    width: 70px;
}

.sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 16px;
    border-bottom: 1px solid #232329;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.logo-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
}

.collapse-btn {
    width: 28px;
    height: 28px;
    background: #232329;
    border: none;
    border-radius: 8px;
    color: #71717a;
    cursor: pointer;
    transition: all 0.2s;
}

.collapse-btn:hover {
    background: #2e2e36;
    color: white;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    font-size: 0.9rem;
}

.nav-link:hover {
    background: #232329;
    color: white;
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    color: white;
}

.nav-link i {
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.dashboard-layout.collapsed .nav-link span {
    display: none;
}

.sidebar-bottom {
    padding: 16px;
    border-top: 1px solid #232329;
}

.credit-info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(234, 179, 8, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    margin-bottom: 12px;
}

.credit-icon {
    width: 36px;
    height: 36px;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
}

.credit-details {
    flex: 1;
}

.credit-label {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
}

.credit-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f59e0b;
}

.upgrade-btn {
    padding: 6px 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.upgrade-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

.dashboard-layout.collapsed .credit-details,
.dashboard-layout.collapsed .upgrade-btn {
    display: none;
}

.logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid #2e2e36;
    border-radius: 10px;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.2s;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
}

.main-area {
    flex: 1;
    margin-left: 240px;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease;
}

.dashboard-layout.collapsed .main-area {
    margin-left: 70px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background: #16161a;
    border-bottom: 1px solid #232329;
}

.page-title h1 {
    font-size: 1.25rem;
    font-weight: 600;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.create-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.create-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.content-area {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

.welcome-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px;
    background: linear-gradient(135deg, #1e1e24, #16161a);
    border: 1px solid #232329;
    border-radius: 20px;
    margin-bottom: 32px;
}

.welcome-text h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.welcome-text p {
    color: #9ca3af;
}

.banner-create-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #16161a;
    border: 1px solid #232329;
    border-radius: 16px;
    transition: all 0.2s;
}

.stat-card:hover {
    border-color: var(--accent);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
}

.stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-name {
    font-size: 0.85rem;
    color: #9ca3af;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 24px;
}

.quick-tools-section,
.recent-section {
    background: #16161a;
    border: 1px solid #232329;
    border-radius: 16px;
    padding: 24px;
}

.quick-tools-section h3,
.recent-section h3 {
    font-size: 1rem;
    margin-bottom: 16px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-head h3 {
    margin-bottom: 0;
}

.see-all {
    background: none;
    border: none;
    color: #6366f1;
    font-size: 0.85rem;
    cursor: pointer;
}

.tools-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.tool-card-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: #232329;
    border: none;
    border-radius: 12px;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s;
}

.tool-card-btn:hover {
    background: #2e2e36;
    color: white;
}

.tool-card-btn i {
    font-size: 1.5rem;
}

.tool-card-btn span {
    font-size: 0.8rem;
}

.creations-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.creation-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: #232329;
    border-radius: 10px;
}

.item-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #71717a;
}

.item-info {
    flex: 1;
}

.item-title {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
}

.item-meta {
    font-size: 0.8rem;
    color: #71717a;
}

.item-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.item-status.completed {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.item-status.processing {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

.item-status.failed {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.status-tag.failed {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.empty-list {
    text-align: center;
    padding: 30px;
    color: #71717a;
}

.empty-list i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.view-header h2 {
    font-size: 1.25rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.creations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.creation-card {
    background: #16161a;
    border: 1px solid #232329;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s;
}

.creation-card:hover {
    border-color: #6366f1;
    transform: translateY(-4px);
}

.card-thumb {
    height: 140px;
    background: #232329;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

.card-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-thumb:hover {
    background: #2a2a35;
}

.card-thumb i {
    font-size: 2.5rem;
    color: #52525b;
}

.card-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.8);
}

.progress-bar {
    height: 4px;
    background: #232329;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 12px;
    color: #a1a1aa;
    margin-top: 6px;
    text-align: center;
}

.card-content {
    padding: 16px;
}

.card-content h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.card-meta {
    display: flex;
    gap: 14px;
    margin-bottom: 12px;
}

.card-meta span {
    font-size: 0.8rem;
    color: #71717a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-tag.completed {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.status-tag.processing {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

.card-actions {
    display: flex;
    gap: 8px;
    padding: 0 16px 16px;
}

.card-actions button {
    width: 32px;
    height: 32px;
    background: #232329;
    border: none;
    border-radius: 8px;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s;
}

.card-actions button:hover {
    background: #2e2e36;
    color: white;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 4rem;
    color: #3f3f46;
    margin-bottom: 20px;
}

.empty-state h3 {
    margin-bottom: 8px;
}

.empty-state p {
    color: #71717a;
    margin-bottom: 20px;
}

.tools-view h2,
.settings-view h2,
.empty-view h2 {
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.all-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.ai-tool-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: #16161a;
    border: 1px solid #232329;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.ai-tool-card:hover {
    border-color: #6366f1;
    transform: translateX(4px);
}

.tool-icon-box {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #6366f1;
}

.tool-details {
    flex: 1;
}

.tool-details h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.tool-details p {
    font-size: 0.85rem;
    color: #71717a;
}

.arrow {
    color: #52525b;
    transition: all 0.2s;
}

.ai-tool-card:hover .arrow {
    color: #6366f1;
    transform: translateX(4px);
}

.settings-card {
    background: #16161a;
    border: 1px solid #232329;
    border-radius: 16px;
    padding: 24px;
    max-width: 480px;
}

.setting-row {
    margin-bottom: 20px;
}

.setting-row label {
    display: block;
    font-size: 0.85rem;
    color: #71717a;
    margin-bottom: 8px;
}

.setting-row input {
    width: 100%;
    padding: 12px 16px;
    background: #232329;
    border: 1px solid #2e2e36;
    border-radius: 10px;
    color: white;
    font-size: 0.95rem;
}

.setting-row input:focus {
    outline: none;
    border-color: #6366f1;
}

.setting-row input:disabled {
    opacity: 0.5;
}

.plan-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.plan-tag {
    padding: 8px 16px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 8px;
    font-weight: 600;
}

.change-plan {
    color: #6366f1;
    text-decoration: none;
    font-size: 0.9rem;
}

.save-btn {
    padding: 12px 24px;
    background: #6366f1;
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.empty-view {
    text-align: center;
    padding: 80px 20px;
}

.empty-view i {
    font-size: 4rem;
    color: #3f3f46;
    margin-bottom: 20px;
}

.empty-view h3 {
    margin-bottom: 8px;
}

.empty-view p {
    color: #71717a;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.create-modal {
    background: #16161a;
    border-radius: 24px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #232329;
}

.modal-head h2 {
    font-size: 1.25rem;
}

.close-btn {
    width: 36px;
    height: 36px;
    background: #232329;
    border: none;
    border-radius: 10px;
    color: #9ca3af;
    cursor: pointer;
}

.modal-body-custom {
    padding: 24px;
}

.tool-picker {
    margin-bottom: 24px;
}

.tool-picker label,
.options-row label,
.prompt-box label {
    display: block;
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 12px;
}

.tool-btns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.tool-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: #232329;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s;
}

.tool-btn:hover {
    background: #2e2e36;
    color: white;
}

.tool-btn.selected {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.15);
    color: white;
}

.tool-btn i {
    font-size: 1.25rem;
}

.tool-btn span {
    font-size: 0.8rem;
}

.options-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.music-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.music-options .option label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.music-options .option label i {
    color: #6366f1;
}

.voice-options {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.voice-options .option {
    flex: 1;
}

.voice-options .option label i {
    color: #6366f1;
}

.image-upload-section {
    margin-bottom: 16px;
}

.image-upload-section label {
    display: block;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.image-upload-section input[type="file"] {
    width: 100%;
    padding: 12px;
    background: #232329;
    border: 1px solid #2e2e36;
    border-radius: 10px;
    color: white;
}

.image-preview {
    margin-top: 12px;
    position: relative;
    display: inline-block;
}

.image-preview img {
    max-width: 200px;
    max-height: 150px;
    border-radius: 8px;
    border: 2px solid #6366f1;
}

.image-preview button {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 12px;
}

.option select {
    width: 100%;
    padding: 12px 16px;
    background: #232329;
    border: 1px solid #2e2e36;
    border-radius: 10px;
    color: white;
    font-size: 0.95rem;
}

.option select option {
    background: #16161a;
}

.prompt-box {
    margin-bottom: 24px;
}

.prompt-box textarea {
    width: 100%;
    min-height: 100px;
    padding: 16px;
    background: #232329;
    border: 1px solid #2e2e36;
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    resize: vertical;
    line-height: 1.6;
}

.prompt-box textarea:focus {
    outline: none;
    border-color: #6366f1;
}

.cost-info {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    color: #6366f1;
}

.cost-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.avail {
    color: #71717a;
    font-size: 0.85rem;
}

.modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid #232329;
}

.cancel-btn {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid #2e2e36;
    border-radius: 10px;
    color: #9ca3af;
    font-weight: 600;
    cursor: pointer;
}

.generate-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.generate-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #232329;
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 40px auto;
}

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

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .main-area {
        margin-left: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .all-tools-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-btns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .options-row {
        grid-template-columns: 1fr;
    }
}

.pricing-modal {
    background: #16161a;
    border-radius: 24px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.pricing-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #232329;
}

.pricing-modal-header h2 {
    font-size: 1.25rem;
}

.pricing-modal-body {
    padding: 24px;
}

.pricing-cards-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.pricing-card-mini {
    background: #232329;
    border: 1px solid #2e2e36;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    position: relative;
    transition: all 0.2s;
}

.pricing-card-mini:hover {
    transform: translateY(-4px);
}

.pricing-card-mini.popular {
    border-color: #6366f1;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
}

.badge-popular {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

.plan-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #6366f1;
    font-size: 1.25rem;
}

.plan-icon.free {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.pricing-card-mini h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.plan-price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: #71717a;
}

.plan-features {
    text-align: left;
    margin-bottom: 20px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.8rem;
    color: #9ca3af;
}

.plan-features li i {
    color: #10b981;
    font-size: 0.75rem;
}

.plan-btn {
    width: 100%;
    padding: 10px;
    background: #2e2e36;
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.plan-btn:hover {
    background: #3f3f46;
}

.plan-btn.current {
    background: #10b981;
}

.plan-btn.current:hover {
    background: #059669;
}

.current-credits-info {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    color: #9ca3af;
}

.current-credits-info strong {
    color: #6366f1;
}

@media (max-width: 768px) {
    .pricing-cards-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.niche-selector {
    margin-bottom: 16px;
    padding: 16px;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.niche-selector label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.niche-selector label i {
    color: #6366f1;
}

.niche-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.niche-input-wrapper select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.niche-input-wrapper select:focus {
    outline: none;
    border-color: #6366f1;
}

.niche-input-wrapper select option {
    background: #1a1a2e;
    color: #fff;
}

.custom-niche-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.custom-niche-input:focus {
    outline: none;
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
}

.custom-niche-input::placeholder {
    color: #666;
}

.niche-hint {
    font-size: 0.8rem;
    color: #888;
    margin-top: 8px;
}

.niche-locked {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.niche-locked i {
    color: #f59e0b;
    font-size: 1rem;
}

.niche-locked span {
    font-size: 0.85rem;
    color: #aaa;
    flex: 1;
}

.niche-locked button {
    padding: 8px 16px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.niche-locked button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}
.script-writer-container {
  background: var(--bg-secondary, #1e1e2e);
  border-radius: 12px;
  overflow: hidden;
}

.script-writer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--bg-tertiary, #2a2a3e);
  border-bottom: 1px solid var(--border-color, #3a3a4e);
}

.script-writer-header h3 {
  margin: 0;
  color: var(--text-primary, #fff);
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.script-writer-header h3 i {
  color: #8b5cf6;
}

.script-writer-body {
  padding: 20px;
}

.script-writer-body .form-group {
  margin-bottom: 16px;
}

.script-writer-body .form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary, #a0a0b0);
  font-size: 14px;
  font-weight: 500;
}

.script-writer-body .form-group input,
.script-writer-body .form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-tertiary, #2a2a3e);
  border: 1px solid var(--border-color, #3a3a4e);
  border-radius: 8px;
  color: var(--text-primary, #fff);
  font-size: 14px;
  transition: border-color 0.2s;
}

.script-writer-body .form-group input:focus,
.script-writer-body .form-group select:focus {
  outline: none;
  border-color: #8b5cf6;
}

.script-writer-body .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.script-writer-body .error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #ef4444;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

.script-writer-body .script-cost-info {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid #8b5cf6;
  color: #8b5cf6;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.script-writer-body .script-cost-info i {
  color: #f59e0b;
}

.script-writer-body .generate-btn {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.script-writer-body .generate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.script-writer-body .generate-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.generated-script {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color, #3a3a4e);
}

.script-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 8px;
}

.script-stats span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary, #fff);
  font-size: 14px;
}

.script-stats span i {
  color: #8b5cf6;
}

.script-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.script-section {
  padding: 16px;
  background: var(--bg-tertiary, #2a2a3e);
  border-radius: 8px;
  border-left: 3px solid #8b5cf6;
}

.script-section.hook {
  border-left-color: #f59e0b;
}

.script-section.body {
  border-left-color: #3b82f6;
}

.script-section.cta {
  border-left-color: #10b981;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.section-title {
  font-weight: 600;
  color: var(--text-primary, #fff);
  font-size: 14px;
}

.section-time {
  font-size: 12px;
  color: var(--text-secondary, #a0a0b0);
  background: var(--bg-secondary, #1e1e2e);
  padding: 4px 8px;
  border-radius: 4px;
}

.script-section p {
  color: var(--text-secondary, #a0a0b0);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.use-script-btn {
  width: 100%;
  margin-top: 20px;
  padding: 12px 20px;
  background: #10b981;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

.use-script-btn:hover {
  background: #059669;
}

@media (max-width: 600px) {
  .script-writer-body .form-row {
    grid-template-columns: 1fr;
  }
}.payment-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.payment-modal {
  background: #1a1a2e;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

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

.payment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #fff;
}

.close-btn {
  background: none;
  border: none;
  color: #888;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.payment-body {
  padding: 24px;
}

.order-summary {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}

.order-summary h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: #fff;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  color: #aaa;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 12px 0 0;
  font-weight: 600;
  color: #fff;
  font-size: 1.1rem;
}

.currency-selector {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
}

.currency-selector label {
  font-size: 0.9rem;
  color: #aaa;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.currency-selector select {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}

.currency-selector select:focus {
  outline: none;
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
}

.currency-selector select option {
  background: #1a1a2e;
  color: #fff;
}

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

.payment-section h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: #fff;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-method {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.payment-method:hover {
  background: rgba(255, 255, 255, 0.08);
}

.payment-method.selected {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.15);
}

.payment-method input {
  display: none;
}

.method-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 10px;
  margin-right: 12px;
}

.method-icon i {
  font-size: 1.25rem;
  color: #6366f1;
}

.method-info {
  flex: 1;
}

.method-name {
  display: block;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.method-desc {
  font-size: 0.85rem;
  color: #888;
}

.method-check {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: transparent;
  transition: all 0.2s;
}

.payment-method.selected .method-check {
  background: #6366f1;
  border-color: #6366f1;
  color: #fff;
}

.billing-form,
.card-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group label {
  font-size: 0.9rem;
  color: #aaa;
  font-weight: 500;
}

.form-group input {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder {
  color: #666;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row .form-group {
  flex: 1;
}

.payment-footer {
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cancel-btn {
  flex: 1;
  padding: 14px 24px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.cancel-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.pay-btn {
  flex: 2;
  padding: 14px 24px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.pay-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.payment-success {
  padding: 40px;
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.success-icon i {
  font-size: 2.5rem;
  color: white;
}

.payment-success h2 {
  margin: 0 0 12px;
  font-size: 1.75rem;
  color: #fff;
}

.payment-success p {
  color: #aaa;
  margin: 0 0 8px;
}

.success-details {
  color: #fff !important;
  font-weight: 500;
}

.success-btn {
  margin-top: 24px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.success-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.currency-selector {
  margin: 16px 0;
}

.currency-selector label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 8px;
}

.currency-selector select {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}

.currency-selector select:focus {
  outline: none;
  border-color: #6366f1;
}

.currency-selector select option {
  background: #1a1a2e;
  color: #fff;
}

.converted-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 8px;
  margin: 12px 0;
}

.converted-amount .original-price {
  color: #888;
  text-decoration: line-through;
  font-size: 0.9rem;
}

.converted-amount .converted-price {
  color: #10b981;
  font-size: 1.1rem;
  font-weight: 700;
}
.admin-dashboard-layout {
    display: flex;
    min-height: 100vh;
    background: #0a0a0c;
}

.admin-sidebar-new {
    width: 240px;
    background: #131316;
    border-right: 1px solid #1f1f24;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    transition: width 0.3s ease;
    z-index: 100;
}

.admin-dashboard-layout.collapsed .admin-sidebar-new {
    width: 70px;
}

.admin-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 16px;
    border-bottom: 1px solid #1f1f24;
}

.admin-logo-new {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.logo-icon-new {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon-new svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.admin-dashboard-layout.collapsed .admin-logo-new span {
    display: none;
}

.collapse-btn-new {
    width: 28px;
    height: 28px;
    background: #1f1f24;
    border: none;
    border-radius: 8px;
    color: #71717a;
    cursor: pointer;
    transition: all 0.2s;
}

.collapse-btn-new:hover {
    background: #27272a;
    color: white;
}

.admin-nav-new {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-link-new {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: #8b8b97;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    font-size: 0.9rem;
    width: 100%;
}

.nav-link-new:hover {
    background: #1f1f24;
    color: white;
}

.nav-link-new.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    color: white;
}

.nav-link-new i {
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.admin-dashboard-layout.collapsed .nav-link-new span {
    display: none;
}

.admin-sidebar-footer {
    padding: 16px;
    border-top: 1px solid #1f1f24;
}

.logout-btn-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid #27272a;
    border-radius: 10px;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.2s;
}

.logout-btn-new:hover {
    background: rgba(239, 68, 68, 0.1);
}

.admin-main-area {
    flex: 1;
    margin-left: 240px;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease;
}

.admin-dashboard-layout.collapsed .admin-main-area {
    margin-left: 70px;
}

.admin-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background: #131316;
    border-bottom: 1px solid #1f1f24;
    position: sticky;
    top: 0;
    z-index: 50;
}

.admin-page-title h1 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.admin-top-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-notification-btn {
    width: 40px;
    height: 40px;
    background: #1f1f24;
    border: none;
    border-radius: 10px;
    color: #8b8b97;
    cursor: pointer;
    transition: all 0.2s;
}

.admin-notification-btn:hover {
    background: #27272a;
    color: white;
}

.admin-avatar-new {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.admin-content-area {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.admin-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: #131316;
    border: 1px solid #1f1f24;
    border-radius: 16px;
    transition: all 0.2s;
}

.admin-stat-card:hover {
    border-color: var(--stat-color);
}

.admin-stat-icon {
    width: 52px;
    height: 52px;
    background: var(--stat-bg);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--stat-color);
}

.admin-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.admin-stat-label {
    font-size: 0.85rem;
    color: #71717a;
}

.admin-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.admin-section {
    background: #131316;
    border: 1px solid #1f1f24;
    border-radius: 16px;
    padding: 24px;
}

.admin-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.admin-table {
    border: 1px solid #1f1f24;
    border-radius: 12px;
    overflow: hidden;
}

.table-header-new {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr 1fr;
    gap: 16px;
    padding: 14px 20px;
    background: #1f1f24;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #71717a;
}

.table-row-new {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr 1fr;
    gap: 16px;
    padding: 16px 20px;
    align-items: center;
    border-bottom: 1px solid #1f1f24;
    transition: background 0.2s;
}

.table-row-new:hover {
    background: #1a1a1e;
}

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

.user-name, .creation-title {
    font-weight: 500;
    color: white;
}

.user-email, .creation-tool {
    color: #8b8b97;
    font-size: 0.9rem;
}

.user-date, .creation-date {
    color: #71717a;
    font-size: 0.85rem;
}

.status-pill-new {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-pill-new.active {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.status-pill-new.inactive {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.status-pill-new.completed {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.status-pill-new.processing {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

.empty-table {
    padding: 40px;
    text-align: center;
    color: #71717a;
}

.admin-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #1f1f24;
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 40px auto;
}

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

.admin-section-full {
    background: #131316;
    border: 1px solid #1f1f24;
    border-radius: 16px;
    padding: 24px;
}

.section-header-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header-new h2 {
    font-size: 1.1rem;
}

.btn-admin-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-admin-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.admin-table-full {
    border: 1px solid #1f1f24;
    border-radius: 12px;
    overflow: hidden;
}

.admin-table-full .table-header-new {
    grid-template-columns: 0.5fr 1.5fr 1fr 1fr 1fr 100px;
}

.admin-table-full .table-row-new {
    grid-template-columns: 0.5fr 1.5fr 1fr 1fr 1fr 100px;
}

.user-plan {
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6366f1;
    text-transform: capitalize;
}

.row-actions {
    display: flex;
    gap: 8px;
}

.action-btn-new {
    width: 32px;
    height: 32px;
    background: #1f1f24;
    border: none;
    border-radius: 8px;
    color: #8b8b97;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn-new:hover {
    background: #27272a;
    color: white;
}

.action-btn-new.delete:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.admin-settings {
    max-width: 500px;
}

.admin-settings h2 {
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.settings-card-new {
    background: #131316;
    border: 1px solid #1f1f24;
    border-radius: 16px;
    padding: 24px;
}

.setting-row-new {
    margin-bottom: 20px;
}

.setting-row-new label {
    display: block;
    font-size: 0.85rem;
    color: #71717a;
    margin-bottom: 8px;
}

.setting-row-new input {
    width: 100%;
    padding: 12px 16px;
    background: #1f1f24;
    border: 1px solid #27272a;
    border-radius: 10px;
    color: white;
    font-size: 0.95rem;
}

.setting-row-new input:focus {
    outline: none;
    border-color: #6366f1;
}

.setting-row-new input:disabled {
    opacity: 0.5;
}

.admin-empty {
    text-align: center;
    padding: 80px 20px;
}

.admin-empty i {
    font-size: 4rem;
    color: #3f3f46;
    margin-bottom: 20px;
}

.admin-empty h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.admin-empty p {
    color: #71717a;
}

@media (max-width: 1200px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-sidebar-new {
        transform: translateX(-100%);
    }
    
    .admin-main-area {
        margin-left: 0;
    }
    
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .table-header-new,
    .table-row-new {
        display: none;
    }
    
    .admin-table-full .table-header-new,
    .admin-table-full .table-row-new {
        display: none;
    }
}
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1100px;
    width: 100%;
    background: var(--dark-2);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.auth-left {
    padding: 60px 48px;
}

.auth-brand {
    margin-bottom: 40px;
}

.auth-brand .nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
}

.auth-brand .nav-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-brand .nav-logo-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.auth-brand .nav-logo span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-content h1 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.auth-content > p {
    color: var(--gray-400);
    margin-bottom: 32px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--gray-400);
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.forgot-link {
    font-size: 0.85rem;
    color: var(--primary);
}

.forgot-link:hover { text-decoration: underline; }

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.input-wrapper input::placeholder { color: var(--gray-500); }
.input-wrapper input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2); }

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    padding: 0;
}

.toggle-password:hover { color: var(--white); }

.btn-auth {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.auth-switch {
    text-align: center;
    margin-top: 24px;
    color: var(--gray-400);
    font-size: 0.95rem;
}

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

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

.auth-right {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-features h2 {
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.auth-features ul {
    margin-bottom: 32px;
}

.auth-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.auth-features li i {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-right {
        display: none;
    }
}.pricing-page {
    padding-top: 60px;
}

.page-header {
    padding: 140px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--gray-400);
}

.pricing-section {
    padding: 80px 0;
}

.free-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 16px 24px;
    border-radius: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.free-banner i {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

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

.free-banner span {
    font-size: 1rem;
}

.free-banner strong {
    color: #fbbf24;
}

.free-btn {
    background: white;
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.free-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    transform: scale(1.05);
    position: relative;
    z-index: 1;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-header {
    margin-bottom: 24px;
}

.pricing-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-400);
    margin-bottom: 12px;
}

.pricing-badge.popular {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.pricing-price {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pricing-price .price {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.pricing-price .price-local {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.pricing-price .price-usd {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--gray-500);
}

.pricing-desc {
    color: var(--gray-400);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.pricing-features li:last-child { border-bottom: none; }
.pricing-features i { color: var(--success); width: 20px; }

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}.page {
    padding-top: 60px;
}

.page-header {
    padding: 140px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--gray-400);
    margin-bottom: 32px;
}

.search-box {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
}

.search-box input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
}

.search-box input::placeholder { color: var(--gray-500); }
.search-box input:focus { outline: none; border-color: var(--primary); }.footer {
    background: var(--dark-2);
    padding: 80px 0 32px;
    margin-top: auto;
}

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

.footer-brand-col {
    padding-right: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.footer-brand .nav-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand .nav-logo-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.footer-brand span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand-col p {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.footer-column ul a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-column ul a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--gray-500);
    font-size: 0.85rem;
}

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

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --secondary: #8B5CF6;
    --accent: #EC4899;
    --success: #10b981;
    --danger: #ef4444;
    --tiktok: #ff0050;
    --youtube: #ff0000;
    --facebook: #1877f2;
    --dark: #0f0f1a;
    --dark-2: #1a1a2e;
    --dark-3: #16213e;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --white: #ffffff;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

#root {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app main {
    flex: 1;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

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

.navbar.scrolled {
    background: rgba(15, 15, 26, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.nav-logo span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--gray-400);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-ghost {
    background: transparent;
    border: none;
    color: var(--gray-400);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-ghost:hover { color: var(--white); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(3px, 3px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(3px, -3px); }

/* Hero */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

.hero p {
    font-size: 1.25rem;
    color: var(--gray-400);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat span:last-child {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-top: 4px;
}

/* Sections */
.section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.tool-card {
    background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tool-card:hover::before { opacity: 1; }

.tool-card.selected {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.tool-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--primary);
}

.tool-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.tool-card p {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* Platforms Section */
.platforms-section {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.platform-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.platform-card.tiktok:hover { border-color: var(--tiktok); box-shadow: 0 20px 50px rgba(255, 0, 80, 0.2); }
.platform-card.youtube:hover { border-color: var(--youtube); box-shadow: 0 20px 50px rgba(255, 0, 0, 0.2); }
.platform-card.facebook:hover { border-color: var(--facebook); box-shadow: 0 20px 50px rgba(24, 119, 242, 0.2); }

.platform-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon svg {
    width: 64px;
    height: 64px;
}

.platform-card.tiktok .platform-icon { color: var(--tiktok); }
.platform-card.youtube .platform-icon { color: var(--youtube); }
.platform-card.facebook .platform-icon { color: var(--facebook); }

.platform-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.platform-specs {
    text-align: left;
    margin: 20px 0;
}

.platform-specs li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--gray-400);
}

.platform-specs li:last-child { border-bottom: none; }
.platform-specs i { color: var(--success); width: 16px; }

.platform-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-400);
}

/* Models Section */
.models-section {
    background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark-3) 50%, var(--dark) 100%);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.model-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s ease;
}

.model-card:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-4px);
}

.model-version {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.model-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.model-card p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Studio Section */
.studio-section {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
}

.studio-tool-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.tool-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--gray-400);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tool-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.tool-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: var(--primary);
    color: white;
}

.studio-tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.studio-tool-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.studio-tool-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.studio-tool-card .tool-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.5rem;
    color: white;
}

.studio-tool-card h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.studio-tool-card p {
    color: var(--gray-500);
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.tool-credit {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.studio-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 32px;
}

.studio-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.studio-option {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
}

.studio-option h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.studio-option select {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.studio-option select:focus { outline: none; border-color: var(--primary); }
.studio-option select option { background: var(--dark-2); color: white; }

.studio-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.studio-input label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary);
}

.studio-input textarea {
    width: 100%;
    min-height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    color: white;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
    line-height: 1.7;
}

.studio-input textarea::placeholder { color: var(--gray-500); }
.studio-input textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2); }

.studio-preview {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-placeholder {
    text-align: center;
    color: var(--gray-500);
}

.preview-placeholder i {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.3;
}

.preview-placeholder p {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.preview-placeholder span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.studio-actions {
    display: flex;
    gap: 16px;
}

.btn-preview {
    flex: 1;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-preview:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.btn-generate-studio {
    flex: 2;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-generate-studio:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    transform: scale(1.05);
    position: relative;
    z-index: 1;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-header {
    margin-bottom: 24px;
}

.pricing-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-400);
    margin-bottom: 12px;
}

.pricing-badge.popular {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.pricing-price {
    margin-bottom: 16px;
}

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

.pricing-price .period {
    font-size: 1rem;
    color: var(--gray-500);
}

.pricing-desc {
    color: var(--gray-400);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.pricing-features li:last-child { border-bottom: none; }
.pricing-features i { color: var(--success); width: 20px; }
.pricing-features .disabled { color: var(--gray-600); text-decoration: line-through; }

.pricing-note {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 12px;
}

/* Auth Pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1100px;
    width: 100%;
    background: var(--dark-2);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.auth-left {
    padding: 60px 48px;
}

.auth-brand {
    margin-bottom: 40px;
}

.auth-content h1 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.auth-content > p {
    color: var(--gray-400);
    margin-bottom: 32px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--gray-400);
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.forgot-link {
    font-size: 0.85rem;
    color: var(--primary);
}

.forgot-link:hover { text-decoration: underline; }

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.input-wrapper input::placeholder { color: var(--gray-500); }
.input-wrapper input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2); }

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    padding: 0;
}

.toggle-password:hover { color: var(--white); }

.btn-auth {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.auth-switch {
    text-align: center;
    margin-top: 24px;
    color: var(--gray-400);
    font-size: 0.95rem;
}

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

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

.auth-right {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-features h2 {
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.auth-features ul {
    margin-bottom: 32px;
}

.auth-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.auth-features li i {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table th {
    background: rgba(255, 255, 255, 0.02);
    font-weight: 600;
    color: var(--gray-400);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.table-actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--gray-400);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Footer */
.footer {
    background: var(--dark-2);
    padding: 80px 0 32px;
    margin-top: auto;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.footer-column ul a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-column ul a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--gray-500);
    font-size: 0.85rem;
}

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

/* Admin Layout */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--dark-2);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 16px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 32px;
    padding: 0 12px;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--gray-400);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.admin-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.admin-nav-item.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.admin-nav-item i {
    width: 20px;
}

.admin-content {
    flex: 1;
    margin-left: 260px;
    padding: 32px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.admin-header h1 {
    font-size: 1.75rem;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.completed {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.status-badge.processing {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
}

.status-badge.failed {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

/* Page Header */
.page-header {
    padding: 140px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--gray-400);
    margin-bottom: 32px;
}

.search-box {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
}

.search-box input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }
    
    .studio-container {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-2);
        flex-direction: column;
        padding: 20px;
        gap: 12px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

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

.animate-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Loading */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Tabs */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
}

.tab {
    padding: 10px 20px;
    background: transparent;
    border: none;
    color: var(--gray-400);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.tab.active {
    background: var(--primary);
    color: white;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal {
    background: var(--dark-2);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    padding: 32px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h2 {
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
}

.modal-close:hover { color: white; }

/* Progress Bar */
.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Tooltips */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background: var(--dark-3);
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tooltip:hover::after {
    opacity: 1;
}