/* ==============================================================================
   EasyEditPro - Futuristic Sci-Fi 3D Animated Design System
   Cyberpunk Glassmorphism • Holographic 3D Tilt • Laser HUD Elements
   ============================================================================== */

/* Google Fonts loaded asynchronously via <link> in HTML to prevent render-blocking waterfall */

:root {
    /* Futuristic Color Grading - Light Cyber Mode */
    --bg-base: #f4f7fc;
    --bg-surface: rgba(255, 255, 255, 0.85);
    --bg-surface-hover: rgba(255, 255, 255, 0.95);
    --bg-elevated: #ffffff;
    
    --primary: #4f46e5;
    --primary-glow: rgba(79, 70, 229, 0.4);
    --primary-light: #eef2ff;
    --secondary: #0ea5e9;
    --secondary-glow: rgba(14, 165, 233, 0.4);
    --accent: #f43f5e;
    --accent-glow: rgba(244, 63, 94, 0.4);
    --cyan: #06b6d4;
    --cyan-glow: rgba(6, 182, 212, 0.4);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --text-main: #0f172a;
    --text-muted: #475569;
    --text-inverse: #ffffff;

    --border-light: rgba(226, 232, 240, 0.8);
    --border-glow: rgba(79, 70, 229, 0.25);
    --border-cyan-glow: rgba(6, 182, 212, 0.35);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 30px rgba(79, 70, 229, 0.25);
    --shadow-3d: 0 25px 50px -12px rgba(15, 23, 42, 0.25);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-tech: 'Orbitron', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
    /* Cyberpunk 3D Holographic Dark Theme */
    --bg-base: #060913;
    --bg-surface: rgba(15, 23, 42, 0.75);
    --bg-surface-hover: rgba(30, 41, 59, 0.85);
    --bg-elevated: #0f172a;

    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.55);
    --primary-light: rgba(99, 102, 241, 0.15);
    --secondary: #38bdf8;
    --secondary-glow: rgba(56, 189, 248, 0.55);
    --accent: #fb7185;
    --accent-glow: rgba(251, 113, 133, 0.55);
    --cyan: #00f2fe;
    --cyan-glow: rgba(0, 242, 254, 0.55);
    --success: #34d399;
    --warning: #fbbf24;
    --danger: #f87171;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-inverse: #0f172a;

    --border-light: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(99, 102, 241, 0.4);
    --border-cyan-glow: rgba(0, 242, 254, 0.4);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 25px 50px -10px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.4);
    --shadow-3d: 0 30px 60px -15px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 242, 254, 0.2);
}

/* ==============================================================================
   Base & Reset
   ============================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 3D Animated Ambient Cyber Mesh Background */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-mesh::before, .bg-mesh::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.6;
    animation: floatOrbs 18s ease-in-out infinite alternate;
}

.bg-mesh::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    top: -100px;
    left: -100px;
}

.bg-mesh::after {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--cyan-glow), transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: -9s;
}

/* Cyber Grid Lines */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(99, 102, 241, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

@keyframes floatOrbs {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(120px, 80px) scale(1.15) rotate(180deg); }
    100% { transform: translate(-80px, 140px) scale(0.9) rotate(360deg); }
}

/* ==============================================================================
   Navigation Header (Sci-Fi Glass HUD)
   ============================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 70px;
    height: 70px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.brand-logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--cyan), var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    position: relative;
    box-shadow: 0 0 15px var(--primary-glow);
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: radial-gradient(circle, var(--cyan-glow), var(--primary-glow));
    z-index: -1;
    opacity: 0.6;
    animation: pulseLogo 3s ease-in-out infinite alternate;
    will-change: opacity, transform;
}

@keyframes pulseLogo {
    0% { opacity: 0.35; transform: scale(0.95); }
    100% { opacity: 0.85; transform: scale(1.06); }
}

.badge-pro {
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    color: #04101e;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.6);
}

/* Sci-Fi Glowing Search Bar */
.nav-search-bar {
    flex: 1;
    max-width: 540px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    height: 44px;
}

.search-icon-left {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    pointer-events: none;
}

.nav-search-bar input {
    width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 0 3rem 0 2.8rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    background: var(--bg-surface-hover);
    color: var(--text-main);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.nav-search-bar input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 20px var(--cyan-glow), inset 0 0 8px var(--primary-glow);
    background: var(--bg-elevated);
}

