:root {
    --bg: #07111f;
    --bg-deep: #030712;
    --surface: #0f1b2d;
    --surface-soft: #15243a;
    --line: rgba(255, 255, 255, 0.12);
    --text: #f7fbff;
    --muted: #aab8cc;
    --primary: #3dd6c6;
    --primary-dark: #128c85;
    --accent: #f4c95d;
    --danger: #ff6b6b;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30;
    width: 100%;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px clamp(20px, 5vw, 64px);
    border-bottom: 1px solid var(--line);
    background: rgba(3, 7, 18, 0.82);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0;
}

.brand-logo {
    display: block;
    width: clamp(150px, 18vw, 220px);
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
}

.brand-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(61, 214, 198, 0.45);
    border-radius: 8px;
    background: rgba(61, 214, 198, 0.12);
    color: var(--primary);
    font-size: 0.86rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a,
.back-link {
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a {
    padding: 10px 12px;
    border-radius: 8px;
}

.nav-links a:hover,
.back-link:hover {
    color: var(--text);
}

.nav-links .nav-login {
    border: 1px solid rgba(61, 214, 198, 0.35);
    color: var(--primary);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
}

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(3, 7, 18, 0.92), rgba(3, 7, 18, 0.62), rgba(3, 7, 18, 0.88)),
        url("https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1800&q=85") center/cover;
}

#particles-js,
.hero-overlay {
    position: absolute;
    inset: 0;
}

#particles-js {
    z-index: 1;
}

.hero-overlay {
    z-index: 2;
    background: radial-gradient(circle at 20% 30%, rgba(61, 214, 198, 0.24), transparent 34%);
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 130px 0 90px;
}

.eyebrow,
.section-kicker {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1,
.login-visual h1 {
    max-width: 820px;
    margin-top: 12px;
    font-size: clamp(2.7rem, 7vw, 5.7rem);
    line-height: 0.96;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 660px;
    margin: 24px 0 34px;
    color: #d9e6f8;
    font-size: 1.13rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: #021013;
    box-shadow: 0 18px 40px rgba(61, 214, 198, 0.22);
}

.btn-primary:hover {
    background: #69eadf;
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.full-width {
    width: 100%;
}

section {
    padding: 96px 0;
}

.section-band {
    background: #091525;
}

.split-layout,
.contact-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

h2 {
    margin: 10px 0 16px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.05;
}

.sobre p,
.contato p,
.form-intro {
    color: var(--muted);
}

.demo-access {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(61, 214, 198, 0.28);
    border-radius: 8px;
    background: rgba(61, 214, 198, 0.08);
    color: #d7fff9;
    font-size: 0.9rem;
}

.metrics-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.metrics-panel div,
.service-card,
.feedback-card,
.contact-form,
.login-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: var(--shadow);
}

.metrics-panel div {
    padding: 24px;
}

.metrics-panel strong {
    display: block;
    color: var(--accent);
    font-size: 2rem;
    line-height: 1;
}

.metrics-panel span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.9rem;
}

.servicos {
    background: var(--bg-deep);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.service-grid,
.feedback-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card {
    min-height: 270px;
    padding: 26px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(61, 214, 198, 0.52);
}

.service-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 8px;
    background: rgba(61, 214, 198, 0.13);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 900;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.16rem;
}

.service-card p,
.feedback-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

.feedback-grid {
    grid-template-columns: repeat(2, 1fr);
}

.feedback-card {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 24px;
}

.feedback-card img {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
}

.feedback-card strong {
    display: block;
    margin-bottom: 6px;
}

.contato {
    background:
        linear-gradient(90deg, rgba(3, 7, 18, 0.94), rgba(3, 7, 18, 0.78)),
        url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1600&q=85") center/cover;
}

.contact-form,
.login-form {
    display: grid;
    gap: 18px;
    padding: 28px;
}

label {
    display: grid;
    gap: 8px;
    color: #dbe7f6;
    font-size: 0.92rem;
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font: inherit;
    outline: none;
    padding: 14px 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
    border-color: rgba(61, 214, 198, 0.8);
    box-shadow: 0 0 0 4px rgba(61, 214, 198, 0.13);
}

textarea {
    min-height: 132px;
    resize: vertical;
}

footer {
    padding: 28px 20px;
    border-top: 1px solid var(--line);
    background: #030712;
    color: var(--muted);
    text-align: center;
}

.login-page {
    background: var(--bg-deep);
}

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
}

.login-visual {
    position: relative;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(3, 7, 18, 0.38), rgba(3, 7, 18, 0.86)),
        url("https://images.unsplash.com/photo-1563986768609-322da13575f3?auto=format&fit=crop&w=1600&q=85") center/cover;
}

.login-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 22% 22%, rgba(244, 201, 93, 0.24), transparent 30%);
}

.login-brand,
.login-visual-content {
    position: relative;
    z-index: 1;
}

.login-brand .brand-logo {
    width: clamp(170px, 24vw, 260px);
    height: 58px;
}

.login-visual-content {
    max-width: 680px;
}

.login-visual-content p:last-child {
    max-width: 560px;
    margin-top: 22px;
    color: #e6eef9;
}

.login-panel {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: center;
    padding: 40px clamp(24px, 6vw, 86px);
    background: linear-gradient(180deg, #07111f, #0b1626);
}

.back-link {
    width: max-content;
    margin-bottom: 28px;
}

.login-form {
    width: min(100%, 470px);
    padding: 34px;
    background: rgba(255, 255, 255, 0.07);
}

.login-form h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 0.9rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-weight: 600;
}

.checkbox-label input {
    width: 16px;
    height: 16px;
}

.form-options a,
.signup-note a {
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
}

.signup-note {
    color: var(--muted);
    text-align: center;
}

.form-message {
    min-height: 22px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.form-message.is-error {
    color: var(--danger);
}

.form-message.is-success {
    color: var(--primary);
}

.dashboard-page {
    background: var(--bg-deep);
}

.dashboard-main {
    padding-top: 76px;
}

.dashboard-hero {
    padding: 82px 0 44px;
    background:
        linear-gradient(90deg, rgba(3, 7, 18, 0.94), rgba(3, 7, 18, 0.72)),
        url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1600&q=85") center/cover;
}

.dashboard-hero h1 {
    max-width: 760px;
    margin-top: 10px;
    font-size: clamp(2.4rem, 5vw, 4.7rem);
    line-height: 1;
}

.dashboard-hero p:last-child {
    max-width: 620px;
    margin-top: 18px;
    color: var(--muted);
}

.dashboard-section {
    padding: 44px 0 90px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.dashboard-card {
    min-height: 210px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow);
}

.dashboard-card span {
    color: var(--muted);
    font-weight: 800;
}

.dashboard-card strong {
    display: block;
    margin: 18px 0 10px;
    color: var(--accent);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
}

.dashboard-card p {
    color: var(--muted);
}

@media (max-width: 980px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-layout,
    .contact-layout,
    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-visual {
        min-height: 52vh;
    }

    .login-panel {
        min-height: auto;
    }
}

@media (max-width: 760px) {
    .navbar {
        min-height: 68px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px 20px;
        border-bottom: 1px solid var(--line);
        background: rgba(3, 7, 18, 0.96);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        padding: 12px;
    }

    .hero {
        min-height: 88vh;
    }

    .hero-actions,
    .form-options {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    section {
        padding: 72px 0;
    }

    .metrics-panel,
    .service-grid,
    .feedback-grid,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .feedback-card {
        align-items: flex-start;
    }

    .login-visual,
    .login-panel {
        padding: 28px 20px;
    }

    .login-form {
        padding: 24px;
    }
}
