:root {
  --ink: #101746;
  --muted: #454d7c;
  --purple: #7538ec;
  --cyan: #04cce4;
  --line: rgba(255, 255, 255, 0.8);
  --glass: rgba(255, 255, 255, 0.54);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --ok: #0d7a4f;
  --err: #a42d6d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  min-height: 100vh;
  background: linear-gradient(125deg, #e8eeff 0%, #f5ecff 40%, #e4fbff 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  inset-inline-start: 16px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  transition: top 0.15s;
}

.skip-link:focus {
  top: 12px;
}

/* Aurora Background Orbs */
.aurora {
  position: fixed;
  pointer-events: none;
  filter: blur(75px);
  opacity: 0.36;
  border-radius: 50%;
  z-index: -1;
  animation: orbDrift 14s ease-in-out infinite alternate;
}

.aurora-one {
  width: 620px;
  height: 620px;
  background: #8d69fa;
  top: 25px;
  left: -210px;
}

.aurora-two {
  width: 700px;
  height: 700px;
  background: #4fdbfc;
  right: -220px;
  top: 260px;
  animation-delay: -5s;
}

@keyframes orbDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(24px, -18px) scale(1.06); }
}

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

/* Scroll Reveal Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .aurora,
  .float {
    animation: none !important;
  }
}

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px #4656aa18, inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

/* Topbar Navbar matching reference designs */
.topbar {
  max-width: 1250px;
  margin: 18px auto;
  min-height: 76px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: sticky;
  top: 12px;
  z-index: 30;
  border-radius: 22px;
}

.brand img {
  width: 185px;
  max-height: 58px;
  object-fit: contain;
  display: block;
}

.topbar nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.topbar nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 650;
  padding: 10px 15px;
  border-radius: 16px;
  color: #242c62;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.topbar nav a:hover {
  background: rgba(117, 56, 236, 0.12);
  color: #5532ac;
}

