/* ==========================================================================
   Selçuk Özdemir - Yapay Zeka ile Kodlama Kitabı
   Modern Design System & Live HTML Editor Styling
   ========================================================================== */

/* CSS Custom Properties / Design Tokens */
:root {
    /* Color Palette (Dark Theme Default) */
    --bg-primary: #0b0f19;
    --bg-secondary: #111827;
    --bg-tertiary: #1f2937;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-glass: rgba(31, 41, 55, 0.4);
    
    --border-color: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(99, 102, 241, 0.4);

    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    /* Primary Brand Colors */
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    --editor-gradient: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));

    /* UI Measurements */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.25);

    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Fira Code', monospace;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Variables */
body.light-theme {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-glass: rgba(241, 245, 249, 0.6);

    --border-color: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(59, 130, 246, 0.3);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --shadow-glow: 0 0 25px rgba(59, 130, 246, 0.15);
}

/* Global Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

/* Typography Helpers */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Navbar */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}
body.light-theme .navbar-header {
    background: rgba(248, 250, 252, 0.85);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    box-shadow: var(--shadow-glow);
}

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

.author-name {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-cyan);
}

.book-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

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

.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}
.theme-toggle-btn:hover {
    transform: rotate(15deg);
    border-color: var(--accent-purple);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
}
.btn-primary:hover {
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--border-color);
}
.btn-outline:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.85rem 1.8rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
}

/* Sections */
.section {
    padding: 6rem 1.5rem;
}

.section-container {
    max-width: 1300px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid var(--border-glow);
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 10rem 1.5rem 6rem;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, rgba(59, 130, 246, 0.15) 40%, rgba(0,0,0,0) 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-pink);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.2rem;
    max-width: 620px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual & 3D Book */
.hero-visual {
    display: flex;
    justify-content: center;
}

.book-card-3d {
    position: relative;
    width: 320px;
    border-radius: var(--radius-lg);
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), var(--shadow-glow);
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
    transition: var(--transition);
}

.book-card-3d:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.03);
}

.book-cover-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
}

.floating-badge {
    position: absolute;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid var(--border-glow);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.floating-badge.badge-1 {
    top: -15px;
    left: -20px;
    color: var(--accent-cyan);
}

.floating-badge.badge-2 {
    bottom: -15px;
    right: -20px;
    color: var(--accent-pink);
}

/* ==========================================================================
   SHOWCASE BANNER FOR HTML VIEWER PAGE
   ========================================================================== */
.html-viewer-showcase-section {
    background: var(--editor-gradient);
    border-y: 1px solid var(--border-color);
}

.showcase-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-glow);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.showcase-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0.5rem 0 1rem;
}

.showcase-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;

}

.showcase-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 2.5rem;
}

.feat-box {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--accent-cyan);
}

.showcase-preview-graphic {
    display: flex;
    justify-content: center;
}

