        /* Error border for invalid form fields */
        :root {
            --ink-900: #0f172a;
            --ink-800: #1e293b;
            --ink-700: #334155;
            --slate-500: #64748b;
            --slate-300: #cbd5e1;
            --slate-100: #f1f5f9;
            --white: #ffffff;
            --brand-blue: #0ea5e9;
            --brand-cyan: #22d3ee;
            --brand-amber: #f59e0b;
        }

        * {
            box-sizing: border-box;
        }

        html,
        body {
            margin: 0;
            padding: 0;
            overflow-x: hidden;
            scroll-behavior: smooth;
            background: radial-gradient(circle at 10% 0%, #1f2e4f 0%, #0f172a 40%, #0b1225 100%);
            color: var(--slate-100);
            font-family: 'Manrope', sans-serif;
            -webkit-font-smoothing: antialiased;
            text-rendering: optimizeLegibility;
            user-select: none;
        }

        a,
        button,
        input,
        textarea {
            -webkit-tap-highlight-color: transparent;
        }

        #background-canvas {
            position: fixed;
            inset: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        #page-content {
            position: relative;
            z-index: 2;
        }

        h1,
        h2,
        h3,
        .font-display {
            font-family: 'Sora', sans-serif;
            letter-spacing: -0.02em;
        }

        .top-nav {
            transition: background-color 0.3s ease, border-color 0.3s ease;
            background: rgba(15, 23, 42, 0.45);
            border-bottom: 1px solid rgba(148, 163, 184, 0.16);
            -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
        }

        .top-nav.nav-scrolled {
            background: rgba(15, 23, 42, 0.86);
            border-bottom-color: rgba(148, 163, 184, 0.26);
            box-shadow: 0 10px 40px rgba(2, 6, 23, 0.45);
        }

        .section {
            padding: 6.5rem 0;
            position: relative;
        }

        .section-shell {
            background: linear-gradient(160deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.78));
            border: 1px solid rgba(148, 163, 184, 0.2);
            border-radius: 1.1rem;
            box-shadow: 0 20px 70px rgba(2, 6, 23, 0.25);
        }

        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding-top: 8rem;
            padding-bottom: 4rem;
        }

        .hero-grid {
            display: grid;
            gap: 2rem;
            align-items: center;
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            padding: 0.45rem 0.9rem;
            border-radius: 999px;
            font-size: 0.82rem;
            font-weight: 600;
            color: #dbeafe;
            border: 1px solid rgba(56, 189, 248, 0.5);
            background: rgba(14, 165, 233, 0.14);
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 0.75rem;
            padding: 0.85rem 1.6rem;
            font-weight: 700;
            color: #041220;
            background: linear-gradient(120deg, var(--brand-cyan) 0%, var(--brand-blue) 45%, #60a5fa 100%);
            transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
            box-shadow: 0 10px 24px rgba(56, 189, 248, 0.28);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 16px 34px rgba(56, 189, 248, 0.35);
            filter: brightness(1.03);
        }

        .btn-secondary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 0.75rem;
            padding: 0.8rem 1.35rem;
            font-weight: 600;
            color: var(--slate-100);
            border: 1px solid rgba(148, 163, 184, 0.35);
            background: rgba(15, 23, 42, 0.3);
            transition: border-color 0.28s ease, background-color 0.28s ease;
        }

        .btn-secondary:hover {
            border-color: rgba(34, 211, 238, 0.65);
            background: rgba(15, 23, 42, 0.55);
        }

        .btn-whatsapp {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 0.75rem;
            padding: 0.85rem 1.6rem;
            font-weight: 700;
            color: #e8fff4;
            background: linear-gradient(120deg, #22c55e 0%, #16a34a 55%, #15803d 100%);
            transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
            box-shadow: 0 10px 24px rgba(22, 163, 74, 0.28);
        }

        .btn-whatsapp:hover {
            transform: translateY(-2px);
            box-shadow: 0 16px 34px rgba(22, 163, 74, 0.34);
            filter: brightness(1.03);
        }

        .nav-tab {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.5rem 0.95rem;
            border-radius: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.01em;
            color: #d1d9e8;
            transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
            border: 1px solid transparent;
        }

        .nav-tab:hover {
            color: #ffffff;
            background: rgba(15, 23, 42, 0.55);
            border-color: rgba(125, 211, 252, 0.35);
            transform: translateY(-1px);
        }

        .trust-badges {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 0.8rem;
        }

        .trust-item {
            background: rgba(15, 23, 42, 0.55);
            border: 1px solid rgba(148, 163, 184, 0.2);
            border-radius: 0.85rem;
            padding: 0.95rem 1rem;
            font-size: 0.9rem;
            color: var(--slate-300);
        }

        .hero-panel {
            position: relative;
            background: linear-gradient(160deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.65));
            border: 1px solid rgba(148, 163, 184, 0.24);
            border-radius: 1rem;
            padding: 1.4rem;
            overflow: hidden;
        }

        .hero-panel::before {
            content: "";
            position: absolute;
            inset: -40% -10% auto -10%;
            height: 60%;
            background: radial-gradient(circle, rgba(34, 211, 238, 0.25), transparent 55%);
            pointer-events: none;
            animation: pulseGlow 3s ease-in-out infinite;
        }

        .metric-card {
            border: 1px solid rgba(148, 163, 184, 0.22);
            border-radius: 0.8rem;
            background: rgba(15, 23, 42, 0.58);
            padding: 0.9rem;
        }

        .service-card,
        .value-card,
        .step-card {
            border: 1px solid rgba(148, 163, 184, 0.2);
            border-radius: 1rem;
            background: linear-gradient(165deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.65));
            transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
        }

        .service-card:hover,
        .value-card:hover,
        .step-card:hover {
            transform: translateY(-6px);
            border-color: rgba(34, 211, 238, 0.45);
            box-shadow: 0 16px 36px rgba(2, 6, 23, 0.35);
        }

        .icon-shell {
            position: relative;
            width: 5.5rem;
            height: 5.5rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
        }

        .service-badge {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(34, 211, 238, 0.25), rgba(6, 182, 212, 0.18));
            border: 2px solid rgba(34, 211, 238, 0.4);
            box-shadow: 0 0 25px rgba(34, 211, 238, 0.2), inset 0 0 15px rgba(34, 211, 238, 0.08);
            animation: badgeFloat 6s cubic-bezier(0.4, 0.25, 0.6, 0.75) infinite;
        }

        .service-badge-text {
            display: none;
        }

        .service-icon {
            position: relative;
            z-index: 20;
            width: 2.5rem;
            height: 2.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #06b6d4;
            filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.6));
        }

        .service-icon svg {
            width: 100%;
            height: 100%;
        }

        @keyframes badgeFloat {
            0%, 100% {
                transform: translateY(0px);
                box-shadow: 0 0 25px rgba(34, 211, 238, 0.2), inset 0 0 15px rgba(34, 211, 238, 0.08);
            }
            50% {
                transform: translateY(-4px);
                box-shadow: 0 0 28px rgba(34, 211, 238, 0.25), inset 0 0 16px rgba(34, 211, 238, 0.1);
            }
        }



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

        .reveal.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        .stagger > * {
            opacity: 0;
            transform: translateY(20px);
        }

        .stagger.is-visible > * {
            animation: riseIn 0.38s ease forwards;
        }

        .stagger.is-visible > *:nth-child(1) { animation-delay: 0.08s; }
        .stagger.is-visible > *:nth-child(2) { animation-delay: 0.16s; }
        .stagger.is-visible > *:nth-child(3) { animation-delay: 0.24s; }
        .stagger.is-visible > *:nth-child(4) { animation-delay: 0.32s; }
        .stagger.is-visible > *:nth-child(5) { animation-delay: 0.40s; }
        .stagger.is-visible > *:nth-child(6) { animation-delay: 0.48s; }

        .form-shell {
            border: 1px solid rgba(148, 163, 184, 0.24);
            background: rgba(15, 23, 42, 0.76);
            border-radius: 1rem;
            box-shadow: 0 16px 45px rgba(2, 6, 23, 0.3);
        }

        .form-input {
            width: 100%;
            background: rgba(30, 41, 59, 0.65);
            border: 1px solid rgba(148, 163, 184, 0.3);
            border-radius: 0.7rem;
            padding: 0.8rem 0.9rem;
            color: var(--slate-100);
            transition: border-color 0.25s ease, box-shadow 0.25s ease;
        }

        .form-input::placeholder {
            color: #94a3b8;
        }

        .form-input:focus {
            outline: none;
            border-color: rgba(34, 211, 238, 0.7);
            box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
        }

        .form-input.error {
            border-color: #ef4444 !important;
            box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.55) !important;
        }

        .human-check {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(10rem, 13rem);
            align-items: center;
            gap: 0.85rem;
            border: 1px solid rgba(148, 163, 184, 0.24);
            border-radius: 0.85rem;
            padding: 0.85rem 1rem;
            background: linear-gradient(160deg, rgba(15, 23, 42, 0.6), rgba(30, 41, 59, 0.42));
        }

        .human-check-question {
            margin: 0;
            color: #dbeafe;
            font-size: 0.93rem;
            font-weight: 600;
            text-align: left;
            line-height: 1.35;
        }

        .human-check-input {
            width: 100%;
            text-align: left;
            font-weight: 600;
            letter-spacing: 0.01em;
        }

        @media (max-width: 640px) {
            .human-check {
                grid-template-columns: 1fr;
            }

            .human-check-input {
                max-width: 100%;
            }
        }

        .phone-row {
            display: grid;
            grid-template-columns: 5.5rem minmax(0, 1fr);
            gap: 0.5rem;
            min-width: 0;
        }

        .country-code-select {
            width: 100%;
            min-width: 0;
            max-width: none;
        }

        .phone-number-input {
            min-width: 0;
        }

        .soft-grid {
            position: absolute;
            inset: 0;
            background-image: linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
                              linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
            background-size: 44px 44px;
            mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.05));
            pointer-events: none;
            z-index: 0;
        }

        .floating-tag {
            animation: floatY 5s ease-in-out infinite;
        }

        .floating-tag.delay {
            animation-delay: 0.9s;
        }

        @keyframes pulseGlow {
            0%, 100% { opacity: 0.5; transform: translateY(0); }
            50% { opacity: 0.95; transform: translateY(10px); }
        }

        @keyframes riseIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

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

        @keyframes confirmPop {
            0% { transform: scale(0.15) rotate(-14deg); opacity: 0; }
            58% { transform: scale(1.22) rotate(6deg); opacity: 1; }
            100% { transform: scale(1) rotate(0deg); opacity: 1; }
        }

        @keyframes confirmHalo {
            0% { transform: scale(0.35); opacity: 0.75; }
            100% { transform: scale(1.8); opacity: 0; }
        }

        @keyframes confirmBurst {
            0% { transform: translate(0, 0) scale(0.4); opacity: 0; }
            25% { opacity: 1; }
            100% { transform: translate(var(--tx), var(--ty)) scale(1); opacity: 0; }
        }

        @keyframes checkStroke {
            0% { stroke-dashoffset: 28; }
            100% { stroke-dashoffset: 0; }
        }

        .confirm-wrap {
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            gap: 0.45rem;
        }

        .confirm-badge {
            position: relative;
            width: 3rem;
            height: 3rem;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: radial-gradient(circle at 30% 30%, rgba(110, 231, 183, 0.4), rgba(16, 185, 129, 0.2));
            border: 1px solid rgba(110, 231, 183, 0.72);
            box-shadow: 0 0 26px rgba(16, 185, 129, 0.44);
            animation: confirmPop 0.68s cubic-bezier(0.22, 1.25, 0.28, 1) forwards;
        }

        .confirm-ring {
            position: absolute;
            inset: -4px;
            border-radius: 999px;
            border: 2px solid rgba(52, 211, 153, 0.6);
            animation: confirmHalo 0.9s ease-out 1;
        }

        .confirm-burst {
            position: absolute;
            width: 6px;
            height: 6px;
            border-radius: 999px;
            background: #6ee7b7;
            top: 50%;
            left: 50%;
            margin-top: -3px;
            margin-left: -3px;
            animation: confirmBurst 0.85s ease-out 1;
        }

        .confirm-burst.one { --tx: -18px; --ty: -18px; }
        .confirm-burst.two { --tx: 20px; --ty: -14px; }
        .confirm-burst.three { --tx: 0px; --ty: 22px; }

        .confirm-check {
            width: 22px;
            height: 22px;
            display: block;
        }

        .confirm-check path {
            fill: none;
            stroke: currentColor;
            stroke-width: 2.8;
            stroke-linecap: round;
            stroke-linejoin: round;
            stroke-dasharray: 28;
            stroke-dashoffset: 28;
            animation: checkStroke 0.42s ease-out 0.22s forwards;
        }

        .confirm-icon {
            color: #eafff3;
        }

        .confirm-text {
            display: block;
            line-height: 1.35;
        }

        @media (max-width: 1024px) {
            .hero {
                min-height: auto;
                padding-top: 7.2rem;
            }

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

        @media (max-width: 640px) {
            .section {
                padding: 5rem 0;
            }

            .phone-row {
                grid-template-columns: 5.5rem minmax(0, 1fr);
                gap: 0.45rem;
            }

            .country-code-select,
            .phone-number-input {
                font-size: 0.95rem;
                padding-left: 0.75rem;
                padding-right: 0.75rem;
            }

            .btn-primary,
            .btn-secondary,
            .btn-whatsapp {
                width: 100%;
            }
        }

        @supports (padding: max(0px)) {
            header .container,
            section .container,
            footer .container {
                padding-left: max(1.5rem, env(safe-area-inset-left));
                padding-right: max(1.5rem, env(safe-area-inset-right));
            }
        }
