:root {
    --primary: #2e7d32;
    --primary-light: #4caf50;
    --primary-dark: #1b5e20;
    --accent: #81c784;
    --bg-light: #f4f7f5;
    --bg-white: #ffffff;
    --text-main: #2c3e50;
    --text-muted: #607d8b;
    --border-color: #e0e0e0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    padding-top: 70px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container, 
.logo-container:visited, 
.logo-container:hover, 
.logo-container:active {
    text-decoration: none;
    outline: none;
}

.logo-container {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-container span {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1b5e20;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    margin-left: 1.5rem;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--primary);
}

.nav-btn {
    background: var(--primary);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.nav-btn:hover {
    background: var(--primary-dark);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 2rem;
    background-color: #112211;
    /* Clean geometric CSS pattern acting as a high-tech asset background */
    background-image: radial-gradient(var(--primary-dark) 1px, transparent 0);
    background-size: 24px 24px;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(27,94,32,0.85) 0%, rgba(17,34,17,0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.25rem;
    color: #c8e6c9;
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.7rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-light);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
    margin-left: 1rem;
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255,255,255,0.05);
}

.btn-block {
    width: 100%;
    text-align: center;
    border: none;
}

/* Stats Ribbon */
.stats-section {
    background: var(--bg-white);
    padding: 6rem 0 3rem;
    border-bottom: 1px solid var(--border-color);
}

.stats-section .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-card {
    text-align: center;
}

.stat-card h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    font-weight: 800;
}

.stat-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Grid */
.features-section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 3rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-4px);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #111;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Info Section (Split Layout) */
.info-section {
    background: var(--bg-white);
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.info-text, .info-graphic {
    flex: 1;
}

.info-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.checkmark-list {
    list-style: none;
    margin-top: 1.5rem;
}

.checkmark-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.checkmark-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: bold;
    font-size: 1.2rem;
}

.info-graphic svg {
    width: 100%;
    max-width: 350px;
    display: block;
    margin: 0 auto;
}

/* Hidden Portal Wrapper Styles */
.portal-wrapper {
    display: flex;
    flex: 1;
    min-height: calc(100vh - 150px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-card {
    background: var(--bg-white);
    width: 100%;
    max-width: 440px;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}

.portal-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.portal-logo {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.portal-header h2 {
    color: #111;
    font-size: 1.6rem;
}

.portal-header p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.form-group input {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    background-color: #fafafa;
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(76,175,80,0.15);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.portal-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
}

.portal-footer a {
    color: var(--primary);
    text-decoration: none;
}

/* Global Footer Layout */
footer {
    background-color: #111a12;
    color: #90a4ae;
    padding: 4rem 0 2rem 0;
    font-size: 0.9rem;
    border-top: 3px solid var(--primary-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

footer h4 {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

footer p {
    max-width: 250px;
    line-height: 1.5;
}

footer a {
    display: block;
    color: #90a4ae;
    text-decoration: none;
    margin-bottom: 0.6rem;
    transition: color 0.2s;
}

footer a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #223024;
    font-size: 0.8rem;
}

/* Responsiveness adjustments */
@media (max-width: 768px) {
    .split-layout {
        flex-direction: column;
        gap: 2rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    nav {
        display: none; /* Keep layout highly focused mobile-wise */
    }
}