/* ── Reset & base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --teal:    #2ED3B5;
    --teal-dk: #1aaa91;
    --yellow:  #FFD147;
    --pink:    #FF5780;
    --orange:  #FFAB48;
    --bg:      #080c14;
    --bg2:     #0d1220;
    --bg3:     #111827;
    --border:  rgba(255,255,255,.08);
    --text:    #e8eaf0;
    --muted:   rgba(255,255,255,.45);
    --radius:  14px;
}

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--teal);
    color: #061210;
    font-weight: 700;
    font-size: .95rem;
    padding: .8rem 1.75rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 0 0 0 rgba(46,211,181,.3);
}
.btn-primary:hover {
    background: #3de8cc;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(46,211,181,.35);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    color: var(--muted);
    font-size: .95rem;
    font-weight: 500;
    padding: .8rem 0;
    transition: color .2s;
}
.btn-ghost:hover { color: var(--text); }

/* ── Nav ───────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background .3s, backdrop-filter .3s, border-color .3s;
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(8,12,20,.85);
    backdrop-filter: blur(16px);
    border-color: var(--border);
}
.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.nav-logo { flex-shrink: 0; display: flex; align-items: center; }
.nav-links {
    display: flex;
    gap: 2rem;
    flex: 1;
}
.nav-links a {
    font-size: .9rem;
    color: var(--muted);
    font-weight: 500;
    transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

.btn-nav {
    background: rgba(46,211,181,.12);
    color: var(--teal);
    border: 1px solid rgba(46,211,181,.25);
    padding: .55rem 1.25rem;
    border-radius: 50px;
    font-size: .88rem;
    font-weight: 600;
    transition: background .2s, border-color .2s;
    white-space: nowrap;
}
.btn-nav:hover {
    background: rgba(46,211,181,.2);
    border-color: rgba(46,211,181,.5);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}
.nav-hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: .2s;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 1rem 24px 1.25rem;
    border-top: 1px solid var(--border);
    background: rgba(8,12,20,.95);
    gap: .75rem;
}
.nav-mobile a {
    font-size: .95rem;
    color: var(--muted);
    font-weight: 500;
    padding: .35rem 0;
}
.nav-mobile .btn-nav { align-self: flex-start; margin-top: .25rem; }
.nav-mobile.open { display: flex; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    padding-top: 68px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .18;
}
.glow-teal {
    width: 600px; height: 600px;
    background: var(--teal);
    top: -100px; right: -100px;
}
.glow-yellow {
    width: 400px; height: 400px;
    background: var(--yellow);
    bottom: 0; left: -80px;
    opacity: .1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(46,211,181,.1);
    border: 1px solid rgba(46,211,181,.2);
    color: var(--teal);
    font-size: .8rem;
    font-weight: 600;
    padding: .4rem .9rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.badge-dot {
    width: 7px; height: 7px;
    background: var(--teal);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.8); }
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin-bottom: 1.25rem;
}
.gradient-text {
    background: linear-gradient(135deg, var(--teal) 0%, var(--yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 480px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
}
.stat-unit {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--teal);
}
.stat-label {
    display: block;
    font-size: .72rem;
    color: var(--muted);
    margin-top: .1rem;
    max-width: 100px;
    line-height: 1.3;
}
.stat-div {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* Dashboard mockup */
.hero-visual { display: flex; justify-content: center; }
.dashboard-mockup {
    width: 100%;
    max-width: 460px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.05);
    animation: float 5s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.mockup-bar {
    background: rgba(255,255,255,.04);
    padding: .65rem 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }
