:root {
  color-scheme: dark;
  --bg: #050816;
  --surface: rgba(13, 20, 47, 0.98);
  --surface-2: rgba(15, 25, 65, 0.95);
  --panel: #0b1634;
  --text: #f4f7ff;
  --muted: #96a5c1;
  --accent: #7c75ff;
  --accent-soft: rgba(124, 117, 255, 0.17);
  --accent-strong: #5c4dff;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.2);
  font-family: 'Inter', system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 76px;
  background: radial-gradient(circle at top, rgba(124, 117, 255, 0.18), transparent 18%),
    radial-gradient(circle at bottom right, rgba(0, 201, 255, 0.1), transparent 20%),
    linear-gradient(180deg, #050816 0%, #070d1f 100%);
  color: var(--text);
  line-height: 1.75;
}

img {
  max-width: 100%;
  display: block;
}

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

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

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(5, 8, 22, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 0.96rem;
  color: var(--muted);
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.language-switcher {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}

.lang-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text);
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  min-width: 80px;
}

.lang-select:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.lang-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(124, 117, 255, 0.2);
}

.hamburger {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  gap: 6px;
  flex-direction: column;
}

.hamburger span {
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: var(--text);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0 3rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 20%, rgba(124, 117, 255, 0.2), transparent 25%),
    radial-gradient(circle at 80% 18%, rgba(0, 201, 255, 0.14), transparent 20%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.32;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.85;
}

.orb-1 {
  width: 260px;
  height: 260px;
  top: 8%;
  left: -6%;
  background: rgba(124, 117, 255, 0.24);
}

.orb-2 {
  width: 220px;
  height: 220px;
  bottom: 16%;
  right: 12%;
  background: rgba(0, 201, 255, 0.16);
}

.orb-3 {
  width: 160px;
  height: 160px;
  top: 40%;
  right: 30%;
  background: rgba(255, 255, 255, 0.08);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(420px, 1.1fr);
  gap: 3rem;
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding-top: 1rem;
}

.hero-copy {
  display: grid;
  gap: 2rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  gap: 0.8rem;
  min-height: auto;
  padding: 0.5rem 0;
  align-items: center;
}

.hero-stats-right {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-showcase {
  position: relative;
  width: min(90%, 420px);
  height: min(90%, 420px);
  display: grid;
  place-items: center;
}

.logo-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.35);
}

.ring-1 {
  width: 400px;
  height: 400px;
}

.ring-2 {
  width: 300px;
  height: 300px;
}

.ring-3 {
  width: 220px;
  height: 220px;
}

.hero-logo {
  width: 420px;
  max-width: 100%;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(124, 117, 255, 0.12);
  color: var(--text);
  margin-bottom: 1.8rem;
}

.badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-title {
  font-size: clamp(3rem, 4vw, 4.5rem);
  line-height: 0.96;
  max-width: 720px;
}

.gradient-text {
  background: linear-gradient(90deg, #7c75ff, #00c9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  max-width: 680px;
  margin: 1.5rem 0 2.2rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #7c75ff, #00c9ff);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.stat {
  min-width: 130px;
}

.stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
}

.stat-label {
  color: var(--muted);
}

.stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
  height: 2rem;
}


