/* ===== Variables ===== */
:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #e0f2fe;
  --secondary: #06b6d4;
  --accent: #14b8a6;
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --gray-900: #0f172a;
  --gray-700: #334155;
  --gray-500: #64748b;
  --gray-300: #cbd5e1;
  --gray-100: #f1f5f9;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #14b8a6 100%);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 10px 40px rgba(14, 165, 233, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ===== Utilities ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: 100px 0;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section__header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section__header p {
  font-size: 1.05rem;
  color: var(--gray-500);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.btn--primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(14, 165, 233, 0.45);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn--outline:hover {
  background: var(--primary-light);
}

.btn--secondary {
  background: var(--gray-100);
  color: var(--dark);
}

.btn--secondary:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.btn--white {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo__icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

.logo__icon svg {
  width: 100%;
  height: 100%;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__text strong {
  font-size: 1.05rem;
  color: var(--dark);
}

.logo__text small {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav__link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 8px;
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.header__cta {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #f0f9ff 0%, #e0f2fe 40%, #f0fdfa 100%);
  z-index: -1;
}

.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200'%3E%3Cpath fill='%23ffffff' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,200L1392,200C1344,200,1248,200,1152,200C1056,200,960,200,864,200C768,200,672,200,576,200C480,200,384,200,288,200C192,200,96,200,48,200L0,200Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

.hero__wave--2 {
  bottom: 20px;
  opacity: 0.5;
}

.hero__bubbles span {
  position: absolute;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.08);
  animation: float 8s ease-in-out infinite;
}

.hero__bubbles span:nth-child(1) { width: 80px; height: 80px; top: 20%; left: 10%; animation-delay: 0s; }
.hero__bubbles span:nth-child(2) { width: 120px; height: 120px; top: 60%; right: 15%; animation-delay: 2s; }
.hero__bubbles span:nth-child(3) { width: 60px; height: 60px; top: 30%; right: 30%; animation-delay: 4s; }
.hero__bubbles span:nth-child(4) { width: 40px; height: 40px; bottom: 30%; left: 25%; animation-delay: 1s; }
.hero__bubbles span:nth-child(5) { width: 100px; height: 100px; bottom: 20%; right: 40%; animation-delay: 3s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 24px;
}

.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero__content > p {
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 40px;
}

.stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 4px;
}

.stat span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  max-width: 380px;
  border: 1px solid rgba(14, 165, 233, 0.1);
  animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__card-icon {
  width: 64px;
  height: 64px;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero__card-icon svg {
  width: 100%;
  height: 100%;
}

.hero__card h3 {
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.hero__card > p {
  color: var(--gray-500);
  margin-bottom: 20px;
}

.hero__card-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.hero__card-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===== Services ===== */
.services {
  background: var(--white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card--featured {
  background: linear-gradient(160deg, #f0f9ff, #ecfeff);
  border-color: rgba(14, 165, 233, 0.2);
}

.service-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  background: var(--gradient);
  padding: 4px 12px;
  border-radius: 100px;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card__icon--blue {
  background: #dbeafe;
  color: #2563eb;
}

.service-card__icon--teal {
  background: #ccfbf1;
  color: #0d9488;
}

.service-card__icon--cyan {
  background: #cffafe;
  color: #0891b2;
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.service-card > p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.service-card ul li {
  font-size: 0.85rem;
  color: var(--gray-700);
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.service-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ===== Products ===== */
.products {
  background: var(--gray-100);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card__image {
  background: linear-gradient(135deg, #e0f2fe, #ecfeff);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.product-card__placeholder {
  color: var(--primary);
  opacity: 0.6;
}

.product-card__placeholder svg {
  width: 80px;
  height: 80px;
}

.product-card__body {
  padding: 28px;
}

.product-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 6px;
}

.product-card__body h3 {
  font-size: 1.15rem;
  color: var(--dark);
  margin: 12px 0 8px;
}

.product-card__body > p {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.product-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.product-card__features span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--gray-100);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ===== Process ===== */
.process__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.process__step {
  text-align: center;
  flex: 1;
  max-width: 220px;
  padding: 0 16px;
}

.process__number {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  background: var(--gradient);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.process__step h3 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.process__step p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.process__connector {
  flex: 0 0 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin-top: 28px;
  opacity: 0.3;
}

/* ===== Why Us ===== */
.why-us {
  background: var(--white);
}

.why-us__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-us__content h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.why-us__content > p {
  color: var(--gray-500);
  margin-bottom: 32px;
}

.why-us__features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
}

.feature strong {
  display: block;
  color: var(--dark);
  margin-bottom: 2px;
}

.feature p {
  font-size: 0.88rem;
  color: var(--gray-500);
}

.why-us__card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--white);
}

.why-us__card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.why-us__card-header span {
  font-size: 0.9rem;
  opacity: 0.7;
}

.why-us__card-header strong {
  font-size: 1.2rem;
  color: var(--accent);
}

.why-us__meter {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  margin-bottom: 28px;
  overflow: hidden;
}

.why-us__meter-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 100px;
  animation: meterFill 2s ease-out;
}

@keyframes meterFill {
  from { width: 0 !important; }
}

.why-us__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metric span {
  display: block;
  font-size: 0.75rem;
  opacity: 0.6;
  margin-bottom: 4px;
}

.metric strong {
  font-size: 1.3rem;
  font-weight: 700;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--gradient);
  padding: 60px 0;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}

/* ===== Contact ===== */
.contact {
  background: var(--gray-100);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__item-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 12px;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.contact__item-icon svg {
  width: 22px;
  height: 22px;
}

.contact__item strong {
  display: block;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact__item p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.contact__item a:hover {
  color: var(--primary);
}

.contact__form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid var(--gray-300);
  border-radius: 10px;
  background: var(--white);
  color: var(--dark);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 60px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer .logo__text strong {
  color: var(--white);
}

.footer .logo__text small {
  color: rgba(255, 255, 255, 0.5);
}

.footer__brand p {
  margin-top: 16px;
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer__links h4,
.footer__contact h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer__links a {
  display: block;
  font-size: 0.88rem;
  padding: 4px 0;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--primary);
}

.footer__contact p {
  font-size: 0.88rem;
  padding: 4px 0;
}

.footer__contact a:hover {
  color: var(--primary);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ===== Animations on scroll ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content > p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .services__grid,
  .products__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .why-us__inner {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .process__steps {
    flex-wrap: wrap;
    gap: 24px;
  }

  .process__connector {
    display: none;
  }

  .process__step {
    max-width: 100%;
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav__link {
    padding: 12px 16px;
  }

  .header__cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .section {
    padding: 70px 0;
  }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .process__step {
    flex: 0 0 100%;
  }

  .hero__stats {
    gap: 24px;
  }
}