.mockup-url {
    margin-left: .5rem;
    font-size: .72rem;
    color: rgba(255,255,255,.25);
    font-family: monospace;
}
.mockup-body { display: flex; height: 260px; }
.mockup-sidebar {
    width: 44px;
    background: rgba(255,255,255,.02);
    border-right: 1px solid var(--border);
    padding: .75rem .5rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.sb-item {
    height: 28px;
    border-radius: 6px;
    background: rgba(255,255,255,.06);
}
.sb-item.active { background: rgba(46,211,181,.2); }
.mockup-main {
    flex: 1;
    padding: .75rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    overflow: hidden;
}
.mockup-cards { display: flex; gap: .5rem; }
.m-card {
    flex: 1;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .5rem .65rem;
}
.m-card.teal  { border-color: rgba(46,211,181,.2); }
.m-card.yellow{ border-color: rgba(255,209,71,.2); }
.m-card.pink  { border-color: rgba(255,87,128,.2); }
.m-card-label { font-size: .6rem; color: var(--muted); }
.m-card-val   { font-size: .95rem; font-weight: 700; margin: .1rem 0; }
.m-card-bar   { height: 3px; background: rgba(255,255,255,.08); border-radius: 2px; margin-top: .3rem; }
.m-card.teal  .m-card-fill { background: var(--teal); }
.m-card.yellow .m-card-fill{ background: var(--yellow); }
.m-card.pink  .m-card-fill { background: var(--pink); }
.m-card-fill  { height: 100%; border-radius: 2px; transition: width 1s ease; }

.mockup-chart { flex: 1; }
.chart-label  { font-size: .65rem; color: var(--muted); margin-bottom: .4rem; }
.chart-bars   { display: flex; align-items: flex-end; gap: 4px; height: 60px; }
.chart-bar {
    flex: 1;
    background: rgba(46,211,181,.2);
    border-radius: 3px 3px 0 0;
    transition: height .8s ease;
}
.chart-bar.active { background: var(--teal); }

.mockup-devices { display: flex; flex-direction: column; gap: .3rem; }
.m-device {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .68rem;
    color: var(--muted);
    padding: .25rem .4rem;
    background: rgba(255,255,255,.03);
    border-radius: 5px;
}
.m-device .d-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.m-device.online  .d-dot { background: #22c55e; }
.m-device.offline .d-dot { background: rgba(255,255,255,.2); }
.m-device .d-status {
    margin-left: auto;
    font-size: .62rem;
}
.m-device.online  .d-status { color: #22c55e; }
.m-device.offline .d-status { color: rgba(255,255,255,.2); }

/* ── Sections ──────────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-dark { background: var(--bg2); }

.section-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 4rem;
}
.section-tag {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: .85rem;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.section-sub {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ── Modules ───────────────────────────────────────────────── */
.modules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 860px;
    margin: 0 auto;
}
.module-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.module-card:hover {
    border-color: rgba(255,255,255,.15);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0,0,0,.3);
}
.module-card.featured {
    border-color: rgba(46,211,181,.25);
    background: linear-gradient(135deg, rgba(46,211,181,.05) 0%, var(--bg2) 100%);
}
.module-card.featured:hover { border-color: rgba(46,211,181,.5); }

.module-badge {
    position: absolute;
    top: -1px; right: 1.5rem;
    background: var(--teal);
    color: #061210;
    font-size: .7rem;
    font-weight: 700;
    padding: .2rem .7rem;
    border-radius: 0 0 8px 8px;
    letter-spacing: .04em;
}
.module-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.icon-lixeira  { background: rgba(255,209,71,.1);  color: var(--yellow); }
.icon-contagem { background: rgba(46,211,181,.1);   color: var(--teal); }

.module-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: .75rem;
}
.module-card p {
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}
.module-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    margin-bottom: 1.75rem;
}
.module-features li {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .875rem;
    color: rgba(255,255,255,.75);
}
.check {
    color: var(--teal);
    font-weight: 700;
    font-size: .85rem;
    flex-shrink: 0;
}
.module-cta {
    font-size: .88rem;
    font-weight: 600;
    color: var(--teal);
    transition: gap .2s;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}
.module-cta:hover { gap: .6rem; }

/* ── Steps ─────────────────────────────────────────────────── */
.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    transition: border-color .2s, transform .2s;
}
.step:hover {
    border-color: rgba(46,211,181,.3);
    transform: translateY(-3px);
}
.step-num {
    font-size: .72rem;
    font-weight: 800;
    color: var(--teal);
    letter-spacing: .1em;
    margin-bottom: .75rem;
    opacity: .6;
}
.step-icon {
    width: 52px; height: 52px;
    background: rgba(46,211,181,.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto .9rem;
    color: var(--teal);
}
.step h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .5rem;
}
.step p {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.6;
}
.step-arrow {
    font-size: 1.5rem;
    color: rgba(255,255,255,.15);
    flex-shrink: 0;
}

