:root {
    --bg: #1e1e1e;
    --bg-darker: #141414;
    --text: #d4d4d4;
    --text-secondary: #808080;
    --accent: #b794f6;
    --accent-hover: #9f7aea;
    --border: #2d2d2d;
    --success: #4ade80;
    --warning: #fbbf24;
    --max-width: 1000px;
    --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', 'Courier New', monospace;
}

[data-theme="light"] {
    --bg: #ffffff;
    --bg-darker: #f5f5f5;
    --text: #1a1a1a;
    --text-secondary: #666666;
    --accent: #8b5cf6;
    --accent-hover: #7c3aed;
    --border: #e5e5e5;
}

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

html {
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-mono);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    min-height: 100vh;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.nav-brand {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.nav-brand::before {
    content: 'karthik nagapuri';
}

.nav-brand::after {
    content: '0';
    margin-left: 0.5rem;
    display: inline-block;
    animation: arrowPulse 2s ease-in-out infinite;
    opacity: 0.7;
    font-weight: 300;
    transition: all 0.3s ease;
}

.nav-brand:hover::after {
    content: '→';
    opacity: 1;
    transform: translateX(2px);
    animation: none;
}

@keyframes arrowPulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.1);
    }
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}


.nav-link:hover {
    color: var(--text);
}

.nav-link.active {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}


/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 3rem;
}

/* Hero Section */
.hero {
    margin-bottom: 6rem;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: normal;
    margin-bottom: 2rem;
    color: var(--text);
    letter-spacing: -0.5px;
}

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

/* Sections */
section {
    margin-bottom: 5rem;
}

section h2 {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: normal;
    color: var(--text);
}

section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.column h3 {
    font-size: 1rem;
    margin-bottom: 2rem;
    font-weight: normal;
    color: var(--text);
}

/* Lists */
ul {
    list-style: none;
    padding: 0;
}

li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

li::before {
    content: '*';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Links */
a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Post List */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.post-item {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s ease;
}

.post-item:last-child {
    border-bottom: none;
}

.post-item:hover {
    color: var(--text);
    padding-left: 0.5rem;
}

.post-item:hover .post-title {
    color: var(--accent);
}

.post-title {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.25rem;
    transition: color 0.2s ease;
}

.post-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Project Card */
.project-card {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}

.project-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.project-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: normal;
}

.project-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.project-links {
    display: flex;
    gap: 1.5rem;
}

.project-link {
    color: var(--accent);
    font-size: 0.9rem;
}

.project-link::before {
    content: '[';
}

.project-link::after {
    content: ']';
}

/* Footer */
.footer {
    padding: 3rem 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 8rem;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 3rem;
    padding-right: 3rem;
    border-top: 1px solid var(--border);
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--text);
    text-decoration: none;
}

/* Terminal Style Elements */
.terminal-prompt::before {
    content: '> ';
    color: var(--accent);
}

/* Special Section */
.special-section {
    background: var(--bg-darker);
    padding: 3rem;
    border-radius: 8px;
    margin: 4rem 0;
}

.special-section h2 {
    color: var(--accent);
    margin-bottom: 1.5rem;
}

/* Code Block */
.code-block {
    background: var(--bg-darker);
    padding: 1.5rem;
    border-radius: 6px;
    margin: 1.5rem 0;
    overflow-x: auto;
    border: 1px solid var(--border);
}

/* Button Style */
.button {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--accent);
    color: var(--bg);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    text-decoration: none;
}

/* Mobile First Design - Auto Layout System */

/* Base mobile styles */
.container {
    padding: 1rem;
    max-width: 100%;
    margin: 0 auto;
}





/* Mobile hamburger menu */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-toggle:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: scale(1.05);
}

.nav-toggle.active {
    color: var(--accent);
    border-color: var(--accent);
}

.nav-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.nav-toggle.active svg {
    transform: rotate(90deg);
}

/* Mobile navigation styles */


/* Auto-layout button system */
.button, .contact-options a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--accent);
    color: var(--bg);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 44px; /* Touch target size */
    white-space: nowrap;
}

.button:hover, .contact-options a:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    /* removed shadow */
}

