:root {
    --bg-dark: #3B3939;         /* Dark charcoal highlights */
    --bg-card: #644C2C;         /* Deep brown undertones */
    --border-color: #8C5C28;    /* Muted medium brown */
    
    --primary: #E49A68;         /* Warm reddish-orange face tint */
    --primary-light: #E9CA63;   /* Soft warm buff */
    
    --text-main: #F1CDB3;       /* Soft pale peach */
    --text-muted: #C4AD92;      /* Light grey-brown / kangaroo fur tone */
    --text-tan: #D4BBA1;        /* Neutral fur tan */
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: var(--bg-dark);
    z-index: 1000;
    border-bottom: 2px solid var(--border-color);
}

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

.nav-logo {
    height: 40px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    transition: color 0.2s ease;
}

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

.btn-primary-small {
    background: var(--primary);
    color: #3B3939 !important; 
    padding: 10px 20px;
    border-radius: 4px; /* Flatter edges */
    font-weight: 800;
}

.btn-primary-small:hover {
    background: var(--primary-light);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 0;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--text-main);
}

.highlight {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: var(--primary);
    color: #3B3939; 
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-light);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-tan);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid var(--border-color);
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
    background: var(--border-color);
    color: var(--text-main);
}

.version {
    font-size: 0.8rem;
    margin-left: 5px;
    opacity: 0.8;
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mascot {
    width: 350px;
}

/* Features */
.features {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-main);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 8px;
    border: 4px solid var(--border-color); /* Chunky flat borders */
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.card-image {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 2px solid var(--border-color);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    color: var(--primary);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.card p {
    color: var(--text-tan);
}

/* Code Section */
.code-section {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 150px auto;
    padding: 0 20px;
    gap: 60px;
}

.code-container {
    flex: 1.2;
    background: #252323; 
    border-radius: 8px;
    border: 4px solid var(--border-color);
    overflow: hidden;
}

.code-header {
    background: #1A1919;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--border-color);
}

.dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.file-name {
    margin-left: 20px;
    color: var(--text-muted);
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
}

.code-block {
    padding: 30px;
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    color: var(--text-tan);
    line-height: 1.7;
    overflow-x: auto;
}

.code-block .keyword { color: var(--primary); font-weight: bold; }
.code-block .string { color: var(--primary-light); }
.code-block .function { color: var(--text-main); font-weight: 600; }
.code-block .comment { color: var(--border-color); font-style: italic; }
.code-block .number { color: #F1CDB3; }
.code-block .constant { color: var(--primary-light); font-weight: bold; }

.code-text {
    flex: 1;
}

.code-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.code-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    background: var(--bg-card);
    padding: 60px 20px 40px;
    margin-top: 100px;
    text-align: center;
    border-top: 4px solid var(--border-color);
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-links {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: var(--text-tan);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 600;
}

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

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

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.5s ease forwards;
}

.slide-left {
    opacity: 0;
    transform: translateX(20px);
    animation: slideLeft 0.5s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }

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

@keyframes slideLeft {
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
