/* Rick API Theme - Updated 2024-12-19 */

/* Dark Theme (Default) */
:root {
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --bg-elevated: #18181b;
    --accent: #00d4bd;
    --accent-dim: rgba(0, 212, 189, 0.15);
    --accent-glow: rgba(0, 212, 189, 0.4);
    --text-primary: #f0f0f0;
    --text-secondary: #888894;
    --text-tertiary: #55555f;
    --border: rgba(255, 255, 255, 0.08);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --noise-opacity: 0.03;
    --code-bg: var(--bg-secondary);
}

/* Navy Theme */
[data-theme="navy"] {
    --bg-primary: #161b26;
    --bg-secondary: #1c2333;
    --bg-elevated: #242d40;
    --accent: #14b8a6;
    --accent-dim: rgba(20, 184, 166, 0.12);
    --accent-glow: rgba(20, 184, 166, 0.35);
    --text-primary: #e8eaed;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;
    --border: rgba(255, 255, 255, 0.07);
    --noise-opacity: 0.02;
    --code-bg: #1c2333;
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-elevated: #f0f1f3;
    --accent: #00a896;
    --accent-dim: rgba(0, 168, 150, 0.12);
    --accent-glow: rgba(0, 168, 150, 0.25);
    --text-primary: #1a1a1b;
    --text-secondary: #5a5a65;
    --text-tertiary: #8a8a95;
    --border: rgba(0, 0, 0, 0.08);
    --noise-opacity: 0.015;
    --code-bg: #f0f1f3;
}

/* Utility Classes */
.text-accent {
    color: var(--accent);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: var(--noise-opacity);
    pointer-events: none;
    z-index: 1000;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-bracket {
    color: var(--accent);
    font-family: var(--font-mono);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::before {
    content: '/';
    color: var(--text-tertiary);
    margin-right: 0.25rem;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a.nav-admin {
    color: var(--accent);
}

.nav-links a.nav-admin::before {
    color: var(--accent);
}

.mobile-nav-links a.nav-admin {
    color: var(--accent);
}

/* Nav Right Section */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-secondary);
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

.theme-icon-sun,
.theme-icon-moon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Theme Toggle */
.mobile-theme-toggle {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: center;
}

.mobile-theme-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-secondary);
}

.mobile-theme-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.mobile-theme-btn svg {
    width: 20px;
    height: 20px;
}

