/* Base */
:root {
    /* Dark theme color palette */
    --color-background: #0f1114;
    --color-background-soft: #161a1f;
    --color-background-muted: #1e2329;
    --color-background-hover: #242830;
    
    /* Accent colors */
    --color-primary: #646cff;
    --color-primary-hover: #747bff;
    --color-secondary: #4a36b0;
    --color-secondary-hover: #5a46d0;
    --color-accent: #9933ff;
    
    /* Text colors */
    --color-text: rgba(235, 235, 245, 0.9);
    --color-text-soft: rgba(235, 235, 245, 0.7);
    --color-text-muted: rgba(235, 235, 245, 0.5);
    --color-text-light: rgba(235, 235, 245, 0.3);
    --color-heading: #ffffff;
    
    /* UI elements */
    --color-border: rgba(84, 84, 120, 0.25);
    --color-border-hover: rgba(100, 108, 255, 0.3);
    --color-button: #414657;
    --color-button-hover: #4d5368;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    
    /* Fonts */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(100, 108, 255, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(153, 51, 255, 0.08) 0%, transparent 25%);
    background-attachment: fixed;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-primary-hover);
}

ul {
    list-style-position: inside;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

section {
    padding: var(--space-12) 0;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-4);
}

h1 {
    font-size: 3rem;
    margin-bottom: var(--space-6);
}

h2 {
    font-size: 2.2rem;
    margin-bottom: var(--space-8);
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-4);
}

p {
    margin-bottom: var(--space-4);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    background-color: var(--color-button);
    color: var(--color-text);
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn:hover::after {
    transform: translateY(0);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    background-color: var(--color-background-muted);
    color: var(--color-text-light);
    cursor: not-allowed;
    transform: none;
}

.btn:disabled::after {
    display: none;
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: 0.875rem;
    border-radius: 6px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    box-shadow: 0 4px 12px rgba(100, 108, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 16px rgba(100, 108, 255, 0.4);
}

.btn-secondary {
    background-color: rgba(100, 108, 255, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(100, 108, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    background-color: rgba(100, 108, 255, 0.15);
}

.btn i {
    margin-right: 8px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(15, 17, 20, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.site-header.hide {
    transform: translateY(-100%);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) 0;
}

.logo a {
    color: var(--color-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.main-nav ul {
    display: flex;
    gap: var(--space-6);
    list-style: none;
}

.main-nav a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--color-primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.github-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-text);
    font-weight: 500;
    padding: var(--space-2) var(--space-4);
    border-radius: 6px;
    transition: all 0.2s;
    background-color: rgba(255, 255, 255, 0.05);
}

.github-link:hover {
    color: var(--color-primary);
    background-color: rgba(100, 108, 255, 0.1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: var(--space-16) 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--color-background), var(--color-background-soft));
    border-bottom: 1px solid var(--color-border);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    background: linear-gradient(90deg, #fff, #9EAEFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--color-text-soft);
    margin-bottom: var(--space-8);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    margin-top: var(--space-8);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all 0.5s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}

.hero-image::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 10%;
    width: 80%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(100, 108, 255, 0.3) 0%, transparent 70%);
    filter: blur(10px);
    z-index: -1;
}

/* Features Section */
.features {
    background-color: var(--color-background-soft);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.feature-card {
    background-color: var(--color-background-muted);
    border-radius: 12px;
    padding: var(--space-6);
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--color-border-hover);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    margin-bottom: var(--space-4);
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.3), transparent 70%);
}

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

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-3);
}

.feature-card p {
    color: var(--color-text-soft);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Installation Section */
.installation {
    background-color: var(--color-background);
}

.installation-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.installation-step {
    display: flex;
    gap: var(--space-6);
    align-items: flex-start;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(100, 108, 255, 0.3);
}

.step-content {
    flex: 1;
}

.code-block {
    position: relative;
    margin: var(--space-4) 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--color-border);
    background-color: var(--color-background-muted);
}

.code-block pre {
    padding: var(--space-6);
    overflow-x: auto;
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--color-text);
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-block code {
    color: var(--color-text-soft);
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.copy-code-button {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    padding: var(--space-2) var(--space-3);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text-soft);
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.copy-code-button:hover {
    background-color: rgba(100, 108, 255, 0.2);
}

.copy-code-button.copied {
    background-color: rgba(76, 175, 80, 0.2);
    color: #81c784;
}

/* Usage Section */
.usage {
    background-color: var(--color-background-soft);
}

.usage-example {
    margin-top: var(--space-8);
}

.tabs {
    display: flex;
    margin-bottom: var(--space-2);
    border-bottom: 1px solid var(--color-border);
    gap: 1px;
    background-color: var(--color-background-muted);
    border-radius: 8px 8px 0 0;
    padding: var(--space-2) var(--space-2) 0;
}

.code-tab {
    padding: var(--space-3) var(--space-4);
    background-color: var(--color-background-muted);
    color: var(--color-text-muted);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    border-radius: 8px 8px 0 0;
}

.code-tab:hover {
    color: var(--color-text);
}

.code-tab.active {
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--color-primary);
}