.button:active, .contact-options a:active {
    transform: translateY(0);
    /* removed shadow */
}

/* Smooth animations and transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.fade-in {
    animation: fadeInSmooth 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* Terminal mobile optimization */
.terminal-window {
    border-radius: 12px;
    overflow: hidden;
    /* removed shadow */
}

.terminal-body {
    max-height: 250px;
    font-size: 0.85rem;
}

.terminal-input {
    font-size: 0.85rem;
    padding: 0.75rem;
    min-height: 44px;
}

/* Auto-layout grid system */
.two-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.column {
    background: var(--bg-darker);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

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

/* Contact form mobile optimization */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-darker);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 1rem;
    transition: all 0.3s ease;
    min-height: 44px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Auto-layout for contact options */
.contact-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-options a {
    justify-content: center;
    font-size: 1rem;
    padding: 1rem;
}

/* Theme toggle mobile optimization */
.theme-toggle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-darker);
    border: 1px solid var(--border);
}

.theme-toggle:hover {
    transform: scale(1.1);
    /* removed shadow */
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* Expandable cards mobile optimization */
.expandable-card {
    margin-bottom: 1rem;
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.expandable-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.expandable-header:hover {
    background: rgba(183, 148, 246, 0.05);
}

.expandable-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.25rem;
    background: var(--bg-darker);
}

/* Post items mobile optimization */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.post-item {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.post-item:hover {
    background: var(--bg-darker);
    transform: translateX(8px);
}

/* Project cards auto-layout */
.project-card {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-darker);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    /* removed shadow */
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.project-link {
    color: var(--accent);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent);
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.project-link:hover {
    background: var(--accent);
    color: var(--bg);
}

/* Footer mobile optimization */
.footer {
    padding: 2rem 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 4rem;
    max-width: 100%;
    border-top: 1px solid var(--border);
}


/* Mobile navigation responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: flex;
    }
}

/* Tablet and larger screens */
@media (min-width: 640px) {
    .container {
        padding: 2rem 1.5rem;
    }

    .contact-options {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

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

    .nav {
        padding: 1.5rem 2rem;
    }

    .nav-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
    }

}

/* Desktop screens */
@media (min-width: 1024px) {
    .container {
        padding: 3rem;
        max-width: var(--max-width);
    }

    .nav {
        padding: 2rem 3rem;
    }

    .contact-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .footer-links {
        gap: 2rem;
    }
}

/* Large desktop screens */
@media (min-width: 1280px) {
    .container {
        padding: 4rem;
    }

    .nav {
        padding: 2rem 4rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Focus styles */
:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: var(--accent);
    color: var(--bg);
}

::-moz-selection {
    background: var(--accent);
    color: var(--bg);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Terminal Interface */
.terminal-section {
    margin-bottom: 4rem;
}

.ascii-art {
    color: var(--accent);
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.terminal-window {
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.terminal-header {
    background: var(--border);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.terminal-body {
    padding: 1rem;
    min-height: 120px;
    max-height: 300px;
    overflow-y: auto;
}

#terminal-output {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terminal-prompt {
    color: var(--accent);
}

.terminal-input {
    background: transparent;
    border: none;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    flex: 1;
    outline: none;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 100;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--text);
}

.sun-icon {
    display: none;
}

.moon-icon {
    display: block;
}

[data-theme="light"] .sun-icon {
    display: block;
}

[data-theme="light"] .moon-icon {
    display: none;
}

/* Keyboard Help */
.keyboard-help {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.keyboard-help.show {
    display: flex;
}

.keyboard-help-content {
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    max-width: 400px;
}

.keyboard-help-content h3 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.keyboard-help-content ul {
    list-style: none;
}

.keyboard-help-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.keyboard-help-content kbd {
    background: var(--border);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    color: var(--text);
    margin-right: 0.5rem;
}

/* Status Dashboard */
.status-dashboard {
    margin-bottom: 4rem;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.status-card {
    background: var(--bg-darker);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.status-value {
    font-size: 1rem;
    color: var(--text);
}

.status-available {
    color: var(--success);
}

/* Social Proof */
.social-proof {
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    color: var(--accent);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

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

/* Contact Options */
.contact-options {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.button-whatsapp {
    background: #25d366;
}

.button-whatsapp:hover {
    background: #20bd5a;
}

.button-calendar {
    background: var(--warning);
    color: var(--bg);
}

.button-calendar:hover {
    background: #f59e0b;
}

/* Typing Animation */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent) }
}

.typing-text {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(30, end);
}

/* Fade In Animation */
.fade-in-text {
    animation: fadeIn 1s ease-in 0.5s both;
}

/* Counter Animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Metrics Section */
.metrics-section {
    margin: 4rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.metric-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-darker);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    /* removed shadow */
}

.metric-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

/* Expandable Journey Sections */
.journey-section {
    margin: 4rem 0;
}

.expandable-card {
    margin-bottom: 1.5rem;
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.expandable-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    user-select: none;
}

.expandable-header h3 {
    font-size: 1rem;
    font-weight: normal;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.expand-toggle {
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.expandable-header:hover .expand-toggle {
    color: var(--accent);
}

.expandable-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.expandable-card[data-expanded="true"] .expandable-content {
    max-height: 500px;
    opacity: 1;
    padding: 0 1.5rem 1.5rem;
}

.expandable-card[data-expanded="true"] .expand-toggle {
    color: var(--accent);
}

.expandable-card[data-expanded="true"] .expand-toggle::before {
    content: '[COLLAPSE]';
}

.expandable-card[data-expanded="true"] .expand-toggle {
    font-size: 0;
}

.expandable-card[data-expanded="true"] .expand-toggle::before {
    font-size: 0.85rem;
}

.expandable-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.expandable-content p:last-child {
    margin-bottom: 0;
}

/* Days Counter */
.days-counter {
    color: var(--accent);
    font-weight: bold;
}

/* Caret Blink Animation */
@keyframes caret-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.caret-blink::after {
    content: '_';
    display: inline-block;
    animation: caret-blink 1s infinite;
    color: var(--accent);
    margin-left: 2px;
}

/* Interactive Timeline */
.timeline-section {
    margin: 4rem 0;
    padding: 2rem 0;
}

.timeline-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--text);
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

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

.timeline-item {
    position: relative;
    width: 45%;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-item.right {
    margin-left: auto;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--bg);
    border: 3px solid var(--accent);
    border-radius: 50%;
    top: 0;
    z-index: 2;
}

.timeline-item:not(.right) .timeline-dot {
    right: -47px;
}

.timeline-item.right .timeline-dot {
    left: -47px;
}

.timeline-dot.active {
    background: var(--accent);
    /* removed shadow */
    animation: pulse 2s infinite;
}

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

.timeline-content:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    /* removed shadow */
}

.timeline-content h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Stagger animation for timeline items */
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }
.timeline-item:nth-child(7) { animation-delay: 0.7s; }
.timeline-item:nth-child(8) { animation-delay: 0.8s; }
.timeline-item:nth-child(9) { animation-delay: 0.9s; }
.timeline-item:nth-child(10) { animation-delay: 1s; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .metric-number {
        font-size: 1.8rem;
    }
    
    .expandable-header h3 {
        font-size: 0.9rem;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item {
        width: calc(100% - 40px);
        margin-left: 40px !important;
    }
    
    .timeline-item .timeline-dot {
        left: -30px !important;
        right: auto !important;
    }
    
    .timeline-content {
        padding: 1rem;
    }
}
/* Minimal Section Styles */
.minimal-section {
    margin: 2rem 0;
}

.minimal-section h2 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.minimal-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Override for minimal layout */
section {
    margin-bottom: 2.5rem;
}

/* Simplify buttons */
.button {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
}

.button:hover {
    opacity: 0.7;
    background: transparent;
}

/* Remove rounded corners */
.terminal-window,
.post-item,
.expandable-card,
.terminal-header {
    border-radius: 0;
}

/* Simplify expandable cards */
.expandable-card {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.expandable-header {
    padding: 0.5rem 0;
    background: transparent;
}

.expandable-header:hover {
    background: transparent;
    opacity: 0.8;
}

/* Simplify post items */
.post-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
}

/* Clean navigation */
.nav-toggle {
    display: none;
}

