/* ============================================================
   LUCIA Marketing Site Styles
   ============================================================ */

/* --- Announcement Bar --- */

.lc-announce {
  background: var(--lc-dark-1);
  color: var(--lc-text-light);
  text-align: center;
  padding: 10px var(--lc-space-4);
  font-size: var(--lc-text-micro);
  font-weight: var(--lc-fw-medium);
  letter-spacing: var(--lc-ls-label);
}

.lc-announce a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Navigation --- */

.lc-nav {
  position: relative;
  z-index: var(--lc-z-nav);
  padding: 0 var(--lc-space-10);
  height: var(--lc-nav-height);
  display: flex;
  align-items: center;
  background: var(--lc-dark-1);
}

/* nav scrolled state removed — nav is not fixed */

.lc-nav__inner {
  max-width: var(--lc-container-lg);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lc-nav__logo {
  display: flex;
  align-items: baseline;
  gap: var(--lc-space-2);
}

.lc-nav__wordmark {
  font-family: var(--lc-font);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--lc-text-light);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lc-nav__subtitle {
  font-size: var(--lc-text-nano);
  color: var(--lc-text-muted);
  letter-spacing: var(--lc-ls-label);
  text-transform: uppercase;
}

.lc-nav__links {
  display: flex;
  align-items: center;
  gap: var(--lc-space-8);
}

.lc-nav__link {
  font-size: var(--lc-text-small);
  font-weight: var(--lc-fw-medium);
  color: var(--lc-text-muted);
  transition: color var(--lc-duration-fast) ease;
}

.lc-nav__link:hover { color: var(--lc-text-light); }

.lc-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--lc-space-4);
}

.lc-nav__signin {
  font-size: var(--lc-text-small);
  font-weight: var(--lc-fw-medium);
  color: var(--lc-text-muted);
  transition: color var(--lc-duration-fast) ease;
}

.lc-nav__signin:hover { color: var(--lc-text-light); }

/* Mobile nav toggle */
.lc-nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--lc-text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Hero Section --- */

.lc-hero {
  position: relative;
  background: var(--lc-dark-1);
  overflow: hidden;
  padding: var(--lc-space-10) 0;
}

.lc-hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(133, 128, 123, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133, 128, 123, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.lc-hero__gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--lc-bg-1));
  pointer-events: none;
  z-index: 2;
}

.lc-hero__inner {
  position: relative;
  z-index: 3;
  max-width: var(--lc-container);
  margin: 0 auto;
  padding: 0 var(--lc-space-10);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--lc-space-10);
  align-items: center;
  min-height: calc(100vh - var(--lc-nav-height) - 40px - var(--lc-space-10) - var(--lc-space-10));
}

.lc-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--lc-space-8);
}

.lc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--lc-space-2);
  padding: 6px 14px;
  background: rgba(90, 138, 136, 0.12);
  border: 1px solid rgba(90, 138, 136, 0.25);
  border-radius: var(--lc-radius-pill);
  font-size: var(--lc-text-micro);
  font-weight: var(--lc-fw-medium);
  color: #B8CFCE;
  width: fit-content;
  letter-spacing: var(--lc-ls-label);
}

.lc-hero__title {
  font-size: var(--lc-text-display);
  line-height: var(--lc-lh-tight);
  letter-spacing: var(--lc-ls-display);
  color: var(--lc-text-light);
  font-weight: var(--lc-fw-bold);
}

.lc-hero__title em {
  font-style: normal;
  color: #B8CFCE;
}

.lc-hero__desc {
  font-size: var(--lc-text-body);
  line-height: var(--lc-lh-relaxed);
  color: var(--lc-text-muted);
  max-width: 480px;
}

.lc-hero__ctas {
  display: flex;
  gap: var(--lc-space-4);
  flex-wrap: wrap;
}

.lc-hero__trust {
  display: flex;
  gap: var(--lc-space-6);
  flex-wrap: nowrap;
  margin-top: var(--lc-space-4);
  white-space: nowrap;
}

