/* ===== CSS Variables ===== */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --accent-secondary: #06b6d4;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --bg-primary: #ffffff;
    --bg-secondary: #fafbfc;
    --bg-tertiary: #f4f6f8;
    --bg-dark: #0f172a;
    --bg-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --bg-gradient-dark: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --bg-artistic: 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.2) 0%, transparent 50%),
                   linear-gradient(135deg, #fafbfc 0%, #f0f4f8 100%);
    
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --border-dark: #334155;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgb(99 102 241 / 0.3);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    
    --font-primary: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-artistic);
    background-attachment: fixed;
    overflow-x: hidden;
    scroll-behavior: smooth;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: backgroundFloat 20s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) rotate(1deg);
        opacity: 0.8;
    }
}

.container {
    max-width: 1200px;
}

/* Smooth Transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
}

.gradient-text {
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* ===== Header Styles ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 1rem 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
}

.brand-logo i {
    font-size: 2rem;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-secondary) !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
    border-radius: var(--radius-md);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background: var(--bg-secondary);
}

/* Ensure PC styles are not affected */
@media (min-width: 769px) {
    .navbar-collapse {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    .navbar-nav {
        flex-direction: row !important;
        align-items: center !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .navbar-toggler {
        display: none !important;
    }
}

.btn-nav {
    background: var(--bg-gradient) !important;
    color: white !important;
    border-radius: var(--radius-lg) !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    box-shadow: var(--shadow-md);
}

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

/* ===== Hero Section ===== */
.hero-section {
    padding: 8rem 0 4rem;
    background: transparent;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 15px auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-gradient);
    color: white;
    border-radius: var(--radius-xl);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.hero-badge i {
    font-size: 1.25rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-family: var(--font-primary);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 500;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.feature-badge i {
    color: var(--primary-color);
    font-size: 1rem;
}

.feature-badge:hover i {
    color: white;
}

.btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--bg-gradient);
    color: white;
    border: none;
    box-shadow: var(--shadow-md);
}

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

.btn-outline-light {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-outline-light:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ===== Hero Visual ===== */
.hero-visual {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.ai-showcase {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.showcase-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.showcase-item.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.showcase-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
}

.showcase-prompt {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    font-weight: 500;
    border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
}

.showcase-controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.showcase-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.showcase-btn.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ===== Generator Section ===== */
.generator-section {
    padding: 2rem 0 6rem;
    background: transparent;
    min-height: 80vh;
}

.generator-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.generator-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3rem;
    font-family: var(--font-primary);
}

.generator-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.main-input-container {
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: end;
}

.prompt-input-wrapper {
    position: relative;
}

.prompt-input {
    width: 100%;
    min-height: 140px;
    padding: 2rem 4rem 2rem 2rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    font-size: 1.25rem;
    line-height: 1.6;
    background: var(--bg-secondary);
    color: var(--text-primary);
    resize: vertical;
    transition: all 0.3s ease;
    font-family: var(--font-secondary);
}

.prompt-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-primary);
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.1);
}

.prompt-input::placeholder {
    color: var(--text-muted);
    font-size: 1.25rem;
}

.input-actions {
    position: absolute;
    top: 0rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.btn-clear,
.btn-random {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-clear:hover,
.btn-random:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.generate-button {
    min-width: 180px;
    height: 140px;
    padding: 1.5rem 2rem;
    background: var(--bg-gradient);
    border: none;
    border-radius: var(--radius-xl);
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
}

.generate-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.generate-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.generate-button i {
    font-size: 1.5rem;
}

.generator-options {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.aspect-btn {
    flex: 1;
    padding: 0.75rem 0.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    min-height: 60px;
}

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

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

.aspect-icon {
    width: 18px;
    height: 14px;
    border: 1.5px solid currentColor;
    border-radius: 1px;
    flex-shrink: 0;
}

.aspect-icon.square {
    width: 16px;
    height: 16px;
}

.aspect-icon.landscape {
    width: 22px;
    height: 14px;
}

.aspect-icon.portrait {
    width: 14px;
    height: 18px;
}

.style-select {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.style-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.1);
}

.quality-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quality-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    position: relative;
}

.quality-toggle input[type="checkbox"]:checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.quality-toggle input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.toggle-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
}

.prompt-suggestions {
    text-align: left;
}

