/* ============================================
   COMPONENTS — Global resets, layout, UI
   ============================================ */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* ---- Focus ---- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  top: calc(-1 * var(--space-12));
  left: var(--space-4);
  background: var(--accent);
  color: var(--bg-dark);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-btn);
  font-weight: 700;
  z-index: 100;
  transition: top var(--duration-fast) var(--ease-lando);
}

.skip-link:focus {
  top: var(--space-4);
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

/* ---- Sections ---- */
.section {
  padding-block: var(--section-py);
  position: relative;
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section--light {
  background: var(--bg-light);
  color: var(--text-on-light);
}

.section--darker {
  background: var(--bg-darker);
  color: var(--text-on-dark);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-lando),
              box-shadow var(--duration-fast) var(--ease-lando);
}

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

.btn--primary {
  background: var(--accent);
  color: var(--bg-dark);
}

.btn--primary:hover {
  box-shadow: 0 0 32px var(--accent-dim);
}

.btn--ghost {
  background: transparent;
  color: var(--text-on-dark);
  border: 1px solid var(--text-on-dark-muted);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---- Label ---- */
.label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.label--on-light {
  color: var(--text-on-light-muted);
}

/* ---- Headings ---- */
.heading--hero {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.heading--section {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-12);
}

/* ---- Text utilities ---- */
.text-accent {
  color: var(--accent);
}

.text-muted {
  color: var(--text-on-dark-muted);
}

.text-muted--light {
  color: var(--text-on-light-muted);
}

.text-center {
  text-align: center;
}

.color-on-light {
  color: var(--text-on-light);
}

.mt-4 {
  margin-top: var(--space-4);
}


/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: var(--hero-min-h);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.ghost__letter {
  font-family: var(--font-display);
  font-size: var(--text-ghost);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  opacity: 0.04;
  will-change: transform;
}

.ghost__letter--space {
  width: 0.3em;
}

.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero__glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  padding-inline: var(--space-6);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--text-on-dark-muted);
  margin-top: var(--space-6);
  margin-bottom: var(--space-10);
  max-width: 540px;
  margin-inline: auto;
  line-height: 1.5;
}

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


/* ============================================
   MARQUEE
   ============================================ */

.marquee {
  padding-block: var(--space-6);
  border-top: 1px solid var(--accent-dim);
  border-bottom: 1px solid var(--accent-dim);
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  flex-shrink: 0;
  padding-inline: var(--space-10);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-on-dark-muted);
  white-space: nowrap;
  transition: color var(--duration-fast) var(--ease-lando);
}

.marquee__item:hover {
  color: var(--accent);
}

.marquee__separator {
  flex-shrink: 0;
  padding-inline: var(--space-2);
  color: var(--accent-dim);
  font-size: var(--text-xl);
  display: flex;
  align-items: center;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ============================================
   COMPARE — Problem vs Solution
   ============================================ */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  max-width: 960px;
  margin-inline: auto;
}

@media (max-width: 640px) {
  .compare {
    grid-template-columns: 1fr;
  }
}

.compare__column {
  padding: var(--space-8);
  border-radius: var(--radius-card);
  border: 1px solid;
}

.compare__old {
  border-color: var(--text-on-dark-muted);
}

.compare__new {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.compare__heading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
}

.compare__old .compare__heading {
  color: var(--text-on-dark-muted);
}

.compare__new .compare__heading {
  color: var(--accent);
}

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

.compare__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  line-height: 1.4;
}

.compare__icon {
  flex-shrink: 0;
  font-size: var(--text-lg);
  line-height: 1.4;
}

.compare__old .compare__icon {
  color: var(--text-on-dark-muted);
}

.compare__new .compare__icon {
  color: var(--accent);
}


/* ============================================
   STEPS — How It Works
   ============================================ */

/* ============================================
   STEPS — Lando "On Socials" fan layout
   ============================================ */

.steps-section {
  padding-block: var(--space-24) var(--space-16);
  overflow: hidden;
}

/* Header — Lando dual-weight heading */
.steps-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.steps-header__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 2.5rem + 6vw, 8rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--text-on-light);
  margin: 0;
}

/* Line 1: condensed bold */
.steps-header__bold {
  display: block;
  font-variation-settings: "wght" 800, "wdth" 85;
  letter-spacing: -0.04em;
}

