/* Veor — Home page */

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { font-weight: 400; }
.hero h1 em {
  font-style: italic;
  font-family: 'Instrument Serif', 'Times New Roman', serif;
  font-weight: 400;
  color: var(--fg-muted);
}
.hero h1 .accent-pill {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  padding: 0 .35em;
  font-style: normal;
}
.hero-sub {
  margin-top: 28px;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--fg-muted);
  max-width: 50ch;
}
.hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 56px;
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.hero-meta div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.hero-meta span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Phone stage (hero right) */
.phone-stage {
  position: relative;
  height: 580px;
  perspective: 1800px;
}
.phone {
  position: absolute;
  width: 240px;
  height: 480px;
  border-radius: 38px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .6s var(--ease);
}
.phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  border-radius: 999px;
  background: #0a0a0a;
  z-index: 5;
}
.phone-screen {
  position: absolute;
  inset: 8px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--surface-2);
}
.phone:nth-child(1) { left: 0; top: 60px; transform: rotateY(18deg) rotateX(-2deg) rotateZ(-6deg); z-index: 1; }
.phone:nth-child(2) { left: 50%; top: 0; transform: translateX(-50%) rotateY(-2deg); z-index: 3; }
.phone:nth-child(3) { right: 0; top: 60px; transform: rotateY(-18deg) rotateX(-2deg) rotateZ(6deg); z-index: 1; }
.phone-stage:hover .phone:nth-child(1) { transform: rotateY(14deg) rotateX(-2deg) rotateZ(-4deg) translateY(-10px); }
.phone-stage:hover .phone:nth-child(2) { transform: translateX(-50%) translateY(-10px) rotateY(-2deg); }
.phone-stage:hover .phone:nth-child(3) { transform: rotateY(-14deg) rotateX(-2deg) rotateZ(4deg) translateY(-10px); }

/* ── Products section ────────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .2s;
  opacity: 0;
  transform: translateY(40px);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.product-card.in {
  opacity: 1;
  transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .4s var(--ease), border-color .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.product-card .thumb {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--surface-2);
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.product-card h3 { font-size: 22px; font-weight: 500; }
.product-card p { margin: 0; font-size: 14px; color: var(--fg-muted); line-height: 1.5; }
.product-card .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
}
.product-card .arrow {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  transition: all .2s;
  margin-left: auto;
  flex-shrink: 0;
}
.product-card:hover .arrow { background: var(--accent); border-color: var(--accent); transform: rotate(-45deg); }

/* ── Blog section ────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  text-decoration: none;
  color: inherit;
}
.blog-card.in { opacity: 1; transform: none; }
.blog-card .thumb {
  aspect-ratio: 4/3;
  background: var(--surface-2);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  transition: transform .4s var(--ease);
}
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card:hover .thumb { transform: translateY(-4px); }
.blog-card .thumb-art {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.blog-card .blog-meta {
  display: flex;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
}
.blog-card h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.blog-card p { margin: 0; color: var(--fg-muted); font-size: 15px; }

/* ── Reviews ─────────────────────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-stars { display: flex; gap: 3px; color: var(--accent); font-size: 16px; }
.review-body { font-size: 16px; line-height: 1.6; color: var(--fg); }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  overflow: hidden;
  flex-shrink: 0;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-name { font-weight: 500; font-size: 14px; }
.review-role { font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .phone-stage { height: 480px; }
  .product-grid, .blog-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .product-grid, .blog-grid, .reviews-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 48px; }
  .hero-meta { flex-wrap: wrap; gap: 24px; }
}