.lc-hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--lc-space-2);
  font-size: var(--lc-text-nano);
  color: var(--lc-text-muted);
}

.lc-hero__trust-item i {
  color: var(--lc-green);
  font-size: 0.7rem;
}

/* Hero visual / illustration */
.lc-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lc-hero__illustration {
  width: 100%;
  max-width: 540px;
  aspect-ratio: 4/3;
  background: var(--lc-dark-2);
  border-radius: var(--lc-radius-md);
  border: 1px solid rgba(133, 128, 123, 0.15);
  overflow: hidden;
  position: relative;
}

/* Dashed arc decorations in hero */
.lc-hero__arc {
  position: absolute;
  border: 1px dashed rgba(133, 128, 123, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.lc-hero__arc--1 {
  width: 300px; height: 300px;
  top: 20%; right: -5%;
}

.lc-hero__arc--2 {
  width: 200px; height: 200px;
  bottom: 10%; right: 15%;
}

/* --- Section Base --- */

.lc-section {
  padding: var(--lc-space-24) 0;
  position: relative;
}

.lc-section--dark {
  background: var(--lc-dark-1);
  color: var(--lc-text-light);
}

.lc-section__inner {
  max-width: var(--lc-container);
  margin: 0 auto;
  padding: 0 var(--lc-space-10);
}

.lc-section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--lc-space-16);
}

.lc-section__eyebrow {
  font-size: var(--lc-text-micro);
  font-weight: var(--lc-fw-medium);
  letter-spacing: var(--lc-ls-tag);
  text-transform: uppercase;
  color: var(--lc-accent);
  margin-bottom: var(--lc-space-4);
}

.lc-section__title {
  font-size: var(--lc-text-h2);
  line-height: var(--lc-lh-heading);
  letter-spacing: var(--lc-ls-h2);
  margin-bottom: var(--lc-space-4);
}

.lc-section__subtitle {
  font-size: var(--lc-text-body);
  line-height: var(--lc-lh-body);
  color: var(--lc-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Problem Section --- */

.lc-problems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lc-space-6);
}

.lc-problem-card {
  background: var(--lc-bg-2);
  border-radius: var(--lc-radius-md);
  padding: var(--lc-space-8);
  display: flex;
  flex-direction: column;
  gap: var(--lc-space-4);
  transition: background var(--lc-duration-fast) ease-in-out;
}

.lc-problem-card:hover { background: var(--lc-bg-4); }

.lc-problem-card__icon {
  width: 48px;
  height: 48px;
  background: var(--lc-bg-3);
  border-radius: var(--lc-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--lc-text-secondary);
}

.lc-problem-card__title {
  font-size: var(--lc-text-h4);
  letter-spacing: var(--lc-ls-h3);
  font-weight: var(--lc-fw-semibold);
}

.lc-problem-card__desc {
  font-size: var(--lc-text-small);
  line-height: var(--lc-lh-body);
  color: var(--lc-text-secondary);
}

.lc-problem-card__stat {
  font-family: var(--lc-font-mono);
  font-size: var(--lc-text-h5);
  font-weight: var(--lc-fw-bold);
  color: var(--lc-red);
  padding-top: var(--lc-space-4);
  border-top: 1px solid var(--lc-border);
}

.lc-problem-card__stat-label {
  font-family: var(--lc-font);
  font-size: var(--lc-text-nano);
  font-weight: var(--lc-fw-regular);
  color: var(--lc-text-muted);
  margin-top: var(--lc-space-1);
}

.lc-problem-bottom {
  text-align: center;
  margin-top: var(--lc-space-10);
  font-size: var(--lc-text-body);
  color: var(--lc-text-secondary);
  font-style: italic;
}

/* --- Platform / Module Cards --- */

.lc-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lc-space-6);
  position: relative;
}

