/* ============================================================
   LUGO — COMPONENT STYLES  (matches Dart component class names)
   ============================================================ */

/* --- Navigation */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(8, 17, 39, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition:
    background var(--duration-base) ease,
    box-shadow var(--duration-base) ease;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}
.nav__logo-img {
  height: 36px;
  width: auto;
}
.nav__logo-name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--lugo-cream);
  letter-spacing: 0.02em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}
.nav__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(250, 246, 236, 0.8);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color var(--duration-fast) ease;
}
.nav__link:hover {
  color: var(--lugo-orange-light);
}
.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.nav__lang {
  font-weight: 800;
  letter-spacing: 0.06em;
  min-width: 48px;
  cursor: pointer;
}
.nav__menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--lugo-cream);
}

/* --- Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(150deg, #061729 0%, #052b4d 45%, #083d5e 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 70% 50%,
    rgba(121, 198, 201, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero__stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  animation: pulse-soft 3s ease-in-out infinite;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-16) var(--container-pad);
}
.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.hero__eyebrow {
  display: inline-flex;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.1;
  color: var(--lugo-cream);
}
.hero__title span {
  color: var(--lugo-orange-light);
  display: block;
}
.hero__description {
  font-size: clamp(var(--text-base), 1.8vw, var(--text-lg));
  color: rgba(250, 246, 236, 0.82);
  line-height: 1.75;
  max-width: 520px;
}
.hero__store-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-2);
}
.hero__store-btn {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    transform var(--duration-base) var(--ease-out),
    filter var(--duration-base) ease;
}
.hero__store-btn:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.1);
}
.hero__store-btn img {
  height: 52px;
  width: auto;
  display: block;
}
.hero__price-note {
  font-size: var(--text-xs);
  color: rgba(250, 246, 236, 0.85);
  margin-top: var(--space-2);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(5, 43, 77, 0.6);
}
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero__phone-group {
  position: relative;
  width: 100%;
  max-width: 480px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero__phone {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(5, 43, 77, 0.5),
    0 0 40px rgba(121, 198, 201, 0.15);
}
.hero__phone-main {
  width: clamp(200px, 28vw, 280px);
  z-index: 2;
  animation: float 5s ease-in-out infinite;
}
.hero__phone-secondary {
  width: clamp(160px, 21vw, 220px);
  margin-left: -40px;
  margin-bottom: 30px;
  z-index: 1;
  opacity: 0.88;
  animation: float 5s ease-in-out infinite;
  animation-delay: 0.8s;
}
.hero__phone img {
  width: 100%;
  height: auto;
  display: block;
}
.hero__glow {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(121, 198, 201, 0.2) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* --- Trust Bar */
.trust-bar {
  background: var(--lugo-white);
  padding: var(--space-8) 0;
  border-bottom: 1px solid rgba(5, 43, 77, 0.06);
}
.trust-bar__inner {
  display: flex;
  justify-content: center;
  gap: clamp(var(--space-8), 6vw, var(--space-14));
  flex-wrap: wrap;
}
.trust-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
}
.trust-bar__icon {
  font-size: 1.75rem;
  line-height: 1;
}
.trust-bar__text {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--lugo-navy);
  letter-spacing: 0.02em;
}

/* --- Features */
.features {
  background: var(--lugo-cream);
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.features__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  max-width: 880px;
  margin: 0 auto;
}
.feature-card {
  background: var(--lugo-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(5, 43, 77, 0.06);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-align: center;
  align-items: center;
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(121, 198, 201, 0.3);
}
.feature-card__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(228, 119, 64, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
.feature-card__title {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--lugo-navy);
  line-height: 1.3;
}
.feature-card__text {
  font-size: var(--text-base);
  color: var(--lugo-grey);
  line-height: 1.7;
}

/* --- Screenshots */
.screenshots {
  background: linear-gradient(
    180deg,
    var(--lugo-cream) 0%,
    var(--lugo-white) 100%
  );
  padding: clamp(4rem, 9vw, 7rem) 0;
  overflow: hidden;
}
.screenshots__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.screenshots__mobile-grid {
  display: flex;
  gap: var(--space-5);
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: var(--space-4) 0;
}
.screenshot-frame {
  width: clamp(140px, 15vw, 195px);
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
  box-shadow:
    0 20px 60px rgba(5, 43, 77, 0.22),
    0 4px 16px rgba(5, 43, 77, 0.12);
  transition: transform var(--duration-slow) var(--ease-out);
}
.screenshot-frame:nth-child(even) {
  margin-bottom: 24px;
}
.screenshot-frame:hover {
  transform: translateY(-10px) scale(1.03);
}
.screenshot-frame__img {
  width: 100%;
  height: auto;
  display: block;
}
.screenshots__tablet {
  margin-top: var(--space-12);
}
.screenshots__tablet-wrapper {
  display: flex;
  justify-content: center;
}
.screenshots__tablet-img {
  max-width: min(720px, 90%);
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(5, 43, 77, 0.22);
}

/* --- Parents */
.parents {
  background: var(--lugo-navy);
  padding: clamp(4rem, 9vw, 7rem) 0;
  position: relative;
  overflow: hidden;
}
.parents::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(121, 198, 201, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.parents__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.parents__header .section-title {
  color: var(--lugo-cream) !important;
}
.parents__header .section-subtitle {
  color: rgba(250, 246, 236, 0.8) !important;
}
.section-title--light {
  color: var(--lugo-cream) !important;
}
.section-subtitle--light {
  color: rgba(250, 246, 236, 0.8) !important;
}
.parents__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  max-width: 800px;
  margin: 0 auto;
}
.parents__card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-10);
  transition:
    background var(--duration-base) ease,
    border-color var(--duration-base) ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.parents__card:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(121, 198, 201, 0.35);
}
.parents__card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-3);
}
.parents__card-title {
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--lugo-cream);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}
.parents__card-text {
  font-size: var(--text-sm);
  color: rgba(250, 246, 236, 0.82);
  line-height: 1.65;
}

