:root {
    --navy: #0b1f33;
    --navy-2: #12304d;
    --bg-deep: #f5f7fa;
    --bg-body: #ffffff;
    --bg-card: #ffffff;
    --border-card: #e3e8ee;
    --text-primary: #0f1c2e;
    --text-secondary: #4a5a6e;
    --accent-green: #15803d;
    --accent-green-hover: #166534;
    --accent-green-light: #f0f9f3;
    --accent-green-border: #cbe8d5;
    --accent-bright: #4ade80;
    --shadow-sm: 0 1px 2px rgba(15, 28, 46, 0.04), 0 4px 16px rgba(15, 28, 46, 0.04);
    --shadow-md: 0 2px 4px rgba(15, 28, 46, 0.04), 0 12px 32px rgba(15, 28, 46, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

section {
    padding: 96px 0;
}

.section-light {
    background: var(--bg-deep);
    border-top: 1px solid var(--border-card);
    border-bottom: 1px solid var(--border-card);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.92);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-card);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(15, 28, 46, 0.06);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 24px;
    gap: 16px;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.logo .green-text {
    color: var(--accent-green);
    min-width: 8.6em;
}

.nav-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-cta-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-right: 4px;
}

.nav-icon-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-deep);
    border: 1px solid var(--border-card);
    color: var(--navy);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    font-size: 0.95rem;
}

.nav-icon-link:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #fff;
}

