:root {
    --bg-main: #020617;
    --bg-secondary: #0f172a;
    --bg-dark: #000000;
    --text-main: #e5e7eb;
    --text-soft: #cbd5e1;
    --text-muted: #94a3b8;
    --border: #1e293b;
    --primary: #0ea5e9;
    --primary-strong: #0284c7;
    --primary-soft: #38bdf8;
    --success: #22c55e;
    --danger: #ef4444;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at top, #081225 0%, #020617 45%, #000 100%);
    color: var(--text-main);
    line-height: 1.6;
}

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

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

button,
input,
textarea {
    font: inherit;
}

section {
    padding: 100px 20px;
}

h1, h2, h3 {
    color: #ffffff;
    line-height: 1.2;
}

p {
    color: var(--text-soft);
}

.btn-primary,
.btn-secondary,
.btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.25s ease;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #03111d;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.22);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-soft);
    border: 1px solid var(--primary-soft);
}

.btn-dark {
    background: #06111f;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(56, 189, 248, 0.18);
}

.btn-primary:active,
.btn-secondary:active,
.btn-dark:active {
    transform: scale(0.98);
}

.full-width {
    width: 100%;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(5, 10, 25, 0.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 10, 25, 0.92);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.nav-brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 14px;
}

.brand-name {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu a {
    color: #dbeafe;
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--primary-soft);
    transition: width 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: transparent;
    color: #ffffff;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 20px 80px;
}

.hero-content {
    max-width: 920px;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.14);
    color: var(--primary-soft);
    font-size: 14px;
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 60px);
    font-weight: 800;
    margin-bottom: 22px;
}

.hero-subtitle {
    max-width: 760px;
    margin: 0 auto 38px;
    font-size: 18px;
    color: var(--text-soft);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.section-header {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 14px;
}

.section-header p {
    font-size: 17px;
}

.services {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.95));
}

.service-showcase {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 60px 1200px 60px;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.showcase-content {
    width: 1200px;
    height: 520px;
    background: linear-gradient(180deg, rgba(10, 20, 40, 0.82), rgba(2, 6, 23, 0.96));
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 780px 420px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.showcase-media {
    position: relative;
    width: 780px;
    height: 520px;
    overflow: hidden;
    background: #020617;
}

.showcase-slide {
    position: absolute;
    inset: 0;
    width: 780px;
    height: 520px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
    overflow: hidden;
}

.showcase-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.showcase-slide img,
.showcase-slide video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.showcase-info {
    width: 420px;
    height: 520px;
    padding: 42px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, rgba(6, 17, 31, 0.92), rgba(2, 6, 23, 0.98));
    overflow: hidden;
}

.showcase-text {
    display: none;
    min-height: 260px;
}

.showcase-text.active {
    display: block;
    animation: fadeText 0.35s ease;
}

.showcase-text h3 {
    font-size: 34px;
    margin-bottom: 18px;
    min-height: 126px;
}

.showcase-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-soft);
    min-height: 145px;
}

.showcase-controls {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
}

.showcase-arrow {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.25);
    background: rgba(6, 17, 31, 0.9);
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transition: 0.2s ease;
    flex-shrink: 0;
}

.showcase-arrow:hover {
    background: rgba(14, 165, 233, 0.95);
    color: #03111d;
    transform: scale(1.05);
}
@keyframes fadeText {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-tag {
    display: inline-block;
    margin-bottom: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.16);
    color: var(--primary-soft);
    font-size: 14px;
    font-weight: 700;
}

.showcase-text h3 {
    font-size: 34px;
    margin-bottom: 18px;
}

.showcase-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-soft);
}

.showcase-controls {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
}

.showcase-dots {
    display: flex;
    gap: 10px;
}

.showcase-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.35);
    transition: 0.2s ease;
}

.showcase-dot.active {
    background: var(--primary-soft);
    transform: scale(1.15);
}

.showcase-arrow {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.25);
    background: rgba(6, 17, 31, 0.9);
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transition: 0.2s ease;
}

.showcase-arrow:hover {
    background: rgba(14, 165, 233, 0.95);
    color: #03111d;
    transform: scale(1.05);
}

.backend {
    background: linear-gradient(180deg, #020617 0%, #06111f 100%);
}

.testeagora {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 26px;
    padding: 42px 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.28);
}

.backend h2 {
    font-size: 34px;
    margin-bottom: 14px;
}

.backend p {
    font-size: 17px;
    margin-bottom: 28px;
}

.form-group {
    text-align: left;
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #e2e8f0;
    font-weight: 600;
    font-size: 15px;
}

.testeagora input,
.testeagora textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(2, 6, 23, 0.95);
    color: #ffffff;
    outline: none;
    transition: 0.25s ease;
}

.testeagora textarea {
    resize: vertical;
    min-height: 130px;
}

.testeagora input::placeholder,
.testeagora textarea::placeholder {
    color: var(--text-muted);
}

.testeagora input:focus,
.testeagora textarea:focus {
    border-color: var(--primary-soft);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.feedback {
    margin-top: 16px;
    min-height: 26px;
    font-weight: 600;
}

.custom-solution {
    background: radial-gradient(circle at center, #0f172a 0%, #020617 70%);
}

.custom-card {
    max-width: 840px;
    margin: 0 auto;
    padding: 64px 42px;
    border-radius: 30px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #04111c;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
}

.custom-card h2,
.custom-card p {
    color: #04111c;
}

.custom-card h2 {
    font-size: 36px;
    margin-bottom: 18px;
}

.custom-note {
    margin: 26px 0 36px;
    font-weight: 700;
}

.pricing {
    background: #020617;
}

.pricing-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.pricing-content h2 {
    font-size: 34px;
    margin-bottom: 16px;
}

.pricing-content p {
    margin-bottom: 28px;
    font-size: 17px;
}

.contact {
    background: linear-gradient(180deg, #020617 0%, #000 100%);
}

.contact-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.contact-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.contact-content p {
    margin-bottom: 28px;
    font-size: 17px;
}

.contact-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.footer {
    background: #000;
    padding: 28px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer p {
    color: #64748b;
    font-size: 14px;
}

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (max-width: 1360px) {
    .service-showcase {
        grid-template-columns: 60px minmax(0, 1fr) 60px;
    }

    .showcase-content {
        width: 100%;
        grid-template-columns: minmax(0, 1fr) 380px;
        height: 500px;
    }

    .showcase-media,
    .showcase-slide {
        width: 100%;
        height: 500px;
    }

    .showcase-info {
        width: 380px;
        height: 500px;
    }
}

@media (max-width: 1100px) {
    .showcase-content {
        grid-template-columns: 1fr;
        height: auto;
    }

    .showcase-media,
    .showcase-slide {
        width: 100%;
        height: 360px;
    }

    .showcase-info {
        width: 100%;
        height: auto;
        padding: 32px 24px;
    }

    .showcase-text h3 {
        font-size: 28px;
        min-height: auto;
    }

    .showcase-text p {
        font-size: 17px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .service-showcase {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .showcase-arrow {
        display: none;
    }

    .showcase-media,
    .showcase-slide {
        height: 260px;
    }

    .showcase-info {
        padding: 24px 20px;
    }

    .showcase-text h3 {
        font-size: 24px;
    }

    .showcase-text p {
        font-size: 16px;
        line-height: 1.7;
    }

    .showcase-controls {
        align-items: stretch;
    }

    .showcase-cta {
        width: 100%;
    }
}