/* --- GLOBAL DESIGN SYSTEM --- */
:root {
    --primary-dark: #111827;
    --secondary-gray: #6B7280;
    --accent-blue: #2563EB;
    --background-light: #F9FAFB;
    --white: #FFFFFF;
    --border-color: #E5E7EB;
    --font-family: 'Satoshi', sans-serif;
    --shadow-soft: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-medium: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --border-radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    color: var(--secondary-gray);
    background-color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { color: var(--primary-dark); font-weight: 700; line-height: 1.2; }
h1 { font-size: 2.75rem; letter-spacing: -0.05em; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.25rem; }
p.lead { font-size: 1.1rem; max-width: 600px; color: #374151; }
.section-intro { max-width: 650px; margin: 0 auto 3rem auto; text-align: center; }

section { padding: 80px 0; }
.bg-light { background-color: var(--background-light); }

/* --- HEADER & NAVIGATION --- */
.main-header {
    position: absolute; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 25px 0;
}
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary-dark); text-decoration: none; border: 2px solid var(--primary-dark); padding: 4px 12px; }
.main-nav { display: none; }
.nav-cta {
    border: 1px solid var(--primary-dark); border-radius: 5px; color: var(--primary-dark) !important;
    padding: 10px 20px !important; font-weight: 500; text-decoration: none; transition: all 0.3s;
}
.nav-cta:hover { background-color: var(--primary-dark); color: var(--white) !important; }

/* --- Mobile Navigation --- */
.mobile-menu-toggle { display: block; background: none; border: none; cursor: pointer; width: 28px; height: 22px; z-index: 1001; }
.hamburger-line { display: block; width: 100%; height: 3px; background-color: var(--primary-dark); border-radius: 3px; transition: all 0.3s; }
.hamburger-line:not(:last-child) { margin-bottom: 5px; }

.mobile-nav-menu {
    position: fixed; top: 0; right: 0; width: 100%; height: 100%; background-color: var(--primary-dark);
    transform: translateX(100%); transition: transform 0.4s ease;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    z-index: 1000;
}
.mobile-nav-menu.active { transform: translateX(0); }
.mobile-nav-menu a { color: var(--white); text-decoration: none; font-size: 1.5rem; font-weight: 500; padding: 1.5rem; }

/* --- HERO SECTION --- */
.hero {
    padding: 200px 0 140px 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0.1) 80%),
        url('../images/hero-background.jpg');
    background-size: cover; background-position: center 30%;
}
.hero-content { max-width: 600px; text-align: center; margin: 0 auto; }
.hero h1 { color: var(--primary-dark); }
.hero p { color: #374151; font-size: 1.1rem; line-height: 1.6; margin: 1.5rem 0 2rem 0; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 1rem; }

/* --- BUTTONS --- */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 14px 28px;
    border-radius: var(--border-radius); text-decoration: none; font-weight: 700;
    transition: all 0.3s ease; border: none; cursor: pointer;
}
.btn-primary { background-color: var(--accent-blue); color: var(--white); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-medium); }

/* --- MARKET SECTION --- */
.market-section { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.market-content h2 { text-align: center; }
.market-content .lead { margin: 1rem auto; text-align: center; }
.stat-blocks { display: flex; flex-direction: column; gap: 2rem; margin: 2.5rem auto 0 auto; }
.stat-block { border-left: 3px solid var(--accent-blue); padding-left: 1.5rem; }
.stat-block .number { font-size: 2.25rem; font-weight: 700; color: var(--primary-dark); line-height: 1; }
.stat-block .label { color: var(--secondary-gray); }
.market-image { width: 100%; border-radius: var(--border-radius); box-shadow: var(--shadow-medium); }

/* --- GENERIC LAYOUTS & COMPONENTS --- */
.two-col-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.image-container { border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-medium); }
.image-container img { width: 100%; display: block; }

