:root {
  --idee-cyan: #09c8df;
  --idee-blue: #1496e0;
  --idee-deep: #15212f;
  --idee-dark: #252a31;
  --idee-muted: #667085;
  --idee-soft: #f4f8fb;
  --idee-line: rgba(21, 33, 47, 0.1);
  --idee-shadow: 0 18px 45px rgba(21, 33, 47, 0.12);
  --idee-radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--idee-dark);
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(21, 33, 47, 0.08);
}

.navbar {
  min-height: 78px;
}

.brand-logo {
  width: min(230px, 56vw);
  max-height: 58px;
  object-fit: contain;
}

.navbar-toggler {
  border: 0;
  box-shadow: none;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(9, 200, 223, 0.22);
}

.nav-link {
  color: var(--idee-deep);
  font-weight: 650;
  font-size: 0.95rem;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--idee-blue);
}

.btn {
  border-radius: var(--idee-radius);
  font-weight: 750;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--idee-cyan), var(--idee-blue));
  border: 0;
  box-shadow: 0 12px 28px rgba(20, 150, 224, 0.24);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #00b7d0, #0b82cc);
  box-shadow: 0 16px 34px rgba(20, 150, 224, 0.31);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
}

.btn-outline-light:hover {
  color: var(--idee-deep);
  background: #ffffff;
}

.nav-cta {
  padding: 0.65rem 1rem;
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 72px;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 18%, rgba(9, 200, 223, 0.35), transparent 28%),
    linear-gradient(135deg, #172333 0%, #1b3f55 46%, #0b88c6 100%);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 130px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff);
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  color: var(--idee-blue);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-section .section-kicker,
.dark-section .section-kicker {
  color: #69e8f8;
}

.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.hero-title {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 4.9rem);
  line-height: 1.02;
  font-weight: 850;
  letter-spacing: 0;
}

.hero-text {
  max-width: 700px;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 680px;
  margin-top: 2.4rem;
}

.hero-metrics div {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--idee-radius);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 1.02rem;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.hero-panel {
  max-width: 440px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.panel-top {
  display: flex;
  gap: 0.45rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.panel-top span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.panel-content {
  padding: 1.45rem;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: pulse 1.8s infinite;
}

.panel-content h2 {
  margin: 0 0 1.4rem;
  font-size: 1.75rem;
  line-height: 1.18;
}

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

.tech-grid div {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem;
  border-radius: var(--idee-radius);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
}

.tech-grid i {
  color: #69e8f8;
  font-size: 1.2rem;
}

.progress-stack {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.progress-stack span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #25d366, var(--idee-cyan));
}

.section-padding {
  padding: 92px 0;
}

.bg-soft {
  background: var(--idee-soft);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.9rem;
  text-align: center;
}

.section-heading h2,
.section-title,
.about-box h2 {
  margin: 0 0 1rem;
  color: var(--idee-deep);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: 0;
}

.section-heading p,
.section-copy,
.about-box p {
  margin: 0;
  color: var(--idee-muted);
  font-size: 1.05rem;
}

.service-card,
.why-card {
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--idee-line);
  border-radius: var(--idee-radius);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(21, 33, 47, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover,
.why-card:hover,
.solution-item:hover {
  transform: translateY(-6px);
  border-color: rgba(9, 200, 223, 0.42);
  box-shadow: var(--idee-shadow);
}

.service-card i,
.why-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  border-radius: var(--idee-radius);
  color: #ffffff;
  background: linear-gradient(135deg, var(--idee-cyan), var(--idee-blue));
  font-size: 1.35rem;
}

.service-card h3,
.why-card h3,
.solution-item h3 {
  margin: 0 0 0.65rem;
  color: var(--idee-deep);
  font-size: 1.16rem;
  font-weight: 800;
}

.service-card p,
.why-card p,
.solution-item p {
  margin: 0;
  color: var(--idee-muted);
}

.solution-list {
  display: grid;
  gap: 1rem;
}

.solution-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid var(--idee-line);
  border-radius: var(--idee-radius);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(21, 33, 47, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.solution-item > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--idee-radius);
  color: var(--idee-blue);
  background: rgba(9, 200, 223, 0.12);
  font-weight: 850;
}

.dark-section {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(9, 200, 223, 0.14), transparent 38%),
    var(--idee-deep);
}

.dark-section .section-heading h2,
.dark-section .why-card h3 {
  color: #ffffff;
}

.dark-section .why-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
}

.dark-section .why-card p {
  color: rgba(255, 255, 255, 0.72);
}

.about-box {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid var(--idee-line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(9, 200, 223, 0.09), transparent 45%),
    #ffffff;
  box-shadow: var(--idee-shadow);
}

.about-logo {
  width: 100%;
  max-width: 440px;
  padding: 1rem;
  border-radius: var(--idee-radius);
  background: #ffffff;
}

.contact-section {
  background: var(--idee-soft);
}

.contact-methods {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--idee-line);
  border-radius: var(--idee-radius);
  color: var(--idee-deep);
  background: #ffffff;
}

.contact-method i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: var(--idee-radius);
  color: #ffffff;
  background: linear-gradient(135deg, var(--idee-cyan), var(--idee-blue));
  font-size: 1.22rem;
}

.contact-method strong,
.contact-method small {
  display: block;
}

.contact-method small {
  color: var(--idee-muted);
}

.quote-form {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--idee-line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--idee-shadow);
}

.form-label {
  color: var(--idee-deep);
  font-weight: 750;
}

.form-control,
.form-select {
  min-height: 52px;
  border-color: rgba(21, 33, 47, 0.16);
  border-radius: var(--idee-radius);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--idee-cyan);
  box-shadow: 0 0 0 0.22rem rgba(9, 200, 223, 0.18);
}

textarea.form-control {
  min-height: 142px;
}

.site-footer {
  padding: 38px 0;
  color: rgba(255, 255, 255, 0.76);
  background: #111923;
}

.footer-logo {
  width: 190px;
  max-width: 70vw;
  margin-bottom: 0.8rem;
  filter: brightness(1.08);
}

.site-footer p {
  max-width: 480px;
  margin: 0;
}

.site-footer a {
  display: inline-block;
  margin-left: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.site-footer a:hover {
  color: #69e8f8;
}

.site-footer small {
  color: rgba(255, 255, 255, 0.56);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1030;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  color: #ffffff;
  background: #25d366;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.36);
  font-size: 1.7rem;
}

.whatsapp-float:hover {
  color: #ffffff;
  transform: translateY(-3px);
}

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

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

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0 1.2rem;
  }

  .nav-cta {
    width: 100%;
    margin-top: 0.5rem;
  }

  .hero-section {
    min-height: auto;
    padding-top: 118px;
  }

  .hero-panel {
    margin: 0;
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  html {
    scroll-padding-top: 76px;
  }

  .navbar {
    min-height: 68px;
  }

  .brand-logo {
    width: min(190px, 58vw);
  }

  .hero-section {
    padding: 104px 0 58px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .section-padding {
    padding: 68px 0;
  }

  .section-heading {
    text-align: left;
  }

  .solution-item {
    grid-template-columns: 1fr;
  }

  .site-footer a {
    margin: 0 1rem 0.4rem 0;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
