:root {
    --bg-dark: #121212;
    --text-light: #E0E0E0;
    --text-secondary: #A0A0A0;
    --accent-orange: #FF4500;
    --accent-green: #39FF14;
    --surface-color: #1E1E1E;
    --border-color: #2c2c2c;

    --font-main: 'Inter', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%232C2C2C' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 3rem; font-weight: 900; }
h2 { font-size: 2.25rem; margin-bottom: 2rem; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; color: var(--text-secondary); }
ul { list-style: none; }
a { color: var(--accent-orange); text-decoration: none; }

.content-section, .cta-section, .hero-section, .main-footer-bottom {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.main-header .header-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%; /* Ensure it takes full width within its parent */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-nav a {
    color: var(--text-light);
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--accent-orange);
}

.cta-button {
    background-color: var(--accent-orange);
    color: var(--bg-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 700;
    transition: transform 0.3s, background-color 0.3s;
    display: inline-block;
}

.cta-button:hover {
    transform: scale(1.05);
    background-color: #ff5722;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: all 0.3s;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(18, 18, 18, 0.7), var(--bg-dark)), url('https://images.unsplash.com/photo-1623940409083-0d3b37a5444a?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
}

.hero-title {
    max-width: 800px;
}
.hero-subtitle {
    font-size: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}
.hero-specialization {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: -1.5rem; /* Adjust to be closer to subtitle */
    margin-bottom: 2rem; /* Maintain consistent spacing before CTA */
    opacity: 0.8; /* Make it slightly less prominent */
}
.hero-cta {
    font-size: 1rem;
}

.diagnostic-section .grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.diagnostic-section .grid-item {
    background-color: var(--surface-color);
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.diagnostic-section .grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.diagnostic-section .grid-item h3 {
    color: var(--accent-orange);
}

.section-summary {
    text-align: center;
    font-size: 1.25rem;
    margin-top: 3rem;
    font-family: var(--font-mono);
}

.solution-section .flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.solution-section .flex-item {
    background: var(--surface-color);
    padding: 2rem;
    flex-basis: calc(50% - 1rem);
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s;
}

.solution-section .flex-item .text-content-wrapper {
    display: flex;
    flex-direction: column;
}

.solution-section .flex-item:hover {
    transform: scale(1.03);
}

.solution-section .checkmark {
    font-size: 1.5rem;
    color: var(--accent-green);
}

/* --- Animation Classes --- */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Universal 'visible' state for all animations */
.fade-up.visible,
.fade-in-left.visible, 
.fade-in-right.visible {
    opacity: 1;
    transform: none;
}
/* --- End Animation Classes --- */

.why-system-section .diagram-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
}
.why-system-section .diagram-item {
    text-align: center;
    max-width: 300px;
}
.diagram-arrow {
    font-size: 2.5rem;
    color: var(--accent-orange);
}

.proof-section {
    background-color: var(--surface-color);
    border-radius: 8px;
}
.proof-content ul {
    list-style: none;
    padding-left: 1rem;
    margin-top: 1rem;
}
.proof-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}
.proof-content ul li::before {
    content: '►';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
}

.roadmap-section .timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.roadmap-section .timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}
.timeline-item {
    padding: 1rem 40px;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}
.timeline-item:nth-child(even) {
    left: 50%;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--bg-dark);
    border: 2px solid var(--accent-orange);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:nth-child(even)::after {
    left: -8px;
}
.timeline-content {
    padding: 1.5rem 2rem;
    background-color: var(--surface-color);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.timeline-content:hover {
    background-color: #2a2a2a;
}
.timeline-content ul, .timeline-content .timeline-goal {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    margin-top: 0;
}
.timeline-item.active .timeline-content ul,
.timeline-item.active .timeline-content .timeline-goal {
    max-height: 500px; /* Large enough value */
    opacity: 1;
    margin-top: 1rem;
}

.timeline-goal {
    font-family: var(--font-mono);
    color: var(--accent-green);
    font-size: 0.9rem;
    background-color: rgba(57, 255, 20, 0.05);
    border-left: 3px solid var(--accent-green);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.faq-section .accordion {
    max-width: 800px;
    margin: 0 auto;
}
.accordion-item {
    background-color: var(--surface-color);
    margin-bottom: 1rem;
    border-radius: 5px;
    border: 1px solid var(--border-color);
}
.accordion-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
}
.accordion-header::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    transition: transform 0.3s;
}
.accordion-header.active::after {
    transform: rotate(45deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
}
.accordion-content p {
    padding-bottom: 1.5rem;
}

.final-cta {
    text-align: center;
}
.cta-box {
    background-color: var(--surface-color);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.cta-list {
    text-align: left;
    max-width: 600px;
    margin: 1.5rem auto;
}
.cta-list li {
    margin-bottom: 0.75rem;
}
.availability {
    font-family: var(--font-mono);
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.final-cta-button {
    font-size: 1.2rem;
}

.main-footer-bottom {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}


/* Responsive Design */
@media (max-width: 992px) {
    .main-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--surface-color);
        padding: 1rem 0;
    }
    .main-nav ul.active {
        display: flex;
    }
    .hamburger {
        display: block;
    }
    .why-system-section .diagram-container {
        flex-direction: column;
    }
    .diagram-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 1024px) {
    .diagnostic-section .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .content-section, .cta-section, .hero-section {
        padding: 4rem 1rem;
    }

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

    .roadmap-section .timeline::after {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }
    .timeline-item::after {
        left: 12px;
    }
}
