:root {
    --primary-color: #2e7d32;
    --primary-light: #4caf50;
    --secondary-color: #1b5e20;
    --accent-color: #fdd835;
    --bg-color: #f9fafb;
    --text-main: #333333;
    --text-light: #666666;
    --border-color: #e5e7eb;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
}
.navbar .logo span {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 400;
}

.navbar nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 100px 5%;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s, background-color 0.3s;
}

.btn-primary:hover {
    background-color: #fbc02d;
    transform: translateY(-2px);
}

/* Sections General */
section {
    padding: 80px 5%;
}

section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

/* Overview */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-color);
}

.card.problem {
    border-top-color: #e53935;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.card ul {
    list-style-position: inside;
}

.card ul li {
    margin-bottom: 10px;
    color: var(--text-light);
}

/* Modules (Tabs) */
.modules-section {
    background-color: var(--white);
}

.subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    margin-top: -30px;
}

.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 24px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s;
    max-width: 1000px;
    margin: 0 auto;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.module-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media(max-width: 768px) {
    .module-visual {
        grid-template-columns: 1fr;
    }
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
}

/* Mockups */
.mockup {
    background: #eef2f6;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.mockup-header {
    background: #cfd8dc;
    padding: 10px;
    font-weight: bold;
    text-align: center;
    font-size: 14px;
    color: #455a64;
}

.mockup-body {
    padding: 20px;
    min-height: 300px;
}

/* Mobile App Mockup */
.mobile-mockup {
    max-width: 300px;
    margin: 0 auto;
}
.btn-large {
    padding: 15px;
    text-align: center;
    color: white;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: bold;
}
.btn-large.green { background: var(--primary-light); }
.btn-large.yellow { background: #fbc02d; color: #333; }
.qrcode-placeholder {
    border: 2px dashed #999;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border-radius: 8px;
}

/* Desktop Mockups */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.dash-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.dash-chart {
    grid-column: 1 / -1;
    background: white;
    height: 150px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    border: 1px solid #eee;
}

.dashboard-complex {
    display: flex;
    gap: 15px;
}
.dash-sidebar {
    width: 30%;
    background: white;
    border-radius: 8px;
    padding: 10px;
    font-size: 12px;
    color: #888;
}
.dash-main {
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.dash-main.full-width { width: 100%; }
.dash-row {
    display: flex;
    gap: 15px;
}
.dash-kpi {
    flex: 1;
    background: white;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
}
.dash-chart-large, .dash-map {
    background: white;
    flex: 1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* Terminal Mockup */
.terminal-mockup .mockup-header {
    background: #333;
    color: white;
}
.terminal-mockup .mockup-body {
    background: #1e1e1e;
    color: #00ff00;
    font-family: monospace;
    font-size: 14px;
}

/* Architecture */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.pillar {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.pillar h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.diagrams {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.diagrams h3 {
    margin-bottom: 30px;
    color: var(--text-main);
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
}

footer p {
    opacity: 0.8;
    margin-bottom: 5px;
}
