/*
Theme Name: SEO Tools Pro
Theme URI: https://example.com
Description: Advanced black-themed futuristic UI/UX with unique page designs, tool categories, and Python scripts section
Version: 2.0
Author: Your Name
*/

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --accent-bg: #252525;
    --card-bg: #1e1e1e;
    --neon-cyan: #00f0ff;
    --neon-purple: #bf00ff;
    --neon-pink: #ff00aa;
    --neon-green: #00ff88;
    --neon-orange: #ff6b00;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #707070;
    --border-color: #333333;
    --glow-color: rgba(0, 240, 255, 0.3);
    --success: #00ff88;
    --warning: #ffaa00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Enhanced Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.15;
    z-index: -1;
    animation: gridMove 25s linear infinite;
}

body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 240, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(191, 0, 255, 0.05) 0%, transparent 50%);
    z-index: -1;
    animation: gradientShift 15s ease infinite;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(60px); }
}

@keyframes gradientShift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10%, 10%) rotate(5deg); }
}

/* Fancy Header with Logo */
header {
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 240, 255, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 40px rgba(0, 240, 255, 0.2);
    background: rgba(26, 26, 26, 1);
}

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

/* Fancy Logo Design */
.logo {
    font-size: 0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    padding: 0.5rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon::before,
.logo-icon::after {
    content: '';
    position: absolute;
    border: 2px solid;
    border-radius: 12px;
    animation: rotateBorder 8s linear infinite;
}

.logo-icon::before {
    width: 50px;
    height: 50px;
    border-color: var(--neon-cyan) transparent var(--neon-cyan) transparent;
}

.logo-icon::after {
    width: 42px;
    height: 42px;
    border-color: transparent var(--neon-purple) transparent var(--neon-purple);
    animation-direction: reverse;
    animation-duration: 6s;
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-symbol {
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    animation: pulse 3s ease-in-out infinite;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.logo-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Enhanced Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.3px;
}

nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 2px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

nav a:hover::before,
nav a.active::before {
    opacity: 1;
}

nav a:hover,
nav a.active {
    color: var(--text-primary);
    background: rgba(0, 240, 255, 0.05);
}

/* Enhanced Breadcrumbs */
.breadcrumbs {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.breadcrumbs a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.breadcrumbs a:hover {
    color: var(--neon-purple);
    background: rgba(0, 240, 255, 0.1);
}

.breadcrumbs span.separator {
    color: var(--border-color);
    font-weight: 300;
}

.breadcrumbs span.current {
    color: var(--text-primary);
    font-weight: 600;
}

/* Main Container */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

/* HOMEPAGE - UNIQUE HERO */
.home-hero {
    text-align: center;
    padding: 5rem 0 6rem;
    position: relative;
    margin-bottom: 4rem;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, rgba(191, 0, 255, 0.1) 40%, transparent 70%);
    z-index: -1;
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.home-hero h1 {
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 50%, var(--neon-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.home-hero .subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: var(--primary-bg);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.5);
}

.cta-button.secondary {
    background: transparent;
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.1);
}

.cta-button.secondary:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.3);
}

/* Feature Cards - Homepage */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.2);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 20px currentColor);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* TOOLS PAGE - UNIQUE LAYOUT */
.tools-page-hero {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(191, 0, 255, 0.1) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.tools-page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.2), transparent);
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.tools-page-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.tools-page-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Category Filter */
.category-filter {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.category-filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--secondary-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
}

.category-filter-btn:hover,
.category-filter-btn.active {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: var(--primary-bg);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

/* Tool Cards Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tool-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.tool-card:hover::after {
    transform: scaleX(1);
}

.tool-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-cyan);
    box-shadow: 0 12px 40px rgba(0, 240, 255, 0.25);
    background: rgba(30, 30, 30, 1);
}

.tool-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.tool-icon {
    font-size: 3rem;
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.tool-info {
    flex: 1;
}

.tool-category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(191, 0, 255, 0.2);
    color: var(--neon-purple);
    border: 1px solid var(--neon-purple);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.tool-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.tool-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    flex: 1;
}

.tool-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.tool-link:hover {
    gap: 1rem;
    color: var(--neon-purple);
}

.tool-link::after {
    content: 'Ã¢â€ â€™';
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.tool-link:hover::after {
    transform: translateX(5px);
}

.tool-meta {
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* PYTHON SCRIPTS PAGE - UNIQUE DESIGN */
.scripts-page-hero {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 240, 255, 0.1) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.scripts-page-hero::before {
    content: '{ }';
    position: absolute;
    top: 20%;
    right: 5%;
    font-size: 15rem;
    color: rgba(0, 255, 136, 0.05);
    font-weight: 900;
    line-height: 1;
    animation: pulse 4s ease-in-out infinite;
}

.scripts-page-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.scripts-page-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
}

