/* ========================================================
   HOMEPAGE — Editorial "Hogar"
   50&50 Property · Chile
   --------------------------------------------------------
   Inter throughout. Hierarchy through weight and color, with
   italic kept only on hero title emphasis as a subtle accent.
   ======================================================== */

:root {
  --display: 'Inter', system-ui, -apple-system, sans-serif;
  --line-soft: rgba(255, 255, 255, 0.06);
  --line-mid:  rgba(255, 255, 255, 0.12);
  --surface:   rgba(17, 24, 39, 0.55);
  --surface-2: rgba(17, 24, 39, 0.4);
}

/* ===== Scroll reveal ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].shown { opacity: 1; transform: translateY(0); }
[data-reveal="1"] { transition-delay: 0.08s; }
[data-reveal="2"] { transition-delay: 0.16s; }
[data-reveal="3"] { transition-delay: 0.24s; }

/* ===== Eyebrow (editorial kicker) ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.55);
}

/* ===== Display headings ===== */
.homepage h1,
.homepage h2,
.homepage h3,
.homepage .featured-card__price,
.homepage .feed-grid .prop-price,
.homepage .trust__stats dd,
.homepage .how__num,
.landing h1,
.landing h2,
.landing h3,
.landing .how__num {
  font-family: var(--display);
}
.homepage h1 em,
.homepage h2 em,
.homepage h3 em,
.landing h1 em,
.landing h2 em,
.landing h3 em {
  font-style: italic;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: -0.005em;
}

/* ============================================================
   § HERO
   ============================================================ */
.hero {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 3.5rem 1.75rem 2rem;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.5rem;
  align-items: center;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: hero-fade 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes hero-fade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__title {
  font-size: clamp(2.6rem, 5.4vw, 4.7rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 1.4rem;
}
.hero__title em {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(115deg, var(--primary-light) 0%, var(--secondary) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}
.hero__sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero__checks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
  width: 100%;
}
.hero__checks li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-family: 'Inter', system-ui, sans-serif;
}
.hero__checks svg {
  color: var(--primary-light);
  flex-shrink: 0;
}

/* ===== Featured card on hero ===== */
.hero__panel {
  perspective: 1200px;
}
.featured-card {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-soft);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    box-shadow 0.5s ease;
  text-decoration: none;
  color: inherit;
  animation: card-rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}
@keyframes card-rise {
  from { opacity: 0; transform: translateY(22px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.featured-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-mid);
  box-shadow:
    0 36px 96px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(124, 58, 237, 0.08);
}
.featured-card__media {
  position: relative;
  aspect-ratio: 4 / 3.2;
  overflow: hidden;
}
.featured-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.featured-card:hover .featured-card__media img { transform: scale(1.06); }
.featured-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 15, 26, 0.55) 100%);
  pointer-events: none;
}
.featured-card__badge {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  padding: 0.42rem 0.9rem;
  border-radius: 100px;
  background: rgba(11, 15, 26, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.13);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  z-index: 1;
}
.featured-card__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 10px var(--primary-light);
}
.featured-card__body {
  padding: 1.5rem 1.6rem 1.7rem;
}
.featured-card__loc {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.featured-card__title {
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: var(--text-primary);
  letter-spacing: -0.018em;
}
.featured-card__price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: -0.022em;
  margin: 0;
}
.featured-card__price small {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 0.25em;
  letter-spacing: 0;
}

/* ============================================================
   § SEARCH
   ============================================================ */
.search {
  position: relative;
  z-index: 3;
  max-width: var(--container);
  margin: 0.5rem auto 0;
  padding: 0 1.75rem;
}
.search__form {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: stretch;
  background: rgba(11, 15, 26, 0.8);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--line-mid);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.search__form:focus-within {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.42),
    0 0 40px rgba(124, 58, 237, 0.12);
}
.search__field {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0.85rem 1.15rem 0.95rem;
  border-left: 1px solid var(--line-soft);
  transition: background 0.3s ease;
}
.search__field:first-child { border-left: none; }
.search__field::after {
  /* editorial focus accent — gradient bar under the field */
  content: '';
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 0.45rem;
  height: 1px;
  background: linear-gradient(90deg, var(--primary-light), var(--secondary));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.search__field:focus-within::after {
  opacity: 0.7;
  transform: scaleX(1);
}
.search__field label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0;
  transition: color 0.3s ease;
}
.search__field input,
.search__field select {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0;
  width: 100%;
}
.search__field input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

/* Custom select chevron (replace native) */
.search__field select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 1.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a78bfa' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 11px;
}
.search__field select option {
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, sans-serif;
  padding: 0.5rem;
}
.search__field:focus-within label { color: var(--primary-light); }

.search__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 1.85rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border-left: 1px solid var(--line-mid);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.search__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.search__btn:hover::before { transform: translateX(100%); }
.search__btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: 0 0 28px rgba(124, 58, 237, 0.45);
}