.code-panels {
    position: relative;
}

.code-panel {
    display: none;
}

.code-panel.active {
    display: block;
}

.code-panel .code-block {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    animation: fadeIn 0.3s ease;
}

/* Examples Section */
.examples {
    background-color: var(--color-background);
}

.example-layouts {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
    margin-top: var(--space-8);
}

.example-layout {
    display: flex;
    gap: var(--space-8);
    align-items: center;
}

.example-layout:nth-child(even) {
    flex-direction: row-reverse;
}

.example-layout:nth-child(even) .example-content {
    text-align: right;
}

.example-image {
    flex: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--color-background-soft);
    border: 1px solid var(--color-border);
    padding: var(--space-4);
    transition: all 0.3s ease;
}

.example-image:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.example-content {
    flex: 1;
}

.example-content h3 {
    font-size: 1.8rem;
    margin-bottom: var(--space-3);
}

.example-content p {
    color: var(--color-text-soft);
    margin-bottom: var(--space-6);
    font-size: 1.05rem;
}

/* FAQ Section */
.faq {
    background-color: var(--color-background-soft);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.faq-item {
    background-color: var(--color-background-muted);
    border-radius: 12px;
    padding: var(--space-6);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--color-border-hover);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-3);
    color: var(--color-primary);
}

.faq-item p {
    color: var(--color-text-soft);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #151724, #1b1f29);
    text-align: center;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
}