.search-shortcut-badge {
    position: absolute;
    right: 0.85rem;
    background: var(--border-light);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    font-family: var(--font-mono);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle-btn {
    background: var(--bg-surface-hover);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.theme-toggle-btn:hover {
    transform: rotate(20deg) scale(1.1);
    border-color: var(--cyan);
    box-shadow: 0 0 15px var(--cyan-glow);
}

/* ==============================================================================
   Hero Section (Futuristic 3D Header)
   ============================================================================== */
.hero-section {
    padding: 4.5rem 1.5rem 2.5rem;
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
    position: relative;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.2rem;
    background: var(--primary-light);
    border: 1px solid var(--border-cyan-glow);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px var(--primary-glow);
    animation: floatBadge 3s ease-in-out infinite alternate;
}

@keyframes floatBadge {
    0% { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, var(--text-main) 30%, var(--cyan) 70%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 740px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* ==============================================================================
   Category Filter Tabs (Sci-Fi Neon Pills)
   ============================================================================== */
.category-filter-wrapper {
    position: sticky;
    top: 75px;
    z-index: 900;
    padding: 0.75rem 1.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(var(--bg-base), 0.85);
}

.category-filter-container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
}

.category-filter-container::-webkit-scrollbar {
    display: none;
}

.category-tab {
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    background: var(--bg-surface);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-tab:hover {
    color: var(--text-main);
    border-color: var(--cyan);
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--cyan-glow);
}

.category-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    color: white;
    border-color: transparent;
    box-shadow: 0 0 25px var(--primary-glow);
    transform: scale(1.04);
}

/* ==============================================================================
   3D Holographic Tool Cards Grid
   ============================================================================== */
.tools-grid-section {
    max-width: 1320px;
    margin: 2rem auto 5rem;
    padding: 0 1.5rem;
    perspective: 1200px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.75rem;
}

/* 3D Perspective Card */
.tool-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    transform-style: preserve-3d;
    transform: rotateX(0deg) rotateY(0deg) translateZ(0);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    transform: translateZ(20px);
}

.tool-card:hover {
    transform: translateY(-8px) scale(1.02) translateZ(30px);
    border-color: var(--cyan);
    box-shadow: var(--shadow-3d), 0 0 30px var(--cyan-glow);
}

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

.tool-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    transform: translateZ(25px);
}

.tool-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.tool-card:hover .tool-icon-wrapper {
    transform: scale(1.15) rotate(8deg);
}

.tool-badge {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.badge-pdf { background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-image { background: rgba(245, 158, 11, 0.15); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-video { background: rgba(99, 102, 241, 0.15); color: #6366f1; border: 1px solid rgba(99, 102, 241, 0.3); }
.badge-audio { background: rgba(236, 72, 153, 0.15); color: #ec4899; border: 1px solid rgba(236, 72, 153, 0.3); }
.badge-text { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-data { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; border: 1px solid rgba(139, 92, 246, 0.3); }
.badge-ai { background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(99, 102, 241, 0.2)); color: #f43f5e; border: 1px solid rgba(244, 63, 94, 0.4); }
.badge-new { background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(79, 70, 229, 0.2)); color: var(--cyan); border: 1px solid var(--cyan); box-shadow: 0 0 10px var(--cyan-glow); }

.tool-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
    transform: translateZ(20px);
}

.tool-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    transform: translateZ(15px);
}

.tool-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    transform: translateZ(20px);
}

.tool-card:hover .tool-card-footer {
    color: var(--cyan);
}

/* ==============================================================================
   Sci-Fi Laser Drop Zone & Upload HUD
   ============================================================================== */
.dropzone-container {
    border: 2px dashed var(--border-glow);
    border-radius: var(--radius-xl);
    padding: 3.5rem 2rem;
    text-align: center;
    background: var(--bg-surface-hover);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.03);
}

.dropzone-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropzone-container:hover, .dropzone-container.drag-over {
    border-color: var(--cyan);
    background: var(--bg-elevated);
    box-shadow: 0 0 35px var(--cyan-glow), inset 0 0 20px var(--primary-glow);
    transform: scale(1.01);
}

.dropzone-container:hover::before, .dropzone-container.drag-over::before {
    opacity: 1;
    animation: scanLine 2s linear infinite;
}

@keyframes scanLine {
    0% { transform: translateY(0); }
    100% { transform: translateY(280px); }
}

.dropzone-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounceIcon 2s ease-in-out infinite alternate;
}

