/* QuickBlog - Premium Design System */
:root {
    /* Light Theme - Blue/Green/Pink Gradient */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #93c5fd;
    --secondary: #10b981;
    --accent: #ec4899;
    --danger: #ef4444;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-glass: rgba(255, 255, 255, 0.85);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --text-inverse: #ffffff;
    
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --border-dark: #cbd5e1;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #10b981 50%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-glass: rgba(15, 23, 42, 0.85);
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    
    --border: #334155;
    --border-light: #475569;
    --border-dark: #1e293b;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: var(--transition);
    overflow-x: hidden;
    padding-top: 5rem; /* Add padding to prevent navbar overlap */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.brand-icon {
    font-size: 1.75rem;
}

.nav-center {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--bg-tertiary);
}

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

.theme-toggle {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.25rem;
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    transform: scale(1.05);
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
}

.mobile-menu .nav-center {
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mobile-menu .nav-actions {
    justify-content: center;
    gap: 0.5rem;
}

/* Mobile Responsive Navigation */
@media (max-width: 768px) {
    .nav-center {
        display: none;
    }
    
    .nav-actions .btn-primary {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .nav-brand {
        font-size: 1.25rem;
    }
    
    .brand-icon {
        font-size: 1.5rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-inverse);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.btn-cta {
    background: var(--gradient-primary);
    color: var(--text-inverse);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Mobile Button Styles */
@media (max-width: 768px) {
    .btn-primary {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }
    
    .btn-secondary {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }
    
    .btn-cta {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .btn-secondary {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .btn-cta {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }
}
    gap: 0.5rem;
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--text-inverse);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.pulse {
    animation: pulse 2s infinite;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    padding: 2rem 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(1deg); }
    66% { transform: translateY(-20px) rotate(-1deg); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-bottom: 3rem;
}

.btn-cta {
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 50%, #ec4899 100%);
    color: white;
    text-decoration: none !important;
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 3rem;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

.cta-note {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-proof {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    color: white;
}

.proof-item {
    text-align: center;
    font-size: 0.875rem;
}

.proof-item strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

/* Mobile Hero Styles */
@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        padding: 1rem 0;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .hero-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 6vw, 3rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9375rem, 2.5vw, 1.125rem);
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .btn-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-proof {
        gap: 2rem;
        flex-direction: column;
        align-items: center;
    }
    
    .cta-note {
        gap: 1rem;
        font-size: 0.8125rem;
        text-align: center;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 85vh;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-badge {
        padding: 0.375rem 0.875rem;
        font-size: 0.75rem;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: clamp(0.875rem, 2vw, 1rem);
        line-height: 1.6;
    }
    
    .btn-cta {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .hero-proof {
        gap: 1.5rem;
    }
    
    .proof-item strong {
        font-size: 1.25rem;
    }
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 3rem 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-stat {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 4rem;
}

.faq-item {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-secondary);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Final CTA Section */
.cta-final {
    padding: 6rem 0;
    background: var(--gradient-hero);
    text-align: center;
}

.cta-final-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-final-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Blogs Section */
.blogs-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.blogs-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-secondary);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

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

.blog-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    cursor: pointer;
}

.blog-card:hover::before {
    transform: scaleX(1);
}

.blog-skeleton {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    height: 300px;
    position: relative;
    overflow: hidden;
}

.blog-skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Create Section */
.create-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.create-content h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.editor-container {
    max-width: 800px;
    margin: 0 auto;
}

.blog-form {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    min-height: 200px;
    resize: vertical;
    font-family: 'JetBrains Mono', monospace;
}

.form-group small {
    display: block;
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.word-count {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.word-limit {
    color: var(--text-tertiary);
}

#wordCount.warning {
    color: #f59e0b;
    font-weight: 600;
}

#wordCount.error {
    color: #ef4444;
    font-weight: 600;
}

.word-counter {
    text-align: right;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.tag-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.tag-chip {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--border);
}

.tag-chip:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
}

.tag-counter {
    color: var(--text-tertiary);
}

.tag-selection {
    margin-top: 0.5rem;
}

.tag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.tag-option {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.5rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--border);
    text-align: center;
    user-select: none;
}

.tag-option:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
}

.tag-option.selected {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--bg-primary);
    margin: 5% auto;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 450px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    position: relative;
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-secondary);
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    color: var(--text-tertiary);
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    background: var(--bg-primary);
    padding: 0 1rem;
}

.auth-switch {
    text-align: center;
    color: var(--text-secondary);
}

.auth-switch span {
    color: var(--primary);
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
}

/* Notification */
.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    color: white;
    font-weight: 500;
    z-index: 3000;
    transform: translateX(100%);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: var(--accent);
}

