:root {
    --brand-1: #0ea5e9;
    --brand-2: #3b82f6;
    --brand-3: #2563eb;
    --dark: #0b1120;
    --dark-soft: #121a2f;
    --body-bg: #f0f9ff;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
    --radius: 1.25rem;
    --shadow-sm: 0 6px 16px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 14px 34px rgba(14, 165, 233, 0.16);
    --shadow-lg: 0 28px 64px rgba(14, 165, 233, 0.24);
    --gradient: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 50%, #2563eb 100%);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--text-dark);
    background-color: var(--body-bg);
}

a:focus-visible,
button:focus-visible,
.form-control:focus-visible {
    outline: 2px solid var(--brand-2);
    outline-offset: 2px;
}

.navbar {
    padding: 1rem 0;
    background-color: rgba(11, 17, 32, 0.55);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(11, 17, 32, 0.94);
    box-shadow: 0 8px 24px rgba(11, 17, 32, 0.25);
    padding: 0.6rem 0;
}

.navbar-brand {
    color: var(--white);
    font-weight: 700;
    font-size: 1.35rem;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--gradient);
    color: var(--white);
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
}

.brand-accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    margin: 0 0.25rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--white);
}

.btn-gradient {
    background: var(--gradient);
    color: var(--white);
    border: 0;
    border-radius: 999px;
    padding: 0.7rem 1.6rem;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient:hover,
.btn-gradient:focus {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(2, 132, 199, 0.45);
}

.btn-outline-light {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.7rem 1.6rem;
}

.hero {
    min-height: 100vh;
    padding: 150px 0 100px;
    color: var(--white);
    background: radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.32), transparent 45%),
        radial-gradient(circle at 12% 85%, rgba(37, 99, 235, 0.35), transparent 45%),
        linear-gradient(135deg, #0b1120 0%, #0d1e3c 55%, #0b2f55 100%);
    position: relative;
    overflow: hidden;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-weight: 600;
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
    backdrop-filter: blur(6px);
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
}

.text-gradient {
    background: linear-gradient(90deg, #7dd3fc, #60a5fa, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1rem 0.75rem;
    text-align: center;
    backdrop-filter: blur(6px);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.stat-box:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.12);
}

.stat-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}

.hero-visual {
    position: relative;
    min-height: 480px;
}

.visual-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    padding: 1.1rem 1.3rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}

.visual-card i {
    font-size: 2rem;
    color: #7dd3fc;
}

.visual-card .visual-title {
    display: block;
    font-weight: 700;
}

.visual-card .visual-subtitle {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.visual-card-main {
    top: 40px;
    left: 8%;
}

.visual-card-secondary {
    top: 200px;
    right: 0;
    animation-delay: 1.2s;
}

.visual-card-tertiary {
    top: 330px;
    left: 20%;
    animation-delay: 2.4s;
}

.visual-card-quaternary {
    top: 0;
    right: 16%;
    animation-delay: 3.6s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}

.section {
    padding: 96px 0;
}

.section-dark {
    background: linear-gradient(180deg, #0e1a33 0%, #112440 100%);
    color: var(--white);
}

.section-tag {
    display: inline-block;
    background: rgba(14, 165, 233, 0.12);
    color: var(--brand-1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    margin-bottom: 1rem;
}

.section-tag-light {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.25);
}

.section-title {
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 0.75rem;
}

.section-dark .section-title {
    color: var(--white);
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 640px;
    font-size: 1.05rem;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

.service-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(14, 165, 233, 0.4);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(37, 99, 235, 0.14));
    color: var(--brand-1);
    font-size: 1.6rem;
    transition: background 0.25s ease, color 0.25s ease;
}

.service-card:hover .service-icon {
    background: var(--gradient);
    color: var(--white);
}

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

.service-link:hover {
    color: var(--brand-2);
}

.service-link i {
    transition: transform 0.2s ease;
}

.service-link:hover i {
    transform: translateX(4px);
}

.feature-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 1.8rem;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--gradient);
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.process-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.process-step {
    position: absolute;
    top: 1rem;
    right: 1.3rem;
    font-size: 2.6rem;
    font-weight: 800;
    color: rgba(14, 165, 233, 0.16);
    line-height: 1;
}

.process-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(37, 99, 235, 0.14));
    color: var(--brand-1);
    font-size: 1.5rem;
}

.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 64px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
    color: var(--white);
    font-weight: 700;
    font-size: 1.3rem;
    text-decoration: none;
}

.footer-brand:hover {
    color: var(--white);
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    max-width: 340px;
}

.footer-title {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.1rem;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a,
.footer-contact span {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
    font-weight: 600;
    border-radius: 999px;
    padding: 0.55rem 1.2rem;
    border: 0;
    transition: background-color 0.2s ease;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
    background: #1fb958;
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(11, 17, 32, 0.97);
        border-radius: 1rem;
        padding: 1rem;
        margin-top: 0.75rem;
    }
}
