/* Base Styles & Typography */

:root {
    --primary-blue: #007bff; /* A vibrant blue for primary actions */
    --secondary-blue: #0056b3; /* Darker blue for hover states */
    --accent-teal: #00bcd4; /* A lively teal for highlights and gradients */
    --text-dark: #2c3e50; /* Dark charcoal for main text */
    --text-light: #ecf0f1; /* Light gray for text on dark backgrounds */
    --bg-light: #f8f9fa; /* Very light gray for section backgrounds */
    --bg-dark: #34495e; /* Dark slate for prominent sections or footer */
    --bg-gradient-start: #007bff;
    --bg-gradient-end: #00bcd4;
    --code-bg: #2d2d2d; /* Dark background for code blocks */
    --code-text: #f8f8f2;
    --border-color: #e0e0e0; /* Light border for subtle separation */
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --accent-color: #28a745;
    --bg-color: #f0f2f5; /* Lighter background */
            --text-color: #343a40;
            --heading-color: #212529;
            --card-bg: #ffffff;
            --border-color: #dee2e6;
            --terminal-bg: #282c34;
            --terminal-text: #abb2bf;
            --terminal-prompt: #61afef; /* Blue for prompt */
            --terminal-command: #c678dd; /* Purple for command */
            --terminal-output-success: #98c379; /* Green for success */
            --terminal-output-info: #e5c07b; /* Yellow for info */
            --terminal-error: #e06c75; /* Red for errors */
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: white; /* Clean white background */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: var(--text-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

/* Links */
a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease, border-color 0.3s ease;
}

a:hover {
    color: var(--secondary-blue);
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--text-light);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-primary-large {
    font-size: 1.2rem;
    padding: 15px 30px;
    margin-top: 20px;
}

.btn i {
    margin-right: 8px;
}

/* Utility Classes */
.gradient-text {
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block; /* Essential for text gradients to work */
}

.highlight {
    color: var(--accent-teal);
}

.small-text {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}

/* Horizontal Rule */
hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 80px 0; /* Ample space between sections */
    opacity: 0.7;
}