/* Line 2: wider, lighter */
.steps-header__accent {
  display: block;
  font-variation-settings: "wght" 450, "wdth" 115;
  letter-spacing: 0.01em;
  color: var(--lime-off);
}

/* Fan container */
.steps-fan {
  display: flex;
  justify-content: center;
  padding-block: var(--space-4) var(--space-16);
}

.steps-fan__cards {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 480px;
}

/* Cards — portrait, dark bg with accent gradient, big radius */
.step-card {
  position: absolute;
  width: 260px;
  height: 380px;
  padding: var(--space-8) var(--space-6);
  background: linear-gradient(160deg, var(--bg-card-dark) 0%, var(--bg-dark) 100%);
  border: 1px solid rgba(210, 255, 0, 0.08);
  border-radius: var(--radius-card-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
  transform-origin: bottom center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Fan spread */
.step-card--1 {
  left: 50%;
  transform: translate(-150%, 8px) rotate(-10deg);
  z-index: 1;
}

.step-card--2 {
  left: 50%;
  transform: translate(-50%, -12px) rotate(0deg);
  z-index: 3;
}

.step-card--3 {
  left: 50%;
  transform: translate(50%, 8px) rotate(10deg);
  z-index: 2;
}

/* Hover — lift + glow */
.step-card:hover {
  z-index: 10;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.25),
              0 0 40px rgba(210, 255, 0, 0.06);
  border-color: rgba(210, 255, 0, 0.2);
}

.step-card--1:hover { transform: translate(-150%, -8px) rotate(-6deg) scale(1.03); }
.step-card--2:hover { transform: translate(-50%, -28px) rotate(0deg) scale(1.03); }
.step-card--3:hover { transform: translate(50%, -8px) rotate(6deg) scale(1.03); }

.step-card__number {
  font-family: var(--font-display);
  font-variation-settings: "wght" 700, "wdth" 75;
  font-size: clamp(4.5rem, 3.5rem + 3vw, 7rem);
  color: var(--lime-off);
  opacity: 0.2;
  line-height: 0.8;
  margin-bottom: auto;
}

.step-card__title {
  font-family: var(--font-display);
  font-variation-settings: "wght" 750, "wdth" 93;
  font-size: var(--text-xl);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--text-on-dark);
  margin-bottom: var(--space-3);
  line-height: 1.1;
}

.step-card__desc {
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
  line-height: 1.55;
}

/* CTA under cards — like Lando's "Follow on social media" */
.steps-cta {
  text-align: center;
}

.steps-cta__text {
  font-family: var(--font-display);
  font-variation-settings: "wght" 500, "wdth" 100;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  color: var(--text-on-light-muted);
  margin-bottom: var(--space-6);
  letter-spacing: -0.01em;
}

.btn--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-btn);
  font-size: var(--text-sm);
  font-family: var(--font-display);
  font-variation-settings: "wght" 660, "wdth" 93;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background var(--duration-fast) var(--ease-lando),
              box-shadow var(--duration-fast) var(--ease-lando);
  display: inline-block;
}

.btn--dark:hover {
  background: var(--text-on-light);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* Mobile — stack, no fan */
@media (max-width: 768px) {
  .steps-fan__cards {
    position: static;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    height: auto;
  }

  .step-card {
    position: static;
    width: 100%;
    max-width: 360px;
    height: auto;
    min-height: 240px;
    transform: none !important;
  }

  .step-card:hover {
    transform: translateY(-6px) scale(1.01) !important;
  }

  .steps-header {
    margin-bottom: var(--space-8);
  }

  .steps-fan {
    padding-block: 0 var(--space-10);
  }

  .steps-header__title {
    font-size: clamp(2.5rem, 2rem + 4vw, 4.5rem);
  }
}


/* ============================================
   PORTFOLIO — Horizontal Scroll Gallery
   ============================================ */

.portfolio {
  overflow: hidden;
  margin-top: calc(-1 * var(--space-4));
}

.portfolio__track {
  display: flex;
  gap: var(--space-6);
  padding-inline: var(--space-6);
  will-change: transform;
}

.portfolio__card {
  flex-shrink: 0;
  width: clamp(280px, 35vw, 450px);
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-darker);
  border: 1px solid var(--accent-dim);
  transition: transform var(--duration-fast) var(--ease-lando);
}

.portfolio__card:hover {
  transform: scale(1.02);
}

.portfolio__img-wrap {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
}

