:root {
    --bg: #080c10;
    --surface: #0d1218;
    --surface-2: #131a24;
    --border: rgba(255, 255, 255, 0.08);
    --green: #25d366;
    --green-dim: #1aae52;
    --purple: #7c3aed;
    --text: #e8edf3;
    --text-muted: #8a9ab0;
    --radius: 16px;
    --trans: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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;
}

ul {
    list-style: none;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--trans);
}

.btn--primary {
    background: var(--green);
    color: #000;
}

.btn--primary:hover {
    background: var(--green-dim);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--green) 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: var(--trans);
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(8, 12, 16, 0.85);
    backdrop-filter: blur(16px);
    border-color: var(--border);
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
}

.logo__icon {
    font-size: 22px;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.nav__links a:hover {
    color: var(--text);
}

.nav__cta {
    background: var(--green) !important;
    color: #000 !important;
    padding: 9px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.nav__cta:hover {
    background: var(--green-dim) !important;
}

.nav__burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    flex-direction: column;
}

.nav__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--trans);
}

/* ===== ORBS / BUBBLES ===== */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    /* Increased opacity */
    animation: float-orb 15s ease-in-out infinite;
}

@keyframes float-orb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(60px, -80px) scale(1.2);
    }

    66% {
        transform: translate(-40px, 40px) scale(0.8);
    }
}

.orb--green {
    background: radial-gradient(circle, var(--green), transparent 70%);
}

.orb--purple {
    background: radial-gradient(circle, var(--purple), transparent 70%);
}

.orb--blue {
    background: radial-gradient(circle, #06b6d4, transparent 70%);
}

.orb-1 {
    width: 500px;
    height: 500px;
    top: -150px;
    left: -150px;
    animation-duration: 18s;
}

.orb-2 {
    width: 600px;
    height: 600px;
    top: 5%;
    right: -250px;
    animation-delay: -2s;
    animation-duration: 22s;
    opacity: 0.25;
}

.orb-3 {
    width: 450px;
    height: 450px;
    bottom: 5%;
    left: -200px;
    animation-delay: -5s;
    animation-duration: 20s;
    opacity: 0.2;
}

.orb-4 {
    width: 400px;
    height: 400px;
    top: 40%;
    right: 5%;
    animation-delay: -10s;
    animation-duration: 25s;
    opacity: 0.2;
}

/* ===== MICRO-BUBBLES ===== */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--green) 0%, transparent 80%);
    opacity: 0.4;
    /* Significantly increased opacity */
    filter: blur(30px);
    pointer-events: none;
    z-index: 1;
    animation: float-bubble 8s ease-in-out infinite;
}

@keyframes float-bubble {

    0%,
    100% {
        transform: translateY(0) translateX(0) scale(1);
    }

    50% {
        transform: translateY(-150px) translateX(40px) scale(1.2);
    }
}

.bubble-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 20%;
    animation-delay: -1s;
}

.bubble-2 {
    width: 180px;
    height: 180px;
    top: 50%;
    right: 15%;
    animation-delay: -3s;
    animation-duration: 12s;
    background: radial-gradient(circle, var(--purple) 0%, transparent 80%);
}

.bubble-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 35%;
    animation-delay: -5s;
    animation-duration: 10s;
    background: radial-gradient(circle, #06b6d4 0%, transparent 80%);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
    text-align: center;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero>.container {
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.25);
    color: var(--green);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

.badge__dot {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.hero__title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero__sub {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

/* Stats */
.hero__stats {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 20px 40px;
    border-radius: var(--radius);
    margin-bottom: 64px;
}

.stat {
    text-align: center;
}

.stat__num {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--green);
}

.stat__label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.stat__sep {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* Mockup Window */
.hero__mockup {
    perspective: 1000px;
}

.mockup__window {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    max-width: 720px;
    margin: 0 auto;
    transform: rotateX(4deg);
    transform-origin: top center;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: rotateX(4deg) translateY(0);
    }

    50% {
        transform: rotateX(4deg) translateY(-10px);
    }
}

.window__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: #161b22;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot--r {
    background: #ff5f57;
}

.dot--y {
    background: #ffbd2e;
}

.dot--g {
    background: #28c840;
}

.window__title {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 8px;
}

.window__content {
    display: flex;
    min-height: 200px;
}

/* Terminal Block */
.code__block {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0d1117;
}

.code__tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 16px;
}

.code__tab {
    background: transparent;
    border: none;
    color: #8b949e;
    font-size: 13px;
    font-weight: 500;
    padding: 16px 20px;
    cursor: pointer;
    font-family: inherit;
    border-bottom: 2px solid transparent;
    transition: var(--trans);
    margin-bottom: -1px;
}

.code__tab:hover {
    color: #c9d1d9;
}

.code__tab--active {
    color: #3fb950;
    border-bottom-color: #3fb950;
}

