:root {
  --bg: #f7faff;
  --bg-alt: #eef5ff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --text: #10233d;
  --muted: #5e718b;
  --primary: #0b63f6;
  --primary-dark: #084bc0;
  --cyan: #00a8c6;
  --navy: #071f3d;
  --line: #d9e7f7;
  --success: #0bba83;
  --shadow: 0 24px 70px rgba(12, 72, 140, 0.13);
  --shadow-soft: 0 14px 40px rgba(22, 77, 136, 0.09);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 88px; }

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 9999;
  padding: 12px 16px;
  background: var(--navy);
  color: white;
  border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 20px; }

#cyber-canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  opacity: .48;
  pointer-events: none;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { position: relative; padding: 112px 0; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(247, 250, 255, .82);
  backdrop-filter: blur(18px);
  border-color: rgba(162, 194, 232, .45);
  box-shadow: 0 8px 30px rgba(8, 53, 107, .07);
}

.navbar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { width: 38px; height: 38px; }
.brand-mark svg { width: 100%; height: 100%; fill: var(--primary); filter: drop-shadow(0 8px 14px rgba(11, 99, 246, .22)); }
.brand-mark .brand-mark-inner { fill: white; }
.brand-text { font-size: 1.15rem; }
.brand-text span { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 29px; color: #354d68; font-size: .93rem; font-weight: 600; }
.nav-links > a:not(.nav-cta) { position: relative; }
.nav-links > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  transition: right .25s ease;
}
.nav-links > a:hover::after,
.nav-links > a.active::after { right: 0; }
.nav-cta {
  padding: 11px 17px;
  border-radius: 10px;
  color: white;
  background: linear-gradient(135deg, var(--primary), #1684ee);
  box-shadow: 0 10px 24px rgba(11, 99, 246, .23);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(11, 99, 246, .3); }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: white; box-shadow: var(--shadow-soft); cursor: pointer; padding: 11px; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; transition: .25s ease; }

