:root {
    --bg-main: #fff8f5;
    --brand-dark-green: #146139;
    --brand-light-green: #b1d8ac;
    --bg-accent: #ffeee7;
    --text-dark: #3b2900;
    --text-light: #fff8f5;
    --other-color: #a0a0a0;
}

body { background-color: var(--bg-main); color: var(--text-dark); font-family: 'Cinzel', serif; }
.font-display { font-family: 'Manrope', sans-serif; font-weight: 800; letter-spacing: -0.03em; }
.font-body { font-family: 'Cinzel', serif; }
.font-mono { font-family: 'Fira Code', monospace; }
.font-professional { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; }
.font-title { font-family: 'Cormorant Garamond', serif; }
.font-subtext { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; }
.dark-section { background-color: var(--brand-dark-green); color: var(--text-light); }
.nav-glass { background-color: rgba(255, 248, 245, 0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }

/* Performance hints */
.hero-card, .scrolly-step-new, .report-card, .management-card-new, .collab-cursor, .collab-comment, .terminal, .dev-feature-text {
     will-change: transform, opacity;
}

/* Hero Cards */
.hero-card {
    background-color: white;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.1);
}

/* Modern Scrollytelling Styles */
#scrolly-wrapper-new { position: relative; width: 100%; height: 400vh; }
#scrolly-sticky-container { 
    position: sticky; 
    top: 0; 
    height: 100vh; 
    width: 100%; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 4rem;
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

#scrolly-text-wrapper { 
    position: relative; 
    width: 100%; 
    height: 100%; 
    display: flex; 
    align-items: center;
}

#scrolly-visual-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scrolly-step-new { 
    position: absolute; 
    width: 100%; 
    opacity: 0; 
    visibility: hidden; 
}

.scrolly-visual {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Speed Visualization */
.speed-meter {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #146139 0deg, #b1d8ac 180deg, rgba(255,255,255,0.1) 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 50px rgba(177, 216, 172, 0.3);
}

.speed-meter::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--brand-dark-green);
    border-radius: 50%;
}

.speed-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

/* Accuracy Visualization */
.accuracy-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 8px;
    width: 400px;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.accuracy-dot {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.accuracy-dot.verified {
    background: var(--brand-light-green);
    box-shadow: 0 0 15px rgba(177, 216, 172, 0.6);
    transform: scale(1.1);
}

.accuracy-dot.verified-special {
    background: #7cb576; /* Darker shade of green */
    box-shadow: 0 0 20px rgba(124, 181, 118, 0.8);
    transform: scale(1.15);
}

/* Innovation Visualization */
.innovation-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.floating-element {
    position: absolute;
    background: rgba(177, 216, 172, 0.2);
    border: 2px solid var(--brand-light-green);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: var(--brand-light-green);
}

.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
}

.neural-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--brand-light-green);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(177, 216, 172, 0.8);
}

.neural-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-light-green), transparent);
    transform-origin: left center;
}

/* Reporting Section: Visual Card Styles */
.report-card { position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto; padding: 1.5rem; background-color: white; border-radius: 1rem; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.15); border: 1px solid #f0f0f0; max-width: 320px; }

/* Collaboration Section Styles */
.collab-comment::after { content: ''; position: absolute; left: -8px; top: 12px; width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-right: 8px solid white; }

/* Management Section Styles */
.management-card-new {
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
    perspective: 1000px;
    height: 400px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.management-card-new:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.management-card-new:hover .card-front,
.management-card-new:hover .card-back {
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.2);
}

.card-front {
    z-index: 2;
    transform: rotateY(0deg) translateZ(1px); /* More robust fix for bleed-through */
}

.card-back {
    padding: 3rem;
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
    transform: rotateY(180deg) translateZ(1px); /* More robust fix for bleed-through */
    z-index: 1;
}

/* Adjust image sizes on front of cards */
.card-front img {
    max-width: 100%;
    height: auto;
}

/* Developer Section Styles */
#developer-section-wrapper { position: relative; height: 500vh; }
.developer-sticky-container { position: sticky; top: 0; height: 100vh; width: 100%; overflow: hidden; }
.dev-feature-text { 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: flex-end; 
    position: absolute; 
    top: 0; 
    right: 0; 
    opacity: 0; 
    visibility: hidden;
    padding-right: 2rem;
}
.dev-text-card {
    position: relative;
    padding: 2.5rem;
    border-radius: 1.5rem;
    background: rgba(255, 248, 245, 0.05);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    overflow: hidden;
}
.dev-text-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(177, 216, 172, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.dev-text-card:hover::before {
    opacity: 1;
}
.dev-text-card:hover {
    transform: translateX(-8px);
    box-shadow: 0 10px 40px -15px rgba(177, 216, 172, 0.3);
}
.dev-feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: rgba(177, 216, 172, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dev-feature-title {
    position: relative;
    display: inline-block;
}
.dev-feature-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-light-green);
    transition: width 0.3s ease;
}
.dev-text-card:hover .dev-feature-title::after {
    width: 100%;
}
.dev-feature-tag {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.25rem 0.75rem;
    background: rgba(177, 216, 172, 0.2);
    border-radius: 999px;
    font-size: 0.75rem;
    font-family: 'Fira Code', monospace;
    color: var(--brand-light-green);
}
.terminal { background-color: #0D1117; border: 1px solid rgba(255,255,255,0.1); border-radius: 0.75rem; padding: 1rem; box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4); }
.terminal-header { display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 0.75rem; margin-bottom: 1rem; }
.terminal-dot { width: 12px; height: 12px; border-radius: 99px; }
.terminal-body { min-height: 400px; position: relative; }
.terminal-visual { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; visibility: hidden; }
.token { color: #A5D6FF; } /* Default token color */
.token.keyword { color: #FF7B72; }
.token.comment { color: #8B949E; }
.token.prompt { color: #8B949E; }

/* Developer Console UI Styles */
#dev-console-ui { display: grid; grid-template-columns: 0.8fr 1.2fr; grid-template-rows: auto 1fr; gap: 1rem; height: 100%; }
.console-panel { background-color: rgba(255,255,255,0.03); padding: 1rem; border-radius: 0.5rem; }
#console-config { grid-row: span 2; }
.param-slider .param-track { background-color: rgba(255,255,255,0.1); border-radius: 99px; height: 4px; }
.param-slider .param-progress { background-color: var(--brand-light-green); width: 0%; height: 100%; border-radius: 99px; }

/* Responsive Design */
@media (max-width: 768px) {
    #scrolly-sticky-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .speed-meter, .accuracy-grid, .innovation-container {
        transform: scale(0.8);
    }
} 