@font-face {
    font-family: 'DejaVu Sans Mono';
    src: url('../fonts/dejavu-sans-mono.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    font-family: "DejaVu Sans Mono", sans-serif;
}

body {
    max-width: 900px;
    margin-inline: auto;
    padding-block: 32px;
    padding-inline: clamp(16px, 5vw, 128px);
    background: black;
    color: #eee;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
}

.nav-brand {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #eee;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #47ba47;
    text-decoration: underline;
    cursor: pointer;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
}


.hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    color: #fff;
}

.highlight {
    color: #47ba47;
}

.dynamic-word {
    color: #47ba47;
    position: relative;
    display: inline-block;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: #47ba47;
    margin-left: 3px;
    animation: blink-cursor 1s infinite;
    vertical-align: middle;
}

@keyframes blink-cursor {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

.hero-subheadline {
    font-size: 20px;
    line-height: 1.6;
    color: #bbb;
    max-width: 600px;
    margin: 0 auto 48px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.btn-primary,
.btn-secondary {
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "DejaVu Sans Mono", sans-serif;
    min-width: 210px;
}

.btn-primary {
    background: #47ba47;
    border-color: #47ba47;
    color: #000;
}

.btn-primary:hover {
    background: #59f359;
    border-color: #59f359;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #eee;
    border-color: #eee;
}

.btn-secondary:hover {
    background: #eee;
    color: #000;
    transform: translateY(-2px);
}

.features-section {
    padding: 80px 0;
}

.features-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: #1a1a1a;
    border: 2px solid #2a2a2a;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #47ba47;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.2);
}

.feature-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #bbb;
}

.comparison-section {
    padding: 80px 0;
}

.comparison-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #fff;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-card {
    background: #1a1a1a;
    border: 2px solid #2a2a2a;
    border-radius: 12px;
    padding: 32px 28px;
}

.comparison-card.comparison-manual {
    border-color: #d32f2f;
}

.comparison-card.comparison-pyportion {
    border-color: #47ba47;
}

.comparison-card h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: #fff;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
}

.comparison-card li {
    font-size: 16px;
    line-height: 2;
    color: #ddd;
    padding-left: 24px;
    position: relative;
}

.comparison-card.comparison-manual li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #d32f2f;
}

.comparison-card.comparison-pyportion li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #47ba47;
}

.demo-section {
    padding: 80px 0;
}

.demo-section h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
}

.demo-container {
    display: grid;
    grid-template-columns: 2fr 1.1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.terminal-window {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: #2d2d2d;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 20px;
    border-bottom: 1px solid #3d3d3d;
}

.terminal-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-button.close {
    background: #ff5f56;
}

.terminal-button.minimize {
    background: #ffbd2e;
}

.terminal-button.maximize {
    background: #27c93f;
}

.terminal-title {
    margin-left: 12px;
    font-size: 13px;
    color: #999;
    font-weight: 600;
}

.terminal-body {
    padding: 20px;
    min-height: 500px;
    max-height: 500px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
}

.explorer-panel {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.explorer-panel-header {
    background: #2d2d2d;
    padding: 12px 16px;
    border-bottom: 1px solid #3d3d3d;
    font-size: 13px;
    color: #999;
    font-weight: 600;
    height: 20px;
    display: flex;
    align-items: center;
}

.explorer-panel-body {
    padding: 0;
    flex: 1;
    overflow-y: auto;
    min-height: 500px;
    max-height: 500px;
}

.terminal-line {
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.prompt {
    color: #47ba47;
    margin-right: 8px;
}

.command {
    color: #fff;
}

.output {
    color: #bbb;
}

.success {
    color: #47ba47;
}

.info {
    color: #2196F3;
}

.warning {
    color: #FF9800;
}

.file-item {
    color: #FFD700;
}

.file-new {
    color: #47ba47;
}

.file-modified {
    color: #FFA500;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #47ba47;
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

.file-explorer {
    background: transparent;
    font-size: 13px;
    height: 100%;
}

.explorer-header {
    display: none;
}

.explorer-content {
    padding: 20px 16px;
}

.explorer-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #666;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-text {
    font-size: 16px;
    font-weight: 600;
    color: #888;
    margin-bottom: 8px;
}

.explorer-folder {
    margin-bottom: 4px;
}

.folder-header {
    padding: 6px 12px;
    color: #ddd;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}

.folder-header:hover {
    background: #3d3d3d;
}

.folder-content {
    margin-left: 20px;
    padding-left: 8px;
    border-left: 1px solid #3d3d3d;
}

.explorer-file {
    padding: 6px 12px;
    color: #bbb;
    border-radius: 4px;
    margin-bottom: 2px;
}

.explorer-file:hover {
    background: #3d3d3d;
}

.explorer-new {
    color: #47ba47 !important;
}

.explorer-modified {
    color: #FFA500 !important;
}

@keyframes highlight-new {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
        color: #8FFF8F;
    }
}

@keyframes highlight-modified {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
        color: #FFD07F;
    }
}

.replay-button {
    display: block;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #47ba47;
    border-radius: 4px;
    cursor: pointer;
    background: #47ba47;
    color: #000;
    font-family: "DejaVu Sans Mono", monospace;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.replay-button:hover {
    background: #45a049;
    border-color: #45a049;
    transform: scale(1.05);
}

.hidden {
    display: none;
}

.cta-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 80px 0;
    text-align: center;
    padding: 70px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 16px;
    border: 2px solid #2a2a2a;
}

.cta-section h2 {
    font-size: 40px;
    margin-bottom: 16px;
    color: #fff;
}

.cta-section p {
    font-size: 18px;
    color: #bbb;
    margin-bottom: 40px;
}

.footer {
    border-top: 2px solid #2a2a2a;
    padding: 48px 0 24px;
    margin-top: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto 32px;
    flex-wrap: wrap;
}

.footer-left {
    flex: 1;
    min-width: 200px;
}

.footer-brand {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 14px;
    color: #888;
}

.footer-links {
    display: flex;
    gap: 64px;
    flex: 1;
    justify-content: flex-end;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.footer-column a {
    font-size: 14px;
    color: #bbb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #47ba47;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #2a2a2a;
}

.footer-bottom p {
    font-size: 13px;
    color: #666;
}

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

    .hero {
        margin-top: 60px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero-subheadline {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        padding: 10px 24px;
        font-size: 14px;
        min-width: 180px;
    }

    .features-section h2,
    .comparison-section h2 {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .demo-section {
        margin-top: 60px;
    }

    .demo-container {
        grid-template-columns: 1fr;
    }

    .terminal-body {
        font-size: 12px;
        padding: 16px;
        min-height: 300px;
        max-height: 300px;
    }

    .explorer-panel-body {
        min-height: 300px;
        max-height: 300px;
    }

    .cta-section {
        padding: 40px 16px;
    }

    .cta-section h2 {
        font-size: 32px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        gap: 48px;
        justify-content: flex-start;
    }
}