/* --- Stories */
.stories {
  background: var(--lugo-cream);
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.stories__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.stories__categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-12);
}
.category-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  background: var(--lugo-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  min-width: 96px;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
}
.category-chip:hover {
  border-color: var(--lugo-orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.category-chip__emoji {
  font-size: 1.75rem;
  line-height: 1;
}
.category-chip__name {
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--lugo-navy);
  text-align: center;
  letter-spacing: 0.02em;
}
.stories__cta {
  display: flex;
  justify-content: center;
}
.stories__quote {
  background: var(--lugo-white);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-12), 5vw, var(--space-16))
    clamp(var(--space-10), 6vw, var(--space-20));
  text-align: center;
  max-width: 600px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  border: 1px solid rgba(5, 43, 77, 0.07);
}
.stories__quote-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  color: var(--lugo-navy);
}
.stories__quote-text {
  font-size: var(--text-base);
  color: var(--lugo-grey);
  line-height: 1.75;
}

/* --- FAQ */
.faq {
  background: var(--lugo-white);
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.faq__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}
.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.faq__item {
  background: var(--lugo-cream);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(5, 43, 77, 0.07);
  overflow: hidden;
  transition: box-shadow var(--duration-base) ease;
}
.faq__item:hover {
  box-shadow: var(--shadow-sm);
}
.faq__item[open] {
  background: var(--lugo-white);
}
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq__question::-webkit-details-marker {
  display: none;
}
.faq__question-text {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--lugo-navy);
  line-height: 1.4;
}
.faq__icon {
  font-size: var(--text-lg);
  color: var(--lugo-orange);
  flex-shrink: 0;
  transition: transform var(--duration-fast) ease;
}
.faq__item[open] .faq__icon {
  transform: rotate(45deg);
}
.faq__answer {
  padding: 0 var(--space-6) var(--space-5);
}
.faq__answer p {
  font-size: var(--text-sm);
  color: var(--lugo-grey);
  line-height: 1.75;
}
.faq__contact {
  text-align: center;
  margin-top: var(--space-8);
}
.faq__contact p {
  font-size: var(--text-sm);
  color: var(--lugo-grey);
}
.faq__contact-link {
  color: var(--lugo-orange);
  font-weight: 700;
  text-decoration: none;
}
.faq__contact-link:hover {
  text-decoration: underline;
}

/* --- Download */
.download {
  background: linear-gradient(140deg, #052b4d 0%, #0d3f60 50%, #083050 100%);
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.download::before {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(228, 119, 64, 0.14) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.download::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(121, 198, 201, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.download__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}
.download__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 6vw, var(--text-7xl));
  color: var(--lugo-cream);
  line-height: 1.1;
  max-width: 700px;
}
.download__title span {
  color: var(--lugo-orange-light);
}
.download__subtitle {
  font-size: clamp(var(--text-base), 1.8vw, var(--text-lg));
  color: rgba(250, 246, 236, 0.85);
  max-width: 500px;
  line-height: 1.7;
}
.download__stores {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
  justify-content: center;
}
.download__store-btn {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    transform var(--duration-base) var(--ease-out),
    filter var(--duration-base) ease;
}
.download__store-btn:hover {
  transform: translateY(-4px) scale(1.04);
  filter: brightness(1.12) drop-shadow(0 8px 20px rgba(228, 119, 64, 0.4));
}
.download__store-btn img {
  height: 58px;
  width: auto;
  display: block;
}
.download__note {
  font-size: var(--text-sm);
  color: rgba(250, 246, 236, 0.65);
  font-weight: 500;
}

/* --- Footer */
.footer {
  background: var(--lugo-navy-dark);
  padding: clamp(3rem, 6vw, 5rem) 0 var(--space-8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-14));
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__col {
  display: flex;
  flex-direction: column;
}
.footer__col--brand {
  gap: var(--space-4);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}
.footer__logo-img {
  height: 32px;
  width: auto;
}
.footer__logo-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--lugo-cream);
  letter-spacing: 0.02em;
}
.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(250, 246, 236, 0.55);
  line-height: 1.65;
  max-width: 240px;
}
.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--lugo-cream);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
}
.footer__link {
  font-size: var(--text-sm);
  color: rgba(250, 246, 236, 0.55);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--duration-fast) ease;
}
.footer__link:hover {
  color: var(--lugo-teal);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-7);
}
.footer__copy {
  font-size: var(--text-xs);
  color: rgba(250, 246, 236, 0.35);
  font-weight: 500;
}

/* --- Responsive */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__description {
    max-width: 100%;
  }
  .hero__store-buttons {
    align-items: center;
  }
  .hero__visual {
    margin-top: var(--space-8);
  }
  .hero__eyebrow {
    justify-content: center;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}
@media (max-width: 768px) {
  .nav__links {
    display: none;
  }
  .nav__cta .btn {
    display: none;
  }
  .nav__menu-toggle {
    display: flex;
  }
  .hero__inner {
    padding: var(--space-12) var(--container-pad);
  }
  .features__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .screenshots__mobile-grid {
    gap: var(--space-3);
  }
  .screenshot-frame {
    width: clamp(110px, 22vw, 160px);
  }
  .parents__cards {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .stories__categories {
    gap: var(--space-2);
  }
  .category-chip {
    min-width: 80px;
    padding: var(--space-3) var(--space-4);
  }
  .download__stores {
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
}
@media (max-width: 480px) {
  .features__grid {
    max-width: 100%;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .screenshot-frame {
    width: clamp(100px, 40vw, 150px);
  }
}
