:root {
    --bg: #060b18;
    --surface: #0d1428;
    --surface-alt: #111b33;
    --text: #f8fafc;
    --muted: #9fb0d0;
    --line: rgba(122, 159, 255, 0.2);
    --brand-1: #4f8cff;
    --brand-2: #27d4ff;
    --radius-lg: 22px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", "Segoe UI", sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

.page-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 15% 10%, rgba(39, 212, 255, 0.2), transparent 30%),
        radial-gradient(circle at 85% 15%, rgba(79, 140, 255, 0.2), transparent 28%),
        linear-gradient(180deg, #070d1d 0%, #050914 100%);
    z-index: -1;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: rgba(6, 11, 24, 0.72);
    border-bottom: 1px solid rgba(159, 176, 208, 0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: var(--text);
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

nav a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
}

nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

nav a:active {
    transform: scale(0.97);
}

nav a.active {
    background: #fff;
    color: #111;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.9);
}

main {
    padding: 20px 0 52px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    padding: 14px 0 8px;
}

.hero-content {
    background: rgba(13, 20, 40, 0.78);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 34px;
}

.eyebrow {
    color: var(--brand-2);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(2.1rem, 4vw, 3.35rem);
    line-height: 1.1;
    margin-bottom: 12px;
}

.hero-subtitle {
    color: var(--muted);
    font-size: 1.03rem;
    max-width: 62ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(39, 212, 255, 0.28);
}

.btn-secondary {
    background: transparent;
    border-color: rgba(159, 176, 208, 0.35);
    color: var(--text);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.metric {
    background: rgba(17, 27, 51, 0.7);
    border: 1px solid rgba(159, 176, 208, 0.2);
    border-radius: 14px;
    padding: 12px;
}

.metric strong {
    display: block;
    font-size: 1.2rem;
}

.metric span {
    color: var(--muted);
    font-size: 0.84rem;
}

.hero-panel {
    background: rgba(13, 20, 40, 0.78);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.hero-panel h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.hero-panel ul {
    list-style: none;
    margin-bottom: 16px;
}

.hero-panel li {
    position: relative;
    color: var(--muted);
    margin-bottom: 8px;
    padding-left: 18px;
}

.hero-panel li::before {
    content: "";
    position: absolute;
    top: 0.65em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-2);
}

.text-link {
    color: var(--brand-2);
    text-decoration: none;
    font-weight: 600;
}

.section,
.feature-section {
    padding: 22px 24px;
    margin-top: 14px;
    border-radius: 20px;
    border: 1px solid rgba(159, 176, 208, 0.16);
    background: linear-gradient(180deg, rgba(13, 20, 40, 0.82), rgba(9, 15, 30, 0.9));
}

.section h2,
.feature-section h2 {
    text-align: center;
    font-size: clamp(1.65rem, 2.5vw, 2.2rem);
    margin-bottom: 8px;
}

.section-intro {
    text-align: center;
    color: var(--muted);
    max-width: 70ch;
    margin: 0 auto 20px;
}

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

.feature-card,
.card {
    background: rgba(13, 20, 40, 0.86);
    border: 1px solid rgba(159, 176, 208, 0.2);
    border-radius: 18px;
    padding: 22px 18px;
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover,
.card:hover {
    transform: translateY(-4px);
    border-color: rgba(39, 212, 255, 0.45);
    box-shadow: 0 12px 32px rgba(5, 16, 36, 0.65);
}

.feature-card h3,
.card h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

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

.feature-link {
    text-decoration: none;
    color: inherit;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.video-card {
    min-height: 220px;
}

.video-cover,
.video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: opacity 0.35s ease;
}

.video-cover {
    opacity: 1;
}

.video-bg {
    opacity: 0;
    pointer-events: none;
}

.video-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5, 9, 20, 0.76), rgba(5, 9, 20, 0.2));
    z-index: 1;
}

.video-card:hover .video-cover {
    opacity: 0;
}

.video-card:hover .video-bg {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 2;
}

.contact {
    text-align: center;
    padding-bottom: 30px;
}

.contact p {
    color: var(--muted);
    margin-bottom: 24px;
}

.whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    background: #25d366;
    box-shadow: 0 8px 18px rgba(37, 211, 102, 0.35);
}

.fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-content,
    .hero-panel {
        padding: 24px;
    }

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

@media (max-width: 760px) {
    nav {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    nav ul {
        gap: 14px;
    }

    .hero-metrics,
    .feature-grid,
    .grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 8px;
    }

    .section,
    .feature-section {
        padding: 16px;
        margin-top: 10px;
    }
}