.portfolio__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-default) var(--ease-lando);
}

.portfolio__card:hover .portfolio__img-wrap img {
  transform: scale(1.05);
}

.portfolio__info {
  padding: var(--space-5) var(--space-6);
}

.portfolio__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.portfolio__desc {
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
}


/* ============================================
   FEATURES — Grid
   ============================================ */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: 960px;
  margin-inline: auto;
}

@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature {
  padding: var(--space-6);
  border-radius: var(--radius-card);
  border: 1px solid var(--text-on-light-muted);
  transition: border-color var(--duration-fast) var(--ease-lando),
              transform var(--duration-fast) var(--ease-lando);
}

.feature:hover {
  border-color: var(--text-on-light);
  transform: translateY(-2px);
}

.feature__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  background: var(--bg-dark);
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.feature__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-on-light);
  margin-bottom: var(--space-2);
}

.feature__desc {
  font-size: var(--text-sm);
  color: var(--text-on-light-muted);
  line-height: 1.5;
}


/* ============================================
   PRICING — Single Card
   ============================================ */

.pricing {
  max-width: 480px;
  margin-inline: auto;
  text-align: center;
  padding: var(--space-12) var(--space-8);
  border-radius: var(--radius-card);
  border: 1px solid var(--accent);
  background: var(--accent-glow);
}

.pricing__badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-4);
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg-dark);
  margin-bottom: var(--space-8);
}

.pricing__prices {
  margin-bottom: var(--space-6);
}

.pricing__old {
  display: block;
  font-size: var(--text-lg);
  color: var(--text-on-dark-muted);
  text-decoration: line-through;
  margin-bottom: var(--space-2);
}

.pricing__current {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.pricing__desc {
  font-size: var(--text-base);
  color: var(--text-on-dark-muted);
  margin-bottom: var(--space-8);
  max-width: 360px;
  margin-inline: auto;
  line-height: 1.5;
}

.pricing__features {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

.pricing__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  line-height: 1.4;
}

.pricing__check {
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 700;
}

.pricing__cta {
  width: 100%;
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.pricing__secondary {
  display: inline-block;
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
  transition: color var(--duration-fast) var(--ease-lando);
}

.pricing__installments {
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
  margin-top: var(--space-3);
  letter-spacing: 0.02em;
}

.pricing__secondary:hover {
  color: var(--accent);
}

/* ---- Subscription teaser ---- */
.subscription-teaser {
  max-width: 480px;
  margin-inline: auto;
  margin-top: var(--space-10);
  text-align: center;
  padding: var(--space-6) var(--space-8);
  border-radius: var(--radius-card);
  border: 1px dashed var(--accent-dim);
  background: var(--accent-glow);
}

.subscription-teaser__badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.subscription-teaser__text {
  font-size: var(--text-base);
  color: var(--text-on-dark);
  line-height: 1.5;
}

.subscription-teaser__text strong {
  color: var(--accent);
  font-family: var(--font-display);
  font-variation-settings: "wght" 700, "wdth" 93;
}

.subscription-teaser__sub {
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
  margin-top: var(--space-2);
  line-height: 1.5;
}


/* ============================================
   FAQ — Accordion
   ============================================ */

.faq {
  max-width: 720px;
  margin-inline: auto;
}

.faq__item {
  border-bottom: 1px solid var(--text-on-light-muted);
}

.faq__item:first-child {
  border-top: 1px solid var(--text-on-light-muted);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-5) 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-on-light);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::marker {
  display: none;
  content: '';
}

.faq__question::after {
  content: '+';
  flex-shrink: 0;
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--text-on-light-muted);
  transition: transform var(--duration-fast) var(--ease-lando);
  margin-left: var(--space-4);
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  padding-bottom: var(--space-6);
}

.faq__answer p {
  font-size: var(--text-base);
  color: var(--text-on-light-muted);
  line-height: 1.6;
  max-width: 600px;
}


/* ============================================
   FINAL CTA
   ============================================ */

/* Final CTA removed — merged into Lando-style footer (v2.css) */


/* Footer styles moved to v2.css (Lando-style) */

@media (max-width: 640px) {
  .heading--section {
    margin-bottom: var(--space-8);
  }

  .portfolio__card {
    width: clamp(260px, 75vw, 320px);
  }

  .pricing {
    padding: var(--space-8) var(--space-6);
  }
}