.notification.error {
    background: var(--danger);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-center {
        display: none;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .hero-proof {
        gap: 2rem;
        flex-direction: column;
    }
    
    .proof-item strong {
        font-size: 1.25rem;
    }
    
    .cta-note {
        gap: 1rem;
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-answer p {
        padding: 0 1.5rem 1rem;
    }
    
    .blogs-grid {
        grid-template-columns: 1fr;
    }
    
    .blogs-filter {
        gap: 0.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .btn-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero-proof {
        gap: 1rem;
    }
    
    .notification {
        right: 1rem;
        left: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --border: #000000;
        --text-secondary: #000000;
    }
    
    [data-theme="dark"] {
        --border: #ffffff;
        --text-secondary: #ffffff;
    }
}

/* CLI Demo Section */
.cli-demo-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.cli-demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(16, 185, 129, 0.05) 50%, rgba(236, 72, 153, 0.05) 100%);
    pointer-events: none;
}

.cli-demo {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.terminal-window {
    background: #1e1e1e;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid #333;
}

.terminal-header {
    background: #2d2d2d;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #333;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close { background: #ff5f57; }
.btn-minimize { background: #ffbd2e; }
.btn-maximize { background: #28ca42; }

.terminal-title {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
}

.terminal-body {
    padding: 1.5rem;
    background: #1e1e1e;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

.terminal-line {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.prompt {
    color: #10b981;
    margin-right: 0.5rem;
    font-weight: bold;
}

.command {
    color: #3b82f6;
    font-weight: 500;
}

.terminal-output {
    margin: 1rem 0 2rem 0;
    padding-left: 1rem;
}

.ascii-art {
    color: #ec4899;
    font-size: 0.75rem;
    margin-bottom: 1rem;
    font-family: 'JetBrains Mono', monospace;
}

.welcome-box {
    color: #06b6d4;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    padding: 0.5rem 0;
}

.blog-table {
    color: #fff;
    font-size: 0.75rem;
    line-height: 1.4;
    white-space: pre;
    margin-bottom: 1.5rem;
}

.create-form {
    color: #fff;
    font-size: 0.875rem;
    line-height: 1.6;
}

.cursor {
    background: #3b82f6;
    color: #1e1e1e;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Enhanced CTA Section */
.cta-final {
    padding: 6rem 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.cta-final-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-final h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-inverse);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-final p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-inverse);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.cta-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    /* Container and Layout */
    .container {
        padding: 0 1rem;
    }
    
    body {
        padding-top: 4rem;
    }
    
    /* Features Section */
    .features-section {
        padding: 4rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-card p {
        font-size: 0.9375rem;
        margin-bottom: 1rem;
    }
    
    /* Section Headers */
    .section-header {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .section-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Terminal and Code Blocks */
    .terminal-body {
        padding: 1rem;
        font-size: 0.75rem;
        overflow-x: auto;
    }
    
    .ascii-art {
        font-size: 0.6rem;
        line-height: 1.2;
    }
    
    .blog-table {
        font-size: 0.6rem;
        overflow-x: auto;
    }
    
    /* CTA Sections */
    .cta-final {
        padding: 4rem 0;
    }
    
    .cta-final h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
        margin-bottom: 1rem;
    }
    
    .cta-final p {
        font-size: 1rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    /* Cards and Components */
    .card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .card h3 {
        font-size: 1.125rem;
    }
    
    .card p {
        font-size: 0.9375rem;
    }
    
    /* Forms */
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-control {
        padding: 0.75rem;
        font-size: 1rem;
    }
    
    /* Stats and Metrics */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        text-align: center;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .container {
        padding: 0 0.75rem;
    }
    
    body {
        padding-top: 3.5rem;
    }
    
    /* Features */
    .features-section {
        padding: 3rem 0;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature-card h3 {
        font-size: 1.125rem;
    }
    
    .feature-card p {
        font-size: 0.875rem;
    }
    
    /* Section Headers */
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
    
    .section-header p {
        font-size: 0.9375rem;
    }
    
    /* Terminal */
    .terminal-body {
        padding: 0.75rem;
        font-size: 0.6875rem;
    }
    
    .ascii-art {
        font-size: 0.5rem;
    }
    
    .blog-table {
        font-size: 0.5rem;
    }
    
    /* CTA */
    .cta-final {
        padding: 3rem 0;
    }
    
    .cta-final h2 {
        font-size: clamp(1.25rem, 3.5vw, 1.75rem);
    }
    
    .cta-final p {
        font-size: 0.9375rem;
    }
    
    /* Cards */
    .card {
        padding: 1rem;
    }
    
    .card h3 {
        font-size: 1rem;
    }
    
    .card p {
        font-size: 0.875rem;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stat-item {
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Forms */
    .form-control {
        padding: 0.625rem;
        font-size: 0.9375rem;
    }
    
    /* Spacing adjustments */
    .mb-4 { margin-bottom: 1rem; }
    .mb-6 { margin-bottom: 1.5rem; }
    .mb-8 { margin-bottom: 2rem; }
    
    .mt-4 { margin-top: 1rem; }
    .mt-6 { margin-top: 1.5rem; }
    .mt-8 { margin-top: 2rem; }
    
    .py-4 { padding-top: 1rem; padding-bottom: 1rem; }
    .py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
    .py-8 { padding-top: 2rem; padding-bottom: 2rem; }
    
    /* Blog Filters Mobile */
    .blogs-filter {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
        min-width: auto;
    }
    
    /* Blog Grid Mobile */
    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .blog-card {
        padding: 1.5rem;
    }
    
    .blog-card h3 {
        font-size: 1.125rem;
        line-height: 1.3;
    }
    
    .blog-card p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .blog-meta {
        font-size: 0.75rem;
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-start;
    }
    
    .blog-tags {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .tag {
        font-size: 0.6875rem;
        padding: 0.125rem 0.375rem;
    }
    
    /* Create Form Mobile */
    .blog-form {
        padding: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 1rem;
    }
    
    .tag-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .tag-option {
        padding: 0.5rem;
        font-size: 0.8125rem;
        text-align: center;
    }
    
    .create-header h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
    
    .create-header p {
        font-size: 0.9375rem;
    }
}
