/* ISAEV — Home page styles */

/* ─── HERO ─── */
.hero {
  background: #000;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 52px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 40%, rgba(59,109,200,.30) 0%, transparent 65%);
  pointer-events: none;
  animation: hero-glow 14s ease-in-out infinite alternate;
}
@keyframes hero-glow {
  0%   { transform: scale(1)    translate(0,0); opacity: .9; }
  100% { transform: scale(1.12) translate(2%,1%); opacity: 1; }
}

.hero-eyebrow {
  font-size: 12px; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 24px;
  opacity: 0; transform: translateY(20px);
  animation: up .7s .1s forwards;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(52px, 9vw, 100px);
  line-height: 1.04;
  color: #fff;
  max-width: 900px;
  margin-bottom: 24px;
  opacity: 0; transform: translateY(20px);
  animation: up .8s .25s forwards;
}
.hero h1 em {
  font-style: italic;
  color: #a8c4f0;
}
.hero-sub {
  font-size: 19px; font-weight: 300;
  color: rgba(255,255,255,.6);
  max-width: 500px; line-height: 1.6;
  margin-bottom: 44px;
  opacity: 0; transform: translateY(20px);
  animation: up .8s .4s forwards;
}
.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  opacity: 0; transform: translateY(20px);
  animation: up .8s .55s forwards;
}

/* ─── TAGLINE BAND ─── */
.band {
  background: var(--white);
  padding: 110px 24px;
  text-align: center;
  border-bottom: 1px solid var(--divider);
}
.band h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.25;
  color: var(--black);
  max-width: 740px; margin: 0 auto 20px;
}
.band h2 em { font-style: italic; color: var(--blue); }
.band p {
  font-size: 17px; font-weight: 300;
  color: var(--gray); max-width: 500px;
  margin: 0 auto; line-height: 1.65;
}

/* ─── PRODUCT ROWS (Apple-style) ─── */
.product-row {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 680px;
}
a.product-row { text-decoration: none; color: inherit; }
.product-row.flip .p-visual { order: 2; }
.product-row.flip .p-copy   { order: 1; }

.p-visual {
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
  min-height: 480px;
}
.p-visual-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur-slow) var(--ease-apple);
}
.product-row:hover .p-visual-inner { transform: scale(1.04); }