@keyframes bounceIcon {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

.dropzone-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.dropzone-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ==============================================================================
   File Queue List & Progress Section
   ============================================================================== */
.file-list-tray {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 1.5rem 0;
    max-height: 260px;
    overflow-y: auto;
}

.file-item-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    animation: slideIn 0.3s ease;
}

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

.file-item-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    overflow: hidden;
}

.file-item-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-transform: capitalize;
    text-overflow: ellipsis;
    max-width: 320px;
}

.file-item-size {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.file-item-remove {
    background: transparent;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px 8px;
    border-radius: 6px;
    transition: var(--transition);
}

.file-item-remove:hover {
    background: rgba(239, 68, 68, 0.15);
}

/* Glowing Neon Progress Bar */
.progress-box {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    text-align: center;
}

.progress-bar-track {
    width: 100%;
    height: 12px;
    background: var(--bg-base);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 1rem 0;
    border: 1px solid var(--border-light);
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--cyan), var(--accent));
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
    box-shadow: 0 0 15px var(--cyan-glow);
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ==============================================================================
   Settings HUD & Controls
   ============================================================================== */
.settings-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    background: var(--bg-surface-hover);
    color: var(--text-main);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 15px var(--cyan-glow);
    background: var(--bg-elevated);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    box-shadow: 0 0 30px var(--cyan-glow);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

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

.btn-secondary {
    background: var(--bg-surface-hover);
    color: var(--text-main);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 15px var(--cyan-glow);
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

/* Result Box */
.result-box {
    margin-top: 1.5rem;
    padding: 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-cyan-glow);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: 0 0 35px var(--cyan-glow);
    animation: pulseResult 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@keyframes pulseResult {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.result-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success), var(--cyan));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
}

/* ==============================================================================
   Modal HUD Dialog (3D Pop)
   ============================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 8, 18, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: var(--bg-elevated);
    border: 1px solid var(--border-cyan-glow);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-3d), 0 0 50px var(--primary-glow);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-surface);
}

.modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.modal-title-icon {
    font-size: 1.75rem;
}

.modal-title-text h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
}

.modal-title-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.modal-close-btn {
    background: var(--bg-surface-hover);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.modal-close-btn:hover {
    color: var(--danger);
    border-color: var(--danger);
    transform: rotate(90deg);
}

.modal-body {
    padding: 1.75rem;
}

/* ==============================================================================
   Standalone Page Layout & SEO Sections
   ============================================================================== */
.seo-page-container {
    max-width: 1040px;
    margin: 2.5rem auto 5rem;
    padding: 0 1.5rem;
}

.tool-embed-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-cyan-glow);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-3d), 0 0 40px var(--cyan-glow);
    margin-bottom: 3.5rem;
}

.seo-content-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    line-height: 1.8;
}

.seo-content-section h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

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

.feature-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 20px var(--cyan-glow);
    transform: translateY(-4px);
}

.feature-item h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    display: none;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* ==============================================================================
   Site Footer
   ============================================================================== */
.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    margin-top: auto;
    padding: 4rem 1.5rem 2rem;
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 340px;
}

.footer-col h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--cyan);
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1320px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast-item {
    padding: 0.85rem 1.4rem;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border-cyan-glow);
    color: var(--text-main);
    font-size: 0.92rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg), 0 0 25px var(--cyan-glow);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: toastPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsive */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .nav-search-bar {
        display: none;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2rem;
    }
}

/* ==============================================================================
   NEXT-LEVEL 3D SCI-FI HUD & HOLOGRAPHIC QUANTUM STYLES
   ============================================================================== */

/* Clean Standard Pointer */
html, body {
    cursor: default;
}

/* 3D Sci-Fi Hologram Core Widget in Hero Section */
.scifi-core-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2.5rem 0 1.5rem 0;
}

.scifi-hologram-reactor {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    perspective: 800px;
}

.hologram-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hologram-ring-outer {
    width: 130px;
    height: 130px;
    border: 2px dashed var(--cyan);
    box-shadow: 0 0 20px var(--cyan-glow);
    animation: spinRing 12s linear infinite;
}

.hologram-ring-mid {
    width: 100px;
    height: 100px;
    border: 2px solid rgba(168, 85, 247, 0.7);
    border-top-color: transparent;
    border-bottom-color: transparent;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
    animation: spinRingReverse 7s linear infinite;
}

.hologram-ring-inner {
    width: 70px;
    height: 70px;
    border: 2px dotted #ffffff;
    box-shadow: 0 0 25px #00f2fe;
    animation: spinRing 4s linear infinite;
}