.mobile-theme-label {
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

/* Profile Dropdown */
.nav-profile {
    position: relative;
}

.nav-profile-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-profile-btn:hover,
.nav-profile-btn.open {
    border-color: var(--accent);
}

.nav-profile-icon {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

.nav-profile-icon svg {
    width: 100%;
    height: 100%;
}

.nav-profile-arrow {
    width: 14px;
    height: 14px;
    color: var(--text-tertiary);
    transition: transform 0.2s ease;
}

.nav-profile-arrow svg {
    width: 100%;
    height: 100%;
}

.nav-profile-btn.open .nav-profile-arrow {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 200px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 200;
}

.nav-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-header {
    padding: 0.75rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-tertiary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.25rem 0;
}

.nav-dropdown-item {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-dropdown-item:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.nav-dropdown-signout {
    color: #ef4444;
}

.nav-dropdown-signout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Mobile Profile Section */
.mobile-profile-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.mobile-profile-email {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 1.5rem;
}

.mobile-profile-link {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.mobile-profile-link:hover {
    color: var(--text-primary);
}

.mobile-profile-signout {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #ef4444;
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-profile-signout:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

/* Core Principles Section */
.principles-section {
    padding: 6rem 4rem;
    background: var(--bg-secondary);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
}

.principle-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.75rem;
    transition: border-color 0.3s ease;
}

.principle-card:hover {
    border-color: rgba(0, 212, 189, 0.3);
}

.principle-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.principle-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.principle-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    transition: opacity 0.2s ease;
}

.principle-toggle:hover {
    opacity: 0.8;
}

.principle-toggle-arrow {
    transition: transform 0.2s ease;
}

.principle-toggle.open .principle-toggle-arrow {
    transform: rotate(180deg);
}

.principle-example {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}

.principle-example.open {
    max-height: 300px;
    opacity: 1;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.principle-example p {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    line-height: 1.7;
    font-style: italic;
}

.principle-title-link {
    text-decoration: none;
    color: inherit;
}

.principle-title-link:hover .principle-title {
    color: var(--accent);
}

.principle-read-more {
    display: inline-block;
    margin-top: 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.principle-read-more:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .principles-grid {
        grid-template-columns: 1fr;
    }

    .principles-section {
        padding: 4rem 2rem;
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    transition: border-color 0.2s ease;
}

.hamburger:hover {
    border-color: var(--accent);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger.open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 11, 0.98);
    backdrop-filter: blur(20px);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin: 2rem 0;
}

.mobile-nav-links a {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.mobile-nav-links a::before {
    content: '/';
    color: var(--accent);
    margin-right: 0.5rem;
    font-family: var(--font-mono);
    font-weight: 400;
}

.mobile-nav-links a:hover {
    color: var(--text-primary);
}

body.menu-open {
    overflow: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 4rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 20%, black 20%, transparent 70%);
}

.hero-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.3;
    filter: blur(100px);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-profile {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.hero-profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    flex-shrink: 0;
}

.hero-quote {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}

@media (max-width: 700px) {
    .hero-profile {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }

    .hero-profile-image {
        width: 100px;
        height: 100px;
    }

    .hero-quote {
        font-size: 1.1rem;
    }
}

.hero-tag {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-tag::before {
    content: '';
    width: 2rem;
    height: 1px;
    background: var(--accent);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.1s forwards;
}

.hero-title .highlight {
    color: var(--accent);
    position: relative;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.btn {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
    font-weight: 500;
}

.btn-primary:hover {
    background: #00ecd2;
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

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

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-tertiary);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

.scroll-line {
    width: 40px;
    height: 1px;
    background: var(--text-tertiary);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

/* Sections common */
section {
    padding: 8rem 4rem;
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--accent);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Pillars Section */
.pillars {
    background: var(--bg-secondary);
}

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

.pillar-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pillar-card:hover {
    border-color: rgba(0, 212, 189, 0.3);
    transform: translateY(-4px);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 1.25rem;
}

.pillar-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.pillar-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.pillar-link:hover {
    gap: 0.75rem;
}

.pillar-detail {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
    margin-bottom: 0;
}

.pillar-card:hover .pillar-detail {
    max-height: 300px;
    opacity: 1;
    margin-bottom: 1.5rem;
}

.pillar-detail-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.pillar-best-for {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-style: italic;
}

.pillar-best-for strong {
    color: var(--accent);
    font-style: normal;
}

/* About Section */
.about {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.about-image-container {
    position: relative;
}

.about-image {
    width: 100%;
    aspect-ratio: 5/4;
    background: var(--bg-elevated);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.about-image .profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.about-frame {
    position: absolute;
    top: -1rem;
    right: -1rem;
    bottom: 1rem;
    left: 1rem;
    border: 1px solid var(--accent);
    border-radius: 8px;
    z-index: -1;
    opacity: 0.4;
}

.about-content .section-header {
    justify-content: flex-start;
}

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

.about-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: left;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Content Section */
.content-section {
    background: var(--bg-secondary);
}

.content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.content-featured {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.content-featured:hover {
    border-color: rgba(0, 212, 189, 0.3);
}

.content-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.play-button {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px var(--accent-glow);
}

.play-button svg {
    width: 24px;
    height: 24px;
    fill: var(--bg-primary);
    margin-left: 4px;
}

.content-info {
    padding: 2rem;
}

.content-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.content-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.content-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.content-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.content-item {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.content-item:hover {
    border-color: rgba(0, 212, 189, 0.3);
    transform: translateX(4px);
}

.content-item .content-tag {
    margin-bottom: 0.5rem;
}

.content-item .content-title {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--text-primary);
}

/* CTA Section */
.cta-section {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.2;
    filter: blur(80px);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.cta-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

/* Footer */
footer {
    padding: 4rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Scroll animation states */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive */
@media (max-width: 1024px) {
    nav {
        padding: 1.5rem 2rem;
    }

    section {
        padding: 5rem 2rem;
    }

    .hero {
        padding: 6rem 2rem 4rem;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-container {
        max-width: 400px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    footer {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-profile {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* ========================================
   About Page Styles
   ======================================== */

.about-hero {
    min-height: 60vh;
    padding: 8rem 4rem 4rem;
    position: relative;
}

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

.about-hero-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.about-hero-image {
    position: relative;
}

.about-hero-image .about-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.about-hero-frame {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: -1rem;
    bottom: -1rem;
    border: 1px solid var(--accent);
    border-radius: 8px;
    z-index: -1;
    opacity: 0.3;
}

.about-hero-image .profile-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.story-image {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.about-hero-text {
    padding-top: 1rem;
}

.about-lead {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-lead strong {
    color: var(--accent);
}

.about-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.about-body strong {
    color: var(--text-primary);
}

/* Timeline Section */
.timeline-section {
    padding: 6rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    margin-top: 3rem;
    padding-left: 2rem;
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--border) 80%, transparent);
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    padding-bottom: 3rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--accent);
    position: relative;
    z-index: 1;
}

.timeline-item:first-child .timeline-dot {
    background: var(--accent);
    box-shadow: 0 0 20px rgba(0, 212, 189, 0.4);
}

.timeline-year {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    min-width: 50px;
}

.timeline-content {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: rgba(0, 212, 189, 0.3);
    transform: translateX(4px);
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.timeline-company {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.timeline-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* About CTA */
.about-cta {
    padding: 6rem 4rem;
    text-align: center;
    position: relative;
    background: var(--bg-secondary);
}

/* Story Section */
.story-section {
    padding: 6rem 4rem;
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-secondary);
}

.story-content {
    margin-top: 2rem;
}

.story-intro {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.story-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.story-intro p:last-child {
    margin-bottom: 0;
}

.story-block {
    margin-bottom: 3rem;
}

.story-block:last-child {
    margin-bottom: 0;
}

.story-block h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 1.5rem;
}

.story-block h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 4px;
    height: 1.25rem;
    background: var(--accent);
    border-radius: 2px;
}

.story-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.story-block p:last-child {
    margin-bottom: 0;
}

.story-list {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.story-list li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.story-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-family: var(--font-mono);
}

.story-values {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.story-values p:first-of-type {
    font-size: 1.15rem;
    color: var(--text-primary);
}

/* Responsive About Page */
@media (max-width: 1024px) {
    .about-hero {
        padding: 6rem 2rem 4rem;
    }

    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-hero-image {
        max-width: 250px;
        margin: 0 auto;
    }

    .timeline-section {
        padding: 4rem 2rem;
    }

    .about-cta {
        padding: 4rem 2rem;
    }

    .story-section {
        padding: 4rem 2rem;
    }
}

@media (max-width: 640px) {
    .about-lead {
        font-size: 1.25rem;
    }

    .timeline {
        padding-left: 1rem;
    }

    .timeline-item {
        padding-left: 2rem;
    }

    .timeline-marker {
        left: -1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .timeline-year {
        position: relative;
        left: 1.5rem;
    }

    .timeline-content {
        padding: 1.25rem;
    }

    .story-intro p,
    .story-block p,
    .story-list li {
        font-size: 1rem;
    }

    .story-block h3 {
        font-size: 1.25rem;
    }
}

/* ========================================
   New Personal Site Styles (2025 Redesign)
   ======================================== */

/* Minimal Hero */
.hero-minimal {
    min-height: 70vh;
    padding-bottom: 6rem;
}

.hero-title-personal {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.15s forwards;
}

.hero-intro {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 500px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.25s forwards;
}

.hero-audience {
    font-size: 1rem;
    color: var(--text-tertiary);
    max-width: 500px;
    margin-top: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.35s forwards;
}

/* Section Intro Text */
.section-intro {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.page-intro-secondary {
    color: var(--text-tertiary);
    font-size: 1.1rem;
    margin-top: 0.5rem;
    max-width: 700px;
    line-height: 1.7;
}

/* Start Here Section */
.start-here-section {
    padding: 6rem 4rem;
    background: var(--bg-secondary);
}

.start-here-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.start-here-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.start-here-item:hover {
    border-color: rgba(0, 212, 189, 0.3);
    transform: translateX(4px);
}

.start-here-arrow {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
}

.start-here-text {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Start Here Three-Track Layout */
.start-here-tracks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.start-here-track {
    display: flex;
    flex-direction: column;
}

.start-here-track-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

@media (max-width: 1100px) {
    .start-here-tracks {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 700px) {
    .start-here-tracks {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Thinking Section */
.thinking-section {
    padding: 6rem 4rem;
    max-width: 800px;
}

.thinking-list {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
}

.thinking-list li {
    font-size: 1.1rem;
    color: var(--text-secondary);
    padding: 1rem 0;
    padding-left: 2rem;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.thinking-list li::before {
    content: '?';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-family: var(--font-mono);
    font-weight: 600;
}

.thinking-list li:last-child {
    border-bottom: none;
}

.thinking-outro {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-style: italic;
}

/* Latest Section */
.latest-section {
    padding: 6rem 4rem;
    background: var(--bg-secondary);
}

.latest-video-section {
    background: var(--bg-primary);
}

.latest-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.latest-item {
    display: block;
    padding: 1rem 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.latest-section:not(.latest-video-section) .latest-item {
    background: var(--bg-elevated);
}

.latest-item:hover {
    border-color: rgba(0, 212, 189, 0.3);
    transform: translateX(4px);
}

.latest-title {
    font-size: 1.05rem;
    color: var(--text-primary);
}

.view-all-link {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.view-all-link:hover {
    gap: 0.75rem;
}

/* Video Featured */
.video-featured {
    max-width: 700px;
    margin-bottom: 2rem;
}

.video-thumbnail {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-thumbnail:hover {
    border-color: rgba(0, 212, 189, 0.3);
}

.video-thumbnail:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 0 40px var(--accent-glow);
}

/* About Short Section */
.about-short-section {
    padding: 6rem 4rem;
}

.about-short-content {
    max-width: 600px;
    margin-bottom: 2rem;
}

.about-short-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-short-content p:first-child {
    color: var(--text-primary);
}

/* Follow Section */
.follow-section {
    padding: 6rem 4rem;
    background: var(--bg-secondary);
}

.follow-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.follow-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.follow-link:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.follow-link svg {
    width: 20px;
    height: 20px;
    fill: var(--accent);
}

.follow-link span {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Minimal Footer */
.footer-minimal {
    padding: 3rem 4rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1200px;
}

.footer-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.footer-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.footer-ask-link {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
    margin-left: 0.5rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--border);
}

.footer-ask-link:hover {
    text-decoration: underline;
}

.footer-note {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.footer-social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    transition: color 0.2s ease;
}

.footer-social-link:hover {
    color: var(--accent);
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Page Hero (for interior pages) */
.page-hero {
    padding: 10rem 4rem 4rem;
}

.about-page-hero {
    padding-bottom: 2rem;
}

.page-intro {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    line-height: 1.7;
    margin-top: 2rem;
}

/* Ask Form Section */
.ask-form-section {
    padding: 0 4rem 4rem;
    max-width: 700px;
}

.ask-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-tertiary);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
}

.form-actions {
    margin-top: 1rem;
}

.form-errors {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.form-errors p {
    color: #ef4444;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-errors ul {
    list-style: disc;
    padding-left: 1.25rem;
    color: #ef4444;
}

.form-errors li {
    font-size: 0.9rem;
}

.flash-notice {
    background: rgba(0, 212, 189, 0.1);
    border: 1px solid var(--accent);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

@media (max-width: 768px) {
    .ask-form-section {
        padding: 0 2rem 4rem;
    }
}

/* Start Category (Start Here Page) */
.start-category {
    padding: 4rem 4rem;
    border-bottom: 1px solid var(--border);
}

.start-category:last-of-type {
    border-bottom: none;
}

.category-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-item:hover {
    border-color: rgba(0, 212, 189, 0.3);
    transform: translateX(4px);
}

.category-arrow {
    font-family: var(--font-mono);
    color: var(--accent);
}

.category-text {
    font-size: 1rem;
    color: var(--text-primary);
}

/* Featured Articles Section */
.featured-section {
    padding: 0 4rem 3rem;
}

.featured-section .section-title-small {
    font-size: 1.25rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.featured-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s ease;
}

.featured-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.featured-category {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.featured-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0 0 0.75rem;
}

.featured-excerpt {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 1rem;
    flex-grow: 1;
}

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

@media (max-width: 900px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .featured-section {
        padding: 0 2rem 2rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }
}

/* Writing List (Writing Page) */
.writing-list-section {
    padding: 2rem 4rem 6rem;
}

.writing-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
}

.writing-item {
    display: block;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.writing-item:hover {
    border-color: rgba(0, 212, 189, 0.3);
    transform: translateX(4px);
}

.writing-title {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.writing-excerpt {
    display: block;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Videos Section (Videos Page) */
.videos-section {
    padding: 2rem 4rem 6rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.video-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
}

.video-card:hover {
    border-color: rgba(0, 212, 189, 0.3);
    transform: translateY(-4px);
}

.video-card-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-card:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 0 40px var(--accent-glow);
}

.video-card-info {
    padding: 1.25rem;
}

.video-card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.video-card-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.videos-cta {
    text-align: center;
}

/* About Section (About Page - New Style) */
.about-section {
    padding: 3rem 4rem;
    max-width: 800px;
}

.about-section:first-of-type {
    padding-top: 2rem;
}

.about-section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.about-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 4px;
    height: 1.25rem;
    background: var(--accent);
    border-radius: 2px;
}

.about-section-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-section-content p strong {
    color: var(--text-primary);
}

.about-subsection-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-list {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.about-list li {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.about-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-family: var(--font-mono);
}

.about-list-focus li::before {
    content: '+';
}

.about-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-image-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.about-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Responsive for new styles */
@media (max-width: 1024px) {
    .start-here-section,
    .thinking-section,
    .latest-section,
    .about-short-section,
    .follow-section,
    .page-hero,
    .start-category,
    .writing-list-section,
    .videos-section,
    .about-section {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .footer-minimal {
        padding: 2rem;
    }

    .about-images {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-minimal {
        min-height: 60vh;
    }

    .hero-title-personal {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .follow-links {
        flex-direction: column;
    }

    .follow-link {
        justify-content: center;
    }

    .footer-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .page-hero {
        padding-top: 8rem;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Article/Writing Styles
   ======================================== */

/* Writing Search Section */
.writing-search-section {
    padding: 0 4rem 2rem;
}

.writing-search-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin-bottom: 1rem;
}

.writing-search-input {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
}

.writing-search-input:focus {
    outline: none;
    border-color: var(--accent);
}

.writing-search-input::placeholder {
    color: var(--text-tertiary);
}

.active-filter {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.clear-filter {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    text-decoration: none;
}

.clear-filter:hover {
    text-decoration: underline;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.category-tag {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.category-tag:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.category-tag.active {
    color: var(--bg-primary);
    background: var(--accent);
    border-color: var(--accent);
}

.category-tag-clear {
    color: var(--text-tertiary);
    border-style: dashed;
}

.category-tag-clear:hover {
    color: var(--text-primary);
    border-color: var(--text-tertiary);
}

.writing-meta {
    display: block;
    margin-top: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.no-results {
    font-size: 1.1rem;
    color: var(--text-secondary);
    padding: 2rem 0;
}

/* Article Page */
.article-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 10rem 4rem 4rem;
}

.article-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.article-category {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    text-decoration: none;
    padding: 0.25rem 0.75rem;
    background: var(--accent-dim);
    border-radius: 4px;
    transition: background 0.2s ease;
}

.article-category:hover {
    background: rgba(0, 212, 189, 0.25);
}

.article-reading-time {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.article-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.article-excerpt {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-date {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

/* Prose Content */
.prose {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    font-family: var(--font-display);
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.prose h1 { font-size: 2.25rem; }
.prose h2 { font-size: 1.75rem; }
.prose h3 { font-size: 1.5rem; }
.prose h4 { font-size: 1.25rem; }

.prose p {
    margin-bottom: 1.5rem;
}

.prose a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.2s ease;
}

.prose a:hover {
    opacity: 0.8;
}

.prose strong {
    color: var(--text-primary);
    font-weight: 600;
}

.prose em {
    font-style: italic;
}

.prose ul,
.prose ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

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

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

.prose blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-primary);
}

.prose code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background: var(--bg-secondary);
    padding: 0.2em 0.4em;
    border-radius: 4px;
    color: var(--accent);
}

.prose pre {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 2rem 0;
}

.prose pre code {
    background: none;
    padding: 0;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.prose hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 3rem 0;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.prose th,
.prose td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    text-align: left;
}

.prose th {
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 600;
}

/* Related Articles */
.related-articles {
    padding: 4rem 4rem 6rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Callouts for Markdown */
.callout {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid;
}

.callout-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
}

.callout-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
}

.callout-tip {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
}

.callout-note {
    background: rgba(139, 92, 246, 0.1);
    border-color: #8b5cf6;
}

.callout-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Syntax Highlighting (Rouge) */
.highlight {
    position: relative;
}

.highlight .c,
.highlight .cm,
.highlight .c1,
.highlight .cs { color: #6a737d; font-style: italic; }
.highlight .k,
.highlight .kc,
.highlight .kd,
.highlight .kn,
.highlight .kp,
.highlight .kr,
.highlight .kt { color: #d73a49; }
.highlight .s,
.highlight .sb,
.highlight .sc,
.highlight .sd,
.highlight .s2,
.highlight .se,
.highlight .sh,
.highlight .si,
.highlight .sx,
.highlight .s1 { color: #22c55e; }
.highlight .na { color: #6f42c1; }
.highlight .nb { color: #005cc5; }
.highlight .nc { color: #6f42c1; }
.highlight .no { color: #005cc5; }
.highlight .nd { color: #6f42c1; }
.highlight .nf { color: #6f42c1; }
.highlight .nn { color: #6f42c1; }
.highlight .nt { color: #22863a; }
.highlight .nv { color: #e36209; }
.highlight .o,
.highlight .ow { color: #d73a49; }
.highlight .p { color: var(--text-primary); }
.highlight .m,
.highlight .mf,
.highlight .mh,
.highlight .mi,
.highlight .mo { color: #005cc5; }

/* Article Share Buttons */
.article-share {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.article-share-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-share-buttons {
    display: flex;
    gap: 0.75rem;
}

.article-share-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid var(--border);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.article-share-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.article-share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.article-share-linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
    color: white;
}

.article-share-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.article-share-x:hover {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: var(--bg-primary);
}

.article-share-copy {
    cursor: pointer;
}

.article-share-copy:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

.article-share-copy.copied {
    background: #22c55e;
    border-color: #22c55e;
    color: white;
}

@media (max-width: 600px) {
    .article-share-buttons {
        flex-direction: column;
        width: 100%;
    }

    .article-share-button {
        justify-content: center;
        width: 100%;
    }
}

/* Author Card */
.author-card {
    margin-top: 4rem;
    padding: 2rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.author-card-content {
    max-width: 100%;
}

.author-card-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.author-card-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.author-card-pronunciation {
    font-weight: 400;
    color: var(--text-tertiary);
    font-size: 1rem;
}

.author-card-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.author-card-bio:last-of-type {
    margin-bottom: 1rem;
}

.author-card-follow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.author-card-link {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.author-card-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.author-card-follow-label {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    white-space: nowrap;
}

.author-card-social {
    display: flex;
    gap: 0.5rem;
}

.author-social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    transition: color 0.2s ease;
}

.author-social-link:hover {
    color: var(--accent);
}

.author-social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Responsive Article Styles */
@media (max-width: 1024px) {
    .article-page,
    .related-articles {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .writing-search-section {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width: 640px) {
    .article-page {
        padding-top: 8rem;
    }

    .article-title {
        font-size: 1.75rem;
    }

    .prose {
        font-size: 1rem;
    }

    .writing-search-form {
        flex-direction: column;
    }

    .author-card-follow {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ========================================
   Authentication Pages (Devise)
   ======================================== */

.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
}

.auth-card-wide {
    max-width: 500px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 1rem;
    color: var(--text-tertiary);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-hint {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 400;
}

.auth-field-note {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
}

.auth-input {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.auth-input::placeholder {
    color: var(--text-tertiary);
}

.auth-checkbox-field {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

.auth-checkbox-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.auth-actions {
    margin-top: 0.5rem;
}

.auth-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

.auth-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
}

.auth-link {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.auth-link:hover {
    opacity: 0.8;
}

.auth-errors {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.auth-errors-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ef4444;
    margin-bottom: 0.5rem;
}

.auth-errors-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-errors-list li {
    font-size: 0.85rem;
    color: #fca5a5;
    padding: 0.25rem 0;
}

.auth-notice {
    background: var(--accent-dim);
    border: 1px solid rgba(0, 212, 189, 0.3);
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-notice strong {
    color: var(--accent);
}

.auth-danger-zone {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.auth-danger-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: #ef4444;
    margin-bottom: 0.5rem;
}

.auth-danger-text {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

.btn-danger {
    background: transparent;
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 0.75rem 1.25rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

/* Responsive Auth */
@media (max-width: 640px) {
    .auth-container {
        padding: 6rem 1rem 2rem;
        align-items: flex-start;
    }

    .auth-card {
        padding: 1.5rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }
}

/* Flash Messages */
.flash-notice,
.flash-alert {
    position: fixed;
    top: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    max-width: 90%;
    text-align: center;
    animation: flashSlideIn 0.3s ease;
}

.flash-notice {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.flash-alert {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

@keyframes flashSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ========================================
   About Page - Bento Grid Layout
   ======================================== */

/* About Hero - Bento Style */
.about-hero-bento {
    padding: 100px 30px 60px;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.about-hero-accent {
    width: 4px;
    height: 120px;
    background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
    flex-shrink: 0;
    margin-top: 10px;
}

.about-hero-bento .about-hero-content {
    flex: 1;
}

.about-hero-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent);
    margin-bottom: 20px;
}

.about-hero-name {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
}

.about-hero-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin-top: 20px;
}

/* Bento Grid Section */
.about-bento-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 30px 80px;
}

.about-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 20px;
}

/* Bento Cards */
.bento-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

/* Bento Card Sizes */
.bento-span-2 {
    grid-column: span 2;
}

.bento-span-3 {
    grid-column: span 3;
}

.bento-span-4 {
    grid-column: span 4;
}

/* Bento Card Variants */
.bento-accent {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(0, 212, 189, 0.08) 100%);
    border-color: rgba(0, 212, 189, 0.3);
}

.bento-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at top right, var(--accent-dim), transparent 50%);
    pointer-events: none;
}

.bento-dark {
    background: var(--bg-primary);
}

/* Bento Card Content */
.bento-card-label {
    font-family: var(--font-mono);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bento-card-label::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.bento-card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.bento-card-text p {
    margin-bottom: 0.75rem;
}

.bento-card-text p:last-child {
    margin-bottom: 0;
}

.bento-card-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.bento-card-text-after {
    margin-top: 15px;
}

/* Bento Quote */
.bento-quote {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-primary);
}

.bento-quote span {
    color: var(--accent);
}

/* Bento Stat Card */
.bento-stat-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-stat-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 10px;
}

.bento-stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Bento List */
.bento-list {
    list-style: none;
    margin-top: 15px;
    padding: 0;
}

.bento-list li {
    position: relative;
    padding-left: 16px;
    padding-top: 6px;
    padding-bottom: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.bento-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
}

.bento-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Bento Work Grid */
.bento-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.bento-work-column h4 {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-tertiary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.bento-work-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bento-work-column li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 5px 0;
}

/* Bento Focus Pills */
.bento-focus-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.bento-focus-pill {
    padding: 10px 18px;
    background: var(--accent-dim);
    border: 1px solid transparent;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent);
    transition: all 0.3s ease;
}

.bento-focus-pill:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Testimonial Section */
.bento-testimonial {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, var(--surface) 100%);
    border: 1px solid var(--accent-dim);
}

.bento-testimonial-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.bento-testimonial-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg);
}

.bento-testimonial-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.bento-testimonial-text {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bento-testimonial-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.bento-testimonial-role {
    margin-top: 0.5rem;
    color: var(--accent) !important;
    font-weight: 500;
}

.bento-testimonial-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.bento-testimonial-link:hover {
    opacity: 0.8;
}

@media (max-width: 900px) {
    .bento-testimonial-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Bento Grid Responsive */
@media (max-width: 1024px) {
    .about-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-span-3,
    .bento-span-4 {
        grid-column: span 2;
    }

    .bento-work-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .about-hero-bento,
    .about-bento-section {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width: 640px) {
    .about-bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-span-2,
    .bento-span-3,
    .bento-span-4 {
        grid-column: span 1;
    }

    .about-hero-bento {
        flex-direction: column;
        gap: 20px;
        padding-top: 8rem;
    }

    .about-hero-accent {
        width: 60px;
        height: 4px;
        background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
    }

    .bento-quote {
        font-size: 1.25rem;
    }

    .bento-stat-number {
        font-size: 3rem;
    }
}