/* Script Cards */
.scripts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2.5rem;
}

.script-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--neon-green);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.script-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 255, 136, 0.2);
    border-left-width: 8px;
}

.script-header {
    padding: 2rem;
    background: rgba(0, 255, 136, 0.05);
    border-bottom: 1px solid var(--border-color);
}

.script-header h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.script-header h3::before {
    content: 'Ã°Å¸ÂÂ';
    font-size: 1.8rem;
}

.script-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.script-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.script-content {
    padding: 2rem;
}

.script-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.script-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.script-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.script-features li::before {
    content: 'Ã¢Å“â€œ';
    color: var(--neon-green);
    font-weight: 900;
    font-size: 1.2rem;
}

.script-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-color);
}

.script-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.script-btn.primary {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    color: var(--primary-bg);
    border: none;
}

.script-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.4);
}

.script-btn.secondary {
    background: transparent;
    color: var(--neon-green);
}

.script-btn.secondary:hover {
    background: rgba(0, 255, 136, 0.1);
}

/* Code Block Styling */
.code-preview {
    background: #0d1117;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    overflow-x: auto;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #c9d1d9;
}

.code-preview pre {
    margin: 0;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin: -2rem auto 3rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-purple), transparent);
}

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

.footer-section h3 {
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: var(--neon-cyan);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

.footer-bottom p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

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

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .home-hero h1 {
        font-size: 3rem;
    }
    
    .tools-page-hero h1,
    .scripts-page-hero h1 {
        font-size: 2.5rem;
    }
    
    .tools-grid,
    .scripts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Loading States */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--neon-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 3rem auto;
}

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

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: rgba(0, 255, 136, 0.2);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
}

.badge-warning {
    background: rgba(255, 170, 0, 0.2);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.badge-info {
    background: rgba(0, 240, 255, 0.2);
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
}

/* ============================================
   MOBILE NAVIGATION - FIXED ALIGNMENT
   ============================================ */

/* Hide hamburger by default */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1002;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Active hamburger (X) */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* MOBILE: 320px - 768px */
@media (max-width: 768px) {
    /* Show hamburger */
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    /* Header layout - FIXED ALIGNMENT */
    .header-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 1rem 1.5rem !important;
        width: 100% !important;
        position: relative !important;
    }
    
    /* Logo adjustments - FIXED SIZE */
    .logo {
        display: flex !important;
        align-items: center !important;
        gap: 0.75rem !important;
        padding: 0 !important;
        flex: 0 1 auto !important;
        order: 1 !important;
    }
    
    .logo-icon {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        flex-shrink: 0 !important;
    }
    
    .logo-icon::before {
        width: 40px !important;
        height: 40px !important;
    }
    
    .logo-icon::after {
        width: 34px !important;
        height: 34px !important;
    }
    
    .logo-symbol {
        font-size: 1.5rem !important;
    }
    
    .logo-text {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.1rem !important;
    }
    
    .logo-title {
        font-size: 1.3rem !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }
    
    .logo-subtitle {
        font-size: 0.6rem !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }
    
    /* Hamburger position - FIXED ORDER */
    .mobile-menu-toggle {
        order: 2 !important;
        margin-left: auto !important;
    }
    
    /* Full-screen mobile navigation */
    nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: rgba(10, 10, 10, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        z-index: 1001 !important;
        padding-top: 80px !important;
        overflow-y: auto !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        opacity: 0 !important;
        visibility: hidden !important;
        order: 3 !important;
    }
    
    nav.active {
        transform: translateX(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    nav ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 2rem 0 !important;
        margin: 0 !important;
        width: 100% !important;
        list-style: none !important;
    }
    
    nav li {
        width: 100% !important;
        margin: 0 !important;
    }
    
    nav a {
        display: block !important;
        width: 100% !important;
        padding: 1.2rem 2rem !important;
        text-align: left !important;
        font-size: 1.1rem !important;
        border-radius: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        text-decoration: none !important;
    }
    
    nav a.genspark-cta {
        display: flex !important;
        margin: 1rem 2rem !important;
        width: calc(100% - 4rem) !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        border-radius: 25px !important;
        border-bottom: none !important;
        padding: 1rem 2rem !important;
    }
    
    .genspark-cta-text {
        display: inline !important;
    }
    
    .genspark-cta-icon {
        display: inline !important;
    }
    
    /* Prevent body scroll when menu open */
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
    }
    
    /* Hide desktop navigation elements */
    header nav:not(.active) {
        display: none !important;
    }
    
    /* Main content adjustments */
    .main-container {
        padding: 1.5rem 1rem !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .home-hero h1 {
        font-size: 2rem !important;
    }
    
    .home-hero .subtitle {
        font-size: 1rem !important;
    }
    
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .cta-button {
        padding: 0.9rem 1.8rem !important;
        font-size: 0.95rem !important;
    }
}

/* MOBILE SMALL: 320px - 480px */
@media (max-width: 480px) {
    .header-container {
        padding: 0.75rem 1rem !important;
    }
    
    .logo {
        gap: 0.5rem !important;
    }
    
    .logo-icon {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
    }
    
    .logo-icon::before {
        width: 36px !important;
        height: 36px !important;
    }
    
    .logo-icon::after {
        width: 30px !important;
        height: 30px !important;
    }
    
    .logo-symbol {
        font-size: 1.4rem !important;
    }
    
    .logo-title {
        font-size: 1.1rem !important;
    }
    
    .logo-subtitle {
        font-size: 0.55rem !important;
        letter-spacing: 1.5px !important;
    }
    
    .mobile-menu-toggle {
        width: 40px !important;
        height: 40px !important;
    }
    
    .mobile-menu-toggle span {
        width: 24px !important;
        height: 2.5px !important;
    }
    
    nav {
        padding-top: 70px !important;
    }
    
    nav a {
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    nav a.genspark-cta {
        margin: 1rem 1.5rem !important;
        width: calc(100% - 3rem) !important;
    }
}

/* TABLET: 481px - 768px */
@media (min-width: 481px) and (max-width: 768px) {
    .logo-icon {
        width: 42px !important;
        height: 42px !important;
    }
    
    .logo-title {
        font-size: 1.4rem !important;
    }
    
    .logo-subtitle {
        font-size: 0.65rem !important;
    }
}

/* DESKTOP: 769px+ */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .header-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    nav {
        position: static !important;
        display: block !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        height: auto !important;
        background: transparent !important;
        padding: 0 !important;
        width: auto !important;
    }
    
    nav ul {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.5rem !important;
        align-items: center !important;
    }
    
    nav a {
        width: auto !important;
        padding: 0.75rem 1.5rem !important;
        border-radius: 10px !important;
    }
    
    nav a.genspark-cta {
        margin: 0 !important;
        width: auto !important;
    }
}

/* WIDE DESKTOP: 1025px+ */
@media (min-width: 1025px) {
    .header-container {
        max-width: 1400px !important;
        margin: 0 auto !important;
        padding: 1rem 2rem !important;
    }
}

/*
====================================
BLOG TEMPLATES STYLING
SEO Tools Pro v2.0 - Blog Extension
====================================
Add this to the end of your style.css file
*/

/* ================================
   BLOG ARCHIVE / LANDING PAGE
   ================================ */

/* Blog Hero Section */
.blog-hero {
    position: relative;
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.05) 0%, rgba(191, 0, 255, 0.05) 100%);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 4rem;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    border-radius: 30px;
    color: var(--neon-cyan);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.blog-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.blog-hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