/* ── Plans ─────────────────────────────────────────────────── */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}
.plan-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    transition: border-color .2s, transform .2s;
}
.plan-card:hover {
    border-color: rgba(255,255,255,.15);
    transform: translateY(-3px);
}
.plan-card.featured {
    border-color: rgba(46,211,181,.3);
    background: linear-gradient(160deg, rgba(46,211,181,.07) 0%, var(--bg2) 50%);
    transform: scale(1.025);
}
.plan-card.featured:hover { transform: scale(1.025) translateY(-3px); }
.plan-popular {
    position: absolute;
    top: -1px; left: 50%;
    transform: translateX(-50%);
    background: var(--teal);
    color: #061210;
    font-size: .7rem;
    font-weight: 700;
    padding: .2rem 1rem;
    border-radius: 0 0 10px 10px;
    white-space: nowrap;
    letter-spacing: .04em;
}
.plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .5rem;
}
.plan-desc {
    font-size: .83rem;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 1.5rem;
    min-height: 52px;
}
.plan-price {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.75rem;
    gap: .1rem;
}
.plan-from { font-size: .72rem; color: var(--muted); }
.plan-val  { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.plan-per  { font-size: .75rem; color: var(--muted); }

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .65rem;
    margin-bottom: 2rem;
}
.plan-features li {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .875rem;
    color: rgba(255,255,255,.7);
}
.plan-features li::before {
    content: '✓';
    color: var(--teal);
    font-weight: 700;
    font-size: .8rem;
    flex-shrink: 0;
}
.btn-plan {
    display: block;
    text-align: center;
    padding: .8rem;
    border-radius: 50px;
    font-size: .9rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,.15);
    color: var(--text);
    transition: background .2s, border-color .2s;
}
.btn-plan:hover {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.3);
}
.btn-plan.featured {
    background: var(--teal);
    color: #061210;
    border-color: var(--teal);
}
.btn-plan.featured:hover { background: #3de8cc; }

/* ── CTA section ───────────────────────────────────────────── */
.section-cta { background: var(--bg2); }
.cta-box {
    max-width: 760px;
    margin: 0 auto;
    background: var(--bg3);
    border: 1px solid rgba(46,211,181,.2);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}
.cta-glow {
    position: absolute;
    width: 400px; height: 400px;
    background: var(--teal);
    border-radius: 50%;
    filter: blur(120px);
    opacity: .06;
    top: -150px; right: -100px;
    pointer-events: none;
}
.cta-content { position: relative; }
.cta-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: .75rem;
    letter-spacing: -.02em;
}
.cta-content p {
    color: var(--muted);
    margin-bottom: 2rem;
    font-size: .95rem;
}
.cta-form { display: flex; flex-direction: column; gap: .85rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.cta-form input,
.cta-form textarea {
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 10px;
    padding: .8rem 1rem;
    font-size: .9rem;
    font-family: inherit;
    outline: none;
    transition: border-color .2s;
    width: 100%;
}
.cta-form input:focus,
.cta-form textarea:focus { border-color: rgba(46,211,181,.4); }
.cta-form input::placeholder,
.cta-form textarea::placeholder { color: rgba(255,255,255,.25); }
.cta-form textarea { height: 100px; resize: none; }
.btn-submit { width: 100%; justify-content: center; font-size: 1rem; padding: .95rem; margin-top: .25rem; }

/* ── Footer ────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 3rem 0 1.5rem; }
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.footer-brand { max-width: 240px; }
.footer-brand p {
    font-size: .83rem;
    color: var(--muted);
    margin-top: .85rem;
    line-height: 1.6;
}
.footer-links { display: flex; gap: 3.5rem; flex-wrap: wrap; }
.footer-col {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}
.footer-col-title {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.35);
    margin-bottom: .2rem;
}
.footer-col a {
    font-size: .875rem;
    color: var(--muted);
    transition: color .2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
    text-align: center;
    font-size: .78rem;
    color: rgba(255,255,255,.25);
}

/* ── Scroll reveal ─────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .hero-content { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .hero-sub { margin: 0 auto 2rem; }
    .hero-ctas { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { order: -1; }
    .dashboard-mockup { max-width: 360px; }
    .plans-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .plan-card.featured { transform: none; }
    .modules-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .steps { flex-direction: column; align-items: stretch; }
    .step-arrow { transform: rotate(90deg); text-align: center; }
    .step { max-width: 100%; }
}
@media (max-width: 640px) {
    .nav-links, .btn-nav { display: none; }
    .nav-hamburger { display: flex; }
    .section { padding: 72px 0; }
    .cta-box { padding: 2rem 1.25rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; }
    .footer-links { gap: 2rem; }
}