.hologram-sphere-core {
    width: 44px;
    height: 44px;
    background: radial-gradient(circle at 30% 30%, #ffffff, #00f2fe 40%, #7000ff 80%);
    border-radius: 50%;
    box-shadow: 0 0 35px #00f2fe, 0 0 70px rgba(112, 0, 255, 0.8);
    animation: pulseCore 2.5s ease-in-out infinite alternate;
}

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

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

@keyframes pulseCore {
    0% { transform: scale(0.92); box-shadow: 0 0 25px #00f2fe, 0 0 50px rgba(112, 0, 255, 0.6); }
    100% { transform: scale(1.1); box-shadow: 0 0 45px #00f2fe, 0 0 90px rgba(112, 0, 255, 1); }
}

/* Sci-Fi Live Telemetry HUD Bar */
.hud-telemetry-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 1.5rem 0 2rem 0;
}

.hud-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-cyan-glow);
    font-size: 0.78rem;
    font-weight: 700;
    font-family: var(--font-tech);
    letter-spacing: 0.5px;
    color: var(--cyan);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(0, 242, 254, 0.1);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.hud-pill:hover {
    transform: translateY(-2px) scale(1.03);
    border-color: #a855f7;
    color: #ffffff;
}

.hud-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: statusPulse 1.8s infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* 3D Sci-Fi Corner HUD Brackets on Tool Cards */
.tool-card {
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 14px;
    height: 14px;
    border-top: 2px solid var(--cyan);
    border-left: 2px solid var(--cyan);
    border-top-left-radius: 4px;
    opacity: 0.4;
    transition: opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.tool-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 14px;
    height: 14px;
    border-bottom: 2px solid var(--cyan);
    border-right: 2px solid var(--cyan);
    border-bottom-right-radius: 4px;
    opacity: 0.4;
    transition: opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.tool-card:hover::before,
.tool-card:hover::after {
    opacity: 1;
    width: 22px;
    height: 22px;
    border-color: #00f2fe;
    box-shadow: 0 0 10px #00f2fe;
}

/* Laser Scan Line Sweep on Hover */
.tool-card:hover .tool-card-body::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00f2fe, #a855f7, transparent);
    box-shadow: 0 0 15px #00f2fe, 0 0 25px #a855f7;
    animation: laserScan 1.2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes laserScan {
    0% { top: 0%; opacity: 0; }
    30% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ==============================================================================
   SEO PAGE CONTAINER & TOOL EMBED
   ============================================================================== */
.seo-page-container {
    max-width: 1560px;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 3rem 1.5rem;
    box-sizing: border-box;
}

.tool-embed-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* ==============================================================================
   EASYEDITPROAI CLOUD IDE STYLING
   ============================================================================== */
.ide-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 86vh;
    max-height: 88vh;
    background: #030712;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-cyan-glow);
    overflow: hidden;
    box-shadow: var(--shadow-3d), 0 0 40px rgba(0, 242, 254, 0.15);
    box-sizing: border-box;
}

.ide-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: #090e1a;
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: 8px;
}

.ide-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ide-top-actions {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.ide-workspace {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) minmax(360px, 440px);
    flex: 1;
    min-height: 0;
    overflow: hidden;
    background: #020617;
    width: 100%;
}

@media (max-width: 1200px) {
    .ide-workspace {
        grid-template-columns: 180px minmax(0, 1fr) minmax(320px, 380px);
    }
}

@media (max-width: 900px) {
    .ide-workspace {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(280px, 1fr) 350px;
    }
}

/* Sidebar */
.ide-sidebar {
    background: #060a15;
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    overflow-y: auto;
    min-width: 0;
}

.ide-sidebar-title {
    font-size: 0.68rem;
    font-family: var(--font-tech);
    color: var(--text-muted);
    letter-spacing: 1px;
    padding: 0 14px 8px 14px;
    font-weight: 800;
}

.ide-file-list {
    display: flex;
    flex-direction: column;
}

.ide-file-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    font-size: 0.84rem;
    color: #94a3b8;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ide-file-item:hover {
    background: rgba(0, 242, 254, 0.08);
    color: #ffffff;
}

.ide-file-item.active {
    background: rgba(0, 242, 254, 0.15);
    color: var(--cyan);
    font-weight: 700;
    border-left: 3px solid var(--cyan);
}

