/*
 Theme Name:   GeneratePress Child - Tech Style
 Theme URI:    https://zhycgroup.top
 Description:  AI科技风格定制子主题
 Author:       Hermes Agent
 Author URI:   https://zhycgroup.top
 Template:     generatepress
 Version:      1.0.0
*/

/* ============================================
   NEXUSMIND - TECH AESTHETIC STYLES
   Generated: 2026-04-13
   ============================================ */

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

/* ============================================
   CSS VARIABLES - TECH COLOR SCHEME
   ============================================ */
:root {
    --tech-bg-primary: #0a0a0f;
    --tech-bg-secondary: #12121a;
    --tech-bg-card: #1a1a24;
    --tech-accent-cyan: #00d4ff;
    --tech-accent-purple: #7c3aed;
    --tech-accent-green: #00ff88;
    --tech-text-primary: #f0f0f5;
    --tech-text-secondary: #a0a0b0;
    --tech-border: rgba(0, 212, 255, 0.15);
    --tech-glow: 0 0 30px rgba(0, 212, 255, 0.3);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* ============================================
   GLOBAL - BODY & BACKGROUND
   ============================================ */
body {
    font-family: var(--font-body);
    background: var(--tech-bg-primary);
    color: var(--tech-text-primary);
    line-height: 1.7;
}

/* ============================================
   BACKGROUND GRADIENT ORBS (AMBIENT)
   ============================================ */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(124, 58, 237, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 255, 136, 0.03) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

/* ============================================
   SITE CONTAINER
   ============================================ */
.site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER - TECH GLASS STYLE
   ============================================ */
.site-header {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--tech-border);
    padding: 16px 0;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Site Title - Tech Style */
.site-title a,
.site-name a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--tech-text-primary) !important;
    text-decoration: none;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--tech-accent-cyan), var(--tech-accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Site Description */
.site-description {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--tech-text-secondary);
    letter-spacing: 0.05em;
}

/* ============================================
   NAVIGATION - TECH STYLE
   ============================================ */
.main-navigation a,
.nav-links a {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--tech-text-secondary) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.main-navigation a:hover,
.nav-links a:hover {
    color: var(--tech-accent-cyan) !important;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--tech-accent-cyan), var(--tech-accent-purple));
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* ============================================
   CONTENT AREA
   ============================================ */
.site-main,
.entry-content {
    background: transparent;
    color: var(--tech-text-primary);
}

/* ============================================
   HEADINGS - TECH STYLE
   ============================================ */
h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--tech-text-primary);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* ============================================
   LINKS
   ============================================ */
a {
    color: var(--tech-accent-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--tech-accent-purple);
}

/* ============================================
   POSTS & PAGES - CARD STYLE
   ============================================ */
article.post,
article.page,
.post,
.page {
    background: var(--tech-bg-card);
    border: 1px solid var(--tech-border);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

article.post:hover,
article.page:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: var(--tech-glow);
}

/* Entry Title */
.entry-title a {
    color: var(--tech-text-primary) !important;
    font-family: var(--font-heading);
}

.entry-title a:hover {
    color: var(--tech-accent-cyan) !important;
}

/* ============================================
   POST META - TECH MONO STYLE
   ============================================ */
.post-meta,
.entry-meta,
.byline,
.cat-links,
.tags-links {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--tech-text-secondary);
    letter-spacing: 0.02em;
}

.post-meta a {
    color: var(--tech-accent-cyan);
}

/* ============================================
   BUTTONS
   ============================================ */
button,
.button,
input[type="submit"],
.wp-block-button__link,
a.button,
a.comment-reply-link {
    font-family: var(--font-body);
    font-weight: 500;
    background: linear-gradient(135deg, var(--tech-accent-cyan), var(--tech-accent-purple));
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

button:hover,
.button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
a.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

/* ============================================
   INPUT FIELDS
   ============================================ */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
    font-family: var(--font-body);
    background: var(--tech-bg-secondary);
    border: 1px solid var(--tech-border);
    border-radius: 8px;
    color: var(--tech-text-primary);
    padding: 12px 16px;
    transition: all 0.3s ease;
    width: 100%;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--tech-accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

input::placeholder,
textarea::placeholder {
    color: var(--tech-text-secondary);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--tech-bg-secondary);
    border-top: 1px solid var(--tech-border);
    color: var(--tech-text-secondary);
    padding: 32px 0;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.site-footer a {
    color: var(--tech-accent-cyan);
}

/* ============================================
   SCROLLBAR - TECH STYLE
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--tech-bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--tech-accent-cyan), var(--tech-accent-purple));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--tech-accent-cyan);
}

/* ============================================
   SELECTION - TECH HIGHLIGHT
   ============================================ */
::selection {
    background: rgba(0, 212, 255, 0.3);
    color: #fff;
}

/* ============================================
   COMMENTS
   ============================================ */
.comments-area {
    background: var(--tech-bg-card);
    border: 1px solid var(--tech-border);
    border-radius: 12px;
    padding: 24px;
}

/* ============================================
   WIDGETS
   ============================================ */
.widget {
    background: var(--tech-bg-card);
    border: 1px solid var(--tech-border);
    border-radius: 12px;
    padding: 20px;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--tech-accent-cyan);
    margin-bottom: 16px;
}

/* ============================================
   WORDPRESS BLOCKS ENHANCEMENT
   ============================================ */
.wp-block-quote {
    border-left: 3px solid var(--tech-accent-cyan);
    background: var(--tech-bg-secondary);
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

.wp-block-code {
    background: var(--tech-bg-secondary);
    border: 1px solid var(--tech-border);
    border-radius: 8px;
    font-family: var(--font-mono);
}

.wp-block-preformatted {
    background: var(--tech-bg-secondary);
    border-radius: 8px;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination,
.post-navigation,
.comments-pagination {
    font-family: var(--font-mono);
}

.pagination a,
.post-navigation a {
    background: var(--tech-bg-card);
    border: 1px solid var(--tech-border);
    color: var(--tech-text-primary);
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pagination a:hover,
.post-navigation a:hover {
    border-color: var(--tech-accent-cyan);
    color: var(--tech-accent-cyan);
}

.pagination .current {
    background: linear-gradient(135deg, var(--tech-accent-cyan), var(--tech-accent-purple));
    color: #fff;
    border: none;
}

/* ============================================
   MEDIA - RESPONSIVE
   ============================================ */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.alignleft,
.alignright,
.aligncenter {
    margin-bottom: 16px;
}

/* ============================================
   GENERATEPRESS SPECIFIC ENHANCEMENTS
   ============================================ */

/* Site Logo */
.custom-logo-link img {
    border-radius: 8px;
}

/* Header Widget */
.header-widget {
    font-family: var(--font-mono);
}

/* Back to top button */
.back-to-top {
    background: linear-gradient(135deg, var(--tech-accent-cyan), var(--tech-accent-purple));
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 24px;
    right: 24px;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    article.post,
    article.page {
        padding: 20px;
    }
    
    .site-header {
        padding: 12px 0;
    }
    
    .site-title a {
        font-size: 1.2rem;
    }
}
