/*
Theme Name: Keywords.chat
Theme URI: https://keywords.chat
Description: Hero-style blog theme with branded header and clean white content
Version: 3.0
Author: Keywords.chat
Author URI: https://keywords.chat
License: MIT
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #1c1c1c;
    color: #1a1a1a;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Sticky Navigation - Dark */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 2rem;
    background: #1c1c1c;
    border-bottom: 1px solid rgba(0, 215, 215, 0.15);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-k {
    width: 36px;
    height: 36px;
    fill: #00d7d7;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.back-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.back-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section - Dark Branded Area with Grid Pattern */
.hero-section {
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 215, 215, 0.03) 2px,
            rgba(0, 215, 215, 0.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 215, 215, 0.03) 2px,
            rgba(0, 215, 215, 0.03) 4px
        ),
        linear-gradient(135deg, #1c1c1c 0%, #262626 100%);
    color: #ffffff;
    padding: 4rem 2rem 5rem;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.category-badge {
    display: inline-block;
    background: rgba(0, 215, 215, 0.15);
    color: #00d7d7;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero-section h1,
.hero-section .entry-title {
    font-size: 3.25rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-section .subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section .entry-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* White Content Area - Clean Reading Experience */
article {
    background: #fafafa;
    padding: 4rem 0 6rem;
}

.entry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography - Softer Colors for Content */
h1, .entry-title {
    font-size: 2.5rem;
    color: #2d2d2d;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.article-meta, .entry-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #888;
}

h2 {
    font-size: 2rem;
    color: #00afaf;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
    color: #2d2d2d;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    color: #4d4d4d;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    color: #4a4a4a;
    line-height: 1.8;
}

ul, ol {
    margin-left: 1.75rem;
    margin-bottom: 1.75rem;
    color: #4a4a4a;
}

li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

strong {
    color: #1d1d1d;
    font-weight: 600;
}

a {
    color: #00afaf;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 175, 175, 0.3);
    transition: all 0.2s;
}

a:hover {
    color: #008888;
    border-bottom-color: #00afaf;
}

/* Quotes - Light Background with Cyan Accent */
.highlight-box, .wp-block-quote, blockquote {
    background: rgba(0, 215, 215, 0.03);
    border-left: 4px solid #00afaf;
    padding: 1.5rem 1.75rem;
    margin: 2.5rem 0;
    color: #4a4a4a;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Tables - Clean Style */
.comparison-table, table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
    border: 1px solid #e8eaed;
    background: #ffffff;
}

.comparison-table th,
.comparison-table td,
table th,
table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid #e8eaed;
}

.comparison-table th,
table th {
    background: #f8f9fa;
    color: #2d2d2d;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table tr:last-child td,
table tr:last-child td {
    border-bottom: none;
}

/* Call-to-Action */
.cta-section {
    background: #f8f9fa;
    border: 2px solid #e8eaed;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.cta-section h3 {
    color: #2d2d2d;
    margin-top: 0;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #5a5a5a;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #00d7d7 0%, #00afaf 100%);
    color: #1c1c1c;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    transition: all 0.2s;
}

.cta-button:hover {
    background: linear-gradient(135deg, #00afaf 0%, #008888 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 215, 215, 0.3);
}

/* Images */
.wp-block-image {
    margin: 2.5rem 0;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Code */
code, pre {
    background: #f5f5f5;
    border: 1px solid #e8eaed;
    border-radius: 4px;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
}

code {
    padding: 0.2rem 0.4rem;
    color: #d73a49;
}

pre {
    padding: 1.25rem;
    overflow-x: auto;
    margin: 2rem 0;
    line-height: 1.5;
}

pre code {
    padding: 0;
    border: none;
    background: transparent;
    color: #24292e;
}

/* Footer */
footer {
    background: #1c1c1c;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(0, 215, 215, 0.15);
}

footer a {
    color: #00d7d7;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}

footer a:hover {
    color: #00afaf;
    border-bottom-color: #00afaf;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1,
    .hero-section .entry-title {
        font-size: 2rem;
    }
    
    .hero-section .subtitle {
        font-size: 1.1rem;
    }
    
    h1, .entry-title {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-section {
        padding: 3rem 1.5rem 4rem;
    }
    
    article {
        padding: 2.5rem 0 4rem;
    }
    
    .entry-content {
        padding: 0 1.5rem;
    }
    
    .header-content {
        gap: 1rem;
    }
    
    body {
        font-size: 1rem;
    }
    
    footer {
        padding: 2rem 1.5rem;
    }
}