.suggestion-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.suggestion-tag {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.suggestion-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== Generation Result ===== */
.generation-result {
    margin-top: 3rem;
}

.loading-container {
    text-align: center;
    padding: 4rem 2rem;
}

.ai-loading {
    max-width: 400px;
    margin: 0 auto;
}

.loading-brain {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: brainPulse 2s ease-in-out infinite;
}

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

.loading-text h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.loading-text p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.loading-progress {
    width: 100%;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--bg-gradient);
    border-radius: var(--radius-sm);
    animation: progressAnimation 3s ease-in-out infinite;
}

@keyframes progressAnimation {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.result-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.result-image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--bg-primary);
}

.result-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-2xl);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 60%, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.result-image-wrapper:hover .image-overlay {
    opacity: 1;
}

.image-actions {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.image-actions .btn {
    flex: 1;
    padding: 0.75rem;
    font-size: 0.875rem;
}

.result-info {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.result-info h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.result-prompt {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.result-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.meta-item i {
    color: var(--primary-color);
    width: 16px;
}

/* ===== Gallery Section ===== */
.gallery-section {
    padding: 6rem 0;
    background: transparent;
}

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

.filter-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    background: var(--bg-primary);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.9));
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.gallery-actions .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* ===== Features Section ===== */
.features-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    position: relative;
}

.features-section::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="tech" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="2" fill="none" stroke="%236366f1" stroke-width="0.5" opacity="0.1"/><path d="M5 15h20M15 5v20" stroke="%236366f1" stroke-width="0.3" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23tech)"/></svg>');
    pointer-events: none;
}

.feature-card {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    z-index: 2;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--bg-gradient);
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

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

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

.feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.feature-list li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 6rem 0;
    background: var(--bg-gradient);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::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="stars" width="25" height="25" patternUnits="userSpaceOnUse"><polygon points="12.5,2 15,8 22,8 16.5,12 18.5,18 12.5,14 6.5,18 8.5,12 3,8 10,8" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.cta-buttons .btn-primary:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

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

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

/* ===== Footer Styles ===== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
}

.footer-brand .brand-logo {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.stat-item i {
    color: var(--primary-light);
}

.footer-links h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    color: var(--primary-light);
    padding-left: 0.5rem;
}

.footer-social h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.newsletter h6 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.875rem;
}

.newsletter-input::placeholder {
    color: var(--text-light);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    padding: 0.75rem;
    background: var(--primary-color);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
}

.footer-bottom p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.875rem;
    text-align: center;
}

/* Footer legal links styling */
.footer-bottom .legal-links {
    margin-top: 0.5rem;
}

.footer-bottom .legal-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-bottom .legal-links a:hover {
    color: var(--primary-light);
    text-decoration: none;
}

.footer-bottom .legal-links a:not(:last-child)::after {
    content: ' | ';
    color: var(--text-light);
    margin: 0 0.5rem;
    opacity: 0.6;
}

.footer-bottom .legal-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-light);
    transition: width 0.3s ease;
}

.footer-bottom .legal-links a:hover::before {
    width: 100%;
}

.footer-badges {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.badge-item i {
    color: var(--primary-light);
}

/* ===== About Page Styles ===== */
.about-hero {
    padding: 8rem 0 6rem;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.about-hero::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="neural" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="3" fill="none" stroke="%236366f1" stroke-width="0.5" opacity="0.2"/><line x1="10" y1="10" x2="40" y2="40" stroke="%236366f1" stroke-width="0.3" opacity="0.1"/><line x1="40" y1="10" x2="10" y2="40" stroke="%236366f1" stroke-width="0.3" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23neural)"/></svg>');
    pointer-events: none;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-content .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.about-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-primary);
}

.about-stats .stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.tech-showcase {
    position: relative;
    width: 300px;
    height: 300px;
}

.tech-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    z-index: 3;
}

.tech-circle i {
    font-size: 2.5rem;
    color: white;
}

.tech-orbits {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.orbit {
    position: absolute;
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.orbit-1 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 15s;
}

.orbit-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 25s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 35s;
}

.orbit-item {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--bg-primary);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.orbit-item i {
    font-size: 0.875rem;
    color: var(--primary-color);
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

.mission-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.mission-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.mission-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.mission-icon i {
    font-size: 1.5rem;
    color: white;
}

.mission-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

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

.tech-feature {
    display: flex;
    gap: 1.5rem;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

.tech-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.tech-feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--bg-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.tech-feature-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.tech-feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tech-feature-content ul {
    list-style: none;
    padding: 0;
}

.tech-feature-content ul li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.tech-feature-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

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

.team-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    position: relative;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-avatar img {
    transform: scale(1.1);
}

.team-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--bg-primary);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.team-social a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

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

.value-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 1.5rem;
    color: white;
}