.code__pre {
    padding: 24px;
    font-size: 13px;
    font-family: 'Consolas', 'Courier New', monospace;
    overflow-x: auto;
    flex: 1;
    line-height: 1.6;
    text-align: left;
    /* Fix text centering in code block */
    color: #e6edf3;
}

/* Syntax Highlighting */
.c-gray {
    color: #8b949e;
}

.c-green {
    color: #3fb950;
    font-weight: bold;
}

.c-yellow {
    color: #e3b341;
}

.c-string {
    color: #a5d6ff;
}

.c-muted {
    color: #e6edf3;
}

.c-key {
    color: #7ee787;
}

.c-bool {
    color: #79c0ff;
}

/* ===== SECTION HEADERS ===== */
.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 12px;
}

.section__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section__sub {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 520px;
    margin: 0 auto;
}

/* ===== FEATURES ===== */
.features {
    padding: 100px 0;
}

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

.feature__card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--trans);
}

.feature__card:hover {
    border-color: rgba(37, 211, 102, 0.2);
    background: var(--surface-2);
    transform: translateY(-4px);
}

.feature__card--highlight {
    border-color: rgba(37, 211, 102, 0.3);
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.06) 0%, transparent 60%);
}

.feature__icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature__card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature__card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== HOW IT WORKS ===== */
.how {
    padding: 80px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.how__steps {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.step {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 280px;
    transition: var(--trans);
}

.step:hover {
    border-color: rgba(37, 211, 102, 0.3);
    transform: translateY(-4px);
}

.step__num {
    font-size: 42px;
    font-weight: 800;
    color: rgba(37, 211, 102, 0.3);
    line-height: 1;
    margin-bottom: 16px;
}

.step__body h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step__body p {
    color: var(--text-muted);
    font-size: 14px;
}

.step__arrow {
    font-size: 24px;
    color: var(--border);
}

/* ===== PRICING ===== */
.pricing {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 0;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    animation: panGrid 20s linear infinite;
}

@keyframes panGrid {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 24px 24px;
    }
}

.pricing>.container {
    position: relative;
    z-index: 1;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.plan {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    position: relative;
    transition: var(--trans);
}

.plan:hover {
    transform: translateY(-4px);
}

.plan--featured {
    border-color: var(--green);
    background: linear-gradient(160deg, rgba(37, 211, 102, 0.08) 0%, var(--surface) 50%);
    box-shadow: 0 0 40px rgba(37, 211, 102, 0.12);
}

.plan__badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 100px;
    white-space: nowrap;
}

.plan__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.plan__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 28px;
}

.plan__price .currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-muted);
}

.plan__price .price-val {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--text);
}

.plan__price .period {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
}

.plan__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--text-muted);
}

.plan__features li {
    color: var(--text);
}

.plan__features li.dim {
    color: var(--text-muted);
    opacity: 0.5;
}

.plan__btn {
    width: 100%;
    justify-content: center;
}

/* ===== CTA FINAL ===== */
.cta__final {
    padding: 100px 0;
}

.cta__card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta__card h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta__card p {
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.cta__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 auto;
    max-width: 400px;
    position: relative;
    z-index: 1;
}

.cta__form>div {
    width: 100%;
}

.cta__form input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 13px 20px;
    color: var(--text);
    font-size: 15px;
    outline: none;
    transition: var(--trans);
}

.cta__form button {
    width: 100%;
    margin-top: 8px;
}

.cta__form input:focus {
    border-color: var(--green);
    background: rgba(255, 255, 255, 0.07);
}

.cta__form input::placeholder {
    color: var(--text-muted);
}

.cta__note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

/* ===== ABOUT US (BRANDING) ===== */
.about {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
    border-top: 1px solid var(--border);
}

.about__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about__desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}

.about__values {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.value__item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
}

.value__icon {
    font-size: 18px;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--trans);
}

.float-wa:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: #1aae52;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.float-wa svg {
    margin-top: 2px;
    /* Slight visual adjustment for the icon */
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__brand {
    font-size: 18px;
    font-weight: 700;
}

.footer__brand p {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 4px;
}

.footer__links {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.footer__links a:hover {
    color: var(--text);
}

.footer__copy {
    font-size: 13px;
    color: var(--text-muted);
    width: 100%;
    text-align: center;
    margin-top: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .pricing__grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 760px;
    }
}

@media (max-width: 900px) {
    .features__grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .how__steps {
        flex-direction: column;
    }

    .step__arrow {
        transform: rotate(90deg);
    }

    .chat__list {
        display: none;
    }

    .hero__stats {
        gap: 16px;
        padding: 16px 24px;
    }
}

@media (max-width: 640px) {
    .nav__links {
        display: none;
    }

    .nav__burger {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .cta__card {
        padding: 40px 24px;
    }

    .hero__stats {
        flex-direction: column;
        gap: 8px;
    }

    .stat__sep {
        width: 80px;
        height: 1px;
    }
}

@keyframes codeFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.animate-code {
    animation: codeFadeIn 0.3s ease forwards;
}