.mini-editor-window {
    width: 100%;
    max-width: 420px;
    background: #0f172a;
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

.mini-editor-bar {
    padding: 0.6rem 1rem;
    background: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.mini-editor-bar .title { margin-left: auto; font-weight: 700; color: var(--accent-cyan); }

.mini-editor-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 180px;
}

.mini-left {
    padding: 1rem;
    background: #090d16;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #ec4899;
    border-right: 1px solid var(--border-color);
}

.mini-right {
    padding: 1rem;
    background: #ffffff;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-result h4 { color: #2563eb; margin-bottom: 4px; }
.mini-result p { font-size: 0.8rem; color: #475569; }

/* ==========================================================================
   STANDALONE VIEWER PAGE STYLES (html-viewer.html)
   ========================================================================== */
.page-viewer {
    background-color: var(--bg-primary);
}

.viewer-standalone-main {
    padding: 8rem 1.5rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.viewer-page-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0.5rem 0;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 750px;
    margin: 0 auto;
}

.editor-main-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow), 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.editor-header {
    padding: 1rem 1.5rem;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.editor-title-group {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.window-dots {
    display: flex;
    gap: 7px;
}

.window-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.editor-branding-badge {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.editor-toolbar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.preset-selector {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.styled-select {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.styled-select:focus, .styled-select:hover {
    border-color: var(--accent-purple);
}

.editor-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    padding: 0.45rem 0.85rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.action-btn:hover {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--accent-blue);
}

.action-btn.highlight {
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent-purple);
    border-color: rgba(139, 92, 246, 0.4);
}
.action-btn.highlight:hover {
    background: var(--accent-purple);
    color: white;
}

.editor-view-mode-bar {
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.view-mode-group, .responsive-preview-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-mode-btn, .res-btn {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: var(--transition);
}

.view-mode-btn:hover, .res-btn:hover {
    color: var(--text-primary);
}

.view-mode-btn.active, .res-btn.active {
    background: var(--bg-tertiary);
    color: var(--accent-cyan);
    border-color: var(--border-glow);
}

.preview-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-right: 0.2rem;
}

/* Workspace Panels */
.editor-workspace {
    display: flex;
    min-height: 580px;
    position: relative;
    background: var(--bg-primary);
}

.editor-workspace.layout-split {
    flex-direction: row;
}

.editor-workspace.layout-stacked {
    flex-direction: column;
}

.editor-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.panel-header {
    padding: 0.6rem 1.2rem;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.char-counter {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #10b981;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 1.8s infinite;
}

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

/* Left Panel: Textarea & Line Numbers */
.textarea-wrapper {
    display: flex;
    flex: 1;
    position: relative;
    background: #0f172a;
}

.line-numbers {
    padding: 1rem 0.6rem;
    background: rgba(15, 23, 42, 0.95);
    border-right: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: right;
    user-select: none;
    min-width: 45px;
}

#htmlInput {
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 500px;
    padding: 1rem;
    background: transparent;
    color: #e2e8f0;
    border: none;
    outline: none;
    font-family: var(--font-mono);
    font-size: 0.92rem;
    line-height: 1.6;
    resize: none;
    tab-size: 2;
}

/* Right Panel: Live Frame */
.preview-frame-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: stretch;
    background: #ffffff;
    transition: var(--transition);
}

#livePreviewFrame {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
    background: white;
}

.editor-footer-info {
    padding: 0.6rem 1.5rem;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Fullscreen Mode */
.editor-main-card.fullscreen-active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    border-radius: 0;
}
.editor-main-card.fullscreen-active #htmlInput,
.editor-main-card.fullscreen-active #livePreviewFrame {
    height: calc(100vh - 160px);
}

/* Cards Section */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.feature-card.highlight-card {
    border-color: var(--accent-purple);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(17, 24, 39, 0.8));
}

.card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-full);
    background: var(--accent-gradient);
    color: white;
}

.card-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.card-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Prompt Builder Mini */
.prompt-builder-mini {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.styled-select-sm {
    width: 100%;
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.prompt-output-box {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--accent-pink);
    line-height: 1.4;
}

/* Chapter List */
.chapter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.chapter-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.chapter-list li i {
    color: #10b981;
    margin-top: 0.2rem;
}

/* Snippets List */
.snippet-buttons-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.snippet-load-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.snippet-load-btn:hover {
    border-color: var(--accent-blue);
    background: var(--bg-primary);
    transform: translateX(4px);
}

.badge-mini {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
}

/* Author Section */
.author-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.7), rgba(17, 24, 39, 0.9));
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
    box-shadow: var(--shadow-glow);
}

.author-subtitle {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-pink);
    letter-spacing: 0.1em;
}

.author-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0.5rem 0 1.2rem;
}

.author-bio {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 900px;
    margin-bottom: 2rem;
}

.author-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.author-feat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 1.5rem 2rem;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-desc {
    color: var(--text-secondary);
    margin-top: 1rem;
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-cyan);
}

.copyright-info {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .showcase-card {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .nav-menu {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .editor-workspace.layout-split {
        flex-direction: column;
    }
    .footer-links-group {
        grid-template-columns: 1fr;
    }
}