/* Category Filter */
.blog-category-filter {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border-color: transparent;
    color: var(--primary-bg);
}

/* Floating Background Elements */
.hero-bg-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    z-index: 1;
}

.hero-bg-element.element-1 {
    width: 300px;
    height: 300px;
    background: var(--neon-cyan);
    top: -100px;
    left: -100px;
    animation: float 15s infinite ease-in-out;
}

.hero-bg-element.element-2 {
    width: 200px;
    height: 200px;
    background: var(--neon-purple);
    bottom: -50px;
    right: 10%;
    animation: float 12s infinite ease-in-out reverse;
}

.hero-bg-element.element-3 {
    width: 150px;
    height: 150px;
    background: var(--neon-pink);
    top: 50%;
    right: -50px;
    animation: float 10s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, 30px) rotate(180deg); }
}

/* Blog Posts Grid */
.blog-posts-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Featured Post (First Post) */
.blog-card.featured-post {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    min-height: 400px;
}

.blog-card.featured-post .blog-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-card.featured-post .blog-card-title {
    font-size: 2rem;
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--neon-orange), var(--neon-pink));
    color: var(--primary-bg);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 20px;
    z-index: 2;
}

/* Blog Card */
.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.2);
    border-color: var(--neon-cyan);
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.featured-post .blog-card-image {
    height: 100%;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-category {
    margin-bottom: 1rem;
}

.post-category a {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(191, 0, 255, 0.2);
    color: var(--neon-purple);
    border: 1px solid var(--neon-purple);
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.post-category a:hover {
    background: var(--neon-purple);
    color: var(--primary-bg);
}

.blog-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--neon-cyan);
}