.hero { min-height: 790px; padding-top: 164px; display: flex; align-items: center; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.hero-copy { position: relative; z-index: 3; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  font-family: "IBM Plex Mono", monospace;
  color: var(--primary-dark);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow.light { color: #b8dcff; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 6px rgba(11, 186, 131, .11); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(11, 186, 131, 0); } }

.hero h1 { margin: 0; font-size: clamp(3rem, 5vw, 5.05rem); line-height: 1.02; letter-spacing: -.065em; max-width: 760px; }
.gradient-text { color: transparent; background: linear-gradient(110deg, var(--primary), var(--cyan)); background-clip: text; -webkit-background-clip: text; }
.hero-lead { max-width: 650px; margin: 26px 0 32px; color: var(--muted); font-size: 1.12rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 52px; padding: 0 23px; border-radius: 12px; font-weight: 700; transition: transform .22s ease, box-shadow .22s ease, background .22s ease; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { color: white; background: linear-gradient(135deg, var(--primary), #138bd8); box-shadow: 0 16px 32px rgba(11, 99, 246, .24); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(11, 99, 246, .31); }
.btn-secondary { background: rgba(255, 255, 255, .76); border: 1px solid var(--line); color: var(--navy); backdrop-filter: blur(8px); }
.btn-secondary:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); background: white; }

.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 30px; color: #68809b; font-family: "IBM Plex Mono", monospace; font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; }
.trust-row i { width: 4px; height: 4px; border-radius: 50%; background: #9db2c8; }

.hero-visual { position: relative; z-index: 2; }
.security-console {
  position: relative;
  border: 1px solid rgba(128, 174, 227, .48);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(236,246,255,.78));
  box-shadow: 0 36px 90px rgba(17, 87, 160, .18);
  backdrop-filter: blur(15px);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}
.security-console::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.6) 49%, transparent 65%); transform: translateX(-100%); animation: sheen 8s infinite; pointer-events: none; }
@keyframes sheen { 65%, 100% { transform: translateX(100%); } }
.console-topbar { height: 52px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 18px; border-bottom: 1px solid var(--line); font-family: "IBM Plex Mono", monospace; font-size: .62rem; letter-spacing: .08em; color: #63809d; }
.console-dots { display: flex; gap: 7px; }
.console-dots span { width: 8px; height: 8px; border-radius: 50%; background: #c8d8e9; }
.console-dots span:first-child { background: #0cbb83; }
.console-title { justify-self: center; }
.console-live { justify-self: end; display: flex; align-items: center; gap: 6px; color: #159166; }
.console-live i { width: 6px; height: 6px; border-radius: 50%; background: #0cbb83; box-shadow: 0 0 10px #0cbb83; }
.console-body { padding: 28px; }
.shield-core { width: 230px; height: 230px; margin: 4px auto 25px; display: grid; place-items: center; position: relative; }
.shield-core svg { width: 128px; fill: url(#none); filter: drop-shadow(0 16px 22px rgba(11,99,246,.18)); }
.shield-core svg path:first-child { fill: rgba(11, 99, 246, .1); stroke: var(--primary); stroke-width: 3; }
.shield-check { fill: none; stroke: var(--cyan); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.shield-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(11, 99, 246, .17); }
.ring-one { inset: 9px; animation: rotate 18s linear infinite; border-style: dashed; }
.ring-two { inset: 33px; border-color: rgba(0, 168, 198, .22); animation: rotate 13s linear infinite reverse; }
.ring-one::before, .ring-two::before { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); top: -4px; left: 50%; box-shadow: 0 0 16px rgba(11, 99, 246, .75); }
.ring-two::before { background: var(--cyan); top: auto; bottom: -4px; }
@keyframes rotate { to { transform: rotate(360deg); } }
.scan-line { position: absolute; width: 118px; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); box-shadow: 0 0 12px var(--cyan); animation: scan 3s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: translateY(-50px); opacity: .3; } 50% { transform: translateY(55px); opacity: 1; } }

.console-metrics { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; }
.metric-card { padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.75); }
.metric-card > span, .metric-card div span { display: block; font-family: "IBM Plex Mono", monospace; color: #7790aa; font-size: .61rem; letter-spacing: .06em; }
.metric-card strong { display: block; margin-top: 5px; font-size: 1.35rem; color: var(--navy); }
.metric-card strong.accent { color: #f17c55; }
.metric-card.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric-card.split > div + div { border-left: 1px solid var(--line); padding-left: 12px; }
.metric-bar { height: 5px; margin-top: 9px; border-radius: 8px; background: #dce9f6; overflow: hidden; }
.metric-bar i { display: block; height: 100%; width: var(--value); border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--cyan)); animation: bar-grow 1.3s ease both .6s; }
@keyframes bar-grow { from { width: 0; } }
.terminal-lines { margin-top: 18px; padding: 13px 14px; border-radius: 12px; background: #071f3d; font-family: "IBM Plex Mono", monospace; font-size: .65rem; color: #9cb3c9; box-shadow: inset 0 0 28px rgba(0, 168, 198, .07); }
.terminal-lines p { margin: 4px 0; }
.terminal-lines span { color: #4ebff4; }
.terminal-lines b { color: #4fe0a8; font-weight: 500; }

.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .6; pointer-events: none; }
.glow-one { width: 480px; height: 480px; right: -180px; top: 90px; background: radial-gradient(circle, rgba(41, 160, 249, .17), transparent 68%); }
.glow-two { width: 400px; height: 400px; left: -180px; bottom: -160px; background: radial-gradient(circle, rgba(0, 168, 198, .12), transparent 68%); }

.stats-strip { position: relative; z-index: 4; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.74); box-shadow: var(--shadow-soft); backdrop-filter: blur(14px); }
.stat { padding: 27px 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: 1.72rem; letter-spacing: -.04em; color: var(--primary-dark); }
.stat span { display: block; margin-top: 3px; color: var(--muted); font-size: .82rem; }

.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading h2, .method-copy h2, .contact-panel h2 { margin: 0; font-size: clamp(2.2rem, 3.7vw, 3.6rem); line-height: 1.08; letter-spacing: -.055em; }
.section-heading p, .method-copy > p { color: var(--muted); font-size: 1.03rem; max-width: 680px; margin: 20px 0 0; }

.services { background: linear-gradient(180deg, transparent, rgba(231,242,255,.6) 45%, transparent); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 445px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.82); box-shadow: 0 12px 36px rgba(23, 78, 141, .06); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.service-card::after { content: ""; position: absolute; width: 160px; height: 160px; right: -85px; bottom: -85px; border-radius: 50%; background: radial-gradient(circle, rgba(11,99,246,.12), transparent 67%); transition: transform .3s ease; }
.service-card:hover { transform: translateY(-8px); border-color: #9fc6f5; box-shadow: 0 26px 55px rgba(17, 89, 167, .12); }
.service-card:hover::after { transform: scale(1.35); }
.service-number { position: absolute; top: 24px; right: 26px; font-family: "IBM Plex Mono", monospace; color: #b5c7da; font-size: .72rem; }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; color: var(--primary); background: linear-gradient(135deg, #e6f1ff, #effbff); border: 1px solid #cfe4fb; }
.service-icon svg, .feature-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 25px 0 13px; font-size: 1.27rem; line-height: 1.35; letter-spacing: -.025em; }
.service-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.service-card ul { display: grid; gap: 9px; margin: 24px 0 0; padding: 21px 0 0; border-top: 1px solid var(--line); list-style: none; color: #425c77; font-size: .84rem; }
.service-card li { position: relative; padding-left: 18px; }
.service-card li::before { content: ""; position: absolute; top: .6em; left: 0; width: 6px; height: 6px; border-radius: 2px; transform: rotate(45deg); background: linear-gradient(135deg, var(--primary), var(--cyan)); }

.methodology { overflow: hidden; }
.methodology::before { content: ""; position: absolute; inset: 70px 0; background: linear-gradient(135deg, #071f3d, #0a3567); z-index: -1; }
.methodology-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; padding-top: 30px; padding-bottom: 30px; }
.method-copy { color: white; }
.method-copy > p { color: #a9bdd3; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; color: #7dd7ef; font-weight: 700; }
.text-link svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.process-list { display: grid; gap: 12px; }
.process-item { display: grid; grid-template-columns: 54px 1fr; gap: 21px; padding: 22px; border: 1px solid rgba(159, 205, 247, .18); border-radius: 15px; background: rgba(255,255,255,.06); backdrop-filter: blur(7px); color: white; transition: background .25s ease, transform .25s ease; }
.process-item:hover { background: rgba(255,255,255,.1); transform: translateX(6px); }
.process-item > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: rgba(59, 157, 255, .13); border: 1px solid rgba(92, 184, 255, .22); color: #72cbef; font-family: "IBM Plex Mono", monospace; font-size: .73rem; }
.process-item h3 { margin: 0; font-size: 1.06rem; }
.process-item p { margin: 5px 0 0; color: #a8bdd3; font-size: .88rem; }

.differentials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 28px 24px; border-radius: 17px; border: 1px solid transparent; transition: .25s ease; }
.feature:hover { background: white; border-color: var(--line); box-shadow: var(--shadow-soft); transform: translateY(-5px); }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--primary); border-radius: 14px; background: #eaf4ff; }
.feature h3 { margin: 21px 0 10px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: .88rem; }

.contact { padding-top: 70px; }
.contact-panel { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; padding: 64px; border-radius: var(--radius-lg); background: linear-gradient(125deg, #071f3d, #0c4b8e 62%, #087fa9); color: white; box-shadow: 0 35px 80px rgba(6, 57, 110, .25); overflow: hidden; }
.contact-panel::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -190px; top: -200px; border: 1px solid rgba(255,255,255,.15); box-shadow: 0 0 0 40px rgba(255,255,255,.035), 0 0 0 90px rgba(255,255,255,.025); }
.contact-copy, .contact-actions { position: relative; z-index: 1; }
.contact-copy p { margin: 20px 0 0; max-width: 650px; color: #bed0e4; }
.contact-actions { display: grid; justify-items: start; gap: 14px; }
.btn-white { color: #075bb8; background: white; box-shadow: 0 14px 35px rgba(0,0,0,.15); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.2); }
.whatsapp-icon { width: 21px !important; height: 21px !important; fill: currentColor !important; stroke: none !important; }
.contact-actions > span { color: #b9cee4; font-size: .8rem; }

.site-footer { padding: 40px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: start; padding-bottom: 28px; }
.footer-brand { margin-bottom: 14px; }
.footer-grid p { margin: 0; color: var(--muted); max-width: 450px; font-size: .88rem; }
.footer-links { display: flex; gap: 25px; color: #4f6680; font-size: .86rem; font-weight: 600; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 21px; border-top: 1px solid var(--line); color: #7a8ea3; font-size: .74rem; }
.footer-code { font-family: "IBM Plex Mono", monospace; letter-spacing: .05em; }

.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 17px; border-radius: 999px; background: #0abf82; color: white; font-weight: 700; font-size: .85rem; box-shadow: 0 16px 38px rgba(7, 151, 100, .3); transition: transform .22s ease, box-shadow .22s ease; }
.floating-whatsapp:hover { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(7, 151, 100, .38); }
.floating-whatsapp svg { width: 24px; fill: currentColor; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.22,1,.36,1); transition-delay: var(--delay, 0ms); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 55px; }
  .hero { padding-top: 135px; }
  .hero-copy { max-width: 790px; }
  .hero-visual { max-width: 650px; width: 100%; margin-inline: auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .methodology-grid { grid-template-columns: 1fr; gap: 50px; }
  .differentials-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-panel { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 820px) {
  .menu-toggle { display: block; position: relative; z-index: 1002; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { position: fixed; inset: 0 0 0 28%; z-index: 1001; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: 85px 34px 34px; background: rgba(247,250,255,.98); backdrop-filter: blur(18px); box-shadow: -25px 0 60px rgba(8, 53, 107, .14); transform: translateX(110%); transition: transform .32s cubic-bezier(.22,1,.36,1); }
  .nav-links.open { transform: translateX(0); }
  .nav-links > a { padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-links .nav-cta { margin-top: 18px; padding: 15px 18px; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .contact-panel { padding: 45px 35px; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 82px 0; }
  .hero { min-height: auto; padding-top: 125px; padding-bottom: 70px; }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .security-console { transform: none; }
  .console-topbar { grid-template-columns: auto 1fr; }
  .console-title { display: none; }
  .console-live { justify-self: end; }
  .console-body { padding: 20px; }
  .shield-core { width: 190px; height: 190px; }
  .shield-core svg { width: 105px; }
  .console-metrics { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat + .stat, .stat:nth-child(3), .stat:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); }
  .methodology::before { inset: 35px 0; }
  .process-item { grid-template-columns: 44px 1fr; padding: 18px; gap: 15px; }
  .process-item > span { width: 42px; height: 42px; }
  .differentials-grid { grid-template-columns: 1fr; }
  .feature { padding: 20px 0; }
  .feature:hover { padding-inline: 18px; }
  .contact-panel { padding: 38px 25px; border-radius: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; gap: 12px 20px; }
  .footer-bottom { flex-direction: column; }
  .floating-whatsapp { width: 54px; padding: 0; justify-content: center; }
  .floating-whatsapp span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
