/* ------------------------------------------------------------------
 * Showroom landing page styles (MihalTEC website template).
 * Builds on base.css. Uses the green brand palette.
 * Compact, modern layout — Hero, three promises, demos, process,
 * individuality split, final CTA.
 * (Reveal animation rules live in base.css so demo pages can use them too.)
 * ------------------------------------------------------------------ */

/* ===== Section heading helpers ================================== */
.section-head {
  margin-bottom: 2.5rem;
  max-width: 60ch;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  margin: 0 0 0.6rem;
}

.section-head p {
  color: var(--color-muted);
  font-size: 1.05rem;
  margin: 0;
}

/* ===== Hero ===================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(55, 122, 0, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(74, 222, 128, 0.10) 0%, transparent 50%),
    linear-gradient(160deg, #011502 0%, #0a2d0d 60%, #0d4016 100%);
  color: #f8f9fa;
  padding: 5.5rem 0 4rem;
  overflow: hidden;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60vmax;
  height: 60vmax;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.18) 0%, transparent 60%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
  animation: hero-glow 18s ease-in-out infinite alternate;
}

@keyframes hero-glow {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(-3%, 2%) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__glow {
    animation: none;
  }
}

.hero__inner {
  max-width: 60rem;
}

.hero h1 {
  color: #fff;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--color-accent);
  font-weight: 600;
  margin: 0 0 1.25rem;
}

.hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-accent);
}

.hero__title {
  font-size: clamp(2.25rem, 5.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 1.25rem;
  max-width: 22ch;
}

.hero__accent {
  background: linear-gradient(120deg, #a7f3d0 0%, #4ade80 50%, #a7f3d0 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hero-shine 9s ease-in-out infinite;
}

@keyframes hero-shine {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__accent {
    animation: none;
  }
}

.hero__lead {
  max-width: 58ch;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
  margin: 0 0 2rem;
}

.hero__cta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.hero .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero__badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.7rem;
}

.hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.hero__badges li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18);
}

/* ===== Three promises (Bento) =================================== */
.promises {
  padding: 5rem 0;
}

.promises__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.promise {
  position: relative;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdf9 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.promise::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0.85;
}

.promise:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(55, 122, 0, 0.3);
}

.promise__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  background: rgba(55, 122, 0, 0.1);
  color: var(--color-primary-darker);
  margin-bottom: 1rem;
}

.promise__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.promise h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--color-primary-darker);
}

.promise p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.65;
  font-size: 0.97rem;
}

/* ===== Demos ====================================================== */
.demos {
  padding: 5rem 0;
  background: var(--color-surface-alt);
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.5rem;
}

.demo-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.demo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px -18px rgba(0, 0, 0, 0.25);
  border-color: var(--card-primary, var(--color-primary));
}

.demo-card__swatch {
  height: 9.5rem;
  background:
    linear-gradient(135deg, var(--card-primary) 0%, var(--card-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.demo-card__swatch img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.demo-card:hover .demo-card__swatch img {
  transform: scale(1.04);
}

.demo-card__swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.18) 0%, transparent 60%);
}

.demo-card__body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.demo-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--card-primary, var(--color-primary));
  background: rgba(55, 122, 0, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.demo-card__title {
  margin: 0;
  font-size: 1.25rem;
  color: var(--color-primary-darker);
}

.demo-card__cta {
  margin-top: auto;
  color: var(--card-primary, var(--color-primary));
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s ease;
}

.demo-card:hover .demo-card__cta {
  gap: 0.65rem;
}

/* ===== Process timeline ========================================= */
.process {
  padding: 5rem 0;
}

.process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  position: relative;
}

.process__step {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process__step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-darker));
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 12px -4px rgba(55, 122, 0, 0.55);
}

.process__step h3 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  color: var(--color-primary-darker);
}

.process__step p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Individuality split ====================================== */
.split {
  padding: 5rem 0;
  background: var(--color-surface-alt);
}

.split__inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 12px 40px -28px rgba(0, 0, 0, 0.25);
}

.split__copy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.85rem;
  color: var(--color-primary-darker);
}

.split__copy p {
  margin: 0;
  color: var(--color-text-soft);
  line-height: 1.7;
}

.split__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.split__points li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  background: var(--color-surface-alt);
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--color-primary-darker);
}

.split__points li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .split__inner {
    grid-template-columns: 1fr;
    padding: 1.75rem;
  }
}

/* ===== Final CTA ================================================== */
.cta {
  padding: 5rem 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(55, 122, 0, 0.28) 0%, transparent 60%),
    linear-gradient(135deg, #011502 0%, #0d4016 100%);
  color: #fff;
}

.cta h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  margin: 0 auto 1rem;
  max-width: 28ch;
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 50ch;
  margin: 0 auto 1.75rem;
  line-height: 1.65;
}

.cta__inner {
  text-align: center;
}

.btn--lg {
  padding: 0.9rem 1.6rem;
  font-size: 1.05rem;
}

/* ===== Contact page (kept for legacy /kontakt-template usage) ==== */
.contact-block {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  padding: 3rem 0 5rem;
}

.contact-card {
  background: #fff;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.contact-card h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.contact-card__hint {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}