.blog-card-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.meta-left {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.meta-date,
.meta-reading-time {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.read-more-btn {
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: var(--neon-purple);
    transform: translateX(5px);
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.blog-pagination ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-pagination a,
.blog-pagination span {
    display: block;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-pagination a:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    transform: translateY(-2px);
}

.blog-pagination .current {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border-color: transparent;
    color: var(--primary-bg);
}

/* No Posts Found */
.no-posts {
    text-align: center;
    padding: 6rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.no-posts-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
}

.no-posts h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.no-posts p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.back-home-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: var(--primary-bg);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.back-home-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.4);
}

/* Blog CTA Section */
.blog-cta-section {
    margin: 6rem 0 4rem;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(191, 0, 255, 0.1) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.blog-cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: var(--primary-bg);
}

.cta-button.secondary {
    background: transparent;
    color: var(--neon-green);
    border: 2px solid var(--neon-green);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.3);
}

/* ================================
   SINGLE BLOG POST
   ================================ */

.single-blog-post {
    max-width: 900px;
    margin: 0 auto;
}

/* Blog Post Header */
.blog-post-header {
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
}

.post-categories {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.category-tag {
    padding: 0.5rem 1.25rem;
    background: rgba(191, 0, 255, 0.2);
    color: var(--neon-purple);
    border: 1px solid var(--neon-purple);
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.category-tag:hover {
    background: var(--neon-purple);
    color: var(--primary-bg);
    transform: translateY(-2px);
}

.post-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-meta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.meta-icon {
    font-size: 1.1rem;
}

/* Featured Image */
.post-featured-image {
    margin-bottom: 3rem;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Blog Post Content */
.blog-post-content {
    padding: 0 2rem;
    margin-bottom: 4rem;
}

.blog-post-content p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.blog-post-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--neon-cyan);
    margin: 3rem 0 1.5rem;
    line-height: 1.3;
}

.blog-post-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--neon-purple);
    margin: 2.5rem 0 1rem;
    line-height: 1.4;
}

.blog-post-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

.blog-post-content li {
    margin-bottom: 0.75rem;
}

.blog-post-content a {
    color: var(--neon-cyan);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.blog-post-content a:hover {
    color: var(--neon-purple);
}

.blog-post-content blockquote {
    border-left: 4px solid var(--neon-cyan);
    padding: 1.5rem;
    margin: 2rem 0;
    background: rgba(0, 240, 255, 0.05);
    border-radius: 10px;
    font-style: italic;
    color: var(--text-primary);
}

.blog-post-content code {
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-cyan);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9em;
}

.blog-post-content pre {
    background: #0d1117;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    overflow-x: auto;
}

.blog-post-content pre code {
    background: transparent;
    padding: 0;
    color: #c9d1d9;
    display: block;
    line-height: 1.6;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

/* Post Pagination */
.post-pagination {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.post-pagination a {
    padding: 0.75rem 1.5rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    border-radius: 10px;
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.post-pagination a:hover {
    background: var(--neon-cyan);
    color: var(--primary-bg);
}

/* Post Tags */
.post-tags {
    padding: 2rem;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.tags-label {
    font-weight: 700;
    color: var(--text-primary);
}

.post-tags a {
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 136, 0.1);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: var(--neon-green);
    color: var(--primary-bg);
}

/* Author Bio */
.author-bio {
    display: flex;
    gap: 2rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.05) 0%, rgba(191, 0, 255, 0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    margin-bottom: 4rem;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--neon-cyan);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
    background: var(--neon-cyan);
    color: var(--primary-bg);
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.author-link {
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.author-link:hover {
    color: var(--neon-purple);
    transform: translateX(5px);
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.nav-previous,
.nav-next {
    min-height: 120px;
}

.nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
}

.nav-link:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.2);
}

.nav-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.4;
}

.nav-link:hover .nav-title {
    color: var(--neon-cyan);
}

/* Related Posts */
.related-posts {
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.related-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.related-post-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.2);
}

.related-post-image {
    height: 180px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.1);
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.related-post-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: var(--neon-cyan);
}