.cta p {
    color: var(--color-text-soft);
    font-size: 1.1rem;
    margin-bottom: var(--space-8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
}

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

.cta .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.cta .btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.cta .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Footer */
.site-footer {
    background-color: var(--color-background);
    padding: var(--space-12) 0 var(--space-4);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

.footer-logo a {
    color: var(--color-text);
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-bottom: var(--space-2);
}

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

.footer-links {
    display: flex;
    gap: var(--space-12);
}

.footer-links-column h4 {
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
}

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

.footer-links-column a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    margin-bottom: var(--space-2);
}

.footer-links-column a:hover {
    color: var(--color-primary);
}

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

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social a {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    transition: all 0.2s;
}

.footer-social a:hover {
    color: var(--color-primary);
    transform: translateY(-3px);
}

/* Animation on Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    :root {
        --space-12: 2.5rem;
        --space-16: 3rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    :root {
        --space-12: 2rem;
        --space-16: 2.5rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-image {
        width: 100%;
        margin-top: var(--space-8);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--color-background);
        padding: var(--space-16) var(--space-4);
    }
    
    .main-nav.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 10;
    }
    
    .main-nav.active ul {
        flex-direction: column;
        align-items: center;
        gap: var(--space-8);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .example-layout {
        flex-direction: column !important; 
    }
    
    .example-layout:nth-child(even) {
        flex-direction: column !important;
    }
    
    .example-layout:nth-child(even) .example-content {
        text-align: left;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--space-6);
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
}

@media (max-width: 600px) {
    :root {
        --space-8: 1.5rem;
        --space-12: 1.5rem;
        --space-16: 2rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .installation-step {
        flex-direction: column;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .header-right .github-link {
        display: none;
    }
}

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

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

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

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

/* Glass morphism */
.glass-effect {
    background: rgba(30, 35, 41, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ===== Blog Page Styles ===== */
.blog-header {
    background: linear-gradient(135deg, rgba(100, 108, 255, 0.8), rgba(100, 108, 255, 0.6));
    padding: 6rem 0 3rem;
    text-align: center;
    color: white;
}

.blog-content {
    padding: 4rem 0;
}

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

.blog-post-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(100, 108, 255, 0.3);
}

.blog-post-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.post-date {
    font-size: 0.85rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.blog-post-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.post-meta {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.5rem;
}

.post-tag {
    background: rgba(100, 108, 255, 0.1);
    color: var(--color-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    border: 1px solid rgba(100, 108, 255, 0.2);
}

.post-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: none;
    position: relative;
}

.post-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
    display: inline-block;
}

.post-link:hover::after {
    transform: translateX(3px);
}

.blog-coming-soon {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    margin-top: 2rem;
}

.coming-soon-badge {
    display: inline-block;
    background: rgba(255, 152, 0, 0.1);
    color: #ffb74d;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 152, 0, 0.3);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 2rem auto 0;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 6px 0 0 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    font-size: 1rem;
}

.newsletter-form button {
    border-radius: 0 6px 6px 0;
}

/* ===== Showcase Page Styles ===== */
.showcase-header {
    background: linear-gradient(135deg, rgba(100, 108, 255, 0.8), rgba(100, 108, 255, 0.6));
    padding: 6rem 0 3rem;
    text-align: center;
    color: white;
}

.showcase-intro {
    padding: 4rem 0 2rem;
    text-align: center;
}

.showcase-intro .glass-effect {
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.showcase-gallery {
    padding: 2rem 0 4rem;
}

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

.showcase-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(100, 108, 255, 0.3);
}

.showcase-preview {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.showcase-details {
    padding: 1.5rem;
}

.showcase-details h3 {
    margin-top: 0;
    font-size: 1.3rem;
}

.showcase-meta {
    margin: 1rem 0;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.showcase-tag {
    background: rgba(100, 108, 255, 0.1);
    color: var(--color-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    border: 1px solid rgba(100, 108, 255, 0.2);
}

.showcase-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.showcase-coming-soon {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    margin-top: 4rem;
}

/* ===== Contribute Page Styles ===== */
.contribute-header {
    background: linear-gradient(135deg, rgba(100, 108, 255, 0.8), rgba(100, 108, 255, 0.6));
    padding: 6rem 0 3rem;
    text-align: center;
    color: white;
}

.contribute-ways {
    padding: 4rem 0;
}

.contribute-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contribute-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.contribute-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(100, 108, 255, 0.3);
    background: rgba(255, 255, 255, 0.07);
}

.contribute-icon {
    width: 64px;
    height: 64px;
    background: rgba(100, 108, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.contribute-card:hover .contribute-icon {
    background: rgba(100, 108, 255, 0.2);
    transform: scale(1.1);
}

.contribute-card h3 {
    margin-top: 0;
}

.contribute-card .btn {
    margin-top: 1.5rem;
}

.contribute-section {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contribute-section:last-of-type {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contribute-content {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contribute-content h3 {
    margin-top: 0;
    color: var(--color-primary);
}

.contribute-content h4 {
    margin-top: 2rem;
    font-weight: 600;
}

.contribute-content ul,
.contribute-content ol {
    margin-bottom: 1.5rem;
}

.contribute-content .btn {
    margin-top: 1rem;
}

.contribute-cta {
    padding: 4rem 0;
    text-align: center;
}

.contribute-cta .glass-effect {
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

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

/* ===== Changelog Page Styles ===== */
.changelog-header {
    background: linear-gradient(135deg, rgba(100, 108, 255, 0.8), rgba(100, 108, 255, 0.6));
    padding: 6rem 0 3rem;
    text-align: center;
    color: white;
}

.changelog-content {
    padding: 4rem 0;
}

.changelog-intro {
    padding: 2rem;
    margin-bottom: 3rem;
}

.changelog-releases {
    margin-bottom: 4rem;
}

.changelog-release {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1.5rem;
}

.release-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.release-version {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.release-date {
    margin-left: auto;
    opacity: 0.7;
    font-size: 0.9rem;
}

.release-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    margin-left: 1rem;
    text-transform: uppercase;
    font-weight: 600;
}

.release-tag.current {
    background: rgba(76, 175, 80, 0.1);
    color: #81c784;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.release-tag.upcoming {
    background: rgba(33, 150, 243, 0.1);
    color: #64b5f6;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.release-tag.roadmap {
    background: rgba(171, 71, 188, 0.1);
    color: #ba68c8;
    border: 1px solid rgba(171, 71, 188, 0.3);
}

.release-tag.pre-release {
    background: rgba(255, 152, 0, 0.1);
    color: #ffb74d;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.release-notes {
    padding: 2rem;
}

.release-notes h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.changelog-pre-releases h2 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--color-text-light);
}

.changelog-cta {
    padding: 4rem 0;
    text-align: center;
}

.changelog-cta .glass-effect {
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

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

/* Responsive Styles for new pages */
@media (max-width: 768px) {
    .blog-posts,
    .showcase-grid,
    .contribute-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-item {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .newsletter-form input {
        border-radius: 6px;
        margin-bottom: 0.5rem;
    }
    
    .newsletter-form button {
        border-radius: 6px;
    }
    
    .release-header {
        flex-wrap: wrap;
    }
    
    .release-date {
        order: 3;
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

@media (max-width: 600px) {
    .blog-header,
    .showcase-header,
    .contribute-header,
    .changelog-header {
        padding: 5rem 0 2rem;
    }
    
    .blog-content,
    .showcase-gallery,
    .contribute-ways,
    .changelog-content {
        padding: 2rem 0;
    }
    
    .showcase-intro,
    .blog-coming-soon,
    .showcase-coming-soon {
        padding: 1.5rem;
    }
    
    .contribute-content,
    .release-notes {
        padding: 1.5rem;
    }
    
    .contribute-cta .glass-effect,
    .changelog-cta .glass-effect {
        padding: 2rem 1.5rem;
    }
    
    .contribute-cta .cta-buttons,
    .changelog-cta .cta-buttons {
        flex-direction: column;
    }
} 