/* ============================================================
   AQVAERIS — Homepage
   css/index.css
   ============================================================ */

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--forest);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Radial mesh gradient — deep green atmosphere */
.hero__bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(62,107,74,0.45) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(46,84,54,0.3) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 10%, rgba(126,196,138,0.08) 0%, transparent 50%);
}

/* Grain texture */
.hero__bg-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-h) + var(--sp-16));
  padding-bottom: var(--sp-24);
  max-width: 760px;
}

.hero__eyebrow {
  margin-bottom: var(--sp-6);
}

.hero__headline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: var(--sp-6);
}

.hero__headline-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
  font-weight: 500;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero__headline-line--italic {
  font-style: italic;
  font-weight: 400;
  color: var(--moss-lt);
}

.hero__sub {
  font-size: clamp(var(--text-base), 1.5vw, var(--text-md));
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: var(--sp-8);
  font-weight: 300;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-16);
}

/* Stat strip */
.hero__stats {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--white);
  line-height: 1;
}

.hero__stat-label {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* Scroll cue */
.hero__scroll-cue {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 100%);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.6); opacity: 0.4; }
  50%       { transform: scaleY(1);   opacity: 0.8; }
}

/* ── Products section ────────────────────────────────────── */
.products {
  background: var(--sage);
}

.products__intro {
  margin-bottom: var(--sp-12);
}

.products__title {
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-3xl));
  color: var(--text);
  margin-bottom: var(--sp-4);
}

.products__sub {
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto;
}

.products__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--sp-5);
  align-items: stretch;
}

@media (max-width: 1024px) {
  .products__grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-card--featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .products__grid { grid-template-columns: 1fr; }
  .product-card--featured { grid-column: auto; }
}

/* Product cards */
.product-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease);
  text-decoration: none;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46,84,54,0.25);
}

/* Featured card — dark */
.product-card--featured {
  background: var(--forest);
  border-color: rgba(126,196,138,0.15);
  padding: var(--sp-10) var(--sp-10);
}

.product-card--featured:hover {
  border-color: rgba(126,196,138,0.35);
  box-shadow: var(--shadow-green);
}

.product-card__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 20%, rgba(62,107,74,0.4) 0%, transparent 70%);
  pointer-events: none;
}

.product-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card__eyebrow {
  margin-bottom: var(--sp-4);
}

.product-card__name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.01em;
}

.product-card--featured .product-card__name {
  font-size: var(--text-3xl);
  color: var(--white);
}

.product-card__desc {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: var(--sp-5);
}

.product-card--featured .product-card__desc {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-base);
}

.product-card__specs {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--muted-lt);
  margin-bottom: var(--sp-5);
}

.product-card--featured .product-card__specs {
  color: rgba(255,255,255,0.35);
}

.product-card__spec-sep {
  color: var(--divider);
}

.product-card__cta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--moss);
  letter-spacing: 0.06em;
  margin-top: auto;
  transition: gap var(--dur-base) var(--ease);
}

.product-card--featured .product-card__cta {
  color: var(--moss-lt);
}

.product-card:hover .product-card__cta { gap: var(--sp-3); }

/* ── Brand statement ─────────────────────────────────────── */
.brand-statement {
  position: relative;
  background: var(--forest-deep);
  overflow: hidden;
  padding: var(--sp-24) 0;
}

.brand-statement__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(46,84,54,0.3) 0%, transparent 65%);
}

.brand-statement__content {
  position: relative;
  z-index: 1;
}

.brand-statement__quote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.brand-statement__quote p {
  font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
  color: var(--white);
  line-height: 1.3;
  margin-bottom: var(--sp-6);
}

.brand-statement__quote cite {
  font-size: var(--text-sm);
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss-lt);
}

/* ── Why section ─────────────────────────────────────────── */
.why {
  background: var(--white);
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-16);
  align-items: start;
}

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

.why__title {
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-3xl));
  color: var(--text);
  line-height: 1.2;
  margin-top: var(--sp-4);
}

.why__item {
  display: flex;
  gap: var(--sp-6);
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--divider);
}

.why__item:first-child { border-top: 1px solid var(--divider); }

.why__item-number {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--moss-lt);
  min-width: 2rem;
  padding-top: 2px;
}

.why__item-title {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--sp-2);
}

.why__item-desc {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.65;
}

/* ── Partner strip ───────────────────────────────────────── */
.partner-strip {
  background: var(--moss);
  padding: var(--sp-16) 0;
  position: relative;
  overflow: hidden;
}

.partner-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 120% at 80% 50%, rgba(62,107,74,0.6) 0%, transparent 60%);
}

.partner-strip__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.partner-strip__title {
  font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
  color: var(--white);
  line-height: 1.3;
}

.partner-strip__text .section-label {
  color: var(--moss-xlt);
  margin-bottom: var(--sp-3);
}

/* ── Lang dropdown open state ────────────────────────────── */
.lang-dropdown.open {
  display: block !important;
}