.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.scroll-line {
  width: 2px;
  height: 3rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.section-header {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
}

.about,
.services,
.products,
.why-us,
.contact,
.footer {
  padding: 4rem 0;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.about-text p,
.why-text p,
.footer p,
.product-info p,
.contact-info p {
  color: var(--muted);
}

.about-lead {
  font-size: 1.1rem;
  margin-bottom: 1.3rem;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.value-item {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.value-item i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(124, 117, 255, 0.15);
  color: var(--accent);
}

.about-visual {
  position: relative;
}

.about-card-stack {
  position: relative;
  min-height: 420px;
}

.about-card {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-back {
  transform: translate(40px, 40px);
}

.card-mid {
  transform: translate(20px, 20px);
}

.card-front {
  position: relative;
  z-index: 2;
  padding: 2rem;
  display: grid;
  gap: 1.25rem;
  background: linear-gradient(180deg, rgba(13, 20, 47, 0.96), rgba(15, 23, 53, 0.98));
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(124, 117, 255, 0.18);
  color: var(--accent);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.card-tags span {
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

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

.service-card,
.product-card,
.why-feature,
.contact-info,
.footer-brand,
.footer-links,
.footer-services,
.footer-contact {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 1.9rem;
}

.service-card {
  display: grid;
  gap: 1.3rem;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.service-card:hover,
.service-card.selected {
  transform: translateY(-6px);
  border-color: rgba(124, 117, 255, 0.35);
  box-shadow: 0 20px 40px rgba(16, 24, 58, 0.35);
  background: rgba(255, 255, 255, 0.12);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-list li,
.service-card:hover .service-number,
.service-card:hover .service-link {
  color: #fff;
}

.service-card:hover .service-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.service-card:hover .service-list li i {
  color: #fff;
}

.product-card:hover,
.why-feature:hover,
.value-item:hover,
.contact-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(16, 24, 58, 0.32);
}

.product-card:hover h3,
.product-card:hover p,
.product-card:hover .product-tags span,
.why-feature:hover p,
.contact-item:hover p {
  color: #fff;
}

.product-card:hover .product-icon,
.why-feature:hover .why-icon,
.contact-item:hover .contact-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.product-card:hover .product-cta,
.why-feature:hover .why-icon,
.contact-item:hover .contact-link {
  color: #fff;
}

.product-card:hover .product-tags span {
  background: rgba(255, 255, 255, 0.1);
}

.service-link:hover,
.product-cta:hover,
.contact-link:hover {
  color: #fff;
}

.service-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: #fff;
  background: linear-gradient(135deg, #00c9ff, #7c75ff);
}

.service-number {
  font-weight: 700;
  color: var(--accent);
}

.service-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(124, 117, 255, 0.15);
  color: var(--accent);
}

.service-card h3,
.product-card h3 {
  font-size: 1.3rem;
}

.service-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  padding-left: 0;
  margin: 0;
}

.service-list li {
  display: flex;
  gap: 0.85rem;
  color: var(--muted);
}

.service-list li i {
  color: var(--accent);
  min-width: 18px;
}

.service-link,
.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent);
  font-weight: 700;
}

.service-link:hover,
.product-cta:hover {
  text-decoration: underline;
}

.product-card {
  display: grid;
  gap: 1.5rem;
}

.product-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(0, 201, 255, 0.14);
  color: #00c9ff;
}

.product-info {
  display: grid;
  gap: 0.85rem;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.product-tags span {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.9rem;
}

.why-us {
  padding-top: 0;
}

.why-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: flex-start;
}

.why-text {
  display: grid;
  gap: 1.4rem;
}

.why-features {
  display: grid;
  gap: 1rem;
}

.why-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem;
}

.why-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(124, 117, 255, 0.15);
  color: var(--accent);
}

.contact-grid {
  grid-template-columns: 0.95fr 1.05fr;
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.contact-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.2rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(124, 117, 255, 0.12);
  color: var(--accent);
}

.contact-link,
.footer-wa {
  color: var(--text);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1rem;
}

.whatsapp-btn,
.email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.whatsapp-btn {
  background: linear-gradient(135deg, #00c9ff, #7c75ff);
}

.email-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.whatsapp-btn:hover,
.email-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  padding: 1.75rem;
  border-radius: 32px;
  background: rgba(10, 16, 34, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  display: grid;
  gap: 0.7rem;
}

.form-group label {
  color: var(--muted);
  font-size: 0.95rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  outline: none;
}

select {
  color: var(--text);
}

option {
  color: var(--text);
  background: rgba(5, 8, 22, 0.98);
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(124, 117, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(124, 117, 255, 0.12);
}

textarea {
  resize: vertical;
}

.form-notice {
  min-height: 1.5rem;
  color: #9ad2ff;
  font-size: 0.95rem;
}

.btn.full-width {
  width: 100%;
  justify-content: center;
}

.footer {
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.footer-logo {
  width: 46px;
  margin-bottom: 1rem;
}

.footer-name {
  display: block;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links ul,
.footer-services ul {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 0;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
}

.float-wa {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #00c9ff, #7c75ff);
  color: #fff;
  z-index: 40;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.float-wa-tooltip {
  display: none;
}

@media (max-width: 980px) {

  .hero-content,
  .about-grid,
  .why-inner,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-visual {
    min-height: 360px;
  }

  .services-grid,
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-container {
    gap: 1rem;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: auto;
    width: min(260px, calc(100% - 2rem));
    padding: 1rem;
    flex-direction: column;
    background: rgba(5, 8, 22, 0.95);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transform-origin: top right;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 0.75rem 0;
  }

  .hamburger {
    display: inline-flex;
  }

  .services-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn,
  .service-card,
  .product-card,
  .contact-form,
  .about-card {
    border-radius: 24px;
  }
}

/* Navbar CTA link */
.nav-cta-link {
  background: linear-gradient(135deg, #6366f1, #06b6d4) !important;
  color: #fff !important;
  padding: 0.45rem 1.1rem !important;
  border-radius: 99px !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  transition: opacity 0.2s !important;
}
.nav-cta-link:hover { opacity: 0.85 !important; }