.value-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

#resultContainer{
    width: 100%;
    margin: auto;
    max-width: 1200px;
    padding: 0 10px;
}

#generator{
    padding-bottom: 0;
}

footer .container .row{
    justify-content: space-between;
}

footer .container .align-items-center{
    justify-content: center;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .generator-options {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .option-group:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation Styles */
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
        background: transparent;
        position: relative;
        z-index: 1001;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-toggler-icon {
        background-image: none;
        width: 24px;
        height: 2px;
        background: #333;
        position: relative;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background: #333;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .navbar-toggler-icon::before {
        top: -8px;
    }

    .navbar-toggler-icon::after {
        bottom: -8px;
    }

    /* Close button state */
    .navbar-toggler.active .navbar-toggler-icon {
        background: transparent;
    }

    .navbar-toggler.active .navbar-toggler-icon::before {
        transform: rotate(45deg);
        top: 0;
        background: white;
    }

    .navbar-toggler.active .navbar-toggler-icon::after {
        transform: rotate(-45deg);
        bottom: 0;
        background: white;
    }

    /* Full screen mobile menu */
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        z-index: 1000;
        display: flex !important;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        transform: translateY(-20px);
    }

    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar-nav {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        /* gap: 2rem; */
        text-align: center;
        width: 100%;
        height: 100vh;
        margin: 0 !important;
        padding: 2rem !important;
        display: flex !important;
        box-sizing: border-box;
    }

    .navbar-nav .nav-link {
        color: white !important;
        font-size: 1.5rem !important;
        font-weight: 600 !important;
        padding: 1rem 2rem !important;
        border-radius: var(--radius-lg) !important;
        transition: all 0.3s ease !important;
        text-decoration: none;
        display: block;
        min-width: 200px;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--primary-color) !important;
        transform: translateY(-2px);
    }

    .btn-nav {
        background: var(--primary-color) !important;
        color: white !important;
        border: 2px solid var(--primary-color) !important;
        padding: 1.25rem 2rem !important;
        font-size: 1.25rem !important;
        margin-top: 1rem;
    }

    .btn-nav:hover {
        background: transparent !important;
        color: var(--primary-color) !important;
        border-color: var(--primary-color) !important;
        transform: translateY(-2px) !important;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    /* Animation for nav links */
    .navbar-nav .nav-item {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.6s ease forwards;
    }

    .navbar-nav .nav-item:nth-child(1) { animation-delay: 0.1s; }
    .navbar-nav .nav-item:nth-child(2) { animation-delay: 0.2s; }
    .navbar-nav .nav-item:nth-child(3) { animation-delay: 0.3s; }
    .navbar-nav .nav-item:nth-child(4) { animation-delay: 0.4s; }
    .navbar-nav .nav-item:nth-child(5) { animation-delay: 0.5s; }
    .navbar-nav .nav-item:nth-child(6) { animation-delay: 0.6s; }

    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Reset animations when menu is closed */
    .navbar-collapse:not(.show) .navbar-nav .nav-item {
        animation: none;
        opacity: 0;
        transform: translateY(20px);
    }

    .hero-section {
        padding: 6rem 0 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-features {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .feature-badge {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .generator-section {
        padding: 1rem 0 4rem;
    }

    .generator-form {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .generator-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .main-input-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .prompt-input {
        min-height: 100px;
        padding: 1.25rem 3.5rem 1.25rem 1.25rem;
        font-size: 1rem;
    }

    .input-actions {
        top: 0.75rem;
        right: 0.75rem;
    }

    .btn-clear,
    .btn-random {
        width: 32px;
        height: 32px;
    }

    .generate-button {
        width: 100%;
        height: auto;
        min-width: auto;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        flex-direction: row;
    }

    .generate-button i {
        font-size: 1.125rem;
    }

    .generator-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .aspect-buttons {
        gap: 0.375rem;
    }

    .aspect-btn {
        padding: 0.5rem 0.375rem;
        font-size: 0.7rem;
        min-height: 50px;
    }

    .aspect-icon {
        width: 16px;
        height: 12px;
    }

    .aspect-icon.square {
        width: 14px;
        height: 14px;
    }

    .aspect-icon.landscape {
        width: 20px;
        height: 12px;
    }

    .aspect-icon.portrait {
        width: 12px;
        height: 16px;
    }

    .suggestion-tags {
        gap: 0.5rem;
    }

    .suggestion-tag {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .result-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .feature-card,
    .mission-card,
    .team-card,
    .value-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .tech-feature {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .about-content h1 {
        font-size: 2.5rem;
    }

    .about-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .tech-showcase {
        width: 250px;
        height: 250px;
    }

    .orbit-1 { width: 120px; height: 120px; }
    .orbit-2 { width: 160px; height: 160px; }
    .orbit-3 { width: 200px; height: 200px; }

    .footer-brand,
    .footer-links,
    .footer-social {
        text-align: center;
        margin-bottom: 2rem;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        max-width: 300px;
        margin: 0 auto;
    }

    .footer-badges {
        justify-content: center;
        margin-top: 1rem;
    }

    /* Mobile legal links styling */
    .footer-bottom .legal-links a {
        font-size: 0.8rem;
    }

    .footer-bottom .legal-links a:not(:last-child)::after {
        margin: 0 0.25rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 5rem 0 2rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .feature-badge {
        width: 90%;
        max-width: none;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .generator-section {
        padding: 0.5rem 0 3rem;
    }

    .generator-form {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }

    .generator-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .main-input-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .prompt-input {
        min-height: 80px;
        padding: 1rem 3rem 1rem 1rem;
        font-size: 0.9rem;
    }

    .input-actions {
        top: 0.5rem;
        right: 0.5rem;
        gap: 0.25rem;
    }

    .btn-clear,
    .btn-random {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .generate-button {
        width: 100%;
        height: auto;
        min-width: auto;
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        flex-direction: row;
    }

    .generate-button i {
        font-size: 1rem;
    }

    .generator-options {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .aspect-buttons {
        gap: 0.25rem;
    }

    .aspect-btn {
        padding: 0.375rem 0.25rem;
        font-size: 0.65rem;
        min-height: 45px;
    }

    .aspect-icon {
        width: 14px;
        height: 10px;
    }

    .aspect-icon.square {
        width: 12px;
        height: 12px;
    }

    .aspect-icon.landscape {
        width: 18px;
        height: 10px;
    }

    .aspect-icon.portrait {
        width: 10px;
        height: 14px;
    }

    .style-select {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .suggestion-tags {
        gap: 0.25rem;
    }

    .suggestion-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .gallery-item img {
        height: 250px;
    }

    .about-content h1 {
        font-size: 1.75rem;
    }

    .about-stats {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .tech-showcase {
        width: 200px;
        height: 200px;
    }

    .tech-circle {
        width: 80px;
        height: 80px;
    }

    .tech-circle i {
        font-size: 2rem;
    }

    .orbit-1 { width: 100px; height: 100px; }
    .orbit-2 { width: 130px; height: 130px; }
    .orbit-3 { width: 160px; height: 160px; }

    .orbit-item {
        width: 25px;
        height: 25px;
        top: -12px;
    }

    .orbit-item i {
        font-size: 0.75rem;
    }

    .team-avatar {
        width: 100px;
        height: 100px;
    }

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

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    /* Simple result mobile styles */
    .simple-result {
        margin: 1rem -1rem 0 !important;
        padding: 1rem !important;
    }

    .simple-result img {
        max-width: 100% !important;
        height: auto !important;
    }

    .simple-result div {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .simple-result button {
        width: 100% !important;
        padding: 0.75rem !important;
        font-size: 0.9rem !important;
    }
}

/* ===== Contact Page Styles ===== */
.contact-hero {
    padding: 8rem 0 4rem;
    background: var(--bg-secondary);
    text-align: center;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.contact-hero .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.contact-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.contact-form-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    height: fit-content;
}

.contact-form-container h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-form-container p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.875rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
    outline: none;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-form .form-check-input {
    background-color: var(--bg-primary);
    border-color: var(--border-color);
}

.contact-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.contact-form .form-check-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.contact-info {
    padding: 2rem 0;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.25rem;
    color: white;
}

.contact-details h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.social-contact {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.social-contact h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.social-contact .social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-contact .social-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
}

.social-contact .social-links a:hover {
    color: var(--primary-color);
    background: var(--bg-primary);
    border-color: var(--primary-color);
    transform: translateX(0.25rem);
}

.social-contact .social-links a i {
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

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

.faq-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.accordion-button {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-weight: 500;
    border: none;
    padding: 1.5rem;
    font-size: 1.125rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23666'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    background: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* ===== Legal Pages Styles ===== */
.main-content {
    padding: 8rem 0 4rem;
    min-height: 60vh;
    background: var(--bg-secondary);
}

.legal-document {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.legal-document h1 {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

.last-updated {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

.legal-section h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    font-family: var(--font-primary);
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
    position: relative;
}

.legal-section ul li::marker {
    color: var(--primary-color);
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ===== Icon Fallbacks ===== */
/* Fallback styles for when Font Awesome doesn't load */
.fas, .fab, .far {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', Arial, sans-serif;
    font-weight: 900;
    font-style: normal;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

/* Specific icon fallbacks using Unicode */
.fa-brain::before { content: '🧠'; }
.fa-magic::before { content: '✨'; }
.fa-sparkles::before { content: '✨'; }
.fa-bolt::before { content: '⚡'; }
.fa-infinity::before { content: '∞'; }
.fa-shield-alt::before { content: '🛡️'; }
.fa-images::before { content: '🖼️'; }
.fa-palette::before { content: '🎨'; }
.fa-camera::before { content: '📷'; }
.fa-download::before { content: '⬇️'; }
.fa-share::before { content: '📤'; }
.fa-redo::before { content: '🔄'; }
.fa-plus::before { content: '+'; }
.fa-times::before { content: '×'; }
.fa-paper-plane::before { content: '📧'; }
.fa-envelope::before { content: '✉️'; }
.fa-clock::before { content: '🕐'; }
.fa-headset::before { content: '🎧'; }
.fa-heart::before { content: '❤️'; }
.fa-lightbulb::before { content: '💡'; }
.fa-handshake::before { content: '🤝'; }
.fa-globe::before { content: '🌍'; }
.fa-rocket::before { content: '🚀'; }
.fa-users::before { content: '👥'; }
.fa-universal-access::before { content: '♿'; }
.fa-microchip::before { content: '💾'; }
.fa-cloud::before { content: '☁️'; }
.fa-cogs::before { content: '⚙️'; }
.fa-shield-check::before { content: '✅'; }
.fa-fast::before { content: '⚡'; }
.fa-arrow-right::before { content: '→'; }
.fa-check-circle::before { content: '✅'; }
.fa-exclamation-circle::before { content: '⚠️'; }
.fa-exclamation-triangle::before { content: '⚠️'; }
.fa-info-circle::before { content: 'ℹ️'; }
.fa-spinner::before { content: '⟳'; }

/* Social media icons */
.fa-twitter::before { content: '🐦'; }
.fa-instagram::before { content: '📷'; }
.fa-discord::before { content: '💬'; }
.fa-github::before { content: '🐙'; }
.fa-linkedin::before { content: '💼'; }
.fa-dribbble::before { content: '🏀'; }
.fa-behance::before { content: '🎨'; }

/* Spinning animation for spinner */
.fa-spin {
    animation: fa-spin 2s infinite linear;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(359deg); }
}

/* ===== Simple Result Styles ===== */
.simple-result {
    animation: slideUp 0.5s ease-out;
}

.simple-result img {
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.simple-result img:hover {
    transform: scale(1.02);
}

.simple-result button {
    transition: all 0.3s ease;
}

.simple-result button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

/* ===== Tutorial Pages Styles ===== */
.tutorials-hero, .blog-hero, .help-hero {
    background: var(--bg-gradient);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.tutorial-categories, .help-categories {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.category-card, .help-category-card {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-light);
}

.category-card:hover, .help-category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.category-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.tutorial-section {
    padding: 60px 0;
}

.tutorial-section:nth-child(even) {
    background: var(--bg-secondary);
}

.tutorial-item {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.tutorial-meta {
    margin: 20px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.difficulty {
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.difficulty.beginner {
    background: #d1fae5;
    color: #065f46;
}

.difficulty.advanced {
    background: #fef3c7;
    color: #92400e;
}

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

.tutorial-preview img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    height: auto;
}

.tutorial-steps h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.tutorial-steps ul {
    list-style: none;
    padding: 0;
}

.tutorial-steps li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.tutorial-steps li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* ===== Blog Styles ===== */
.featured-article {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.featured-card {
    background: var(--bg-primary);
    border-radius: var(--radius-3xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}

.featured-content {
    padding: 40px;
}

.featured-badge {
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-categories {
    padding: 40px 0;
    background: var(--bg-tertiary);
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.category-btn {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 12px 25px;
    border-radius: var(--radius-xl);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.category-btn:hover, .category-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.blog-posts {
    padding: 60px 0;
}

.blog-card {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-light);
}

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

.blog-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

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

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 6px 15px;
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 200px);
}

.blog-content h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.blog-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

.blog-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* ===== Help Center Styles ===== */
.help-search {
    margin-top: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-container {
    position: relative;
    display: flex;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.search-container input {
    border: none;
    padding: 18px 25px;
    font-size: 1.1rem;
    flex: 1;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.search-container input:focus {
    outline: none;
    box-shadow: none;
}

.search-container button {
    border: none;
    padding: 18px 25px;
    background: var(--primary-color);
    color: white;
    transition: background-color 0.3s ease;
}

.search-container button:hover {
    background: var(--primary-dark);
}

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

.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 20px 25px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

.accordion-body {
    padding: 25px;
    font-size: 1rem;
    line-height: 1.6;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-top: none;
}

.accordion-body a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.accordion-body a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.accordion-body ol, .accordion-body ul {
    margin: 15px 0;
    padding-left: 20px;
}

.accordion-body li {
    margin: 8px 0;
}

/* ===== Tips Cards ===== */
.tip-card {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    height: 100%;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tip-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.tip-card h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

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

/* ===== Newsletter Section ===== */
.newsletter-section {
    background: var(--bg-gradient);
    color: white;
    padding: 80px 0;
}

.newsletter-content h2 {
    margin-bottom: 15px;
    font-weight: 700;
}

.newsletter-form {
    margin: 30px 0;
}

.newsletter-form .input-group {
    max-width: 500px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.newsletter-form input {
    border: none;
    padding: 18px 25px;
    font-size: 1.1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: none;
}

.newsletter-form button {
    border: none;
    padding: 18px 25px;
    background: rgba(255,255,255,0.2);
    color: white;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background: rgba(255,255,255,0.3);
}

.newsletter-note {
    margin-top: 15px;
    opacity: 0.9;
    font-size: 0.9rem;
}

/* ===== Support Section ===== */
.support-section {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.support-content h2 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.support-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.support-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== Responsive Design for New Pages ===== */
@media (max-width: 768px) {
    .tutorials-hero, .blog-hero, .help-hero {
        padding: 80px 0 40px;
    }

    .tutorials-hero h1, .blog-hero h1, .help-hero h1 {
        font-size: 2rem;
    }

    .tutorial-categories, .help-categories {
        padding: 60px 0;
    }

    .category-card, .help-category-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .tutorial-item {
        padding: 25px;
        margin-bottom: 20px;
    }

    .tutorial-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .featured-content {
        padding: 25px;
    }

    .featured-card h2 {
        font-size: 1.5rem;
    }

    .category-filters {
        justify-content: center;
        padding: 0 15px;
    }

    .category-btn {
        margin: 5px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .blog-content {
        padding: 25px;
    }

    .blog-content h3 {
        font-size: 1.2rem;
    }

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .help-search {
        margin: 30px 15px 0;
    }

    .search-container {
        flex-direction: column;
        border-radius: var(--radius-lg);
    }

    .search-container input {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        padding: 15px 20px;
    }

    .search-container button {
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        padding: 15px 20px;
    }

    .accordion-button {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .accordion-body {
        padding: 20px;
    }

    .tip-card {
        padding: 25px;
        margin-bottom: 20px;
    }

    .newsletter-form .input-group {
        flex-direction: column;
        border-radius: var(--radius-lg);
    }

    .newsletter-form input {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        padding: 15px 20px;
    }

    .newsletter-form button {
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        padding: 15px 20px;
    }

    .support-options {
        flex-direction: column;
        align-items: center;
    }

    .support-options .btn {
        width: 250px;
        margin: 10px 0;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .category-card, .help-category-card {
        padding: 25px 15px;
    }

    .tutorial-item {
        padding: 20px;
    }

    .featured-content {
        padding: 20px;
    }

    .blog-content {
        padding: 20px;
    }

    .tip-card {
        padding: 20px;
    }

    .accordion-button {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .accordion-body {
        padding: 15px;
    }
}

/* ===== User Guide Specific Styles ===== */
.step-guide {
    margin: 30px 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 25px;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--primary-color);
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.example-box {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 15px;
    margin-top: 15px;
    font-style: italic;
    color: var(--text-secondary);
}

.feature-guide-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 30px;
    height: 100%;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.feature-guide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-guide-card .feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-guide-card h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-guide-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.tips-list h5 {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.tips-list ul {
    list-style: none;
    padding: 0;
}

.tips-list li {
    padding: 5px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.tips-list li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.best-practices {
    max-width: 800px;
    margin: 0 auto;
}

.practice-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 25px;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.practice-icon {
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.practice-content h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.practice-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.troubleshooting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.trouble-item {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 25px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.trouble-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.trouble-item h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trouble-item h4 i {
    color: var(--warning-color);
}

.trouble-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.trouble-item strong {
    color: var(--primary-color);
}

/* Responsive adjustments for guide */
@media (max-width: 768px) {
    .step-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .practice-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .practice-icon {
        margin-right: 0;
        margin-bottom: 15px;
        align-self: center;
    }

    .troubleshooting-grid {
        grid-template-columns: 1fr;
    }

    .feature-guide-card {
        padding: 25px;
        margin-bottom: 20px;
    }
}

/* ===== Blog Article Detail Styles ===== */
.article-header {
    background: var(--bg-secondary);
    padding: 60px 0 40px;
}

.article-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.back-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--primary-dark);
}

.article-category {
    background: var(--primary-color);
    color: white;
    padding: 6px 15px;
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-title {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.publish-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-stats {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-content {
    padding: 60px 0;
}

.article-image {
    margin-bottom: 40px;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-body .lead {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.article-body h2 {
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 600;
    margin: 50px 0 25px 0;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.article-body h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 40px 0 20px 0;
}

.article-body h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 30px 0 15px 0;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.article-quote {
    background: var(--bg-secondary);
    border-left: 4px solid var(--primary-color);
    padding: 30px;
    margin: 40px 0;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-primary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.tip-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 25px;
    border-radius: var(--radius-xl);
    margin: 30px 0;
}

.tip-box h4 {
    color: white;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tip-box p {
    margin: 0;
    font-weight: 500;
}

.expression-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 25px 0;
}

.expression-item {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent-color);
}

.example-prompts {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: var(--radius-xl);
    margin: 40px 0;
}

.example-prompts h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.prompt-example {
    background: var(--bg-primary);
    padding: 25px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
}

.prompt-example h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.prompt-example p {
    background: var(--bg-tertiary);
    padding: 15px;
    border-radius: var(--radius-md);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    margin: 0;
    border: 1px solid var(--border-color);
}

.article-tags {
    margin: 50px 0 30px 0;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
}

.article-tags h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
}

.tag {
    display: inline-block;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 8px 15px;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    margin: 5px 10px 5px 0;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

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

.article-share {
    margin: 30px 0;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
}

.article-share h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.facebook {
    background: #4267b2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.copy {
    background: var(--text-secondary);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: white;
}

.related-articles {
    background: var(--bg-secondary);
    padding: 60px 0;
}

.related-articles h3 {
    color: var(--text-primary);
    margin-bottom: 30px;
    font-weight: 600;
}

.related-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-content {
    padding: 20px;
}

.related-content h5 {
    margin-bottom: 10px;
}

.related-content h5 a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.3;
}

.related-content h5 a:hover {
    color: var(--primary-color);
}

/* ===== Clickable Card Links ===== */
.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.blog-card-link .blog-card {
    transition: all 0.3s ease;
}

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

.blog-card-link .read-more {
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-card-link:hover .read-more {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.help-category-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.help-category-link:hover {
    text-decoration: none;
    color: inherit;
}

.help-category-link .help-category-card {
    transition: all 0.3s ease;
}

.help-category-link:hover .help-category-card {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.related-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.related-card-link .related-card {
    transition: all 0.3s ease;
}

.related-card-link:hover .related-card {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-card-link h5 {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.related-card-link:hover h5 {
    color: var(--primary-color);
}

/* ===== Homepage Blog Preview Section ===== */
.blog-preview-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.blog-preview-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-light);
}

.blog-preview-card:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.blog-preview-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

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

.blog-preview-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 6px 15px;
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-preview-content {
    padding: 25px;
}

.blog-preview-content h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.blog-preview-card:hover .blog-preview-content h4 {
    color: var(--primary-color);
}

.blog-preview-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-preview-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== How It Works Section ===== */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.step-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}

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

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 25px;
    font-size: 2rem;
    color: white;
}

.step-card h4 {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== Use Cases Section ===== */
.use-cases-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.use-case-card {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    height: 100%;
}

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

.use-case-image {
    height: 180px;
    overflow: hidden;
}

.use-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.use-case-content {
    padding: 25px;
    text-align: center;
}

.use-case-content h4 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.use-case-content p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

/* ===== Features Showcase Section ===== */
.features-showcase {
    padding: 80px 0;
    background: var(--bg-primary);
}

.feature-content {
    padding: 20px 0;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: white;
}

.feature-content h3 {
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.feature-list li i {
    color: var(--success-color);
    margin-right: 12px;
    font-size: 1.1rem;
}

.feature-image {
    position: relative;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.feature-image:hover img {
    transform: scale(1.02);
}

/* ===== News & Updates Section ===== */
.news-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.news-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    padding: 25px;
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.news-date {
    background: var(--bg-gradient);
    color: white;
    border-radius: var(--radius-lg);
    padding: 15px;
    text-align: center;
    min-width: 70px;
    flex-shrink: 0;
}

.news-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.news-content h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-content p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-link:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.testimonial-card {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: 25px;
}

.stars {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-content p {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.author-info h5 {
    color: var(--text-primary);
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 60px 0;
    background: var(--bg-gradient);
    color: white;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Homepage FAQ Section ===== */
.faq-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.faq-section .accordion-button {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 20px 25px;
    border: none;
    box-shadow: none;
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

.faq-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-section .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-section .accordion-body {
    background: var(--bg-primary);
    color: var(--text-secondary);
    padding: 25px;
    font-size: 1rem;
    line-height: 1.6;
    border-top: 1px solid var(--border-light);
}

/* ===== Responsive Design for New Homepage Sections ===== */
@media (max-width: 768px) {
    .how-it-works {
        padding: 60px 0;
    }

    .step-card {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .step-number {
        top: -15px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 20px auto 20px;
    }

    .use-cases-section {
        padding: 60px 0;
    }

    .use-case-card {
        margin-bottom: 20px;
    }

    .use-case-content {
        padding: 20px;
    }

    .features-showcase {
        padding: 60px 0;
    }

    .feature-content h3 {
        font-size: 1.5rem;
    }

    .feature-content {
        text-align: center;
        margin-bottom: 30px;
    }

    .feature-icon {
        margin: 0 auto 20px;
    }

    .blog-preview-section {
        padding: 60px 0;
    }

    .blog-preview-content {
        padding: 20px;
    }

    .testimonials-section {
        padding: 60px 0;
    }

    .testimonial-card {
        padding: 25px;
        margin-bottom: 20px;
    }

    .stats-section {
        padding: 50px 0;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .news-section {
        padding: 60px 0;
    }

    .news-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        margin-bottom: 20px;
    }

    .news-date {
        align-self: center;
        margin-bottom: 15px;
    }

    .faq-section {
        padding: 60px 0;
    }

    .faq-section .accordion-button {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .faq-section .accordion-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .feature-content h3 {
        font-size: 1.3rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .blog-preview-content {
        padding: 15px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .news-card {
        padding: 15px;
    }
}

/* ===== Clickable Card Links ===== */
.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.blog-card-link .blog-card {
    transition: all 0.3s ease;
}

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

.blog-card-link .read-more {
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-card-link:hover .read-more {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.help-category-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.help-category-link:hover {
    text-decoration: none;
    color: inherit;
}

.help-category-link .help-category-card {
    transition: all 0.3s ease;
}

.help-category-link:hover .help-category-card {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.related-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.related-card-link .related-card {
    transition: all 0.3s ease;
}

.related-card-link:hover .related-card {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-card-link h5 {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.related-card-link:hover h5 {
    color: var(--primary-color);
}

/* Responsive design for article pages */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .article-meta-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .article-body {
        font-size: 1rem;
    }

    .article-body .lead {
        font-size: 1.1rem;
    }

    .article-body h2 {
        font-size: 1.5rem;
    }

    .share-buttons {
        justify-content: center;
    }

    .example-prompts {
        padding: 25px;
    }

    .prompt-example {
        padding: 20px;
    }
}