.search__meta {
  margin-top: 0.95rem;
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-muted);
  font-family: 'Inter', system-ui, sans-serif;
}
.search__meta span {
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================================
   § SECTION SHARED
   ============================================================ */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4rem 1.75rem 2rem;
}
.section--feed { padding-top: 3.5rem; }
.section--how  { padding-top: 4.5rem; }
.section--trust { padding-top: 3.5rem; }
.section--cta { padding: 4rem 1.75rem 2rem; }

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.25rem;
}
.section__head > div { max-width: 580px; }
.section__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.section__head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}
.section__sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 0.55rem;
  max-width: 480px;
}
.section__head--center .section__sub { margin: 0.45rem auto 0; }

.link-more {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  padding-bottom: 0.35rem;
  transition: color 0.3s, gap 0.3s;
}
.link-more__arrow {
  color: var(--primary-light);
  transition: transform 0.3s;
  display: inline-block;
}
.link-more:hover {
  color: var(--text-primary);
  gap: 0.7rem;
}
.link-more:hover .link-more__arrow { transform: translateX(3px); }

/* ============================================================
   § FEED — property listings
   ============================================================ */
.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.feed-grid .prop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: var(--surface-2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    box-shadow 0.5s ease;
}
.feed-grid .prop-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-mid);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
}
.feed-grid .prop-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.feed-grid .prop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.feed-grid .prop-card:hover .prop-img img { transform: scale(1.06); }

.feed-grid .prop-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  padding: 0.32rem 0.78rem;
  border-radius: 100px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2;
}
.feed-grid .prop-badge.arriendo {
  color: #67e8f9;
  background: rgba(6, 182, 212, 0.18);
  border: 1px solid rgba(6, 182, 212, 0.32);
}
.feed-grid .prop-badge.venta {
  color: #fbcfe8;
  background: rgba(244, 114, 182, 0.18);
  border: 1px solid rgba(244, 114, 182, 0.32);
}
.feed-grid .prop-badge.premium {
  color: var(--primary-light);
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(124, 58, 237, 0.32);
}

.feed-grid .prop-body {
  padding: 1.25rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.feed-grid .prop-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.55rem;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}
.feed-grid .prop-loc {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}
.feed-grid .prop-loc svg {
  color: var(--primary-light);
  flex-shrink: 0;
}
.feed-grid .prop-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.feed-grid .prop-specs span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.feed-grid .prop-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.2rem;
}
.feed-grid .prop-price {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-light);
  letter-spacing: -0.022em;
}
.feed-grid .prop-price small {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 0.25em;
}
.feed-grid .prop-arrow {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.18);
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  transition: all 0.4s ease;
  flex-shrink: 0;
}
.feed-grid .prop-card:hover .prop-arrow {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateX(3px);
}
.feed-grid .loading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

/* ============================================================
   § HOW IT WORKS
   ============================================================ */
.how {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.how__step {
  position: relative;
  padding: 2rem 1.8rem 1.85rem;
  background: var(--surface-2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}
.how__step:hover {
  transform: translateY(-5px);
  border-color: var(--line-mid);
}
.how__num {
  font-size: 2.2rem;
  font-style: normal;
  font-weight: 700;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 1.1rem;
  letter-spacing: -0.035em;
  opacity: 0.9;
  font-feature-settings: "tnum";
}
.how__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.18);
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.how__step:nth-child(2) .how__num,
.how__step:nth-child(2) .how__icon { color: var(--secondary); }
.how__step:nth-child(2) .how__icon {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.18);
}
.how__step:nth-child(3) .how__num,
.how__step:nth-child(3) .how__icon { color: var(--accent); }
.how__step:nth-child(3) .how__icon {
  background: rgba(244, 114, 182, 0.08);
  border-color: rgba(244, 114, 182, 0.18);
}
.how__step h3 {
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.55rem;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}
.how__step p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   § TRUST
   ============================================================ */
.trust {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}
.trust__lead { padding: 0.25rem 0; }
.trust__lead h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.15rem;
}
.trust__lead > p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 460px;
}
.trust__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.trust__stats div {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.trust__stats dd {
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.032em;
  margin: 0;
  font-feature-settings: "tnum";
}
.trust__stats dt {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust__list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}
.trust__card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  padding: 1.4rem 1.5rem;
  background: var(--surface-2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  transition: border-color 0.3s ease, transform 0.4s ease;
  align-items: flex-start;
}
.trust__card:hover {
  border-color: var(--line-mid);
  transform: translateX(4px);
}
.trust__card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.18);
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust__card:nth-child(2) .trust__card-icon {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.18);
  color: var(--secondary);
}
.trust__card:nth-child(3) .trust__card-icon {
  background: rgba(244, 114, 182, 0.08);
  border-color: rgba(244, 114, 182, 0.18);
  color: var(--accent);
}
.trust__card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
  letter-spacing: -0.012em;
}
.trust__card p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   § CTA
   ============================================================ */