/* Editor Pane */
.ide-editor-pane {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-light);
    background: #020617;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
}

.ide-tabs-bar {
    display: flex;
    background: #090e1a;
    border-bottom: 1px solid var(--border-light);
    overflow-x: auto;
    min-height: 38px;
}

.ide-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-family: var(--font-mono);
    color: #64748b;
    cursor: pointer;
    border-right: 1px solid rgba(255,255,255,0.05);
    background: #060a15;
    transition: var(--transition);
}

.ide-tab:hover {
    color: #cbd5e1;
}

.ide-tab.active {
    background: #020617;
    color: var(--cyan);
    font-weight: 700;
    border-top: 2px solid var(--cyan);
}

.ide-tab-close {
    font-size: 1rem;
    color: #64748b;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ide-tab-close:hover {
    background: rgba(255,255,255,0.2);
    color: #ffffff;
}

.ide-editor-wrapper {
    display: flex;
    flex: 1;
    overflow: hidden;
    position: relative;
    background: #020617;
}

.ide-line-numbers {
    width: 44px;
    padding: 12px 6px 12px 0;
    text-align: right;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #334155;
    user-select: none;
    line-height: 1.6;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    background: #040817;
}

.ide-code-textarea {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px;
    color: #38bdf8;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    line-height: 1.6;
    resize: none;
    tab-size: 4;
    white-space: pre;
    overflow: auto;
}

/* Preview Pane */
.ide-preview-pane {
    display: flex;
    flex-direction: column;
    background: #060a15;
    overflow: hidden;
}

.ide-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    background: #090e1a;
    border-bottom: 1px solid var(--border-light);
}

.ide-preview-tabs {
    display: flex;
    gap: 6px;
}

.ide-preview-tab-btn {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.ide-preview-tab-btn.active {
    background: rgba(0, 242, 254, 0.15);
    color: var(--cyan);
}

.ide-preview-content {
    flex: 1;
    overflow: hidden;
}

.ide-preview-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #ffffff;
}

/* EasyEditProAI Agent Chat */
.ai-agent-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 10px;
}

.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 4px;
    margin-bottom: 10px;
}

.ai-msg {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.84rem;
    line-height: 1.5;
    max-width: 90%;
}

.ai-msg-bot {
    align-self: flex-start;
    background: #0f172a;
    border: 1px solid var(--border-cyan-glow);
    color: #e2e8f0;
}

.ai-msg-user {
    align-self: flex-end;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    font-weight: 600;
}

.ai-chat-input-wrap {
    display: flex;
    gap: 8px;
}

/* ==============================================================================
   EasyEditPro - Pro SaaS Studio Dashboard Layout (Reference UI)
   ============================================================================== */
.dashboard-layout-wrapper {
    display: flex;
    max-width: 1560px;
    margin: 0 auto;
    width: 100%;
    min-height: calc(100vh - 70px);
    gap: 1.5rem;
    padding: 1.25rem 1.5rem 3rem;
}

/* 1. Left Sidebar Navigation */
.dashboard-sidebar-left {
    width: 240px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 80px;
    height: calc(100vh - 100px);
    overflow-y: auto;
    padding-right: 6px;
}

.dashboard-sidebar-left::-webkit-scrollbar {
    width: 4px;
}
.dashboard-sidebar-left::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.sidebar-nav-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sidebar-section-title {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #64748b;
    text-transform: uppercase;
    padding: 8px 12px 4px;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 2px solid transparent;
}

.sidebar-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #f8fafc;
}

.sidebar-nav-link.active {
    background: rgba(168, 85, 247, 0.16);
    color: #c084fc;
    border-left: 3px solid #a855f7;
    font-weight: 700;
}

.sidebar-trust-box {
    margin-top: auto;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.sidebar-trust-box .shield-icon {
    font-size: 1.25rem;
    color: #c084fc;
    flex-shrink: 0;
}

.sidebar-trust-box .trust-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 2px;
}

.sidebar-trust-box .trust-desc {
    font-size: 0.7rem;
    color: #94a3b8;
    line-height: 1.35;
}

/* 2. Main Center Content Canvas */
.dashboard-main-area {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dashboard-hero-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 0.5rem;
}

