/* R-hero: homepage hero (wedding mosaic + app chips), global display type. base.css ke baad load. */

/* Global typography: headings Playfair (display), body Jakarta. */
h1, h2 { font-family: var(--font-display); letter-spacing: -.01em; }
h1 { font-weight: 700; }
h2 { font-weight: 700; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* ---------- Hero shell ---------- */
.hero2 {
  position: relative;
  overflow: hidden;
  color: #e2e8f0;
  background:
    radial-gradient(900px 520px at 92% -12%, rgba(168, 85, 247, .38), transparent 60%),
    radial-gradient(760px 520px at -12% 112%, rgba(245, 158, 11, .22), transparent 58%),
    linear-gradient(160deg, #0b1020 0%, #15123a 58%, #1e1b4b 100%);
}
.hero2::before { /* dot grid texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}
.hero2-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
}

/* ---------- Copy ---------- */
.hero2-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.hero2-tags span {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px;
  color: #fde68a; background: rgba(253, 230, 138, .08); border: 1px solid rgba(253, 230, 138, .28);
}
.hero2 h1 {
  font-size: clamp(2.3rem, 4.8vw, 3.9rem);
  line-height: 1.06;
  color: #fff;
  background: linear-gradient(120deg, #ffffff 35%, #fde68a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}
.hero2 .lead { color: #cbd5e1; font-size: 1.12rem; line-height: 1.6; margin-bottom: 30px; }

.hero2-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.hero2 .hero2-btn-main {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 800; color: #111827; border: 0;
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 60%, #f97316 100%);
  box-shadow: 0 12px 30px rgba(245, 158, 11, .35);
}
.hero2 .hero2-btn-main .ic { width: 18px; height: 18px; }
.hero2 .hero2-btn-main:hover { color: #111827; transform: translateY(-2px); box-shadow: 0 16px 36px rgba(245, 158, 11, .45); }
.hero2 .hero2-btn-ghost {
  display: inline-flex; align-items: center; padding: 14px 26px; border-radius: 999px;
  font-weight: 700; color: #fff; border: 1px solid rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px);
}
.hero2 .hero2-btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .14); }

/* App chips (Premiere, After Effects, EDIUS) */
.hero2-compat { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero2-compat-label { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; }
.hero2-apps { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.hero2-apps li {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  color: #f1f5f9; font-weight: 700; font-size: .92rem;
}
.hero2-apps img { width: 34px; height: 34px; border-radius: 10px; display: block; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }

/* Stats */
.hero2-stats {
  list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.hero2-stats b { display: block; font-family: var(--font-display); font-size: 1.35rem; color: #fff; font-weight: 700; margin-bottom: 4px; }
.hero2-stats span { display: block; font-size: .85rem; color: #94a3b8; line-height: 1.4; }

/* ---------- Mosaic ---------- */
.hero2-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  grid-template-areas:
    "a b c"
    "a d c"
    "e f g";
  gap: 12px;
  height: clamp(440px, 46vw, 600px);
}
.tile {
  position: relative; margin: 0; overflow: hidden; border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .38), inset 0 0 0 1px rgba(255, 255, 255, .08);
  background: #1e1b4b;
  animation: tile-in .9s cubic-bezier(.2, .7, .2, 1) both;
}
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.tile:hover img { transform: scale(1.06); }
.tile-a { grid-area: a; animation-delay: .05s; }
.tile-b { grid-area: b; animation-delay: .15s; }
.tile-c { grid-area: c; animation-delay: .25s; }
.tile-d { grid-area: d; animation-delay: .35s; }
.tile-e { grid-area: e; animation-delay: .45s; }
.tile-f { grid-area: f; animation-delay: .55s; }
.tile-g { grid-area: g; animation-delay: .65s; }
.tile-a img { object-position: 50% 30%; }
.tile-g img { object-position: 50% 25%; }

/* Floating card */
.hero2-card {
  position: absolute; left: -22px; bottom: 26px; z-index: 2;
  display: flex; gap: 12px; align-items: center; max-width: 250px;
  padding: 14px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .94); color: #0f172a;
  box-shadow: 0 22px 44px rgba(0, 0, 0, .36);
  backdrop-filter: blur(8px);
}
.hero2-card-icon {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #7c3aed, #4c1d95); color: #fff;
}
.hero2-card-icon .ic { width: 20px; height: 20px; }
.hero2-card b { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: #0f172a; }
.hero2-card span { display: block; font-size: .8rem; color: #475569; line-height: 1.35; }

@keyframes tile-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero2-grid { grid-template-columns: 1fr; }
  .hero2-mosaic { height: clamp(380px, 70vw, 520px); }
  .hero2-card { left: 14px; bottom: 14px; }
}
@media (max-width: 640px) {
  .hero2-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-areas: "a b" "a c" "d e";
    height: 520px; gap: 10px;
  }
  .tile-f, .tile-g { display: none; }
  .hero2-card { left: 10px; right: 10px; max-width: none; bottom: 10px; }
  .hero2-stats { grid-template-columns: 1fr; gap: 12px; }
  .hero2-stats li { display: flex; gap: 10px; align-items: baseline; }
  .hero2-stats b { margin: 0; min-width: 96px; }
}

/* Motion: reduced-motion par animation nahi */
@media (prefers-reduced-motion: reduce) {
  .tile { animation: none; }
  .tile img { transition: none; }
  .tile:hover img { transform: none; }
}