.cta {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: 3.75rem 2.5rem;
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.1), transparent 60%, rgba(6, 182, 212, 0.06)),
    var(--surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line-mid);
  border-radius: 28px;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%; right: -20%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.14), transparent 60%);
  pointer-events: none;
  animation: cta-glow 9s ease-in-out infinite;
}
@keyframes cta-glow {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 0.95; }
}
.cta h2 {
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  position: relative;
}
.cta p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 540px;
  margin: 0 auto 1.85rem;
  position: relative;
}
.cta__actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ============================================================
   § RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__panel { max-width: 580px; width: 100%; margin: 0 auto; }
  .feed-grid { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: 1fr; gap: 2rem; }
  .how { grid-template-columns: 1fr; gap: 1rem; }
  .how__step { padding: 1.6rem 1.5rem 1.4rem; }
}

@media (max-width: 768px) {
  /* Bigger horizontal breathing room — was 1rem (16px), now 1.5rem (24px).
     Combined with constrained inner widths below, the hero feels "floating"
     in the middle of the viewport instead of touching the edges. */
  .hero { padding: 2.25rem 1.5rem 1.5rem; }
  /* Center the hero copy on mobile so the title + paragraph + CTAs sit in the
     middle of the viewport. */
  .hero__copy { align-items: center; text-align: center; }
  .hero__sub  { margin-left: auto; margin-right: auto; max-width: 38ch; }
  .hero__actions { justify-content: center; gap: 0.75rem; flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; margin-left: auto; margin-right: auto; }
  .hero__actions .btn { justify-content: center; width: 100%; }
  .hero__title { font-size: clamp(2.1rem, 8vw, 2.8rem); line-height: 1.05; }
  .hero__sub { font-size: 1rem; }
  .hero__checks { gap: 0.6rem; flex-direction: column; align-items: center; }

  .search { padding: 0 1rem; }
  .search__form {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }
  .search__field {
    border-left: none;
    border-bottom: 1px solid var(--line-soft);
  }
  .search__btn {
    padding: 1rem;
    justify-content: center;
    border-left: none;
    width: 100%;
  }

  .section { padding: 2.75rem 1rem 1.5rem; }
  .section--feed,
  .section--how,
  .section--trust { padding-top: 2.75rem; }
  .section--cta { padding: 2.75rem 1rem 1rem; }

  .section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .feed-grid { grid-template-columns: 1fr; gap: 1rem; }
  .cta { padding: 2.5rem 1.5rem; border-radius: 22px; }
  .cta__actions { flex-direction: column; align-items: stretch; }
  .featured-card__body { padding: 1.25rem 1.35rem 1.4rem; }
  .featured-card__title { font-size: 1.35rem; }
}

@media (max-width: 480px) {
  .hero__title { font-size: clamp(1.85rem, 9vw, 2.4rem); }
  .featured-card__media { aspect-ratio: 4 / 3; }
}

/* ============================================================
   § BUTTONS — scoped editorial overrides for homepage
   ------------------------------------------------------------
   Refines .btn / .btn-glow / .btn-outline / .btn-lg from base.css
   without touching other pages.
   ============================================================ */
.homepage .btn,
.landing .btn {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.005em;
  font-size: 0.92rem;
  padding: 0.78rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.4s ease,
    color 0.3s ease;
}
.homepage .btn-lg,
.landing .btn-lg {
  padding: 1rem 1.85rem;
  font-size: 0.98rem;
  border-radius: 13px;
}

/* Primary — refined gradient, softer shadow, gentler hover */
.homepage .btn-glow,
.landing .btn-glow {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: none;
  box-shadow:
    0 6px 22px rgba(124, 58, 237, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.homepage .btn-glow::after,
.landing .btn-glow::after {
  /* slowed sheen */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 38%, rgba(255, 255, 255, 0.16) 50%, transparent 62%);
  transform: translateX(-100%);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.homepage .btn-glow:hover,
.landing .btn-glow:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 32px rgba(124, 58, 237, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.homepage .btn-glow:hover::after,
.landing .btn-glow:hover::after { transform: translateX(100%); }
.homepage .btn-glow:active,
.landing .btn-glow:active {
  transform: translateY(0);
  box-shadow:
    0 4px 14px rgba(124, 58, 237, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Outline — quieter, editorial */
.homepage .btn-outline,
.landing .btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
  font-weight: 500;
  box-shadow: none;
}
.homepage .btn-outline:hover,
.landing .btn-outline:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(167, 139, 250, 0.45);
  color: #fff;
  transform: translateY(-1px);
}
.homepage .btn-outline:active,
.landing .btn-outline:active {
  transform: translateY(0);
}

/* Optional inline icon — arrow caret on primary CTAs */
.homepage .btn svg,
.landing .btn svg {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.homepage .btn:hover svg,
.landing .btn:hover svg { transform: translate(2px, -2px); }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