.related-post-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Comments Section */
.comments-section {
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 1024px) {
    .blog-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .blog-card.featured-post {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 4rem 1.5rem;
    }
    
    .blog-hero-title {
        font-size: 2.5rem;
    }
    
    .blog-hero-subtitle {
        font-size: 1rem;
    }
    
    .blog-category-filter {
        gap: 0.75rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-card-image {
        height: 200px;
    }
    
    .blog-card-content {
        padding: 1.5rem;
    }
    
    .blog-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .blog-post-content {
        padding: 0 1rem;
    }
    
    .blog-post-content h2 {
        font-size: 1.6rem;
    }
    
    .blog-post-content h3 {
        font-size: 1.3rem;
    }
    
    .author-bio {
        flex-direction: column;
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .author-avatar {
        margin: 0 auto;
    }
    
    .author-name {
        justify-content: center;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .blog-hero-title {
        font-size: 2rem;
    }
    
    .post-title {
        font-size: 1.6rem;
    }
    
    .blog-card-title {
        font-size: 1.2rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
}

/* ============================================================
   AI MINION BOT - PERFECT VERSION
   - Chat CLOSED by default (only orb visible)
   - Better UI styling
   - Click to expand/collapse
   - Professional appearance
   ============================================================ */

/* ============================================================
   CORE BOT BUTTON (ALWAYS VISIBLE)
   ============================================================ */

.ai-minion-bot {
    /* CRITICAL VISIBILITY */
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    
    /* POSITION - Fixed bottom-right */
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    
    /* SIZE - Perfect circle */
    width: 100px !important;
    height: 100px !important;
    
    /* LAYERING - Maximum z-index */
    z-index: 2147483647 !important;
    
    /* SHAPE */
    border-radius: 50% !important;
    
    /* GLASS BACKGROUND - Premium gradient */
    background: 
        radial-gradient(
            circle at 30% 30%,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(0, 200, 255, 0.75) 20%,
            rgba(0, 140, 255, 0.85) 50%,
            rgba(0, 70, 180, 0.95) 100%
        ) !important;
    
    /* GLASS EFFECT */
    backdrop-filter: blur(15px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(180%) !important;
    
    /* BORDER - Bright cyan */
    border: 2px solid rgba(0, 220, 255, 0.6) !important;
    
    /* MASSIVE GLOW */
    box-shadow: 
        inset 0 5px 15px rgba(255, 255, 255, 0.5),
        inset -3px -3px 10px rgba(0, 200, 255, 0.4),
        0 0 35px rgba(0, 220, 255, 0.8),
        0 0 70px rgba(0, 220, 255, 0.6),
        0 0 105px rgba(0, 180, 255, 0.4),
        0 0 140px rgba(0, 140, 255, 0.3),
        0 10px 35px rgba(0, 0, 0, 0.4) !important;
    
    /* INTERACTION */
    cursor: pointer !important;
    
    /* LAYOUT */
    align-items: center !important;
    justify-content: center !important;
    
    /* TRANSITION */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    
    /* ANIMATION */
    animation: orbPulse 3s ease-in-out infinite !important;
    
    /* FORCE VISIBILITY */
    transform: scale(1) translateZ(0) !important;
}

/* ORB PULSE ANIMATION */
@keyframes orbPulse {
    0%, 100% {
        transform: scale(1) translateZ(0) !important;
        box-shadow: 
            inset 0 5px 15px rgba(255, 255, 255, 0.5),
            inset -3px -3px 10px rgba(0, 200, 255, 0.4),
            0 0 35px rgba(0, 220, 255, 0.8),
            0 0 70px rgba(0, 220, 255, 0.6),
            0 0 105px rgba(0, 180, 255, 0.4),
            0 0 140px rgba(0, 140, 255, 0.3),
            0 10px 35px rgba(0, 0, 0, 0.4) !important;
    }
    50% {
        transform: scale(1.08) translateZ(0) !important;
        box-shadow: 
            inset 0 7px 18px rgba(255, 255, 255, 0.6),
            inset -4px -4px 12px rgba(0, 220, 255, 0.5),
            0 0 45px rgba(0, 220, 255, 1),
            0 0 90px rgba(0, 220, 255, 0.8),
            0 0 135px rgba(0, 180, 255, 0.6),
            0 0 180px rgba(0, 140, 255, 0.4),
            0 14px 45px rgba(0, 0, 0, 0.5) !important;
    }
}

/* HOVER STATE */
.ai-minion-bot:hover {
    transform: scale(1.12) translateZ(0) !important;
    box-shadow: 
        inset 0 8px 20px rgba(255, 255, 255, 0.7),
        inset -5px -5px 15px rgba(0, 220, 255, 0.6),
        0 0 55px rgba(0, 220, 255, 1),
        0 0 110px rgba(0, 220, 255, 1),
        0 0 165px rgba(0, 180, 255, 0.8),
        0 0 220px rgba(0, 140, 255, 0.6),
        0 18px 55px rgba(0, 0, 0, 0.6) !important;
}

/* ACTIVE STATE */
.ai-minion-bot:active {
    transform: scale(1.02) translateZ(0) !important;
}

/* ============================================================
   LIGHTNING ICON (IN ORB)
   ============================================================ */

.ai-minion-bot::after {
    content: '⚡' !important;
    
    /* VISIBILITY */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    
    /* POSITION */
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    
    /* SIZE */
    font-size: 50px !important;
    line-height: 1 !important;
    
    /* COLOR - Bright orange/gold */
    color: rgb(255, 170, 0) !important;
    
    /* GLOW */
    text-shadow: 
        0 0 12px rgba(255, 220, 80, 1),
        0 0 24px rgba(255, 170, 0, 1),
        0 0 36px rgba(255, 130, 0, 0.8),
        0 0 48px rgba(255, 90, 0, 0.6),
        0 0 60px rgba(0, 220, 255, 0.4) !important;
    
    /* LAYERING */
    z-index: 10 !important;
    
    /* ANIMATION */
    animation: iconGlow 2s ease-in-out infinite !important;
    
    /* FORCE VISIBILITY */
    pointer-events: none !important;
}

/* ICON GLOW ANIMATION */
@keyframes iconGlow {
    0%, 100% {
        filter: brightness(1.1) !important;
        text-shadow: 
            0 0 12px rgba(255, 220, 80, 1),
            0 0 24px rgba(255, 170, 0, 1),
            0 0 36px rgba(255, 130, 0, 0.8),
            0 0 48px rgba(255, 90, 0, 0.6),
            0 0 60px rgba(0, 220, 255, 0.4) !important;
    }
    50% {
        filter: brightness(1.4) !important;
        text-shadow: 
            0 0 16px rgba(255, 220, 80, 1),
            0 0 32px rgba(255, 170, 0, 1),
            0 0 48px rgba(255, 130, 0, 1),
            0 0 64px rgba(255, 90, 0, 0.8),
            0 0 80px rgba(0, 220, 255, 0.6) !important;
    }
}

/* ============================================================
   ENERGY RING (AROUND ORB)
   ============================================================ */

.ai-minion-bot::before {
    content: '' !important;
    
    /* VISIBILITY */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    
    /* POSITION */
    position: absolute !important;
    top: -8px !important;
    left: -8px !important;
    right: -8px !important;
    bottom: -8px !important;
    
    /* BORDER */
    border: 2px solid rgba(0, 220, 255, 0.7) !important;
    border-radius: 50% !important;
    
    /* GLOW */
    box-shadow: 
        0 0 25px rgba(0, 220, 255, 0.9),
        0 0 50px rgba(0, 180, 255, 0.7),
        inset 0 0 25px rgba(0, 220, 255, 0.5) !important;
    
    /* LAYERING */
    z-index: 5 !important;
    
    /* ANIMATION */
    animation: ringRotate 3s linear infinite !important;
    
    /* FORCE VISIBILITY */
    pointer-events: none !important;
}

/* RING ROTATION */
@keyframes ringRotate {
    0% {
        transform: rotate(0deg) scale(1) !important;
        opacity: 0.7 !important;
    }
    50% {
        transform: rotate(180deg) scale(1.05) !important;
        opacity: 1 !important;
    }
    100% {
        transform: rotate(360deg) scale(1) !important;
        opacity: 0.7 !important;
    }
}

/* ============================================================
   CHAT CONTAINER - HIDDEN BY DEFAULT
   ============================================================ */

.minion-chat-container {
    /* HIDDEN BY DEFAULT */
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    
    /* POSITION */
    position: fixed !important;
    bottom: 150px !important;
    right: 30px !important;
    
    /* SIZE */
    width: 420px !important;
    max-width: calc(100vw - 60px) !important;
    height: 600px !important;
    max-height: calc(100vh - 200px) !important;
    
    /* LAYERING */
    z-index: 2147483646 !important;
    
    /* LAYOUT */
    flex-direction: column !important;
    
    /* BACKGROUND - Premium dark glass */
    background: linear-gradient(
        135deg,
        rgba(0, 25, 50, 0.96) 0%,
        rgba(0, 45, 100, 0.94) 100%
    ) !important;
    
    /* GLASS EFFECT */
    backdrop-filter: blur(30px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
    
    /* BORDER */
    border: 2px solid rgba(0, 220, 255, 0.4) !important;
    border-radius: 20px !important;
    
    /* SHADOW */
    box-shadow: 
        0 20px 70px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(0, 220, 255, 0.3),
        inset 0 2px 10px rgba(255, 255, 255, 0.1) !important;
    
    /* OVERFLOW */
    overflow: hidden !important;
    
    /* TRANSITION */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    
    /* TRANSFORM */
    transform: scale(0.9) translateY(20px) translateZ(0) !important;
    transform-origin: bottom right !important;
    
    /* POINTER EVENTS - Disabled when hidden */
    pointer-events: none !important;
}

/* CHAT VISIBLE STATE - WHEN OPENED */
.minion-chat-container.show,
.minion-chat-container.active,
.minion-chat-container.open {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: scale(1) translateY(0) translateZ(0) !important;
    pointer-events: auto !important;
    animation: chatExpand 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}

/* CHAT EXPAND ANIMATION */
@keyframes chatExpand {
    0% {
        opacity: 0 !important;
        transform: scale(0.9) translateY(20px) translateZ(0) !important;
    }
    100% {
        opacity: 1 !important;
        transform: scale(1) translateY(0) translateZ(0) !important;
    }
}

/* ============================================================
   CHAT HEADER
   ============================================================ */

.minion-chat-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 20px !important;
    flex-shrink: 0 !important;
    
    /* BACKGROUND */
    background: linear-gradient(
        135deg,
        rgba(0, 180, 255, 0.25) 0%,
        rgba(0, 120, 255, 0.15) 100%
    ) !important;
    
    /* GLASS EFFECT */
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    
    /* BORDER */
    border-bottom: 1px solid rgba(0, 220, 255, 0.3) !important;
    
    /* SHADOW */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

/* HEADER ICON */
.minion-chat-header::before {
    content: '⚡' !important;
    font-size: 28px !important;
    margin-right: 12px !important;
    color: rgb(255, 170, 0) !important;
    text-shadow: 
        0 0 10px rgba(255, 200, 50, 0.8),
        0 0 20px rgba(255, 150, 0, 0.6) !important;
    animation: headerPulse 2s ease-in-out infinite !important;
}

@keyframes headerPulse {
    0%, 100% {
        transform: scale(1) !important;
        filter: brightness(1.1) !important;
    }
    50% {
        transform: scale(1.1) !important;
        filter: brightness(1.3) !important;
    }
}

/* HEADER TITLE */
.minion-chat-title {
    flex: 1 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: rgb(0, 220, 255) !important;
    text-shadow: 0 0 10px rgba(0, 220, 255, 0.5) !important;
}

/* HEADER CONTROLS */
.minion-voice-toggle,
.minion-close-btn {
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    border: 1px solid rgba(0, 220, 255, 0.4) !important;
    background: rgba(0, 180, 255, 0.12) !important;
    color: rgb(0, 220, 255) !important;
    cursor: pointer !important;
    margin-left: 8px !important;
    transition: all 0.2s ease !important;
}

.minion-voice-toggle:hover,
.minion-close-btn:hover {
    background: rgba(0, 220, 255, 0.25) !important;
    border-color: rgba(0, 220, 255, 0.6) !important;
    transform: scale(1.05) !important;
}

/* ============================================================
   CHAT MESSAGES AREA
   ============================================================ */

.minion-chat-messages {
    flex: 1 !important;
    padding: 20px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: linear-gradient(
        180deg,
        rgba(0, 25, 50, 0.3) 0%,
        rgba(0, 45, 100, 0.2) 100%
    ) !important;
}

/* SCROLLBAR */
.minion-chat-messages::-webkit-scrollbar {
    width: 6px !important;
}

.minion-chat-messages::-webkit-scrollbar-track {
    background: rgba(0, 220, 255, 0.08) !important;
    border-radius: 3px !important;
}

.minion-chat-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        rgba(0, 220, 255, 0.6) 0%,
        rgba(0, 140, 255, 0.6) 100%
    ) !important;
    border-radius: 3px !important;
}

/* ============================================================
   MESSAGE BUBBLES
   ============================================================ */

.minion-message {
    display: flex !important;
    margin-bottom: 16px !important;
    animation: messageSlide 0.3s ease-out !important;
}

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

/* USER MESSAGE */
.minion-message.user {
    justify-content: flex-end !important;
}

.minion-message.user .message-content {
    background: linear-gradient(
        135deg,
        rgba(0, 180, 255, 0.35) 0%,
        rgba(0, 120, 255, 0.25) 100%
    ) !important;
    border: 1px solid rgba(0, 220, 255, 0.4) !important;
    margin-left: 40px !important;
}

/* BOT MESSAGE */
.minion-message.bot {
    justify-content: flex-start !important;
}

.minion-message.bot .message-content {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(0, 180, 255, 0.12) 100%
    ) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    margin-right: 40px !important;
}

/* MESSAGE CONTENT */
.message-content {
    padding: 12px 16px !important;
    border-radius: 12px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: rgb(255, 255, 255) !important;
    max-width: 75% !important;
    word-wrap: break-word !important;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 4px rgba(255, 255, 255, 0.1) !important;
}

/* ============================================================
   INPUT AREA
   ============================================================ */

.minion-chat-input-area {
    display: flex !important;
    gap: 12px !important;
    padding: 20px !important;
    border-top: 1px solid rgba(0, 220, 255, 0.25) !important;
    background: linear-gradient(
        135deg,
        rgba(0, 25, 50, 0.5) 0%,
        rgba(0, 45, 100, 0.4) 100%
    ) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    flex-shrink: 0 !important;
}

.minion-chat-input {
    flex: 1 !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 220, 255, 0.4) !important;
    background: rgba(0, 180, 255, 0.08) !important;
    color: rgb(255, 255, 255) !important;
    font-size: 14px !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}

.minion-chat-input::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}

.minion-chat-input:focus {
    border-color: rgba(0, 220, 255, 0.7) !important;
    background: rgba(0, 220, 255, 0.12) !important;
    box-shadow: 
        0 0 20px rgba(0, 220, 255, 0.25),
        inset 0 2px 8px rgba(0, 220, 255, 0.1) !important;
}

.minion-send-btn {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    border: none !important;
    background: linear-gradient(
        135deg,
        rgb(0, 220, 255) 0%,
        rgb(0, 140, 255) 100%
    ) !important;
    color: rgb(255, 255, 255) !important;
    font-size: 18px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(0, 220, 255, 0.35) !important;
}

.minion-send-btn:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(0, 220, 255, 0.5) !important;
}