.dashboard-title-wrap h1 {
    font-size: 1.85rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.dashboard-title-wrap h1 span {
    background: linear-gradient(135deg, #a855f7 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dashboard-title-wrap p {
    font-size: 0.95rem;
    color: #94a3b8;
    margin-top: 3px;
}

.dashboard-quick-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-action-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    text-decoration: none;
}

.dashboard-action-pill:hover {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
}

.dashboard-action-pill.primary-pill {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
    color: #c084fc;
}

/* Full Omni-Search Bar */
.dashboard-search-bar {
    width: 100%;
}

.dashboard-search-wrap {
    position: relative;
    width: 100%;
    min-height: 48px;
}

.dashboard-search-wrap input {
    width: 100%;
    height: 48px;
    min-height: 48px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0 18px 0 44px;
    color: #ffffff;
    font-size: 0.92rem;
    outline: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.dashboard-search-wrap input:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.25);
    background: #131b31;
}

.dashboard-search-wrap .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1rem;
}

/* 3. Popular AI Tools Showcase Grid (10 Pro Glowing Cards) */
.showcase-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.showcase-section-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.3px;
}

.showcase-grid-10 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.showcase-card-pro {
    background: #0e1424;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    min-height: 185px;
}

.showcase-card-pro:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6), 0 0 25px var(--card-glow, rgba(168, 85, 247, 0.25));
}

.showcase-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 12px;
    background: var(--icon-bg, rgba(168, 85, 247, 0.15));
    color: var(--icon-color, #c084fc);
    border: 1px solid var(--icon-border, rgba(168, 85, 247, 0.3));
    box-shadow: 0 0 15px var(--icon-glow, rgba(168, 85, 247, 0.2));
}

.showcase-card-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 6px;
    line-height: 1.25;
}

.showcase-card-desc {
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.4;
    margin-bottom: 16px;
    min-height: 38px;
}

.showcase-btn-start {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    background: var(--btn-bg, rgba(168, 85, 247, 0.2));
    color: var(--btn-text, #e2e8f0);
    border: 1px solid var(--btn-border, rgba(168, 85, 247, 0.4));
    transition: all 0.2s;
}

.showcase-card-pro:hover .showcase-btn-start {
    background: var(--btn-hover-bg, #a855f7);
    color: #ffffff;
    box-shadow: 0 0 12px var(--btn-glow, rgba(168, 85, 247, 0.5));
}

/* 4. Bottom Trust & Highlights Bar */
.dashboard-trust-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 18px;
    margin-top: 1rem;
}

.trust-item-pill {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-item-icon {
    font-size: 1.1rem;
}

.trust-item-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #f8fafc;
}

.trust-item-sub {
    font-size: 0.72rem;
    color: #94a3b8;
}

/* 5. Right Sidebar (Activity & Updates) */
.dashboard-sidebar-right {
    width: 230px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 80px;
    height: calc(100vh - 100px);
}

.dashboard-widget-card {
    background: #0e1424;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.widget-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 800;
    color: #f8fafc;
}

.widget-empty-state {
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.45;
}

.widget-updates-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.widget-update-item {
    font-size: 0.78rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    cursor: pointer;
    transition: color 0.2s;
}

.widget-update-item:hover {
    color: #c084fc;
}

.badge-new-pill {
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(168, 85, 247, 0.25);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.4);
}

.widget-link-all {
    font-size: 0.75rem;
    font-weight: 700;
    color: #c084fc;
    text-decoration: none;
    margin-top: 4px;
}

.widget-link-all:hover {
    text-decoration: underline;
}

/* Comprehensive Responsive Breakpoints: Desktop, Laptop, Tablet, Mobile */
@media (max-width: 1400px) {
    .showcase-grid-10 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1180px) {
    .dashboard-sidebar-right {
        display: none;
    }
    .showcase-grid-10 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .dashboard-sidebar-left {
        display: none;
    }
    .dashboard-layout-wrapper {
        padding: 1rem 1rem 2.5rem;
    }
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 640px) {
    .nav-search-bar {
        display: none;
    }
    .nav-container {
        padding: 0.65rem 1rem;
    }
    .brand-logo {
        font-size: 1.2rem;
    }
    .showcase-grid-10 {
        grid-template-columns: 1fr;
    }
    .dashboard-title-wrap h1 {
        font-size: 1.5rem;
    }
    .dashboard-quick-actions {
        width: 100%;
        justify-content: flex-start;
    }
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .dashboard-layout-wrapper {
        padding: 0.75rem 0.75rem 2rem;
    }
    .dashboard-title-wrap h1 {
        font-size: 1.35rem;
    }
    .tool-card {
        padding: 1.25rem;
    }
}