.lc-module-card {
  background: var(--lc-bg-2);
  border-radius: var(--lc-radius-md);
  padding: var(--lc-space-8);
  display: flex;
  flex-direction: column;
  gap: var(--lc-space-6);
  transition: background var(--lc-duration-fast) ease-in-out;
  position: relative;
  overflow: hidden;
}

.lc-module-card:hover { background: var(--lc-bg-4); }

.lc-module-card__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--lc-radius-pill);
  font-size: var(--lc-text-nano);
  font-weight: var(--lc-fw-medium);
  letter-spacing: var(--lc-ls-label);
  text-transform: uppercase;
  background: var(--lc-accent-light);
  color: var(--lc-accent);
  width: fit-content;
}

.lc-module-card__number {
  font-family: var(--lc-font-mono);
  font-size: var(--lc-text-nano);
  color: var(--lc-text-muted);
  position: absolute;
  top: var(--lc-space-6);
  right: var(--lc-space-6);
}

.lc-module-card__title {
  font-size: var(--lc-text-h3);
  letter-spacing: var(--lc-ls-h3);
  font-weight: var(--lc-fw-semibold);
}

.lc-module-card__desc {
  font-size: var(--lc-text-small);
  line-height: var(--lc-lh-body);
  color: var(--lc-text-secondary);
}

.lc-module-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--lc-space-3);
  padding-top: var(--lc-space-4);
  border-top: 1px solid var(--lc-border);
}

.lc-module-card__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--lc-space-3);
  font-size: var(--lc-text-micro);
  color: var(--lc-text-secondary);
  line-height: 1.5;
}

.lc-module-card__feature i {
  color: var(--lc-green);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.7rem;
}

.lc-module-card__link {
  font-size: var(--lc-text-small);
  font-weight: var(--lc-fw-medium);
  color: var(--lc-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--lc-space-2);
  margin-top: auto;
  transition: gap var(--lc-duration-fast) ease;
}

.lc-module-card__link:hover { gap: var(--lc-space-3); }

/* --- How It Works Timeline --- */

.lc-timeline {
  display: flex;
  gap: var(--lc-space-6);
  position: relative;
}

.lc-timeline::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--lc-line-dash-h);
  mask-image: var(--lc-line-mask);
  -webkit-mask-image: var(--lc-line-mask);
}

.lc-timeline__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--lc-space-4);
  position: relative;
}

.lc-timeline__number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--lc-bg-2);
  border: 2px solid var(--lc-border-solid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--lc-font-mono);
  font-size: var(--lc-text-h4);
  font-weight: var(--lc-fw-bold);
  color: var(--lc-accent);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.lc-timeline__title {
  font-size: var(--lc-text-h4);
  font-weight: var(--lc-fw-semibold);
  letter-spacing: var(--lc-ls-h3);
}

.lc-timeline__desc {
  font-size: var(--lc-text-small);
  line-height: var(--lc-lh-body);
  color: var(--lc-text-secondary);
}

/* --- Stats / By the Numbers --- */

.lc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--lc-space-6);
}

.lc-stat {
  text-align: center;
  padding: var(--lc-space-8) var(--lc-space-4);
}

.lc-stat__before {
  font-family: var(--lc-font-mono);
  font-size: var(--lc-text-h5);
  color: var(--lc-text-muted);
  text-decoration: line-through;
  margin-bottom: var(--lc-space-2);
}

.lc-stat__number {
  font-family: var(--lc-font-mono);
  font-size: var(--lc-text-h1);
  font-weight: var(--lc-fw-bold);
  letter-spacing: var(--lc-ls-h1);
  line-height: 1;
  margin-bottom: var(--lc-space-3);
}

.lc-stat__number--accent { color: var(--lc-accent); }

.lc-stat__label {
  font-size: var(--lc-text-micro);
  color: var(--lc-text-secondary);
  line-height: 1.4;
}

/* --- Audience Tabs --- */

