:root {
    --bg-body: #2d3e40;
    --bg-sidebar: #1e2a2b;
    --bg-card: #2f3f41;
    --text-primary: #ffffff;
    --text-muted: #a0b0b0;
    --accent: #4a5b5c;
    --border: #3a4a4c;
    --green-accent: #8ac249;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    background: var(--bg-body);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* HERO */
.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.version {
    color: var(--green-accent);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-login {
    background: #1e2a2b;
    color: white;
    border: 2px solid #4a5b5c;
}

.btn-login:hover {
    background: #2f3f41;
    border-color: var(--green-accent);
    color: var(--green-accent);
}

.btn-register {
    background: transparent;
    color: white;
    border: 2px solid var(--green-accent);
}

.btn-register:hover {
    background: var(--green-accent);
    color: #1e1e1e;
}

/* MOCKUP SIMPLES */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 300px;
}

.mockup {
    width: 280px;
    height: 520px;
    background: #1a2526;
    border-radius: 36px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    border: 8px solid #111;
}

.mockup-screen {
    background: var(--bg-body);
    height: 100%;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    color: white;
    font-size: 0.9rem;
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.mockup-app {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mockup-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--green-accent);
}

.mockup-login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mockup-login {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.mockup-field {
    background: #2f3f41;
    padding: 0.8rem;
    border-radius: 6px;
    color: #aaa;
    border: 1px solid var(--border);
}

.mockup-btn {
    background: #1e2a2b;
    color: white;
    text-align: center;
    padding: 0.8rem;
    border-radius: 6px;
    font-weight: bold;
    border: 2px solid #4a5b5c;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.mockup-btn:hover {
    background: var(--green-accent);
    color: #111;
    border-color: var(--green-accent);
}

.mockup-footer {
    margin-top: auto;
    font-size: 0.7rem;
    color: #888;
    text-align: center;
}

/* FEATURES */
.features {
    padding: 4rem 2rem;
    background: #263335;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--green-accent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--green-accent);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    font-style: normal;
}

.feature-card h3 {
    margin-bottom: 0.8rem;
    color: var(--green-accent);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* FOOTER */
.footer {
    background: #1a2526;
    padding: 2rem;
    text-align: center;
    margin-top: auto;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links {
    margin-top: 0.8rem;
}

.footer-links a {
    color: var(--green-accent);
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .mockup {
        width: 240px;
        height: 450px;
    }

    .mockup-title {
        font-size: 1rem;
    }

    .mockup-login {
        font-size: 1.2rem;
    }
}