/* ReignVoIP v2 — new homepage blocks (hero, stats, about, team, events, culture, office) */

/* ---------- Header on dark ---------- */
.header { background: rgba(8, 13, 24, .72); border-bottom-color: rgba(148, 163, 184, .12); }
.header.scrolled { background: rgba(8, 13, 24, .92); border-bottom-color: rgba(148, 163, 184, .18); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.header .logo-text { color: #fff; }
.header .logo-text span { color: var(--gold-soft); }
.header .nav-link, .header .nav-dropdown-trigger { color: #cbd5e1; }
.header .nav-link:hover, .header .nav-link.active, .header .nav-dropdown-trigger:hover { color: #fff; }
.header .nav-link::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--gold-soft); transition: width .3s var(--v2-ease); }
.header .nav-link:hover::after { width: 100%; }
.header .btn-secondary.btn-sm { color: #fff; border: 1px solid rgba(148, 163, 184, .35); background: transparent; }
.header .btn-secondary.btn-sm:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.header .btn-primary.btn-sm { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #0f172a; box-shadow: 0 8px 24px var(--gold-glow); }
.header .lang-toggle { border-color: rgba(148, 163, 184, .3); }
.header .lang-btn { color: #cbd5e1; }
.header .lang-btn.active { background: var(--gold-soft); color: #0f172a; }
.header .mobile-toggle span { background: #fff; }

/* ---------- HERO 2 ---------- */
.hero2 { position: relative; min-height: calc(100vh - var(--header-height)); display: flex; align-items: center; padding: 72px 0 96px; background: radial-gradient(1200px 600px at 75% 10%, #14264a 0%, #0b1220 60%, #070b14 100%); overflow: hidden; color: #fff; }
.hero2-map { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero2-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 11, 20, .92) 0%, rgba(7, 11, 20, .55) 45%, rgba(7, 11, 20, .1) 100%); pointer-events: none; }
.hero2-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero2-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(245, 158, 11, .1); border: 1px solid rgba(245, 158, 11, .35); color: var(--gold-soft); font-size: .85rem; font-weight: 700; letter-spacing: .02em; }
.hero2-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-soft); box-shadow: 0 0 0 0 var(--gold-glow); animation: ring2 2s infinite; }
@keyframes ring2 { to { box-shadow: 0 0 0 12px rgba(245, 158, 11, 0); } }
.hero2-title { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; margin: 22px 0 22px; color: #fff; }
.hero2-title em { font-style: normal; background: linear-gradient(100deg, #38bdf8 0%, #fbbf24 70%); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.hero2-desc { font-size: 1.12rem; line-height: 1.7; color: #cbd5e1; max-width: 560px; }
.hero2-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero2 .btn-ghost { color: #fff; border: 1px solid rgba(203, 213, 225, .4); background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px); }
.hero2 .btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); transform: translateY(-2px); }
.hero2 .hero-facts { margin-top: 34px; }

.hero2-side { position: relative; }
.photo-frame { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 40px 90px rgba(0, 0, 0, .55); aspect-ratio: 16 / 11; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.14) translate(-1.5%, -1%); } }
.photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 11, 20, .7)); }
.photo-tag { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-size: .82rem; font-weight: 700; color: #fff; display: flex; gap: 8px; align-items: center; }
.photo-tag::before { content: ""; width: 22px; height: 2px; background: var(--gold-soft); }

.glass { background: rgba(14, 22, 38, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(148, 163, 184, .22); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.live-card { position: absolute; left: -40px; bottom: -44px; width: min(340px, 82%); padding: 16px; z-index: 3; animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.live-head { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.live-head .tag { font-size: .68rem; color: var(--v2-muted); font-weight: 700; border: 1px solid var(--v2-border); padding: 2px 8px; border-radius: 999px; }
.live-head .rec { display: inline-flex; gap: 6px; align-items: center; color: #34d399; }
.live-head .rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; animation: blink 1.2s infinite; }
.live-rows { display: grid; gap: 6px; height: 132px; overflow: hidden; }
.live-row { display: grid; grid-template-columns: 34px 1fr auto auto; gap: 10px; align-items: center; font-size: .8rem; padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); color: #e2e8f0; animation: rowIn .5s var(--v2-ease); }
.live-row b { color: #7dd3fc; font-weight: 800; }
.live-row span:nth-child(3) { font-family: Consolas, monospace; color: var(--v2-muted); }
.live-row i { font-style: normal; font-size: .68rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: rgba(16, 185, 129, .16); color: #34d399; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-10px); } }
.chip { position: absolute; z-index: 3; padding: 10px 16px; font-size: .82rem; font-weight: 800; color: #fff; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; }
.chip svg { width: 16px; height: 16px; color: var(--gold-soft); }
.chip.c1 { top: -18px; right: -10px; animation: floaty 6s ease-in-out infinite .8s; }
.chip.c2 { top: 46%; right: -28px; animation: floaty 8s ease-in-out infinite 1.6s; }

.hero2-scroll { position: absolute; z-index: 2; bottom: 22px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(203, 213, 225, .5); border-radius: 14px; }
.hero2-scroll::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-soft); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 60% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Stats + events marquee ---------- */
.stats2 { background: #0b1220; border-top: 1px solid var(--v2-border); border-bottom: 1px solid var(--v2-border); color: #fff; }
.stats2-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat2 { padding: 38px 24px; text-align: center; position: relative; }
.stat2 + .stat2::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--v2-border); }
.stat2 strong { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em; background: linear-gradient(120deg, #fff, #fbbf24); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat2 span { color: var(--v2-muted); font-size: .92rem; font-weight: 600; }
.marquee2 { border-top: 1px solid var(--v2-border); padding: 22px 0; overflow: hidden; background: #080d18; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee2-cap { text-align: center; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--v2-muted); font-weight: 700; margin-bottom: 14px; }
.marquee2-track { display: flex; width: max-content; gap: 14px; animation: marq 48s linear infinite; }
.marquee2:hover .marquee2-track { animation-play-state: paused; }
.marquee2-track span { padding: 9px 20px; border-radius: 999px; border: 1px solid var(--v2-border); color: #e2e8f0; font-weight: 700; font-size: .9rem; white-space: nowrap; background: rgba(255, 255, 255, .03); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about-media { position: relative; }
.about-media .photo-frame { aspect-ratio: 16 / 9.5; }
.about-badge { position: absolute; right: -18px; bottom: -22px; padding: 16px 22px; z-index: 3; }
.about-badge strong { display: block; color: var(--gold-soft); font-size: 1.6rem; font-weight: 800; }
.about-badge span { font-size: .8rem; color: var(--v2-muted); font-weight: 600; }
.about-copy p { color: var(--v2-muted); line-height: 1.8; margin-bottom: 14px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.value { padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--v2-border); transition: transform .35s var(--v2-ease), border-color .3s, background .3s; }
.value:hover { transform: translateY(-4px); border-color: rgba(245, 158, 11, .5); background: rgba(245, 158, 11, .06); }
.value svg { width: 26px; height: 26px; color: var(--gold-soft); margin-bottom: 10px; }
.value h4 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.value p { margin: 0; font-size: .86rem; line-height: 1.55; }

/* ---------- Team ---------- */
.team-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.person { position: relative; border-radius: 22px; overflow: hidden; background: var(--v2-card); border: 1px solid var(--v2-border); transition: transform .5s var(--v2-ease), box-shadow .5s, border-color .3s; }
.person:hover { transform: translateY(-8px); box-shadow: 0 30px 70px rgba(0, 0, 0, .5); border-color: rgba(245, 158, 11, .45); }
.person-img { aspect-ratio: 4 / 5; overflow: hidden; }
.person-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--v2-ease); }
.person:hover .person-img img { transform: scale(1.07); }
.person-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 22px 22px; background: linear-gradient(180deg, transparent, rgba(7, 11, 20, .94) 55%); }
.person-body h3 { color: #fff; font-size: 1.2rem; margin: 0 0 6px; }
.person-body p { color: #cbd5e1; font-size: .88rem; line-height: 1.55; margin: 0; }
.person-role { display: inline-block; margin-bottom: 8px; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); }

/* ---------- Events ---------- */
.events-hero { position: relative; z-index: 1; margin: 8px 0 40px; }
.events-hero .photo-frame { aspect-ratio: 21 / 8; }
.events-hero .photo-frame img { animation-duration: 30s; }
.events-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.event { position: relative; padding: 20px; border-radius: 16px; background: var(--v2-card); border: 1px solid var(--v2-border); overflow: hidden; transition: transform .35s var(--v2-ease), border-color .3s; }
.event::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px 120px at var(--mx, 50%) -20%, rgba(245, 158, 11, .18), transparent 70%); opacity: 0; transition: opacity .3s; }
.event:hover { transform: translateY(-4px); border-color: rgba(245, 158, 11, .5); }
.event:hover::before { opacity: 1; }
.event-tag { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #7dd3fc; margin-bottom: 8px; }
.event.award .event-tag { color: var(--gold-soft); }
.event h4 { color: #fff; font-size: 1.05rem; margin: 0 0 12px; line-height: 1.3; }
.event-part { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: #34d399; }
.event-part svg { width: 14px; height: 14px; }

/* ---------- Culture ---------- */
.culture-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.mosaic { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.mosaic .photo-frame { aspect-ratio: auto; height: 100%; min-height: 200px; border-radius: 20px; }
.mosaic .photo-frame:first-child { grid-row: span 2; }
.mosaic .photo-frame img { animation: none; transform: none; transition: transform .9s var(--v2-ease); }
.mosaic .photo-frame:hover img { transform: scale(1.07); }
.culture-copy p { color: var(--v2-muted); line-height: 1.8; margin-bottom: 22px; }

/* ---------- Office ---------- */
.office-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: stretch; }
.office-grid .photo-frame { aspect-ratio: auto; height: 100%; min-height: 340px; }
.contact-list { display: grid; gap: 14px; align-content: center; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 16px; background: var(--v2-card); border: 1px solid var(--v2-border); transition: transform .3s var(--v2-ease), border-color .3s; color: #fff; }
.contact-card:hover { transform: translateX(6px); border-color: rgba(245, 158, 11, .5); }
.contact-card svg { width: 28px; height: 28px; color: var(--gold-soft); flex: none; }
.contact-card strong { display: block; font-size: 1rem; }
.contact-card span { color: var(--v2-muted); font-size: .88rem; }

/* section transitions */
.v2-section + .v2-section { border-top: 1px solid var(--v2-border); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero2-grid, .about-grid, .culture-grid, .office-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero2 { min-height: 0; padding: 56px 0 100px; }
  .hero2-shade { background: linear-gradient(180deg, rgba(7, 11, 20, .85), rgba(7, 11, 20, .5)); }
  .live-card { left: 12px; bottom: -36px; }
  .chip.c1 { right: 8px; } .chip.c2 { display: none; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .stats2-grid { grid-template-columns: 1fr 1fr; }
  .stat2 + .stat2::before { display: none; }
  .stat2 { padding: 26px 12px; }
  .team-grid, .values { grid-template-columns: 1fr; }
  .events-hero .photo-frame { aspect-ratio: 16 / 10; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: auto; }
  .mosaic .photo-frame:first-child { grid-row: auto; }
  .about-badge { right: 8px; }
  .hero2-scroll { display: none; }
  .live-rows { height: 118px; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-frame img, .live-card, .chip, .hero2-badge .dot, .hero2-scroll::after { animation: none !important; }
}