.lc-tabs {
  display: flex;
  gap: var(--lc-space-2);
  justify-content: center;
  margin-bottom: var(--lc-space-10);
  flex-wrap: wrap;
}

.lc-tab {
  padding: 10px 20px;
  border-radius: var(--lc-radius-pill);
  font-size: var(--lc-text-small);
  font-weight: var(--lc-fw-medium);
  background: var(--lc-bg-2);
  color: var(--lc-text-secondary);
  border: none;
  cursor: pointer;
  transition: all var(--lc-duration-fast) ease;
}

.lc-tab:hover { background: var(--lc-bg-3); color: var(--lc-text); }
.lc-tab.active { background: var(--lc-dark-1); color: var(--lc-text-light); }

.lc-tab-panel { display: none; }
.lc-tab-panel.active { display: block; }

.lc-tab-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--lc-space-10);
  align-items: center;
}

.lc-tab-features {
  display: flex;
  flex-direction: column;
  gap: var(--lc-space-4);
}

.lc-tab-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--lc-space-3);
  font-size: var(--lc-text-small);
  line-height: 1.6;
  color: var(--lc-text-secondary);
}

.lc-tab-feature i {
  color: var(--lc-accent);
  margin-top: 4px;
  flex-shrink: 0;
}

.lc-tab-visual {
  background: var(--lc-bg-2);
  border-radius: var(--lc-radius-md);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lc-text-muted);
  font-size: var(--lc-text-micro);
}

/* --- Security Grid --- */

.lc-security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lc-space-6);
}

.lc-security-item {
  display: flex;
  align-items: flex-start;
  gap: var(--lc-space-4);
  padding: var(--lc-space-6);
  background: var(--lc-bg-2);
  border-radius: var(--lc-radius-md);
}

.lc-security-item__icon {
  width: 40px;
  height: 40px;
  background: var(--lc-green-light);
  border-radius: var(--lc-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lc-green);
  flex-shrink: 0;
}

.lc-security-item__title {
  font-size: var(--lc-text-small);
  font-weight: var(--lc-fw-semibold);
  margin-bottom: var(--lc-space-1);
}

.lc-security-item__desc {
  font-size: var(--lc-text-micro);
  color: var(--lc-text-secondary);
  line-height: 1.5;
}

/* --- CTA Section --- */

.lc-cta {
  background: var(--lc-dark-1);
  padding: var(--lc-space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lc-cta__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(133, 128, 123, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133, 128, 123, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.lc-cta__inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--lc-space-10);
}

.lc-cta__title {
  font-size: var(--lc-text-h2);
  line-height: var(--lc-lh-heading);
  letter-spacing: var(--lc-ls-h2);
  color: var(--lc-text-light);
  margin-bottom: var(--lc-space-4);
}

.lc-cta__desc {
  font-size: var(--lc-text-body);
  color: var(--lc-text-muted);
  margin-bottom: var(--lc-space-8);
  line-height: var(--lc-lh-body);
}

.lc-cta__buttons {
  display: flex;
  justify-content: center;
  gap: var(--lc-space-4);
  flex-wrap: wrap;
}

/* --- Footer --- */

.lc-footer {
  background: var(--lc-dark-1);
  padding: var(--lc-space-16) 0 var(--lc-space-8);
  border-top: 1px solid rgba(133, 128, 123, 0.15);
}

.lc-footer__inner {
  max-width: var(--lc-container);
  margin: 0 auto;
  padding: 0 var(--lc-space-10);
}

.lc-footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: var(--lc-space-10);
  padding-bottom: var(--lc-space-12);
  border-bottom: 1px solid rgba(133, 128, 123, 0.15);
}

.lc-footer__brand-desc {
  font-size: var(--lc-text-micro);
  color: var(--lc-text-muted);
  line-height: 1.6;
  max-width: 280px;
  margin-top: var(--lc-space-4);
}