.methodology-steps { list-style: none; padding-left: 0; counter-reset: step-counter; }
.methodology-step { position: relative; padding-left: 30px; margin-bottom: 2rem; }
.methodology-step::before { content: "0" counter(step-counter); counter-increment: step-counter; position: absolute; left: -5px; top: -5px; font-size: 1.25rem; font-weight: 700; color: #D1D5DB; }
.methodology-step h3 { margin-bottom: 0.5rem; }

.solutions-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
.solution-card { background-color: var(--white); border: 1px solid var(--border-color); border-radius: var(--border-radius); padding: 2rem; }
.solution-card .icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: var(--border-radius); background-color: #DBEAFE; color: var(--accent-blue); margin-bottom: 1.5rem; }
.solution-card .icon svg { width: 24px; height: 24px; }

/* --- FAQ & CALENDAR --- */
.faq-container { max-width: 800px; margin: 3rem auto 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); padding: 1.5rem 0; }
.faq-question { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 1.1rem; font-weight: 500; color: var(--primary-dark); }
.faq-question .toggle { font-size: 1.5rem; transition: transform 0.3s; color: var(--accent-blue); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.faq-answer p { margin-top: 1rem; }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-item.active .toggle { transform: rotate(45deg); }

.calendar-section { padding-top: 100px; padding-bottom: 100px; }
.calendar-placeholder { margin-top: 3rem; border: 1px solid var(--border-color); border-radius: var(--border-radius); background-color: var(--white); height: 550px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; box-shadow: var(--shadow-soft); padding: 1rem; }
.calendar-placeholder p { max-width: 400px; margin: 1rem 0; }

/* --- FOOTER (DARK THEME RESTORED) --- */
.main-footer { background-color: var(--primary-dark); color: var(--white); padding: 50px 0; }
.footer-top, .footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.footer-logo { font-size: 1.5rem; font-weight: 700; color: var(--white); text-decoration: none; border: 2px solid var(--white); padding: 4px 12px; }
.footer-nav { list-style: none; display: flex; gap: 1rem; }
.footer-nav a { color: #D1D5DB; text-decoration: none; transition: color 0.3s; font-weight: 500;}
.footer-nav a:hover { color: var(--white); }
.footer-divider { width: 100%; border: 0; height: 1px; background-color: #374151; margin: 2rem 0; }
.footer-bottom { padding-top: 0; font-size: 0.9rem; color: #9CA3AF; }
.footer-bottom-links { display: flex; gap: 1rem; }
.footer-bottom-links a { color: #9CA3AF; text-decoration: none; }
.footer-bottom-links a:hover { color: var(--white); }

/* --- Tablet Styles --- */
@media (min-width: 768px) {
    h1 { font-size: 3.25rem; }
    h2 { font-size: 2.5rem; }
    .hero-content { text-align: left; margin: 0; }
    .hero-actions { flex-direction: row; }
    .market-section { grid-template-columns: 1fr; }
    .market-content { text-align: center; }
    .stat-blocks { flex-direction: row; justify-content: center; }
    .solutions-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Desktop Styles --- */
@media (min-width: 1024px) {
    h1 { font-size: 3.75rem; }
    section { padding: 120px 0; }
    
    .mobile-menu-toggle { display: none; }
    .main-header .container { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
    .main-nav { display: flex; justify-content: center; }
    .nav-links { list-style: none; display: flex; gap: 2.5rem; }
    .nav-links a { color: var(--primary-dark); text-decoration: none; font-weight: 500; position: relative; padding-bottom: 5px;}
    .nav-links a::after {
        content: ''; position: absolute; bottom: 0; left: 0;
        width: 100%; height: 2px; background-color: var(--primary-dark);
        transform: scaleX(0); transition: transform 0.3s ease;
    }
    .nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
    
    .hero-content { max-width: 800px; }
    
    .market-section { grid-template-columns: 1.5fr 1fr; text-align: left; }
    .market-content h2 { text-align: left; }
    .market-content .lead { margin-left: 0; }
    .stat-blocks { justify-content: flex-start; }

    .two-col-layout { grid-template-columns: 1fr 1fr; }
    .process-image-first { order: -1; }
    
    .solutions-grid { grid-template-columns: repeat(3, 1fr); }
    
    .footer-top, .footer-bottom { flex-direction: row; justify-content: space-between; }
    .footer-divider { margin: 1.5rem 0; }
}