/* Buttons */
.btn-primary,
.btn-email,
.btn-whatsapp,
.btn-outline {
    padding: 14px 30px;
    font-size: 0.98rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary,
.btn-email {
    background: var(--accent-green);
    color: #fff;
    border: 1px solid var(--accent-green);
    box-shadow: 0 2px 8px rgba(21, 128, 61, 0.2);
}

.btn-primary:hover,
.btn-email:hover {
    background: var(--accent-green-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(21, 128, 61, 0.28);
}

.btn-whatsapp {
    background: var(--navy);
    color: #fff;
    border: 1px solid var(--navy);
    box-shadow: 0 2px 8px rgba(11, 31, 51, 0.2);
}

.btn-whatsapp:hover {
    background: var(--navy-2);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(11, 31, 51, 0.28);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

:focus-visible {
    outline: 2px solid var(--accent-bright);
    outline-offset: 3px;
}

/* Eyebrow */
.eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-green);
    margin-bottom: 14px;
}

.eyebrow-light {
    color: var(--accent-bright);
}

/* Hero */
.hero {
    padding: 88px 0 96px;
    background:
        radial-gradient(900px 500px at 85% 10%, rgba(74, 222, 128, 0.12), transparent 60%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
    animation: grid-drift 40s linear infinite;
}

@keyframes grid-drift {
    to { background-position: 56px 56px, 56px 56px; }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
    position: relative;
}

.hero h1 {
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero h1 span#hero-switch,
.hero-accent {
    color: var(--accent-bright);
}

.hero-accent {
    display: inline-block;
    margin-top: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 0.62em;
    line-height: 1.4;
    letter-spacing: -0.01em;
    opacity: 0.92;
}

.hero .subhead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 28px;
    max-width: 600px;
}

.hero-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-bottom: 36px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
}

.hero-features i {
    color: var(--accent-bright);
    font-size: 0.8rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(74, 222, 128, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

/* Hero entrance */
.hero-copy > * {
    opacity: 0;
    transform: translateY(18px);
    animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.15s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.38s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.48s; }

.hero-visual {
    opacity: 0;
    animation: rise 1.1s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes rise {
    to { opacity: 1; transform: translateY(0); }
}

/* Monitor card */
.monitor {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 22px 22px 16px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.monitor-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.monitor-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.live {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--accent-bright);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-bright);
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
    animation: live-pulse 2.4s ease-out infinite;
}

@keyframes live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
    70%, 100% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
}

.chart {
    width: 100%;
    height: 190px;
    display: block;
    overflow: visible;
}

.grid-lines line {
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.chart path {
    fill: none;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.line-before {
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 2;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 2s 0.7s ease-out forwards;
}

.line-after {
    stroke: var(--accent-bright);
    stroke-width: 2.5;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 2.2s 1.5s ease-out forwards;
}

.chart path.area {
    fill: url(#fill);
    stroke: none;
    opacity: 0;
    animation: fade-in 1.4s 2.8s ease-out forwards;
}

@keyframes draw {
    to { stroke-dashoffset: 0; }
}

@keyframes fade-in {
    to { opacity: 1; }
}

.chart-axis {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
}

.legend {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 14px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
}

.legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.key {
    width: 18px;
    height: 0;
    border-top: 2px solid;
    display: inline-block;
}

.key-before { border-color: rgba(255, 255, 255, 0.5); }
.key-after { border-color: var(--accent-bright); }

.systems {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.systems span {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.systems i {
    color: var(--accent-bright);
    font-size: 1rem;
}

.monitor-note {
    text-align: right;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 10px;
}

/* Key figures */
.figures {
    padding: 0;
    background: var(--bg-body);
    border-bottom: 1px solid var(--border-card);
}

.figures-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.figure {
    padding: 44px 24px;
    text-align: center;
    border-right: 1px solid var(--border-card);
}

.figure:last-child {
    border-right: none;
}

.figure-value {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.figure p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    max-width: 200px;
    margin: 0 auto;
    line-height: 1.45;
}

/* Section headings */
.section-head {
    text-align: center;
    margin-bottom: 52px;
}

.section-title {
    font-size: 2.15rem;
    font-weight: 800;
    color: var(--text-primary);
    max-width: 760px;
    margin: 0 auto;
}

.section-sub {
    margin-top: 12px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Card base */
.faq-item,
.step-card,
.benefit,
.about-highlight {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover,
.step-card:hover,
.benefit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #cfd8e3;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 24px;
}

.faq-item {
    padding: 32px;
    border-radius: 14px;
}

.faq-item i {
    font-size: 1.15rem;
    color: var(--accent-green);
    margin-bottom: 18px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--accent-green-light);
    border: 1px solid var(--accent-green-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.faq-item h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.97rem;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

.step-card {
    border-radius: 14px;
    padding: 36px 28px;
    text-align: center;
}

.step-number {
    width: 52px;
    height: 52px;
    background: var(--navy);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    box-shadow: 0 0 0 6px var(--accent-green-light);
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.trial-box {
    background: var(--accent-green-light);
    border: 1px solid var(--accent-green-border);
    border-left: 4px solid var(--accent-green);
    padding: 24px 28px;
    border-radius: 12px;
    margin-top: 40px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    color: #14532d;
    font-size: 1.02rem;
}

.trial-box i {
    color: var(--accent-green);
    font-size: 1.4rem;
    margin-top: 2px;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.benefit {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 30px 26px;
    border-radius: 14px;
}

.benefit > i {
    font-size: 1.1rem;
    color: var(--accent-green);
    background: var(--accent-green-light);
    border: 1px solid var(--accent-green-border);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.benefit h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.benefit p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* About */
.about-mus {
    background: var(--navy);
    color: #fff;
    border-radius: 20px;
    padding: 64px;
    display: flex;
    gap: 56px;
    align-items: center;
    box-shadow: var(--shadow-md);
    max-width: 1112px;
}

.about-text {
    flex: 1.7;
}

.about-text .eyebrow {
    color: var(--accent-bright);
}

.about-text h2 {
    font-size: 1.95rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.about-text p {
    color: rgba(255, 255, 255, 0.82);
}

.about-text strong {
    color: #fff;
}

.check-list {
    list-style: none;
    margin-top: 22px;
}

.check-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 12px 0;
    color: rgba(255, 255, 255, 0.92);
}

.check-list i {
    color: var(--accent-bright);
    margin-top: 6px;
    font-size: 0.8rem;
}

.about-highlight {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: none;
    border-radius: 16px;
    padding: 36px 30px;
    text-align: center;
}

.about-highlight > i {
    font-size: 2rem;
    color: var(--accent-bright);
}

.about-highlight h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 16px 0 10px;
}

.about-highlight p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

/* Suitable */
.suitable-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.suitable-item {
    background: var(--bg-card);
    padding: 13px 24px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-card);
    font-weight: 600;
    font-size: 0.97rem;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
}

.suitable-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent-green);
}

.suitable-item i {
    margin-right: 12px;
    color: var(--accent-green);
}

/* Contact */
.contact-section {
    padding-bottom: 80px;
}

.cta-block {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
    color: #fff;
    border-radius: 20px;
    padding: 72px 48px;
    text-align: center;
    box-shadow: var(--shadow-md);
    max-width: 1112px;
}

.cta-block h2 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin: 40px auto 0;
}

.contact-action-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cta-block .btn-whatsapp {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}

.cta-block .btn-whatsapp:hover {
    background: #e8eef5;
}

.copy-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.2s ease;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-family: inherit;
}

.copy-btn:hover {
    color: #fff;
}

.copy-btn.copied {
    color: var(--accent-bright);
    text-decoration: none;
    font-weight: 600;
}

footer {
    text-align: center;
    padding: 36px 24px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-card);
    font-size: 0.88rem;
}

/* Rotating words */
#logo-switch,
#hero-switch {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

#logo-switch.slide-out,
#hero-switch.slide-out {
    opacity: 0;
    transform: translateY(-10px);
}

#logo-switch.slide-in,
#hero-switch.slide-in {
    transition: none !important;
    opacity: 0;
    transform: translateY(10px);
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--navy);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s ease;
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--accent-green);
}

/* Responsive */
@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero-visual {
        max-width: 520px;
    }

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

    .figure:nth-child(2) {
        border-right: none;
    }

    .figure:nth-child(-n+2) {
        border-bottom: 1px solid var(--border-card);
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .about-mus {
        flex-direction: column;
        padding: 44px 28px;
        gap: 36px;
    }
}

@media (max-width: 640px) {
    section {
        padding: 68px 0;
    }

    .hero {
        padding: 56px 0 64px;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .nav-cta-text {
        display: none;
    }

    .logo {
        font-size: 1.05rem;
    }

    .logo .green-text {
        min-width: 8.2em;
    }

    .cta-block {
        padding: 48px 22px;
    }

    .cta-block h2 {
        font-size: 1.5rem;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-whatsapp,
    .btn-email {
        width: 100%;
    }

    .faq-item {
        padding: 26px 22px;
    }

    .trial-box {
        flex-direction: column;
        gap: 12px;
        padding: 22px;
    }

    .figure {
        padding: 32px 12px;
    }

    .figure-value {
        font-size: 1.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
