
:root {
    --color-primary: #4c6ef5;
    --color-primary-dark: #364fc7;
    --color-secondary: #f59f00;
    --color-accent: #12b886;
    --color-deep: #0f172a;
    --color-surface: #ffffff;
    --color-muted: #6c7a91;
    --color-border: rgba(15, 23, 42, 0.08);
    --gradient-hero: radial-gradient(circle at top left, rgba(76, 110, 245, 0.18), transparent 55%),
        radial-gradient(circle at top right, rgba(18, 184, 134, 0.2), transparent 60%),
        radial-gradient(circle at bottom right, rgba(245, 159, 0, 0.16), transparent 55%), #f5f7fb;
    --shadow-card: 0 20px 45px rgba(15, 23, 42, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --transition-base: all 0.25s ease;
}

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

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--color-deep);
    background: #f8f9fe;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-primary);
}

.site-header {
    backdrop-filter: blur(12px);
    background: rgba(248, 249, 254, 0.9);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.navbar-brand {
    font-family: "Plus Jakarta Sans", "Inter", sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--color-deep);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--color-muted);
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    transition: var(--transition-base);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: var(--color-primary);
    background: rgba(76, 110, 245, 0.1);
}

.brand-icon {
    font-size: 1.4rem;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border: none;
    color: #fff;
    box-shadow: 0 10px 25px rgba(76, 110, 245, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(76, 110, 245, 0.45);
}

.btn-gradient-outline {
    border: 1px solid rgba(18, 184, 134, 0.4);
    background: rgba(18, 184, 134, 0.08);
    color: #0b7285;
}

.btn-gradient-outline:hover {
    background: rgba(18, 184, 134, 0.15);
}

#main-content {
    position: relative;
    overflow: hidden;
}

.hero-section {
    background: var(--gradient-hero);
    border-radius: 0 0 60px 60px;
    padding: 6rem 0 4rem;
    position: relative;
}

.hero-section .hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(76, 110, 245, 0.08);
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

.hero-title {
    font-family: "Plus Jakarta Sans", "Inter", sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 4vw, 3.4rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--color-deep);
}

.hero-text {
    font-size: 1.05rem;
    color: var(--color-muted);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-stats {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.stat-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.hero-visual {
    position: relative;
}

.hero-visual__card {
    background: linear-gradient(145deg, #ffffff, rgba(248, 249, 254, 0.7));
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(76, 110, 245, 0.12);
    backdrop-filter: blur(20px);
}

.hero-visual__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.hero-visual__list li {
    color: var(--color-muted);
    margin-bottom: 0.75rem;
}

.hero-visual__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.hero-visual__image {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.section {
    padding: 5rem 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-heading .label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(76, 110, 245, 0.12);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
}

.section-heading h2 {
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 700;
    margin-top: 1rem;
    color: var(--color-deep);
}

.section-heading p {
    color: var(--color-muted);
    max-width: 660px;
    margin: 0.75rem auto 0;
}

.feature-card,
.project-card,
.tool-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    border: 1px solid transparent;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.feature-card:hover,
.project-card:hover,
.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(76, 110, 245, 0.18);
}

.feature-icon,
.project-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(76, 110, 245, 0.1);
    margin-bottom: 1.5rem;
}

.project-card h5,
.tool-card h5 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.section-alt {
    background: #eef2ff;
    border-radius: 60px;
    position: relative;
    overflow: hidden;
}

.section-alt::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(76, 110, 245, 0.15), transparent 55%);
    pointer-events: none;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partners-grid img {
    width: 100%;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition-base);
}

.partners-grid img:hover {
    filter: none;
    opacity: 0.95;
}

.contact-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(76, 110, 245, 0.12);
    backdrop-filter: blur(12px);
}

.testimonial-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.testimonial-card p {
    font-size: 1.05rem;
    color: var(--color-muted);
}

.site-footer {
    background: #111827;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    border-top-left-radius: 48px;
    border-top-right-radius: 48px;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(76, 110, 245, 0.22), transparent 60%);
    pointer-events: none;
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

.site-footer p,
.site-footer small,
.site-footer .text-muted {
    color: rgba(255, 255, 255, 0.72) !important;
}

.footer-links li + li {
    margin-top: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer input[type="email"] {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f8fafc;
}

.site-footer input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.video-preview {
    margin-top: 1rem;
}

.video-preview__inner {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: #000;
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.12);
}

.video-preview__video {
    width: 100%;
    display: block;
}

.video-preview__overlay {
    position: absolute;
    inset: 0;
    cursor: crosshair;
    touch-action: none;
}

.video-preview__overlay--pointer {
    cursor: pointer;
}

.selection-rect {
    position: absolute;
    border: 2px solid rgba(220, 53, 69, 0.9);
    background: rgba(220, 53, 69, 0.2);
    box-shadow: 0 0 0 1px rgba(220, 53, 69, 0.5);
    border-radius: 0.5rem;
}

.selection-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #0d6efd;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.25);
    transform: translate(-50%, -50%);
}

.video-preview__hint {
    max-width: 75%;
}

.reader-text {
    max-height: 480px;
    overflow-y: auto;
    background: #0f172a;
    color: #f8fafc;
    padding: 1.5rem;
    border-radius: 1rem;
    font-family: "JetBrains Mono", "Fira Code", Menlo, Consolas, monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.2);
}

.reader-text pre {
    white-space: pre-wrap;
}

.reader-text p {
    margin-bottom: 1.25rem;
    text-align: justify;
}

.voice-selector {
    min-width: 220px;
}

.whatsapp-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 1050;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff !important;
    border-radius: 999px;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(18, 140, 126, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float i {
    font-size: 1.3rem;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(18, 140, 126, 0.45);
}

@media (max-width: 991.98px) {
    .site-header {
        background: rgba(248, 249, 254, 0.98);
    }

    .navbar-nav .nav-link {
        padding: 0.65rem 1rem;
    }

    .hero-section {
        border-radius: 0 0 36px 36px;
        padding: 4.5rem 0 3rem;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-visual__card {
        padding: 2rem;
    }

    .stat-card {
        padding: 1rem 1.2rem;
    }

    .site-footer {
        border-top-left-radius: 32px;
        border-top-right-radius: 32px;
    }

    .whatsapp-float {
        right: 16px;
        left: 16px;
        bottom: 16px;
        justify-content: center;
        padding: 0.7rem 1rem;
    }
}
