/* ============================================
   Yagoyoo — Landing Page Styles
   Paleta: Azul → Negro
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #080a12;
  color: #d4c5c8;
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul { list-style: none; }

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

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #3DB8DB, #6DCDE6, #8FD9EC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6DCDE6;
  background: rgba(61, 184, 219, 0.1);
  border: 1px solid rgba(61, 184, 219, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #f5f0f1;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #9a8a8e;
  max-width: 540px;
  margin: 0 auto 56px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
  padding: 12px 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, #2A9ABB, #3DB8DB);
  color: #fff;
  box-shadow: 0 4px 24px rgba(61, 184, 219, 0.35);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #1F7F9C, #2A9ABB);
  box-shadow: 0 6px 32px rgba(61, 184, 219, 0.5);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: #d4c5c8;
  border: 1px solid rgba(212, 197, 200, 0.2);
}
.btn--outline:hover {
  border-color: #3DB8DB;
  color: #fff;
  background: rgba(61, 184, 219, 0.08);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: #d4c5c8;
  padding: 10px 20px;
}
.btn--ghost:hover {
  color: #fff;
}

.btn--sm { padding: 10px 22px; font-size: 0.85rem; }
.btn--lg { padding: 16px 36px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.header--scrolled {
  background: rgba(8, 10, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
  padding: 10px 0;
}

.header__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo-img {
  width: 144px;
  height: 144px;
  object-fit: contain;
}

.header__nav-list {
  display: flex;
  gap: 32px;
}

.header__nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #9a8a8e;
  transition: color 0.25s;
}
.header__nav-link:hover { color: #fff; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: all 0.3s ease;
}
.lang-toggle:hover {
  border-color: rgba(61, 184, 219, 0.4);
  background: rgba(61, 184, 219, 0.08);
}
.lang-toggle__flag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #d4c5c8;
}

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #d4c5c8;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.header__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.active span:nth-child(2) { opacity: 0; }
.header__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, #080a12 78%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6DCDE6;
  background: rgba(61, 184, 219, 0.08);
  border: 1px solid rgba(61, 184, 219, 0.18);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  color: #f5f0f1;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: #9a8a8e;
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 40px;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   MODULES
   ============================================ */
.modules {
  padding: 120px 0;
  text-align: center;
  background: #080a12;
}

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

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: left;
  transition: all 0.4s ease;
}
.card:hover {
  background: rgba(61, 184, 219, 0.05);
  border-color: rgba(61, 184, 219, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(61, 184, 219, 0.1);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(61, 184, 219, 0.1);
  border-radius: 12px;
  margin-bottom: 24px;
  color: #6DCDE6;
}
.card__icon svg {
  width: 24px;
  height: 24px;
}

.card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f5f0f1;
  margin-bottom: 12px;
}

.card__text {
  font-size: 0.95rem;
  color: #9a8a8e;
  line-height: 1.6;
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(180deg, #080a12 0%, #0c0f1a 100%);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: left;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}
.plan:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.1);
}

.plan--featured {
  background: rgba(61, 184, 219, 0.06);
  border-color: rgba(61, 184, 219, 0.25);
  box-shadow: 0 0 60px rgba(61, 184, 219, 0.08);
}
.plan--featured:hover {
  border-color: rgba(61, 184, 219, 0.4);
  box-shadow: 0 0 80px rgba(61, 184, 219, 0.12);
}

.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #2A9ABB, #3DB8DB);
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan__header {
  margin-bottom: 28px;
}

.plan__name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #f5f0f1;
  margin-bottom: 8px;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}
.plan__amount {
  font-size: 2.6rem;
  font-weight: 800;
  color: #f5f0f1;
  line-height: 1;
}
.plan__period {
  font-size: 0.85rem;
  color: #6b5560;
  font-weight: 500;
}

.plan__desc {
  font-size: 0.9rem;
  color: #9a8a8e;
}

.plan__features {
  margin-bottom: 32px;
  flex: 1;
}

.plan__features li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  color: #b0a0a4;
  margin-bottom: 12px;
  line-height: 1.5;
}
.plan__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3DB8DB;
  opacity: 0.7;
}

.plan__feature--ai {
  background: linear-gradient(135deg, rgba(61,184,219,0.08), rgba(168,85,247,0.08));
  border: 1px solid rgba(61,184,219,0.15);
  border-radius: 8px;
  padding: 10px 12px 10px 24px !important;
  margin-top: 4px;
  color: #f5f0f1 !important;
  font-weight: 600;
}

.plan__feature--no {
  color: #6b5560 !important;
}
.plan__feature--no::before {
  background: #4b4345 !important;
  opacity: 0.3 !important;
}

/* ============================================
   CTA
   ============================================ */
.cta {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
  background: #080a12;
}

.cta__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(61, 184, 219, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
}

.cta__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #f5f0f1;
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta__text {
  font-size: 1.05rem;
  color: #9a8a8e;
  max-width: 520px;
  margin: 0 auto 40px;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact {
  padding: 120px 0;
  background: linear-gradient(180deg, #080a12 0%, #0c0f1a 100%);
  text-align: center;
}

.contact__form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.contact__field {
  display: flex;
  flex-direction: column;
}
.contact__field--full {
  margin-bottom: 16px;
}

.contact__field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #9a8a8e;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact__field input,
.contact__field textarea,
.contact__field select {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.9rem;
  color: #f5f0f1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}

.contact__field input::placeholder,
.contact__field textarea::placeholder {
  color: #555a6a;
}

.contact__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238892a8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.contact__field select option {
  background: #12141e;
  color: #f0f2f7;
}

.contact__field input:focus,
.contact__field textarea:focus,
.contact__field select:focus {
  border-color: rgba(61, 184, 219, 0.5);
  box-shadow: 0 0 0 3px rgba(61, 184, 219, 0.1);
}

.contact__submit {
  text-align: center;
  margin-top: 8px;
}

/* ============================================
   FOOTER — Single line bar
   ============================================ */
.footer {
  padding: 16px 0;
  background: #050710;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: #6b7280;
}

.footer__sep {
  color: #3a3d4a;
}

.footer__contact {
  color: #6DCDE6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.footer__contact:hover {
  color: #8FD9EC;
}

/* ============================================
   ANIMATIONS — Fade In on Scroll
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 960px) {
  .modules__grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .modules__grid .card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .header__nav {
    display: none;
  }

  .header__actions .btn {
    display: none;
  }

  .header__actions {
    margin-left: auto;
    margin-right: 8px;
  }

  .header__burger {
    display: flex;
  }

  /* Mobile menu */
  .header__nav.open {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(8, 10, 18, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }

  .header__nav.open .header__nav-list {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  .header__nav.open .header__nav-link {
    font-size: 1.3rem;
    color: #f5f0f1;
  }

  .hero {
    min-height: 90vh;
    padding: 100px 20px 60px;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero__subtitle {
    font-size: 1rem;
  }

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

  .modules__grid .card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .modules,
  .pricing,
  .cta {
    padding: 80px 0;
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .contact { padding: 80px 0; }
  .contact__row { grid-template-columns: 1fr; }
  .contact__form { max-width: 100%; }

  .footer__bar { font-size: 0.65rem; gap: 8px; }
}

@media (max-width: 480px) {
  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn--lg {
    width: 100%;
    max-width: 280px;
  }

  .card,
  .plan {
    padding: 32px 24px;
  }

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