.minion-send-btn:active {
    transform: scale(0.95) !important;
}

/* ============================================================
   QUICK ACTIONS
   ============================================================ */

.minion-quick-actions {
    display: flex !important;
    gap: 8px !important;
    padding: 12px 20px !important;
    overflow-x: auto !important;
    border-top: 1px solid rgba(0, 220, 255, 0.2) !important;
    background: rgba(0, 25, 50, 0.3) !important;
}

.quick-action-btn {
    padding: 8px 16px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(0, 220, 255, 0.35) !important;
    background: rgba(0, 180, 255, 0.12) !important;
    color: rgb(0, 220, 255) !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.quick-action-btn:hover {
    background: rgba(0, 220, 255, 0.22) !important;
    border-color: rgba(0, 220, 255, 0.6) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 220, 255, 0.3) !important;
}

/* ============================================================
   TYPING INDICATOR
   ============================================================ */

.minion-typing {
    display: none !important;
    justify-content: flex-start !important;
    margin-bottom: 16px !important;
}

.minion-typing.show {
    display: flex !important;
}

.minion-typing .message-content {
    padding: 12px 20px !important;
    display: flex !important;
    gap: 6px !important;
}

.minion-typing .message-content span {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: rgb(0, 220, 255) !important;
    animation: typingDot 1.4s ease-in-out infinite !important;
}