/* --- Header --- */
.main-header {
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.navbar-brand .logo {
    height: 40px;
    margin-right: 10px;
}

.navbar-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar-menu a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px; /* Space for underline effect */
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.navbar-menu a:hover::after {
    width: 100%;
}

.github-link {
    display: flex;
    align-items: center;
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.github-link:hover {
    background-color: #4a6781;
    text-decoration: none;
}

.github-link i {
    margin-right: 5px;
    font-size: 1.1em;
}

.menu-toggle {
    display: none; /* Hidden by default for desktop */
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
}



/* --- Hero Section --- */
.hero-section {
    padding: 50px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-image: url('/assets/images/hero-bg.svg'); /* A subtle background pattern */
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content-left {
    text-align: left;
    max-width: 600px;
}

.hero-main-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-tagline {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 500px;
}

.code-install-wrapper {
    background-color: var(--code-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.code-install-wrapper .code-block {
    flex-grow: 1;
    font-family: 'Fira Code', monospace;
    font-size: 1.1rem;
    color: var(--code-text);
    padding: 0;
    background: none;
    border: none;
    white-space: pre-wrap; /* Allow wrapping */
    overflow-x: auto; /* Allow horizontal scroll if line is too long */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.code-install-wrapper .code-block::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera*/
}


.code-install-wrapper .copy-btn {
    background: var(--primary-blue);
    color: var(--text-light);
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    margin-left: 15px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    flex-shrink: 0; /* Prevent button from shrinking */
}

.code-install-wrapper .copy-btn:hover {
    background-color: var(--secondary-blue);
    transform: scale(1.05);
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.hero-visual-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 350px; /* Ensure space for the typewriter */
}

.typewriter-demo-container {
    background-color: var(--code-bg);
    border-radius: 10px;
    padding: 20px 25px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden; /* Hide overflow for cursor */
}

.typewriter-prompt {
    color: var(--accent-teal);
    font-family: 'Fira Code', monospace;
    font-size: 1.2rem;
    display: inline-block;
    margin-right: 5px;
}

.typewriter-text {
    font-family: 'Fira Code', monospace;
    font-size: 1.2rem;
    color: var(--code-text);
    display: inline-block;
    vertical-align: top; /* Align with prompt */
}

.cursor {
    display: inline-block;
    background-color: var(--code-text);
    width: 10px;
    height: 1.3em;
    vertical-align: middle;
    animation: blink 0.8s infinite;
    margin-left: 3px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* --- Section Titles & Descriptions --- */
.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 15px;
    margin-top: 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

/* --- Features Section --- */
.features-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px var(--shadow-medium);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: #555;
    font-size: 1rem;
}

/* --- Commands Section (Accordion) --- */
.commands-showcase-section {
    padding: 80px 0;
}

.commands-accordion {
    max-width: 900px;
    margin: 60px auto 0 auto;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden; /* Ensures rounded corners are visible */
    box-shadow: 0 5px 20px var(--shadow-light);
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    background-color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border: none;
    text-align: left;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: var(--bg-light);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-family: 'Fira Code', monospace;
    color: var(--text-dark);
}

.accordion-header pre {
    background: none;
    padding: 0;
    margin: 0;
    font-family: 'Fira Code', monospace;
    color: inherit;
    white-space: pre-wrap;
    word-break: break-all;
}

.accordion-icon {
    font-size: 1.2rem;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #fcfcfc;
    padding: 0 30px; /* Only apply horizontal padding initially */
}

.accordion-item.active .accordion-content {
    padding-bottom: 20px; /* Add bottom padding when open */
}

.accordion-content p {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #444;
}

.accordion-content p:last-child {
    margin-bottom: 0;
}

.accordion-content pre {
    background-color: var(--code-bg);
    color: var(--code-text);
    font-family: 'Fira Code', monospace;
    padding: 10px 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin-top: 10px;
    font-size: 0.95rem;
    white-space: pre-wrap;
    word-break: break-all;
}

.accordion-content b {
    color: var(--primary-blue);
}

/* --- Demo Section --- */
.demo-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--code-text);
}

.demo-section .section-title,
.demo-section .section-subtitle {
    color: var(--text-light);
}

.terminal-container {
    background-color: var(--code-bg);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    max-width: 900px;
    margin: 60px auto 0 auto;
    overflow: hidden;
}

.terminal-header {
    display: flex;
    background: black;
    align-items: center;
    background-color: black;
    padding: 10px 20px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-btn.close { background-color: #ff5f56; } /* Red */
.terminal-btn.minimize { background-color: #ffbd2e; } /* Yellow */
.terminal-btn.maximize { background-color: #27c93f; } /* Green */

.terminal-title {
    flex-grow: 1;
    text-align: center;
    color: #bbb;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.terminal-body {
    padding: 20px 25px;
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    min-height: 250px;
    max-height: 400px;
    overflow-y: auto;
    color: var(--code-text);
    line-height: 1.5;
}

.terminal-line {
    margin-bottom: 5px;
}

.terminal-line:last-child {
    margin-bottom: 0;
}

.terminal-line .prompt {
    color: var(--accent-teal);
    font-weight: bold;
}

.terminal-line .command-text {
    color: var(--code-text);
}

.terminal-response {
    color: #a0a0a0; /* Lighter grey for output */
}


/* --- Get Started Section --- */
.get-started-section {
    padding: 80px 0;
    background-color: white;
}

.setup-steps-wrapper {
    max-width: 800px;
    margin: 60px auto 0 auto;
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 25px var(--shadow-light);
    position: relative;
    text-align: center; /* For centering content within */
}

.setup-steps-indicator {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.step-dot {
    width: 15px;
    height: 15px;
    background-color: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.step-dot.active {
    background-color: var(--primary-blue);
    transform: scale(1.2);
}

.setup-content {
    min-height: 200px; /* Ensure consistent height for steps */
    display: flex;
    justify-content: center;
    align-items: center;
}

.setup-step {
    text-align: center;
    padding: 20px;
    display: none; /* Controlled by JS */
    flex-direction: column;
    align-items: center;
}

.setup-step.active {
    display: flex; /* Show active step */
}

.setup-step h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.setup-step p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 25px;
    max-width: 600px;
    line-height: 1.7;
}

.setup-step p a {
    color: var(--primary-blue);
    font-weight: 500;
}

.setup-step.final-step p {
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 20px;
    color: var(--text-dark);
}


.setup-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.setup-navigation .btn-nav {
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.setup-navigation .btn-nav:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.setup-navigation .btn-nav i {
    margin: 0 5px;
}

.step-counter {
    font-weight: 600;
    color: #777;
    font-size: 1rem;
}

.setup-navigation .hidden {
    display: none;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0;
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    flex-direction: column;
    align-items: flex-start; /* Align text left within brand */
}

.logo-footer {
    height: 50px;
    margin-bottom: 10px;
}

.footer-brand h3 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin: 0;
}

.footer-links, .footer-social {
    min-width: 150px; /* Ensure columns don't get too narrow */
}

.footer-links h4, .footer-social h4 {
    color: var(--accent-teal);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links a, .footer-social a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-social a:hover {
    color: var(--primary-blue);
    text-decoration: none;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    font-size: 1.1rem;
}

.footer-social a i {
    margin-right: 8px;
    font-size: 1.3em;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
    color: #ccc;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 80px; /* More space when stacked */
    }

    .hero-content-left {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-main-title {
        font-size: 3.5rem;
    }

    .hero-tagline {
        font-size: 1.15rem;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .hero-visual-right {
        order: -1; /* Move visual above content on smaller screens */
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .features-grid-modern {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px; /* Below header */
        left: 0;
        background-color: white;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 999;
        text-align: center;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu li {
        margin: 10px 0;
    }

    .navbar-menu a {
        padding: 10px 20px;
        font-size: 1.1rem;
    }

    .navbar-menu a::after {
        display: none; /* Remove underline effect for mobile menu */
    }

    .menu-toggle {
        display: block;
    }

    .hero-section {
        padding: 80px 0 50px 0;
    }

    .hero-main-title {
        font-size: 2.8rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .code-install-wrapper {
        padding: 8px 10px;
    }

    .code-install-wrapper .code-block {
        font-size: 0.9rem;
    }

    .code-install-wrapper .copy-btn {
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .typewriter-demo-container {
        padding: 15px;
    }

    .typewriter-prompt, .typewriter-text {
        font-size: 1rem;
    }

    .accordion-header h3 {
        font-size: 1rem;
    }

    .accordion-header pre {
        font-size: 0.9rem;
    }

    .accordion-content p, .accordion-content pre {
        font-size: 0.9rem;
    }

    .terminal-body {
        font-size: 0.9rem;
        padding: 15px;
    }

    .setup-steps-wrapper {
        padding: 30px 20px;
    }

    .setup-step h3 {
        font-size: 1.8rem;
    }

    .setup-step p {
        font-size: 1rem;
    }

    .setup-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand, .footer-links, .footer-social {
        align-items: center;
        width: 100%; /* Take full width on small screens */
    }

    .footer-brand h3 {
        font-size: 1.5rem;
    }

    .footer-links ul {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-primary-large {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .hero-section {
        padding: 60px 0 30px 0;
    }

    .hero-main-title {
        font-size: 2.2rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

    .typewriter-demo-container {
        padding: 10px;
    }

    .typewriter-prompt, .typewriter-text {
        font-size: 0.9rem;
    }

    .features-grid-modern {
        grid-template-columns: 1fr; /* Single column on very small screens */
    }

    .accordion-header {
        padding: 15px 20px;
    }

    .accordion-content {
        padding: 0 20px;
    }

    .terminal-body {
        font-size: 0.85rem;
    }
}


        /* Persona-specific headings for terminal demo */
        .persona-heading {
            font-family: 'Poppins', sans-serif;
            font-size: 2em;
            color: var(--accent-color);
            text-align: center;
            margin-top: 40px;
            margin-bottom: 25px;
            padding: 10px 20px;
            background-color: #e6ffe6; /* Light green background */
            border-radius: 8px;
            display: inline-block;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            animation: slideInUp 0.8s ease-out forwards;
            opacity: 0;
            position: relative;
            left: 50%;
            transform: translateX(-50%);
        }

        /* Terminal Demo Styling */
        .terminal-container {
            background-color: black;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
            max-width: 900px; /* Wider terminal */
            margin: 40px auto;
            overflow: hidden;
            position: relative;
            min-height: 400px; /* Taller terminal */
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            border: 1px solid rgba(255,255,255,0.1);
        }

        .terminal-header {
            display: flex;
            align-items: center;
            padding-bottom: 18px;
            margin-bottom: 18px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        }

        .terminal-header .buttons {
            display: flex;
            gap: 10px;
        }

        .terminal-header .button {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background-color: #ff5f56; /* Red */
        }

        .terminal-header .button.yellow { background-color: #ffbd2e; }
        .terminal-header .button.green { background-color: #27c93f; }

        .terminal-header .title {
            color: #aaa;
            font-family: 'Fira Code', monospace;
            font-size: 1em;
            margin-left: 20px;
        }

        .terminal-output {
            font-family: 'Fira Code', monospace;
            font-size: 1.05em; /* Slightly larger text */
            color: var(--terminal-text);
            white-space: pre-wrap;
            word-break: break-all;
            flex-grow: 1; /* Allows output to fill space */
            overflow-y: auto; /* Enable scrolling for long output */
            padding-right: 10px; /* Space for scrollbar */
        }

        .terminal-output .prompt {
            color: var(--terminal-prompt);
            margin-right: 8px;
        }

        .terminal-output .command {
            color: var(--terminal-command);
        }

        .terminal-output .output-line {
            display: block;
            margin-bottom: 7px; /* More space between lines */
            opacity: 0;
            animation: fadeIn 0.6s forwards; /* Slower fade-in */
        }

        .terminal-output .output-line.success {
            color: var(--terminal-output-success);
        }
        .terminal-output .output-line.info {
            color: var(--terminal-output-info);
        }
        .terminal-output .output-line.error {
            color: var(--terminal-error);
        }

        .terminal-output .cursor {
            display: inline-block;
            width: 9px;
            height: 1.05em;
            background-color: var(--terminal-text);
            animation: blink 1s step-end infinite;
            vertical-align: bottom;
            margin-left: 3px;
        }

        @keyframes blink {
            from, to { background-color: transparent; }
            50% { background-color: var(--terminal-text); }
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(15px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes slideInUp {
            from { opacity: 0; transform: translate(-50%, 50px); }
            to { opacity: 1; transform: translate(-50%, 0); }
        }

        footer {
            background-color: var(--heading-color);
            color: white;
            text-align: center;
            padding: 35px 0;
            margin-top: 60px;
        }

        footer p {
            margin: 0;
            font-size: 0.95em;
        }

        /* Responsive Adjustments */
        @media (max-width: 900px) {
            .terminal-container {
                max-width: 95%;
            }
        }

        @media (max-width: 768px) {
            header h1 {
                font-size: 3em;
            }
            header p {
                font-size: 1.1em;
            }
            h2 {
                font-size: 2.2em;
            }
            .persona-heading {
                font-size: 1.6em;
            }
            .terminal-output {
                font-size: 0.95em;
            }
            .terminal-container {
                min-height: 350px;
            }
        }

        @media (max-width: 480px) {
            header h1 {
                font-size: 2.2em;
            }
            header p {
                font-size: 0.95em;
            }
            .section {
                padding: 30px 15px;
            }
            h2 {
                font-size: 1.8em;
                margin-bottom: 30px;
            }
            .persona-heading {
                font-size: 1.3em;
            }
            .terminal-output {
                font-size: 0.85em;
            }
            .terminal-container {
                min-height: 300px;
                padding: 15px;
            }
        }