.bg-flow  { background: linear-gradient(160deg,#dce8fa,#b3ccf0); }
.bg-clear { background: var(--isaev-dark); }
.bg-rise  { background: linear-gradient(160deg,#f5ede6,#dfc4aa); }
.bg-trust { background: linear-gradient(160deg,#cce0f0,#9ac6e8); }
.bg-rest  { background: linear-gradient(160deg,#f5e8e0,#e0bfa8); }

.p-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: 72px 80px;
}
.p-tag {
  font-size: 12px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.p-name {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(40px, 4vw, 60px);
  line-height: 1.05;
  color: var(--black); margin-bottom: 8px;
}
.p-subtitle {
  font-size: 12px; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-light); margin-bottom: 24px;
}
.p-desc {
  font-size: 17px; font-weight: 300;
  color: var(--gray); line-height: 1.7;
  max-width: 380px; margin-bottom: 36px;
}
.p-link {
  font-size: 15px; font-weight: 400;
  color: var(--blue); text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
  transition: gap var(--dur-fast);
}
.p-link:hover { gap: 9px; }
.p-price {
  font-size: 13px; color: var(--gray-light); margin-top: 6px;
}

.dark-row .p-copy  { background: var(--isaev-dark); }
.dark-row .p-tag   { color: #6b9de8; }
.dark-row .p-name  { color: #F5F5F7; }
.dark-row .p-subtitle { color: rgba(255,255,255,.35); }
.dark-row .p-desc  { color: rgba(255,255,255,.55); }
.dark-row .p-link  { color: #6b9de8; }
.dark-row .p-price { color: rgba(255,255,255,.3); }

.p-icon { filter: drop-shadow(0 24px 40px rgba(0,0,0,.18)); }

/* ─── DARK QUOTE ─── */
.quote-section {
  background: #000;
  padding: 130px 24px;
  text-align: center;
  position: relative; overflow: hidden;
}
.quote-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(59,109,200,.2) 0%, transparent 70%);
}
.q-label {
  font-size: 12px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 36px;
  position: relative;
}
.q-text {
  font-family: var(--font-serif);
  font-weight: 300; font-style: italic;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.35; color: #fff;
  max-width: 860px; margin: 0 auto 36px;
  position: relative;
}
.q-text span { color: #a8c4f0; font-style: normal; }
.q-source {
  font-size: 13px; color: rgba(255,255,255,.35); letter-spacing: .08em;
  position: relative;
}

/* ─── RITUAL TIMELINE ─── */
.ritual-section {
  background: var(--white);
  padding: 110px 24px;
  border-top: 1px solid var(--divider);
}
.ritual-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  max-width: 1060px; margin: 0 auto;
  border: 1px solid var(--divider); border-radius: var(--radius-md); overflow: hidden;
}
.r-step {
  padding: 44px 28px; text-align: center;
  border-right: 1px solid var(--divider);
  transition: background .25s;
}
.r-step:last-child { border-right: none; }
.r-step:hover { background: var(--blue-mist); }
.r-time {
  font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.r-product {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 400;
  color: var(--black); margin-bottom: 10px;
}
.r-desc {
  font-size: 13px; font-weight: 300;
  color: var(--gray); line-height: 1.6;
}

/* ─── STATS ─── */
.stats-section {
  background: #000;
  padding: 72px 24px;
}
.stats-inner {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 800px; margin: 0 auto;
}
.stat-item {
  text-align: center; padding: 40px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-serif);
  font-weight: 300; font-size: 58px;
  color: #fff; line-height: 1;
  margin-bottom: 6px;
}
.stat-num sup { font-size: 28px; color: var(--blue); vertical-align: super; }
.stat-label {
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,.4);
}

/* ─── REVIEWS ─── */
.reviews-section {
  background: var(--white);
  padding: 110px 24px;
  border-top: 1px solid var(--divider);
}
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; max-width: 960px; margin: 48px auto 0;
}
.review-card {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform .3s, box-shadow .3s;
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.r-stars { color: var(--blue); font-size: 13px; letter-spacing: 3px; margin-bottom: 16px; }
.r-text {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 300; font-style: italic;
  line-height: 1.6; color: var(--black); margin-bottom: 20px;
}
.r-author {
  font-size: 12px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray-light);
}

/* ─── CTA ─── */
.cta-section {
  background: var(--white);
  padding: 130px 24px;
  text-align: center;
  border-top: 1px solid var(--divider);
}
.cta-section h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.12; color: var(--black);
  max-width: 700px; margin: 0 auto 18px;
}
.cta-section h2 em { font-style: italic; color: var(--blue); }
.cta-section p {
  font-size: 17px; font-weight: 300;
  color: var(--gray); margin-bottom: 44px;
}
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── JOURNAL TEASER (added in this iteration) ─── */
.journal-teaser {
  background: var(--isaev-linen);
  padding: var(--section-pad-y) var(--gutter);
}
.journal-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: var(--container); margin: 48px auto 0;
}
.journal-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 36px 32px;
  text-decoration: none;
  display: flex; flex-direction: column;
  transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid);
  border: 1px solid rgba(0,0,0,.04);
}
.journal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.journal-card .j-tag {
  font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.journal-card h3 {
  font-family: var(--font-serif);
  font-weight: 300; font-size: 26px;
  line-height: 1.2; color: var(--black);
  margin-bottom: 14px;
}
.journal-card p {
  font-size: 14px; font-weight: 300;
  color: var(--gray); line-height: 1.65;
  margin-bottom: 24px; flex: 1;
}
.journal-card .j-read {
  font-size: 13px; color: var(--blue);
  display: inline-flex; align-items: center; gap: 5px;
  transition: gap var(--dur-fast);
}
.journal-card:hover .j-read { gap: 9px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
  .product-row { grid-template-columns: 1fr; min-height: auto; }
  .product-row.flip .p-visual,
  .product-row.flip .p-copy { order: unset; }
  .p-visual { min-height: 360px; }
  .p-copy { padding: 48px 28px; }
  .ritual-grid { grid-template-columns: 1fr 1fr; border-radius: var(--radius-sm); }
  .r-step:nth-child(2) { border-right: none; }
  .r-step:nth-child(3) { border-top: 1px solid var(--divider); }
  .r-step:nth-child(4) { border-right: none; border-top: 1px solid var(--divider); }
  .r-step:nth-child(5) { border-right: none; border-top: 1px solid var(--divider); grid-column: 1 / -1; }
  .reviews-grid { grid-template-columns: 1fr; max-width: 420px; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .stat-item:last-child { border-bottom: none; }
  .journal-grid { grid-template-columns: 1fr; max-width: 480px; }
}
@media (max-width: 600px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .ritual-grid { grid-template-columns: 1fr; }
  .r-step { border-right: none; border-bottom: 1px solid var(--divider); }
  .r-step:last-child { border-bottom: none; }
}