.minion-typing .message-content span:nth-child(1) {
    animation-delay: 0s !important;
}

.minion-typing .message-content span:nth-child(2) {
    animation-delay: 0.2s !important;
}

.minion-typing .message-content span:nth-child(3) {
    animation-delay: 0.4s !important;
}

@keyframes typingDot {
    0%, 60%, 100% {
        transform: scale(1) !important;
        opacity: 0.5 !important;
    }
    30% {
        transform: scale(1.4) !important;
        opacity: 1 !important;
    }
}

/* ============================================================
   WELCOME BUBBLE - HIDDEN BY DEFAULT
   ============================================================ */

.minion-welcome-bubble {
    display: none !important;
    position: fixed !important;
    bottom: 150px !important;
    right: 30px !important;
    max-width: 280px !important;
    padding: 16px 20px !important;
    z-index: 2147483645 !important;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.28) 0%,
        rgba(0, 180, 255, 0.18) 100%
    ) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(0, 220, 255, 0.35) !important;
    border-radius: 16px !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 2px 8px rgba(255, 255, 255, 0.2) !important;
    color: rgb(255, 255, 255) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-align: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) scale(0.95) !important;
    transition: all 0.3s ease !important;
}

.minion-welcome-bubble.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

/* ============================================================
   RESPONSIVE DESIGN (MOBILE)
   ============================================================ */

