/* Extraido de application/views/gps_en_vivo.php.
   Estaba en linea, asi que viajaba en cada visita sin poder cachearse. */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Montserrat', sans-serif;
            color: #1e293b;
            background: #f8fafc;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }
        a { text-decoration: none; color: inherit; }
        img { max-width: 100%; height: auto; display: block; }

        /* ─── Topbar ─────────────────────────────── */
        .gps-topbar {
            position: fixed; top: 0; left: 0; right: 0; z-index: 100;
            height: 56px; padding: 0 clamp(16px, 4vw, 40px);
            background: rgba(10,22,40,0.97); backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(0,113,216,0.2);
            display: flex; align-items: center; justify-content: space-between;
        }
        .gps-topbar-logo { height: 26px; }
        .gps-topbar-nav { display: flex; align-items: center; gap: 20px; }
        .gps-topbar-link {
            font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.6);
            transition: color 0.2s;
        }
        .gps-topbar-link:hover { color: #00d0ff; }
        .gps-topbar-cta {
            font-size: 0.78rem; font-weight: 700;
            color: #fff;
            background: linear-gradient(108deg, #0071d8 24%, #00d0ff 106%);
            padding: 8px 20px; border-radius: 50px;
            transition: opacity 0.2s, transform 0.2s;
        }
        .gps-topbar-cta:hover { opacity: 0.9; transform: translateY(-1px); }

        /* ─── Hero ─────────────────────────────────── */
        .gps-hero {
            min-height: 100vh;
            display: flex; align-items: center;
            position: relative; overflow: hidden;
            padding: 80px clamp(20px,5vw,60px) 60px;
            background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(0,208,255,0.18) 0%, transparent 70%),
                        radial-gradient(ellipse 60% 50% at 20% 70%, rgba(0,113,216,0.12) 0%, transparent 65%),
                        linear-gradient(160deg, #0a1628 0%, #0d2847 60%, #0071d8 100%);
        }
        .gps-hero-inner {
            max-width: 1100px; margin: 0 auto; width: 100%;
            display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
        }

        /* Breadcrumb */
        .gps-breadcrumb {
            display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
            font-size: 0.72rem; color: rgba(255,255,255,0.35); margin-bottom: 24px;
        }
        .gps-breadcrumb a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
        .gps-breadcrumb a:hover { color: #00e676; }
        .gps-breadcrumb-sep { opacity: 0.3; }

        /* Badge */
        .gps-badge {
            display: inline-flex; align-items: center; gap: 8px;
            background: rgba(0,230,118,0.1); border: 1px solid rgba(0,230,118,0.3);
            padding: 6px 14px; border-radius: 50px; margin-bottom: 20px;
        }
        .gps-badge-dot {
            width: 8px; height: 8px; border-radius: 50%;
            background: #00e676;
            box-shadow: 0 0 0 0 rgba(0,230,118,0.6);
            animation: pulse-dot 2s infinite;
        }
        @keyframes pulse-dot {
            0% { box-shadow: 0 0 0 0 rgba(0,230,118,0.6); }
            70% { box-shadow: 0 0 0 10px rgba(0,230,118,0); }
            100% { box-shadow: 0 0 0 0 rgba(0,230,118,0); }
        }
        .gps-badge span {
            font-size: 0.72rem; font-weight: 700; color: #00e676;
            text-transform: uppercase; letter-spacing: 0.08em;
        }

        .gps-hero-eyebrow {
            font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
            text-transform: uppercase; color: #00e676; margin-bottom: 14px;
        }
        .gps-hero h1 {
            font-size: clamp(1.8rem, 3.8vw, 2.8rem); font-weight: 900;
            color: #fff; line-height: 1.15; margin-bottom: 10px;
        }
        .gps-hero h1 .accent { color: #00e676; }
        .gps-hero-sub {
            font-size: 1rem; font-weight: 600; color: rgba(255,255,255,0.55);
            margin-bottom: 20px; line-height: 1.5;
        }
        .gps-hero-desc {
            font-size: 0.92rem; line-height: 1.8; color: rgba(255,255,255,0.6);
            margin-bottom: 36px; max-width: 480px;
        }
        .gps-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
        .gps-btn-download {
            display: inline-flex; align-items: center; gap: 10px;
            background: #00e676; color: #0a1628;
            font-size: 0.95rem; font-weight: 800;
            padding: 16px 36px; border-radius: 50px;
            transition: transform 0.2s, box-shadow 0.2s;
            box-shadow: 0 0 30px rgba(0,230,118,0.3);
        }
        .gps-btn-download:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 40px rgba(0,230,118,0.45);
        }
        .gps-btn-download i { font-size: 1.2rem; }
        .gps-btn-secondary {
            display: inline-flex; align-items: center; gap: 8px;
            font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.6);
            border: 1px solid rgba(255,255,255,0.15);
            padding: 15px 28px; border-radius: 50px;
            transition: all 0.2s;
        }
        .gps-btn-secondary:hover {
            color: #fff; border-color: rgba(255,255,255,0.35);
            background: rgba(255,255,255,0.05);
        }
        .gps-android-note {
            margin-top: 14px; font-size: 0.73rem; color: rgba(255,255,255,0.3);
            display: flex; align-items: center; gap: 6px;
        }
        .gps-android-note i { font-size: 0.9rem; color: rgba(0,230,118,0.5); }

        /* Radar visual */
        .gps-radar-wrap {
            position: relative; display: flex; align-items: center; justify-content: center;
            aspect-ratio: 1;
        }
        .gps-radar {
            position: relative; width: min(380px, 90vw); height: min(380px, 90vw);
            display: flex; align-items: center; justify-content: center;
        }
        .gps-radar-ring {
            position: absolute; border-radius: 50%;
            border: 1px solid rgba(0,230,118,0.2);
            animation: radar-expand 3s ease-out infinite;
        }
        .gps-radar-ring:nth-child(1) { width: 100%; height: 100%; animation-delay: 0s; }
        .gps-radar-ring:nth-child(2) { width: 72%; height: 72%; animation-delay: 0.4s; }
        .gps-radar-ring:nth-child(3) { width: 48%; height: 48%; animation-delay: 0.8s; border-color: rgba(0,230,118,0.35); }
        @keyframes radar-expand {
            0% { opacity: 0.8; transform: scale(0.9); }
            100% { opacity: 0; transform: scale(1.05); }
        }
        .gps-radar-sweep {
            position: absolute; width: 100%; height: 100%; border-radius: 50%;
            background: conic-gradient(from 0deg, transparent 75%, rgba(0,230,118,0.15) 90%, rgba(0,230,118,0.35) 100%);
            animation: radar-sweep 3s linear infinite;
        }
        @keyframes radar-sweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
        .gps-radar-center {
            position: relative; z-index: 2;
            width: 80px; height: 80px; border-radius: 50%;
            background: rgba(0,230,118,0.12);
            border: 2px solid rgba(0,230,118,0.4);
            display: flex; align-items: center; justify-content: center;
        }
        .gps-radar-center i { font-size: 2rem; color: #00e676; }
        .gps-dot {
            position: absolute; width: 10px; height: 10px; border-radius: 50%;
            background: #00e676;
            box-shadow: 0 0 12px rgba(0,230,118,0.8);
        }
        .gps-dot:nth-of-type(1) { top: 22%; left: 58%; animation: blink 2.1s 0.3s ease-in-out infinite; }
        .gps-dot:nth-of-type(2) { top: 55%; left: 30%; animation: blink 2.1s 0.9s ease-in-out infinite; }
        .gps-dot:nth-of-type(3) { top: 68%; left: 65%; animation: blink 2.1s 1.5s ease-in-out infinite; }
        @keyframes blink {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.4; transform: scale(0.7); }
        }

        /* ─── For whom section ─────────────────────── */
        .gps-section {
            padding: 72px clamp(20px,5vw,60px);
            background: #fff;
        }
        .gps-section-inner { max-width: 1100px; margin: 0 auto; }
        .gps-label {
            font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
            text-transform: uppercase; color: #0071d8; margin-bottom: 10px;
        }
        .gps-section h2 {
            font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 800;
            color: #0f172a; margin-bottom: 12px; line-height: 1.25;
        }
        .gps-section-desc {
            font-size: 0.95rem; color: #475569;
            margin-bottom: 48px; max-width: 600px; line-height: 1.7;
        }

        /* ─── Tabs: Para quién ─────────────────────── */
        .gps-audience { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
        .gps-audience-card {
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 16px; padding: 32px 28px;
            position: relative; overflow: hidden;
            transition: border-color 0.3s, transform 0.3s;
            box-shadow: 0 2px 12px rgba(0,0,0,0.04);
        }
        .gps-audience-card:hover { border-color: #0071d8; transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,113,216,0.1); }
        .gps-audience-card::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
        }
        .gps-audience-card.card-employer::before { background: linear-gradient(90deg, #0071d8, #00d0ff); }
        .gps-audience-card.card-cobrador::before { background: linear-gradient(90deg, #00e676, #00b050); }
        .gps-audience-icon {
            width: 52px; height: 52px; border-radius: 14px;
            display: flex; align-items: center; justify-content: center;
            margin-bottom: 20px;
        }
        .card-employer .gps-audience-icon { background: rgba(0,113,216,0.15); }
        .card-cobrador .gps-audience-icon { background: rgba(0,230,118,0.12); }
        .gps-audience-icon i { font-size: 1.6rem; }
        .card-employer .gps-audience-icon i { color: #00b4ff; }
        .card-cobrador .gps-audience-icon i { color: #00e676; }
        .gps-audience-card h3 {
            font-size: 1rem; font-weight: 800; color: #0f172a; margin-bottom: 6px;
        }
        .gps-audience-role {
            font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
            text-transform: uppercase; margin-bottom: 16px;
        }
        .card-employer .gps-audience-role { color: #00b4ff; }
        .card-cobrador .gps-audience-role { color: #00e676; }
        .gps-audience-card p {
            font-size: 0.88rem; line-height: 1.7; color: #475569;
        }

        /* ─── Steps download ─────────────────────────── */
        .gps-steps-section {
            background: #f0f7ff;
            border-top: 1px solid rgba(0,113,216,0.12);
            border-bottom: 1px solid rgba(0,113,216,0.12);
            padding: 72px clamp(20px,5vw,60px);
        }
        .gps-steps-inner { max-width: 1100px; margin: 0 auto; }
        .gps-steps-grid {
            display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
            position: relative;
        }
        .gps-steps-grid::before {
            content: '';
            position: absolute; top: 36px; left: calc(16.66% + 14px); right: calc(16.66% + 14px);
            height: 2px;
            background: linear-gradient(90deg, rgba(0,230,118,0.4), rgba(0,230,118,0.4));
            background-size: 12px 2px;
            background-image: repeating-linear-gradient(90deg, rgba(0,230,118,0.4) 0, rgba(0,230,118,0.4) 6px, transparent 6px, transparent 12px);
        }
        .gps-step {
            text-align: center;
            display: flex; flex-direction: column; align-items: center;
        }
        .gps-step-num {
            width: 72px; height: 72px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.6rem; font-weight: 900;
            margin-bottom: 20px; position: relative; z-index: 1;
        }
        .gps-step:nth-child(1) .gps-step-num {
            background: rgba(0,113,216,0.15); border: 2px solid rgba(0,113,216,0.4);
            color: #00b4ff;
        }
        .gps-step:nth-child(2) .gps-step-num {
            background: rgba(0,230,118,0.12); border: 2px solid rgba(0,230,118,0.4);
            color: #00e676;
        }
        .gps-step:nth-child(3) .gps-step-num {
            background: rgba(0,230,118,0.12); border: 2px solid rgba(0,230,118,0.4);
            color: #00e676;
        }
        .gps-step-icon {
            font-size: 1.8rem; margin-bottom: 14px; display: block;
        }
        .gps-step:nth-child(1) .gps-step-icon { color: #00b4ff; }
        .gps-step:nth-child(2) .gps-step-icon { color: #00e676; }
        .gps-step:nth-child(3) .gps-step-icon { color: #00e676; }
        .gps-step h3 {
            font-size: 1rem; font-weight: 800; color: #0f172a; margin-bottom: 10px;
        }
        .gps-step p {
            font-size: 0.85rem; line-height: 1.7; color: #475569;
            max-width: 240px;
        }

        /* ─── Download CTA ─────────────────────────── */
        .gps-download-cta {
            background: linear-gradient(135deg, #0071d8 0%, #0097e6 50%, #00d0ff 100%);
            border-top: none;
            padding: 80px clamp(20px,5vw,60px);
            text-align: center; position: relative; overflow: hidden;
        }
        .gps-download-cta::before {
            content: '';
            position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
            width: 600px; height: 600px; border-radius: 50%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            pointer-events: none;
        }
        .gps-download-cta-inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
        .gps-download-icon-wrap {
            width: 100px; height: 100px; border-radius: 26px;
            background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
            display: flex; align-items: center; justify-content: center;
            margin: 0 auto 28px;
        }
        .gps-download-icon-wrap i { font-size: 2.8rem; color: #fff; }
        .gps-download-cta h2 {
            font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900;
            color: #fff; margin-bottom: 10px; line-height: 1.2;
        }
        .gps-download-cta p {
            font-size: 0.95rem; color: rgba(255,255,255,0.88); margin-bottom: 36px; line-height: 1.7;
        }
        .gps-download-btn-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
        .gps-btn-big-download {
            display: inline-flex; align-items: center; gap: 14px;
            background: #fff; color: #0071d8;
            font-size: 1.05rem; font-weight: 900;
            padding: 20px 52px; border-radius: 50px;
            transition: transform 0.2s, box-shadow 0.2s;
            box-shadow: 0 0 50px rgba(0,0,0,0.15);
            position: relative; overflow: hidden;
        }
        .gps-btn-big-download::after {
            content: '';
            position: absolute; inset: 0;
            background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
            transform: translateX(-100%);
            animation: shimmer 3s infinite;
        }
        @keyframes shimmer { to { transform: translateX(100%); } }
        .gps-btn-big-download:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 60px rgba(0,0,0,0.2);
        }
        .gps-btn-big-download i { font-size: 1.4rem; }
        .gps-download-url {
            font-size: 0.78rem; color: rgba(255,255,255,0.65);
            font-family: monospace; letter-spacing: 0.03em;
        }
        .gps-download-requirements {
            display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
            margin-top: 28px; padding-top: 28px;
            border-top: 1px solid rgba(255,255,255,0.2);
        }
        .gps-req-item {
            display: flex; align-items: center; gap: 8px;
            font-size: 0.8rem; color: rgba(255,255,255,0.85);
        }
        .gps-req-item i { font-size: 1rem; color: rgba(255,255,255,0.7); }

        /* ─── Code section ─────────────────────────── */
        .gps-code-section {
            padding: 72px clamp(20px,5vw,60px);
            background: #fff;
            border-top: 1px solid #e2e8f0;
        }
        .gps-code-inner {
            max-width: 900px; margin: 0 auto;
            display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
        }
        .gps-code-text h2 {
            font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 800;
            color: #0f172a; margin-bottom: 16px; line-height: 1.25;
        }
        .gps-code-text p {
            font-size: 0.9rem; line-height: 1.8; color: #475569; margin-bottom: 12px;
        }
        .gps-code-sources {
            display: flex; flex-direction: column; gap: 12px; margin-top: 20px;
        }
        .gps-source-item {
            display: flex; align-items: center; gap: 14px;
            background: #f8fafc; border: 1px solid #e2e8f0;
            padding: 14px 18px; border-radius: 12px;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .gps-source-item:hover { border-color: #0071d8; box-shadow: 0 4px 16px rgba(0,113,216,0.08); }
        .gps-source-icon {
            width: 40px; height: 40px; border-radius: 10px;
            display: flex; align-items: center; justify-content: center; flex-shrink: 0;
        }
        .gps-source-icon.blue-bg { background: rgba(0,113,216,0.15); }
        .gps-source-icon.green-bg { background: rgba(0,230,118,0.1); }
        .gps-source-icon i { font-size: 1.3rem; }
        .gps-source-icon.blue-bg i { color: #00b4ff; }
        .gps-source-icon.green-bg i { color: #00e676; }
        .gps-source-info h4 { font-size: 0.88rem; font-weight: 700; color: #0f172a; margin-bottom: 2px; }
        .gps-source-info span { font-size: 0.78rem; color: #64748b; }
        .gps-code-visual {
            background: #f8fafc; border: 1px solid #e2e8f0;
            border-radius: 20px; padding: 32px 28px; text-align: center;
            box-shadow: 0 2px 12px rgba(0,0,0,0.04);
        }
        .gps-code-mockup-label {
            font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
            text-transform: uppercase; color: #94a3b8; margin-bottom: 24px;
        }
        .gps-code-display {
            background: #04091a; border: 2px solid rgba(0,230,118,0.3);
            border-radius: 16px; padding: 24px;
            margin: 0 auto 20px;
        }
        .gps-code-display-label {
            font-size: 0.7rem; font-weight: 600; color: rgba(255,255,255,0.3);
            text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px;
        }
        .gps-code-value {
            font-size: 2.2rem; font-weight: 900; letter-spacing: 0.25em;
            color: #00e676; font-family: 'Courier New', monospace;
            text-shadow: 0 0 20px rgba(0,230,118,0.4);
        }
        .gps-code-blink { animation: code-blink 1.5s step-end infinite; }
        @keyframes code-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
        .gps-code-note {
            font-size: 0.78rem; color: #64748b; line-height: 1.6;
        }

        /* ─── Benefits grid ─────────────────────────── */
        .gps-benefits-grid {
            display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
            margin-top: 48px;
        }
        .gps-benefit-item {
            display: flex; align-items: flex-start; gap: 14px;
            background: #f8fafc; border: 1px solid #e2e8f0;
            padding: 18px 20px; border-radius: 12px;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .gps-benefit-item:hover { border-color: #0071d8; box-shadow: 0 4px 12px rgba(0,113,216,0.08); }
        .gps-benefit-check {
            width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
            background: rgba(0,230,118,0.12); border: 1px solid rgba(0,230,118,0.3);
            display: flex; align-items: center; justify-content: center; margin-top: 2px;
        }
        .gps-benefit-check i { font-size: 13px; color: #00e676; }
        .gps-benefit-item span { font-size: 0.88rem; line-height: 1.6; color: #475569; }

        /* ─── Final CTA ─────────────────────────────── */
        .gps-final-cta {
            padding: 80px clamp(20px,5vw,60px);
            text-align: center;
            background: linear-gradient(135deg, #0071d8 0%, #0097e6 50%, #00d0ff 100%);
            position: relative; overflow: hidden;
        }
        .gps-final-cta::before {
            content: '';
            position: absolute; inset: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }
        .gps-final-cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
        .gps-final-cta h2 {
            font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900;
            color: #fff; margin-bottom: 12px;
        }
        .gps-final-cta p {
            font-size: 0.95rem; color: rgba(255,255,255,0.8); margin-bottom: 32px; line-height: 1.7;
        }
        .gps-btn-white {
            display: inline-flex; align-items: center; gap: 8px;
            background: #fff; color: #0071d8;
            font-size: 0.95rem; font-weight: 800;
            padding: 16px 40px; border-radius: 50px;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .gps-btn-white:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }

        /* ─── Footer ─────────────────────────────────── */
        .gps-footer {
            background: #0a1628; padding: 24px;
            text-align: center; border-top: 1px solid rgba(255,255,255,0.06);
        }
        .gps-footer p { color: rgba(255,255,255,0.45); font-size: 0.78rem; }
        .gps-footer a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
        .gps-footer a:hover { color: #00d0ff; }

        /* ─── Responsive ─────────────────────────────── */
        @media (max-width: 820px) {
            .gps-hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
            .gps-hero-desc { max-width: 100%; }
            .gps-hero-actions { justify-content: center; }
            .gps-android-note { justify-content: center; }
            .gps-radar-wrap { order: -1; }
            .gps-radar { width: min(280px, 80vw); height: min(280px, 80vw); }
            .gps-audience { grid-template-columns: 1fr; }
            .gps-steps-grid { grid-template-columns: 1fr; gap: 32px; }
            .gps-steps-grid::before { display: none; }
            .gps-code-inner { grid-template-columns: 1fr; gap: 32px; }
            .gps-benefits-grid { grid-template-columns: 1fr; }
            .gps-topbar-nav .gps-topbar-link { display: none; }
        }
        @media (max-width: 480px) {
            .gps-hero { padding-top: 72px; }
            .gps-btn-big-download { padding: 18px 32px; font-size: 0.95rem; }
            .gps-download-requirements { flex-direction: column; align-items: center; gap: 10px; }
        }
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                transition-duration: 0.01ms !important;
            }
        }
