/*
Theme Name: DeveloperPrompts Theme
Description: A minimal and professional theme for DeveloperPrompts.xyz
Version: 1.0
Author: Metehan Turkdonmez
Author URI: https://metehanturkdonmez.com
*/

/* Import Google Fonts - Professional Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 60px; /* Reduced from 80px to match PlatSupply style */
}

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

/* Header Styles - PlatSupply Inspired */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-bottom: 1px solid #e5e7eb;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

a.site-logo-link {
    line-height: 1;
    padding: 3px 0 0;
    display: block;
}

.site-logo {
    height: 18px;
    width: 252px;
    transition: all 0.2s ease;
    color: #111827;
}

.site-logo:hover {
    opacity: 0.8;
}

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

.login-btn {
    background: #111827;
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    letter-spacing: -0.05px;
}

.login-btn:hover {
    background: #030712;
    transform: translateY(-1px);
    text-decoration: none;
    color: #ffffff;
}

.user-info {
    color: #6b7280;
    font-weight: 500;
    font-size: 13px;
    background: transparent;
    padding: 8px 15px;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
}

/* Hero Section */
.hero-section {
    text-align: center;
    background-image: linear-gradient(180deg, transparent, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 89%, #ffffff), 
                      url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192"><defs><pattern id="dots" patternUnits="userSpaceOnUse" width="12" height="12"><circle cx="6" cy="6" r="1" fill="%23e2e8f0" opacity="0.4"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    background-position: 0 0, 0 0;
    background-size: auto, 192px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 48rem;
    margin: 0 auto;
}

.hero-eyebrow {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-title {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    cursor: pointer;
    padding: 1rem;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateY(-2px);
}

.scroll-icon {
    color: #6b7280;
    animation: bounce 2s infinite;
    transition: color 0.3s ease;
}

.scroll-indicator:hover .scroll-icon {
    color: #3b82f6;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Libraries Grid */
.libraries-section {
    padding: 6rem 0 8rem;
    background: #fafafa;
}

.section-title {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: #1a1a1a;
    letter-spacing: -0.025em;
}

.libraries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.library-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    overflow: hidden;
    width: 100%;
    max-width: 350px;
}

.library-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.library-content {
    padding: 2rem 1.5rem;
}

.library-category {
    display: inline-block;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.library-title {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
    line-height: 1.3;
}

.library-description {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Coming Soon Styles */
.library-card.coming-soon {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: default;
    position: relative;
}

.library-card.coming-soon:hover {
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.coming-soon-badge {
    display: inline-block;
    background: #fbbf24;
    color: #92400e;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    margin-top: 1rem;
}

.coming-soon-page {
    text-align: center;
    padding: 4rem 0;
}

.coming-soon-message {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 0;
}

.coming-soon-icon {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.coming-soon-message h2 {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.coming-soon-message p {
    color: #6b7280;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.back-home-btn {
    display: inline-block;
    background: #3b82f6;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.back-home-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    text-decoration: none;
    color: #ffffff;
}

/* Footer - PlatSupply Inspired */
.site-footer {
    background: #151923;
    border-top: none;
    padding: 70px 0 30px;
    margin-top: 0;
    color: #9ca3af;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 30px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    height: 18px;
    width: 252px;
    margin-bottom: 15px;
    color: #f9fafb;
}

.footer-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 300px;
}

.footer-trust {
    display: flex;
    align-items: top;
    gap: 10px;
}

.footer-trust-icon {
    width: 16px;
    height: 16px;
    fill: #2b9c3a;
}

.footer-trust-text {
    font-size: 14px;
    font-weight: 500;
    color: #9ca3af;
    margin-top: -3px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section-title {
    font-size: 13px;
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 20px;
    letter-spacing: -0.05px;
}

.footer-link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.8;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #9ca3af;
    text-decoration: none;
}

.footer-bottom {
    text-align: left;
    color: #505862;
    font-size: 12px;
    border-top: 1px solid #374151;
    padding-top: 20px;
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

/* Single Library Page */
.library-header {
    padding: 4rem 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.library-meta {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1.5rem;
}

.library-featured-image {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.library-main-title {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.library-main-description {
    font-size: 1.25rem;
    color: #6b7280;
    line-height: 1.6;
    font-weight: 400;
    text-align: left;
}

.library-main-description p {
    margin-bottom: 1rem;
}

.library-main-description h3,
.library-main-description h4 {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a1a;
    margin: 1.5rem 0 0.75rem;
}

.library-main-description ul,
.library-main-description ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.library-main-description li {
    margin-bottom: 0.5rem;
}

.prompts-section {
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Accordion Styles */
.prompt-accordion {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.prompt-accordion:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.prompt-accordion.prompt-locked {
    border-color: #fbbf24;
    background: #fffbeb;
}

.prompt-header {
    background: transparent;
    padding: 1.5rem;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    color: #1a1a1a;
}

.prompt-header:hover {
    background: rgba(59, 130, 246, 0.02);
}

.prompt-header.disabled {
    cursor: not-allowed;
    background: transparent;
}

.prompt-header.disabled:hover {
    background: rgba(251, 191, 36, 0.05);
}

.locked-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(251, 191, 36, 0.05);
    border: none;
    width: 100%;
    text-align: left;
    color: #1a1a1a;
    cursor: default;
}

.locked-icon {
    color: #f59e0b;
    flex-shrink: 0;
}

.prompt-header-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.prompt-title {
    font-weight: 600;
    font-size: 1.125rem;
    color: #1a1a1a;
}

.prompt-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #f59e0b;
    font-weight: 500;
}

.lock-icon {
    color: #f59e0b;
}

.prompt-toggle {
    transition: transform 0.2s ease;
    color: #6b7280;
    flex-shrink: 0;
}

.prompt-header.active .prompt-toggle {
    transform: rotate(180deg);
}

.prompt-content {
    display: none;
    background: #ffffff;
}

.prompt-content.active {
    display: block;
}

/* Code Container Styles */
.prompt-code-container {
    margin: 0 1.5rem 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}

.prompt-code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f1f5f9;
    border-bottom: 1px solid #e5e7eb;
}

.code-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.copy-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-button:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.copy-button.copied {
    background: #10b981;
}

.copy-icon {
    width: 14px;
    height: 14px;
}

.prompt-text {
    padding: 1.25rem;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    white-space: pre-wrap;
    color: #e2e8f0;
    background: #1e293b;
    margin: 0;
    border: none;
    overflow-x: auto;
}

/* Better styling for lists within prompts */
.prompt-text ul,
.prompt-text ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.prompt-text li {
    margin: 0.75rem 0;
    padding: 0.5rem 0;
    line-height: 1.7;
}

.prompt-text ul li {
    list-style-type: disc;
}

.prompt-text ol li {
    list-style-type: decimal;
}

.prompt-text li::marker {
    color: #94a3b8;
}

/* Meta Information */
.prompt-meta {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    background: #fafafa;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #475569;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-icon {
    color: #3b82f6;
    flex-shrink: 0;
}

/* Locked Content Styles */
.locked-content {
    padding: 3rem 1.5rem;
}

.locked-message {
    text-align: center;
    color: #6b7280;
}

.locked-icon {
    color: #f59e0b;
    margin-bottom: 1rem;
}

.locked-message h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.locked-message p {
    margin-bottom: 1.5rem;
    color: #6b7280;
}

.login-cta {
    display: inline-flex;
    align-items: center;
    background: #3b82f6;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.login-cta:hover {
    background: #2563eb;
    transform: translateY(-1px);
    text-decoration: none;
    color: #ffffff;
}

/* Page Templates */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.page-title {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.page-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
}

.page-text h3 {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 2rem 0 1rem;
    line-height: 1.3;
}

.page-text h4 {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 1.5rem 0 0.75rem;
}

.page-text ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.page-text li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.page-text p {
    margin-bottom: 1.25rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-section {
        background-size: auto, 100px;
    }
    
    .hero-content {
        max-width: 40rem;
        padding: 3rem 1.5rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .libraries-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        justify-items: center;
    }
    
    .library-card {
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        background-size: auto, 100px;
        padding: 6rem 0 4rem;
        min-height: 90vh;
    }
    
    .hero-content {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
        border-radius: 0.75rem;
    }
    .hero-section {
        padding: 3rem 0 5rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .scroll-indicator {
        margin-top: 1.5rem;
        padding: 0.75rem;
    }
    
    .scroll-icon {
        width: 20px;
        height: 20px;
    }
    
    .libraries-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-items: center;
    }
    
    .library-card {
        max-width: 100%;
        width: 100%;
    }
    
    .coming-soon-page {
        padding: 3rem 0;
    }
    
    .coming-soon-message {
        padding: 2rem 0;
    }
    
    .coming-soon-message h2 {
        font-size: 2rem;
    }
    
    .coming-soon-message p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2.25rem;
        margin-bottom: 3rem;
    }
    
    .libraries-section {
        padding: 4rem 0 6rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-content {
        padding: 10px 15px;
        flex-direction: column;
        gap: 15px;
    }
    
    .site-logo {
        height: 15px;
        width: 210px;
    }
    
    .login-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .user-info {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 5rem 0 3rem;
        min-height: 80vh;
    }
    
    .hero-content {
        margin: 0 0.5rem;
        padding: 2rem 1rem;
        max-width: none;
    }
    
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .scroll-indicator {
        margin-top: 1rem;
        padding: 0.5rem;
    }
    
    .scroll-icon {
        width: 18px;
        height: 18px;
    }
    
    .library-main-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .header-content {
        padding: 8px 10px;
        flex-direction: column;
        gap: 15px;
    }
    
    .site-logo {
        height: 15px;
        width: 210px;
    }
    
    .login-btn {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Accordion Mobile Styles */
    .prompt-header,
    .locked-header {
        padding: 1rem;
    }
    
    .prompt-title {
        font-size: 1rem;
    }
    
    .prompt-status {
        font-size: 0.8rem;
    }
    
    .prompt-code-container {
        margin: 0 1rem 1rem;
    }
    
    .prompt-code-header {
        padding: 0.5rem 0.75rem;
    }
    
    .copy-button {
        padding: 0.375rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .prompt-text {
        padding: 1rem;
        font-size: 0.85rem;
        color: #e2e8f0;
        background: #1e293b;
    }
    
    .prompt-text ul,
    .prompt-text ol {
        padding-left: 1.25rem;
    }
    
    .prompt-text li {
        margin: 0.5rem 0;
        padding: 0.375rem 0;
    }
    
    .prompt-meta {
        padding: 0.75rem 1rem 1rem;
    }
    
    .meta-item {
        font-size: 0.8rem;
    }
    
    .locked-content {
        padding: 2rem 1rem;
    }
    
    .locked-message h4 {
        font-size: 1.125rem;
    }
}