@media (max-width: 768px) {
    .ai-minion-bot {
        width: 85px !important;
        height: 85px !important;
        bottom: 20px !important;
        right: 20px !important;
    }
    
    .ai-minion-bot::after {
        font-size: 42px !important;
    }
    
    .minion-chat-container {
        width: calc(100vw - 40px) !important;
        height: calc(100vh - 140px) !important;
        bottom: 120px !important;
        right: 20px !important;
        border-radius: 16px !important;
    }
    
    .minion-chat-header {
        padding: 16px !important;
    }
    
    .minion-chat-title {
        font-size: 16px !important;
    }
    
    .minion-voice-toggle,
    .minion-close-btn {
        width: 32px !important;
        height: 32px !important;
    }
    
    .message-content {
        font-size: 13px !important;
        max-width: 85% !important;
    }
    
    .minion-chat-input-area {
        padding: 16px !important;
    }
    
    .minion-send-btn {
        width: 40px !important;
        height: 40px !important;
    }
}

/* ============================================================
   PERFORMANCE OPTIMIZATIONS
   ============================================================ */

.ai-minion-bot,
.minion-chat-container,
.minion-welcome-bubble {
    will-change: transform, opacity !important;
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
}

/* ============================================================
   END OF CSS
   Version: PERFECT v1.0
   - Chat closed by default
   - Click to expand
   - Professional styling
   Last Updated: 2025-12-26
   ============================================================ */