.lc-footer__col-title {
  font-size: var(--lc-text-micro);
  font-weight: var(--lc-fw-semibold);
  color: var(--lc-text-light);
  margin-bottom: var(--lc-space-4);
  letter-spacing: var(--lc-ls-label);
  text-transform: uppercase;
}

.lc-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--lc-space-3);
}

.lc-footer__link {
  font-size: var(--lc-text-micro);
  color: var(--lc-text-muted);
  transition: color var(--lc-duration-fast) ease;
}

.lc-footer__link:hover { color: var(--lc-text-light); }

.lc-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--lc-space-8);
}

.lc-footer__copyright {
  font-size: var(--lc-text-nano);
  color: var(--lc-text-muted);
}

/* --- Responsive --- */

@media (max-width: 1024px) {
  .lc-hero__inner { grid-template-columns: 1fr; text-align: center; }
  .lc-hero__content { align-items: center; }
  .lc-hero__desc { margin: 0 auto; }
  .lc-hero__ctas { justify-content: center; }
  .lc-hero__trust { justify-content: center; }
  .lc-hero__visual { margin-top: var(--lc-space-10); }

  .lc-problems { grid-template-columns: 1fr; }
  .lc-modules { grid-template-columns: 1fr; }
  .lc-timeline { flex-direction: column; }
  .lc-timeline::before { display: none; }
  .lc-stats { grid-template-columns: repeat(2, 1fr); }
  .lc-tab-content { grid-template-columns: 1fr; }
  .lc-security-grid { grid-template-columns: 1fr; }

  .lc-nav__links { display: none; }
  .lc-nav__toggle { display: block; }

  .lc-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--lc-space-8); }
}

@media (max-width: 768px) {
  .lc-hero { padding: var(--lc-space-8) 0; }
  .lc-section { padding: var(--lc-space-16) 0; }
  .lc-stats { grid-template-columns: 1fr; }
  .lc-footer__grid { grid-template-columns: 1fr; }
  .lc-footer__bottom { flex-direction: column; gap: var(--lc-space-4); text-align: center; }
}

/* ============================================================
   MOTION SYSTEM — keyframes and enhancements
   ============================================================ */

/* Grid background drift — very slow diagonal movement */
@keyframes lc-grid-drift {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* Hero illustration float — subtle 4px bob */
@keyframes lc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Stat strikethrough animation */
.lc-stat__before {
  position: relative;
  text-decoration: none;
}

.lc-stat__before::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1.5px;
  background: var(--lc-text-secondary);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.lc-stat__before--struck::after {
  width: 100%;
}

/* Nav link underline on hover */
.lc-nav__link {
  position: relative;
}

.lc-nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--lc-text-light);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lc-nav__link:hover::after {
  width: 100%;
}

/* Module card link arrow slide */
.lc-module-card__link i {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lc-module-card__link:hover i {
  transform: translateX(4px);
}

/* Security item icon gentle pulse on hover */
.lc-security-item:hover .lc-security-item__icon {
  transform: scale(1.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Timeline number pulse on visible */
.lc-timeline__number {
  transition: box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.lc-timeline__step[style*="opacity: 1"] .lc-timeline__number {
  box-shadow: 0 0 0 4px var(--lc-accent-light);
}

/* Tab transition override (JS handles, but set base) */
.lc-tab-panel {
  display: none;
}
.lc-tab-panel.active {
  display: block;
}

/* Footer link hover slide */
.lc-footer__link {
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.lc-footer__link:hover {
  transform: translateX(2px);
}

/* Button hover — lift + subtle shadow */
.lc-btn--lg:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(90, 138, 136, 0.15);
}

.lc-btn--lg {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* CTA section — gradient overlay shimmer */
.lc-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(90, 138, 136, 0.03), transparent);
  animation: lc-shimmer-cta 12s ease-in-out infinite;
  pointer-events: none;
}

@keyframes lc-shimmer-cta {
  0% { left: -50%; }
  50% { left: 100%; }
  100% { left: -50%; }
}

/* Reduced motion — kill all animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
