/* IDEAMIA — Homepage redesign */

.ideamia-home-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-brand);
}

.ideamia-home-eyebrow--on-dark {
  color: #86efac;
}

.ideamia-home-section-head {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.ideamia-home-section-head h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1.2;
}

.ideamia-home-section-head p {
  margin: 0.75rem 0 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

/* ── Hero full-bleed ── */
.ideamia-home-hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-height) + 2.5rem) 0 4rem;
  color: #fff;
  overflow: hidden;
}

.ideamia-home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ideamia-home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  animation: ideamia-home-kenburns 18s ease-out forwards;
}

.ideamia-home-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 15, 26, 0.55) 0%, rgba(10, 15, 26, 0.72) 45%, rgba(10, 15, 26, 0.88) 100%),
    radial-gradient(ellipse 70% 50% at 20% 80%, rgba(0, 168, 68, 0.28) 0%, transparent 60%);
}

.ideamia-home-hero__content {
  position: relative;
  z-index: 2;
  max-width: 44rem;
}

.ideamia-home-hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.ideamia-home-hero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
  max-width: 14ch;
}

.ideamia-home-hero__lead {
  margin: 1.1rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: rgba(248, 250, 252, 0.92);
}

.ideamia-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.ideamia-home-hero__actions .ideamia-btn {
  cursor: pointer;
}

.ideamia-home-anim {
  opacity: 0;
  transform: translateY(18px);
  animation: ideamia-home-rise 700ms var(--ease-out) forwards;
}

.ideamia-home-anim--1 { animation-delay: 80ms; }
.ideamia-home-anim--2 { animation-delay: 180ms; }
.ideamia-home-anim--3 { animation-delay: 280ms; }
.ideamia-home-anim--4 { animation-delay: 380ms; }

@keyframes ideamia-home-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ideamia-home-kenburns {
  to {
    transform: scale(1);
  }
}

/* ── Trust ── */
.ideamia-home-trust {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 1.35rem 0;
}

.ideamia-home-trust__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

@media (min-width: 900px) {
  .ideamia-home-trust__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

.ideamia-home-trust__list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ideamia-home-trust__value {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
}

.ideamia-home-trust__list span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ── Paths ── */
.ideamia-home-paths {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(0, 168, 68, 0.06) 0%, transparent 55%),
    var(--color-background);
}

.ideamia-home-paths__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .ideamia-home-paths__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ideamia-home-path {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 1.3rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.ideamia-home-path:hover,
.ideamia-home-path:focus-visible {
  border-color: #bbf7d0;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  outline: none;
}

.ideamia-home-path__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-lg);
  background: var(--color-brand-muted);
  color: var(--color-brand);
  border: 1px solid #bbf7d0;
}

.ideamia-home-path__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.ideamia-home-path__title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
}

.ideamia-home-path__desc {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.ideamia-home-path__cta {
  display: inline-flex;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-brand-hover);
}

/* ── Solutions ── */
.ideamia-home-solutions {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: #fff;
}

.ideamia-home-solutions__featured {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .ideamia-home-solutions__featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ideamia-home-solution {
  display: grid;
  gap: 0.7rem;
  padding: 1.35rem 1.3rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-background);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.ideamia-home-solution--featured:hover,
.ideamia-home-solution--featured:focus-visible {
  border-color: #bbf7d0;
  background: #fff;
  box-shadow: var(--shadow-md);
  outline: none;
}

.ideamia-home-solution__icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-brand);
  border: 1px solid var(--color-border);
}

.ideamia-home-solution__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.ideamia-home-solution h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--color-primary);
}

.ideamia-home-solution p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.ideamia-home-solution__link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-brand-hover);
}

.ideamia-home-solutions__secondary {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .ideamia-home-solutions__secondary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ideamia-home-solution--compact {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  background: #fff;
}

.ideamia-home-solution--compact strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-primary);
  font-style: normal;
}

.ideamia-home-solution--compact em {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  font-style: normal;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.ideamia-home-solution--compact:hover,
.ideamia-home-solution--compact:focus-visible {
  border-color: #bbf7d0;
  outline: none;
}

/* ── Steps ── */
.ideamia-home-steps {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background:
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(3, 105, 161, 0.06) 0%, transparent 55%),
    var(--color-background);
}

.ideamia-home-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: none;
}

@media (min-width: 900px) {
  .ideamia-home-steps__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ideamia-home-step {
  padding: 1.4rem 1.3rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.ideamia-home-step__n {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-brand);
}

.ideamia-home-step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  color: var(--color-primary);
}

.ideamia-home-step p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

/* ── Tech ── */
.ideamia-home-tech {
  padding: 1.75rem 0 2rem;
  background: #fff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.ideamia-home-tech__label {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ── Why ── */
.ideamia-home-why {
  padding: clamp(3rem, 6vw, 4.75rem) 0;
  background: #fff;
}

.ideamia-home-why__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 960px) {
  .ideamia-home-why__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
  }
}

.ideamia-home-why__copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1.2;
}

.ideamia-home-why__copy > p {
  margin: 0.85rem 0 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 34rem;
}

.ideamia-home-why__points {
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.ideamia-home-why__points li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--color-secondary);
  font-weight: 500;
  line-height: 1.45;
}

.ideamia-home-why__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-brand);
}

.ideamia-home-why__visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  min-height: 280px;
}

.ideamia-home-why__visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

/* ── Testimonials ── */
.ideamia-home-testimonials {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: var(--color-background);
}

.ideamia-home-quote {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.4rem 1.35rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.ideamia-home-quote__stars {
  display: flex;
  gap: 0.15rem;
  color: #D97706;
}

.ideamia-home-quote blockquote {
  margin: 0;
  flex: 1;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--color-secondary);
}

.ideamia-home-quote footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ideamia-home-quote footer img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.ideamia-home-quote cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.ideamia-home-quote footer span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ── Final CTA ── */
.ideamia-home-cta {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(0, 168, 68, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0A0F1A 0%, #0F172A 55%, #052e16 100%);
  color: #fff;
}

.ideamia-home-cta__inner {
  max-width: 40rem;
  text-align: center;
  margin: 0 auto;
}

.ideamia-home-cta h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
  color: #fff;
}

.ideamia-home-cta p {
  margin: 0.85rem 0 0;
  color: rgba(248, 250, 252, 0.85);
  font-size: 1.05rem;
  line-height: 1.55;
}

.ideamia-home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.ideamia-home-cta__actions .ideamia-btn {
  cursor: pointer;
}

@media (max-width: 640px) {
  .ideamia-home-hero {
    min-height: min(88vh, 680px);
    align-items: flex-end;
    padding-bottom: 3rem;
  }

  .ideamia-home-hero__actions,
  .ideamia-home-cta__actions {
    flex-direction: column;
  }

  .ideamia-home-hero__actions .ideamia-btn,
  .ideamia-home-cta__actions .ideamia-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ideamia-home-anim,
  .ideamia-home-hero__media img,
  .ideamia-home-path {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