.topbar nav a.active {
  background: linear-gradient(105deg, #8834ec, #3b5bdb);
  color: #fff;
  box-shadow: 0 6px 18px rgba(117, 56, 236, 0.3);
}

.tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.languages {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(182, 163, 240, 0.45);
  border-radius: 30px;
  padding: 4px 6px;
}

.lang-globe {
  display: inline-flex;
  color: #5532ac;
  padding-inline: 5px;
}

.languages button {
  border: 0;
  background: none;
  border-radius: 20px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: #313c70;
  transition: background 0.18s, color 0.18s;
}

.languages button.active {
  color: #fff;
  background: linear-gradient(100deg, #8834ec, #3b5bdb);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 16px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid #ffffffd9;
  box-shadow: 0 8px 20px #6349e826;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px #6349e838;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.primary {
  color: #fff;
  background: linear-gradient(105deg, #8834ec, #215cce, #00bdce);
}

.secondary {
  background: rgba(255, 255, 255, 0.85);
  color: #43369e;
}

.whatsapp-btn {
  background: linear-gradient(105deg, #16a34a, #22c55e);
  color: #fff;
  border-color: #ffffff80;
}

.menu {
  display: none;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(182, 163, 240, 0.5);
  border-radius: 12px;
  font-size: 20px;
  color: var(--ink);
  cursor: pointer;
  padding: 7px 11px;
}

main {
  max-width: 1250px;
  margin: auto;
  min-height: 66vh;
  padding: 12px 16px 64px;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 32px;
  min-height: 430px;
  padding: 28px 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #b6a3f0;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  padding: 8px 16px;
  color: #5543a0;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(117, 56, 236, 0.08);
}

.hero h1 {
  font-size: clamp(34px, 4.1vw, 56px);
  line-height: 1.26;
  margin: 18px 0 14px;
  font-weight: 850;
  letter-spacing: -0.4px;
}

.gradient-text {
  background: linear-gradient(100deg, #7130df, #00b7db);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.lead {
  color: #353d69;
  font-size: 17px;
  line-height: 1.9;
  max-width: 600px;
}

.actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-art {
  position: relative;
  min-height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.laptop {
  width: 84%;
  height: 270px;
  border-radius: 20px 20px 8px 8px;
  background: linear-gradient(135deg, #172457, #6e39c9 58%, #0284c7);
  box-shadow: 0 32px 55px #5839af54;
  border: 8px solid #c5d7ff;
  transform: perspective(800px) rotateY(-9deg) rotateX(3deg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.laptop::after {
  content: "";
  position: absolute;
  bottom: -23px;
  width: 110%;
  height: 16px;
  background: linear-gradient(#eaf7ff, #909fc9);
  border-radius: 3px 3px 50% 50%;
}

.laptop img {
  width: 74%;
  filter: drop-shadow(0 6px 18px #00e2ff77);
}

.float {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.72);
  color: #5b3fd6;
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 28px #4c53a833;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: floatSlow 4.5s ease-in-out infinite;
}

.float.a {
  top: 12px;
  right: 8px;
}

.float.b {
  bottom: 22px;
  left: 6px;
  animation-delay: -1.5s;
}

.float.c {
  top: 24px;
  left: 16px;
  animation-delay: -2.8s;
}

.section {
  margin-top: 48px;
}

.heading {
  text-align: center;
  margin-bottom: 28px;
}

.heading h2 {
  font-size: 32px;
  margin: 0 0 8px;
}

.heading p {
  color: var(--muted);
  margin: 0;
  line-height: 1.8;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 26px 20px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px #4656aa26, inset 0 1px 0 #fff;
}

.card .symbol {
  display: inline-flex;
  background: linear-gradient(135deg, #e0d4ff, #b3f7fc);
  color: #5532ac;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(117, 56, 236, 0.14);
}

.card h3 {
  margin: 16px 0 9px;
  font-size: 18px;
}

.card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.feature-list li::before {
  content: "✓";
  color: var(--purple);
  font-weight: 800;
}

.banner {
  padding: 34px 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.banner-cta-dark {
  background: linear-gradient(110deg, #5b21b6, #2563eb 60%, #0891b2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.banner-cta-dark p {
  color: rgba(255, 255, 255, 0.88) !important;
}

.banner h2 {
  margin: 0 0 8px;
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.banner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.badge-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.badge-row .card {
  min-height: 140px;
  text-align: center;
  align-items: center;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.empty {
  padding: 64px 25px;
  text-align: center;
  max-width: 860px;
  margin: 30px auto;
}

.empty .lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 24px;
  background: linear-gradient(135deg, #e0d4ff, #b3f7fc);
  color: #6d28d9;
  box-shadow: 0 12px 28px rgba(117, 56, 236, 0.2);
}

.empty h2 {
  font-size: 26px;
  margin: 16px 0 10px;
}

.empty p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 22px;
}

.subhero {
  padding: 36px 24px;
  text-align: center;
}

.subhero h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 16px 0;
}

.subhero p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
  max-width: 850px;
  margin: auto;
}

.service-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-cards .card {
  min-height: 260px;
}

.service-cards .card .card-actions {
  margin-top: auto;
  padding-top: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.about-grid .card {
  min-height: 210px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.step-card {
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(105deg, #8834ec, #215cce);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  margin-bottom: 22px;
}

.catalog-toolbar input,
.catalog-toolbar select {
  border: 1px solid #aebdec;
  background: #ffffffbf;
  color: var(--ink);
  border-radius: 12px;
  padding: 10px 14px;
  outline: none;
}

.catalog-search {
  flex: 1 1 260px;
}

.view-toggle {
  display: flex;
  gap: 6px;
}

.view-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #c9d2f5;
  background: #ffffff9c;
  color: var(--ink);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 700;
}

.view-toggle button.active {
  background: linear-gradient(100deg, #9b42ef, #405ad1);
  color: #fff;
  border-color: transparent;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.products-grid.list-view {
  grid-template-columns: 1fr;
}

.product-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-badge {
  display: inline-block;
  align-self: flex-start;
  background: #ede7ff;
  color: #5532ac;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 22px;
  margin-top: 26px;
}

.form-card {
  padding: 30px;
}

.form-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-card label {
  font-weight: 650;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.form-card input,
.form-card select,
.form-card textarea {
  display: block;
  width: 100%;
  border: 1px solid #aebdec;
  background: #ffffffb8;
  color: #182452;
  border-radius: 12px;
  padding: 13px;
  outline: none;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  border-color: #7547cf;
  box-shadow: 0 0 0 3px #a479ef33;
}

.form-card textarea {
  min-height: 130px;
  resize: vertical;
}

.form-card .full {
  grid-column: 1 / -1;
}

.form-card .notice {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 12px;
}

.char-count {
  font-size: 12px;
  color: var(--muted);
  text-align: end;
  margin-top: 4px;
}

.consent-row {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.consent-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.consent-row a {
  color: var(--purple);
  text-decoration: underline;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-status {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.form-status.ok {
  background: #dcfce7;
  color: var(--ok);
  border: 1px solid #86efac;
}

.form-status.err {
  background: #fce7f3;
  color: var(--err);
  border: 1px solid #f9a8d4;
}

.side-stack {
  display: grid;
  gap: 18px;
  align-content: start;
}

.side-stack .card {
  min-height: 0;
}

.info-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.trust-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}

.trust-mini-grid .glass {
  padding: 16px 10px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.legal-card {
  padding: 36px;
  max-width: 900px;
  margin: 24px auto;
  line-height: 1.9;
}

.legal-card h2 {
  margin-top: 24px;
  font-size: 20px;
  color: var(--ink);
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 15px;
}

.footer {
  background: linear-gradient(115deg, #181544, #16295f 75%, #26216a);
  color: #f3f3ff;
  padding: 38px max(24px, calc((100vw - 1250px) / 2)) 16px;
}

.foot-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 24px;
}

.foot-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  margin-bottom: 10px;
}

.foot-main p {
  font-size: 13px;
  color: #d2d9f2;
  line-height: 1.8;
  max-width: 380px;
  margin: 0;
}

.foot-col h3,
.foot-side h3 {
  font-size: 14px;
  margin: 0 0 12px;
  color: #8de1f1;
}

.foot-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.foot-links a {
  font-size: 13px;
  color: #e4e9ff;
}

.foot-links a:hover {
  color: #65d8ff;
}

.foot-langs {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.copyright {
  border-top: 1px solid #ffffff33;
  margin-top: 26px;
  padding-top: 14px;
  color: #cbd5ed;
  font-size: 12px;
  text-align: center;
}

.hidden {
  display: none !important;
}

body[dir="ltr"] .laptop {
  transform: perspective(800px) rotateY(9deg) rotateX(3deg);
}

@media (max-width: 1020px) {
  .topbar {
    margin: 10px;
    top: 8px;
  }
  .header-cta {
    display: none;
  }
  .cards,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-cards,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .foot-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    border-radius: 20px;
    flex-wrap: wrap;
  }
  .brand img {
    width: 150px;
  }
  .menu {
    display: block;
  }
  .topbar nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .topbar nav.open {
    display: flex;
  }
  .topbar nav a {
    padding: 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 15px 6px;
  }
  .hero-art {
    min-height: 250px;
    grid-row: 2;
  }
  .laptop {
    height: 210px;
  }
  .float {
    padding: 10px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .cards,
  .service-cards,
  .products-grid,
  .about-grid,
  .values-grid,
  .steps-grid,
  .badge-row,
  .contact-grid,
  .form-grid,
  .foot-main,
  .trust-mini-grid {
    grid-template-columns: 1fr;
  }
  .banner {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
  }
  .section {
    margin-top: 28px;
  }
  .subhero {
    padding: 20px;
  }
  .form-card,
  .legal-card {
    padding: 20px;
  }
}
