/**
 * ============================================
 * NEXEDITOR Landing Page - Premium Styles
 * ============================================
 */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Import AOS */
@import url('https://unpkg.com/aos@next/dist/aos.css');

/* ============================================
   Variables & Reset
   ============================================ */

:root {
    /* Colors */
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-darker: #3730a3;
    --secondary: #06b6d4;
    --accent: #f59e0b;

    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #cbd5e1;

    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;

    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-info: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.5rem;
    --spacing-6: 2rem;
    --spacing-8: 3rem;
    --spacing-10: 4rem;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Monaco', monospace;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   Utility Classes
   ============================================ */

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-gradient-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.btn-gradient-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.5);
    color: white;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-base);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
    transition: all var(--transition-base);
}

strong {
    margin: 0 0.3rem;
}

.navbar-brand:hover {
    color: var(--primary);
}

.brand-icon img{
    width: 40px;
    height: auto;
    margin-right: 0.5rem;
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    margin: 0 0.75rem;
    transition: all var(--transition-base);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #192350 0%, #311a4c 100%);
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #f093fb 0%, #f5576c 100%);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #4facfe 0%, #00f2fe 100%);
    bottom: -10%;
    left: -10%;
    animation-delay: 5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #43e97b 0%, #38f9d7 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 7rem;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.feature-item i {
    color: #10b981;
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

/* Hero Editor Preview */
.hero-editor-preview {
    position: relative;
    z-index: 1;
    margin-bottom : 30px;
}

.editor-window {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.editor-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background: #ef4444;
}

.dot-yellow {
    background: #f59e0b;
}

.dot-green {
    background: #10b981;
}

.editor-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.editor-actions {
    color: var(--text-secondary);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.editor-actions:hover {
    color: var(--primary);
}

.editor-toolbar {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    gap: 0.5rem;
}

.toolbar-group {
    display: flex;
    gap: 0.25rem;
}

.toolbar-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.toolbar-btn:hover {
    background: var(--bg-tertiary);
    color: var(--primary);
}

.toolbar-btn.active {
    background: var(--primary);
    color: white;
}

.toolbar-btn.ai-btn {
    position: relative;
    color: var(--primary);
}

.ai-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.toolbar-btn.ai-btn:hover .ai-glow {
    opacity: 0.2;
}

.toolbar-divider {
    width: 1px;
    height: 24px;
    background: #e2e8f0;
    margin: 0 0.5rem;
}

.editor-content {
    padding: 2rem;
    min-height: 300px;
    color: var(--text-primary);
}

.typing-animation h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.typing-animation p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.typing-animation .highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.typing-animation ul {
    list-style: none;
    padding-left: 0;
}

.typing-animation ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.typing-animation ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* ============================================
   Stats Section
   ============================================ */

.stats-section {
    background: white;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================
   Features Section
   ============================================ */

.features-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-white {
    color: white;
}

.text-black {
    color: black;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    height: 100%;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
}

.icon-glow {
    position: absolute;
    inset: -8px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    opacity: 0;
    filter: blur(20px);
    transition: opacity var(--transition-base);
}

.feature-card:hover .icon-glow {
    opacity: 0.3;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.375rem 0.75rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

/* ============================================
   Plugins Section
   ============================================ */

.plugins-section {
    padding: 6rem 0;
    background: white;
}

.plugin-categories {
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.plugin-categories  .category-btn {
    display: inline-flex;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    width: auto;
    transition: all var(--transition-fast);
}

.plugin-categories  .category-btn:hover,
.plugin-categories  .category-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.plugins-grid {
    margin-top: 3rem;
}

.plugin-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    height: 100%;
    border: 1px solid var(--bg-tertiary);
    position: relative;
}

.plugin-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.plugin-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.plugin-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.badge-ai {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.badge-popular {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.plugin-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1.5rem;
}

.plugin-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.plugin-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.plugin-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.plugin-features li {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.plugin-features li i {
    color: var(--success);
    margin-right: 0.5rem;
}

.plugin-demo-btn {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.plugin-demo-btn:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* ============================================
   Demo Section
   ============================================ */

.demo-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #192350 0%, #311a4c 100%);

}

.demo-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.editor-wrapper {
    /*background: white;*/
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    /*padding: 2rem;*/
}

.demo-info {
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   Pricing Section
   ============================================ */

.pricing-section {
    padding: 6rem 0;
    background: white;
}

.pricing-card {
    background: white;
    border: 2px solid var(--bg-tertiary);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    transition: all var(--transition-base);
    position: relative;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary);
}

.pricing-card-extended {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.pricing-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 2rem;
}

.currency {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.amount {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    color: var(--text-secondary);
}

.pricing-features li i {
    color: var(--success);
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.accordion-item {
    background: white;
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: white;
    color: var(--text-primary);
    font-weight: 600;
    padding: 1.5rem;
    font-size: 1.125rem;
    border: none;
    width: 100%;
    text-align: left;
    transition: all var(--transition-fast);
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #192350 0%, #3f1b65 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-features .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: #1e293b;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .plugin-categories {
        flex-direction: column;
    }

    .category-btn {
        width: 100%;
    }
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Scroll Animations */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Container pentru cod */
/*pre {*/
/*    background-color: #1e1e1e !important;*/
/*    border-radius: 8px;*/
/*    padding: 1.5rem;*/
/*    overflow-x: auto;*/
/*    margin: 1.5rem 0;*/
/*    border: 1px solid rgba(255, 255, 255, 0.1);*/
/*    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
/*}*/

/* Text cod */
/*pre code {*/
/*    font-family: 'Fira Code', 'Consolas', 'Monaco', 'Courier New', monospace;*/
/*    font-size: 0.875rem;*/
/*    line-height: 1.6;*/
/*    display: block;*/
/*    white-space: pre;*/
/*    word-wrap: normal;*/
/*    word-break: normal;*/
/*}*/

/* Cod inline (în text) */
/*code {*/
/*    font-family: 'Fira Code', 'Consolas', 'Monaco', 'Courier New', monospace;*/
/*    font-size: 0.875em;*/
/*    padding: 0.2em 0.4em;*/
/*    background: transparent !important;*/
/*    border-radius: 4px;*/
/*    color: #e83e8c !important;*/
/*}*/

/* Scrollbar personalizat pentru pre */
/*pre::-webkit-scrollbar {*/
/*    height: 8px;*/
/*    width: 8px;*/
/*}*/

/*pre::-webkit-scrollbar-track {*/
/*    background: rgba(255, 255, 255, 0.05);*/
/*    border-radius: 4px;*/
/*}*/

/*pre::-webkit-scrollbar-thumb {*/
/*    background: rgba(255, 255, 255, 0.2);*/
/*    border-radius: 4px;*/
/*}*/

/*pre::-webkit-scrollbar-thumb:hover {*/
/*    background: rgba(255, 255, 255, 0.3);*/
/*}*/

/* Dark mode support pentru inline code */
/*@media (prefers-color-scheme: light) {*/
/*    pre {*/
/*        background-color: #f6f8fa;*/
/*        border-color: #e1e4e8;*/
/*    }*/

/*    pre code {*/
/*        color: #24292e;*/
/*    }*/

/*    code {*/
/*        background-color: rgba(175, 184, 193, 0.2);*/
/*        color: #d73a49;*/
/*    }*/
/*}*/

/* Responsive */
@media (max-width: 768px) {
    pre {
        padding: 1rem;
        font-size: 0.8125rem;
    }

    pre code {
        font-size: 0.8125rem;
    }
}

/* Animație la hover */
pre {
    transition: box-shadow 0.3s ease;
}

pre:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Language Select Styling */
#languageSelect {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#languageSelect:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

#languageSelect:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

#languageSelect option {
    background-color: #1a1a2e;
    color: #fff;
}



.typing-animation-text {
    width: 2px;
    height: 20px;
    background: var(--primary);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}



.floating-card {
    position: absolute;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    animation: floating 3s ease-in-out infinite;
    z-index: 10;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary);
}

.floating-card.card-1 {
    top: 50%;
    right: -20%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 50%;
    left: -25%;
    animation-delay: 1s;
}

.floating-card.card-3 {
    top: 95%;
    left: 35%;
    animation-delay: 2s;
}

.nav-link:focus {
    color: var(--primary);
}

/* ============================================
   VIDEO SECTION - LOCAL VIDEO
   ============================================ */

.video-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #0f0f23 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.video-container {
    position: relative;
    z-index: 1;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    background: #000;
}

.demo-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Video Play Overlay */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
            135deg,
            rgba(102, 126, 234, 0.2) 0%,
            rgba(118, 75, 162, 0.2) 100%
    );
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-play-btn-large {
    background: none;
    border: none;
    cursor: pointer;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.video-play-btn-large:hover {
    transform: scale(1.1);
}

.video-play-btn-large svg {
    filter: drop-shadow(0 10px 30px rgba(102, 126, 234, 0.5));
}

.video-duration-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Video Loading */
.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

/* Custom Video Controls */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 8;
}

.video-wrapper:hover .video-controls {
    opacity: 1;
}

.video-controls.show {
    opacity: 1;
}

.video-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 15px;
    position: relative;
}

.video-progress-filled {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

.video-progress-filled::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.video-controls-bottom {
    display: flex;
    align-items: center;
    gap: 15px;
}

.video-control-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.video-control-btn:hover {
    color: #667eea;
    transform: scale(1.1);
}

.play-pause-btn {
    font-size: 28px;
}

.video-time {
    color: white;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.time-separator {
    color: rgba(255, 255, 255, 0.5);
}

.video-controls-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.volume-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.speed-btn {
    font-size: 14px;
}

.speed-text {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

/* Video Features */
.video-features {
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-features-title {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.video-feature-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.video-feature-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.feature-number {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: white;
}

.feature-content {
    flex: 1;
}

.feature-content h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.timestamp-btn {
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.5);
    color: #667eea;
    padding: 5px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.timestamp-btn:hover {
    background: rgba(102, 126, 234, 0.3);
    border-color: #667eea;
    color: white;
}

/* Video Stats */
.video-stats {
    margin-top: 80px;
}

.stat-card {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.stat-icon {
    font-size: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}



/* Responsive */
@media (max-width: 991px) {
    .video-section {
        padding: 80px 0;
    }

    .video-features {
        margin-top: 40px;
    }

    .volume-slider {
        display: none;
    }
}

@media (max-width: 767px) {
    .video-play-btn-large svg {
        width: 70px;
        height: 70px;
    }

    .video-features {
        padding: 25px 20px;
    }

    .video-controls-bottom {
        gap: 10px;
    }

    .video-control-btn {
        font-size: 20px;
    }

    .video-time {
        font-size: 12px;
    }

    .speed-btn,
    .volume-slider {
        display: none;
    }

    .stat-value {
        font-size: 28px;
    }
}