/* ═══════════════════════════════════════════════════════
   HONEYTECH — Училищен Музикален Звънец
   Style Sheet — чист CSS3, без рамки
═══════════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────────── */
:root {
  --navy:      #1a2e5a;
  --navy-mid:  #243d75;
  --navy-dark: #0d1829;
  --gold:      #f5a623;
  --gold-dark: #d4891a;
  --white:     #ffffff;
  --off-white: #f8f7f4;
  --light-gray:#eceaea;
  --text-main: #1a1a2e;
  --text-muted: #6b7280;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(26,46,90,0.12);
  --shadow-lg: 0 12px 48px rgba(26,46,90,0.18);
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

/* ── RESET & BASE ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--off-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ── TYPOGRAPHY ─────────────────────────────────────── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy-dark);
  letter-spacing: -0.02em;
}
.section-title.centered { text-align: center; }
.section-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.7;
}
.section-sub.centered { text-align: center; max-width: 540px; margin-inline: auto; }
.accent { color: var(--gold); }
.body-text {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--gold);
}

/* ── CONTAINER ──────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 4px 20px rgba(245,166,35,0.35);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,166,35,0.45);
}
.btn-ghost {
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ── REVEAL ANIMATION ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.45s; }

/* ═══════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}
.navbar.scrolled {
  background: rgba(13,24,41,0.96);
  backdrop-filter: blur(12px);
  padding: 0.85rem 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.nav-inner {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 0.04em;
}
.logo-hex-group {
  position: relative;
  width: 32px; height: 32px;
}
.hex {
  position: absolute;
  width: 12px; height: 12px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hex.h1 { top: 0; left: 50%; transform: translateX(-50%); }
.hex.h2 { bottom: 0; left: 2px; background: var(--navy-mid); }
.hex.h3 { bottom: 0; right: 2px; opacity: 0.6; }
.logo-hex-group.sm .hex { width: 9px; height: 9px; }
.logo-hex-group.sm { width: 24px; height: 24px; }

.logo-text strong { color: var(--white); }
.logo-text { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  background: var(--navy-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 3.5rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: 20%; left: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(ellipse, rgba(245,166,35,0.08) 0%, transparent 70%);
  animation: glowPulse 6s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  from { transform: scale(1); opacity: 0.6; }
  to   { transform: scale(1.15); opacity: 1; }
}

/* Hex grid background */
.hex-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hg-item {
  position: absolute;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border: 1px solid rgba(245,166,35,0.1);
  background: rgba(245,166,35,0.03);
}
.hg1 { width: 180px; height: 180px; top: 10%; right: 5%;  animation: hexFloat 8s ease-in-out infinite; }
.hg2 { width: 120px; height: 120px; top: 55%; right: 20%; animation: hexFloat 10s ease-in-out infinite 2s; }
.hg3 { width: 80px;  height: 80px;  top: 80%; right: 8%;  animation: hexFloat 7s ease-in-out infinite 1s; }
.hg4 { width: 60px;  height: 60px;  top: 15%; left: 5%;   animation: hexFloat 9s ease-in-out infinite 3s; }
.hg5 { width: 200px; height: 200px; bottom: -5%; left: 30%; opacity: 0.5; animation: hexFloat 11s ease-in-out infinite 0.5s; }
.hg6 { width: 90px;  height: 90px;  top: 40%; left: 15%;  animation: hexFloat 6s ease-in-out infinite 1.5s; }
@keyframes hexFloat {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-18px) rotate(5deg); }
}

/* ── CENTERED LOGO ────────────────────────────────── */
.hero-logo-center {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(1rem, 3vw, 2.5rem);
  flex-shrink: 0;
}

/* Pulse rings — grow outward from center */
.hlc-pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 166, 35, 0.35);
  animation: logoPulse 3.6s ease-out infinite;
  pointer-events: none;
}
.hlc-pulse-ring.r1 { width: 160px; height: 160px; animation-delay: 0s; }
.hlc-pulse-ring.r2 { width: 220px; height: 220px; animation-delay: 1.2s; }
.hlc-pulse-ring.r3 { width: 290px; height: 290px; animation-delay: 2.4s; }

@keyframes logoPulse {
  0%   { transform: scale(0.75); opacity: 0.7; }
  60%  { opacity: 0.25; }
  100% { transform: scale(1.15); opacity: 0; }
}

.hlc-logo-box {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.hlc-icon {
  width: clamp(64px, 10vw, 96px);
  height: auto;
  filter: drop-shadow(0 6px 20px rgba(245,166,35,0.35));
}
.hlc-wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}
.hlc-w-bg   { color: var(--white); }
.hlc-w-gold { color: var(--gold); }
.hlc-tagline {
  font-size: clamp(0.65rem, 1.5vw, 0.8rem);
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  font-weight: 300;
  max-width: 280px;
}

/* ── HERO BOTTOM ROW (text + bell) ──────────────── */
.hero-bottom-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: 100%;
  max-width: 1160px;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  gap: 2rem;
}

.hero-content {
  padding-block: 1rem;
}
.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 2rem;
  font-weight: 300;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero Bell illustration */
.hero-bell {
  flex-shrink: 0;
}
.bell-wrap {
  position: relative;
  width: clamp(130px, 16vw, 200px);
}
.bell-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(245,166,35,0.3));
  animation: bellSwing 3s ease-in-out infinite;
  transform-origin: 60px 14px;
}
@keyframes bellSwing {
  0%,100% { transform: rotate(0deg); }
  20%      { transform: rotate(8deg); }
  40%      { transform: rotate(-6deg); }
  60%      { transform: rotate(4deg); }
  80%      { transform: rotate(-2deg); }
}
.wave { stroke-dasharray: 20; animation: wavePulse 1.5s ease-in-out infinite; }
.w1,.w3 { animation-delay: 0.2s; }
.w2,.w4 { animation-delay: 0.4s; }
@keyframes wavePulse {
  0%,100% { opacity: 0.2; }
  50%      { opacity: 1; }
}
.bell-ring-anim {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  border: 2px solid rgba(245,166,35,0.2);
  animation: ringExpand 2s ease-out infinite;
}
@keyframes ringExpand {
  0%   { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-display);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(245,166,35,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50%      { opacity: 1; transform: scaleY(1.1); }
}

/* ═══════════════════════════════════════════════════════
   SECTION SHARED
═══════════════════════════════════════════════════════ */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

/* ═══════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════ */
.about { background: var(--off-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 0.5rem;
}
.about-left .section-title { margin-bottom: 1.5rem; }
.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.acard {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(26,46,90,0.06);
}
.acard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.acard-icon { font-size: 1.6rem; margin-bottom: 0.75rem; }
.acard h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.acard p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════
   PRODUCT
═══════════════════════════════════════════════════════ */
.product {
  background: var(--navy-dark);
  color: var(--white);
  overflow: hidden;
}
.product-bg-accent {
  position: absolute;
  top: -20%; right: -10%;
  width: 50vw; height: 80%;
  background: radial-gradient(ellipse, rgba(245,166,35,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.product .section-label { color: var(--gold); }
.product .section-title { color: var(--white); }
.product .section-sub { color: rgba(255,255,255,0.55); }

.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3.5rem;
}

/* Device mockup */
.product-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-device {
  perspective: 800px;
}
.device-body {
  background: linear-gradient(145deg, #1e2f4f, #0d1829);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid rgba(245,166,35,0.2);
  box-shadow:
    0 0 0 1px rgba(245,166,35,0.08),
    0 24px 64px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.05);
  width: 280px;
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform var(--transition);
}
.device-body:hover {
  transform: rotateY(0deg) rotateX(0deg);
}
.device-screen {
  background: linear-gradient(135deg, #0a1628, #122040);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(245,166,35,0.15);
  margin-bottom: 1rem;
}
.screen-time {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.screen-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.screen-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
  margin-bottom: 0.75rem;
}
.bar {
  flex: 1;
  background: rgba(245,166,35,0.3);
  border-radius: 3px 3px 0 0;
  animation: barDance 1.2s ease-in-out infinite alternate;
}
.b1 { height: 30%; animation-delay: 0s; }
.b2 { height: 70%; animation-delay: 0.1s; }
.b3 { height: 50%; animation-delay: 0.2s; }
.b4 { height: 100%; background: rgba(245,166,35,0.7); animation-delay: 0.15s; }
.b5 { height: 60%; animation-delay: 0.25s; }
.b6 { height: 40%; animation-delay: 0.05s; }
.b7 { height: 80%; animation-delay: 0.3s; }
@keyframes barDance {
  from { transform: scaleY(1); }
  to   { transform: scaleY(0.3 + random() ); }
}
.b1:nth-child(1) { animation-name: barD1; }
.b2:nth-child(2) { animation-name: barD2; }
.b3:nth-child(3) { animation-name: barD3; }
.b4:nth-child(4) { animation-name: barD4; }
.b5:nth-child(5) { animation-name: barD5; }
.b6:nth-child(6) { animation-name: barD6; }
.b7:nth-child(7) { animation-name: barD7; }
@keyframes barD1 { 0%{height:30%} 50%{height:75%} 100%{height:20%} }
@keyframes barD2 { 0%{height:70%} 50%{height:35%} 100%{height:85%} }
@keyframes barD3 { 0%{height:50%} 50%{height:90%} 100%{height:40%} }
@keyframes barD4 { 0%{height:100%} 50%{height:55%} 100%{height:100%} }
@keyframes barD5 { 0%{height:60%} 50%{height:20%} 100%{height:70%} }
@keyframes barD6 { 0%{height:40%} 50%{height:80%} 100%{height:30%} }
@keyframes barD7 { 0%{height:80%} 50%{height:45%} 100%{height:95%} }

.screen-note {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}
.device-speaker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 0.5rem 0.75rem;
}
.device-speaker span {
  display: block;
  height: 3px;
  background: rgba(245,166,35,0.15);
  border-radius: 2px;
}

/* Features list */
.product-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition), border-color var(--transition);
}
.feature-item:hover {
  background: rgba(245,166,35,0.06);
  border-color: rgba(245,166,35,0.2);
}
.fi-icon { font-size: 1.6rem; flex-shrink: 0; }
.fi-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.fi-body p { font-size: 0.87rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* Specs bar */
.specs-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 4rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(245,166,35,0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.spec {
  flex: 1;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}
.spec-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.spec-val small { font-size: 1rem; }
.spec-key {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.spec-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════════════ */
.gallery { background: var(--off-white); }

/* Video placeholder */
.video-placeholder {
  position: relative;
  margin-top: 2.5rem;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  cursor: pointer;
}
.vp-bg-art { position: absolute; inset: 0; pointer-events: none; }
.vp-hex {
  position: absolute;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(245,166,35,0.07);
  border: 1px solid rgba(245,166,35,0.15);
}
.vh1 { width: 280px; height: 280px; top: -10%; right: 5%; }
.vh2 { width: 160px; height: 160px; bottom: -5%; right: 25%; }
.vh3 { width: 120px; height: 120px; top: 10%; left: 10%; }
.vp-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: background var(--transition);
}
.video-placeholder:hover .vp-overlay {
  background: rgba(245,166,35,0.05);
}
.play-btn {
  width: 72px; height: 72px;
  transition: transform var(--transition);
}
.play-btn:hover { transform: scale(1.12); }
.play-btn svg { width: 100%; height: 100%; }
.vp-overlay p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* Photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-top: 1rem;
}
.pg-item { border-radius: var(--radius); overflow: hidden; }
.pg-large {
  grid-column: 1;
  grid-row: 1 / 3;
}
.pg-wide {
  grid-column: 2 / 4;
  grid-row: 2;
}
.pg-img {
  height: 100%;
  min-height: 180px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition);
}
.pg-item:hover .pg-img { transform: scale(1.02); }
.pg-large .pg-img { min-height: 360px; }
.pg-wide .pg-img { min-height: 180px; }
.pg-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(13,24,41,0.85), transparent);
  z-index: 2;
}
.pg-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  margin-bottom: 0.4rem;
}
.pg-overlay p { color: rgba(255,255,255,0.8); font-size: 0.8rem; }
.pg-decor {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}
.pg-decor svg { width: 70%; height: 70%; }

/* Screen mock */
.pg-screen-mock {
  width: 70%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.psm-bar { height: 6px; background: rgba(245,166,35,0.4); border-radius: 3px; width: 40%; }
.psm-row { height: 4px; background: rgba(255,255,255,0.15); border-radius: 2px; }
.psm-row.short { width: 60%; }

/* Circuit mock */
.pg-circuit { position: relative; width: 80%; height: 80px; }
.pc-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.pc-dot.d1 { top: 20%; left: 10%; }
.pc-dot.d2 { top: 50%; left: 50%; }
.pc-dot.d3 { top: 70%; right: 15%; }
.pc-line {
  position: absolute;
  background: rgba(245,166,35,0.3);
  height: 2px;
}
.pc-line.l1 { top: 28%; left: 15%; width: 38%; }
.pc-line.l2 { top: 58%; left: 52%; width: 28%; transform: rotate(20deg); }

/* Wave vis */
.pg-wave-vis {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 60px;
}
.wv {
  flex: 1;
  background: rgba(245,166,35,0.4);
  border-radius: 2px;
  animation: wvAnim 1.2s ease-in-out infinite;
}
.wv1{height:20%;animation-delay:0s}
.wv2{height:60%;animation-delay:0.1s}
.wv3{height:40%;animation-delay:0.2s}
.wv4{height:90%;background:rgba(245,166,35,0.7);animation-delay:0.15s}
.wv5{height:55%;animation-delay:0.25s}
.wv6{height:35%;animation-delay:0.05s}
.wv7{height:75%;animation-delay:0.3s}
.wv8{height:45%;animation-delay:0.1s}
.wv9{height:25%;animation-delay:0.2s}
@keyframes wvAnim {
  0%,100%{transform:scaleY(1)}
  50%{transform:scaleY(0.4)}
}

/* Map dots */
.pg-map-dots { position: relative; width: 80%; height: 80px; }
.md {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(245,166,35,0.2);
  animation: mapPulse 2s ease-in-out infinite;
}
.md1{top:20%;left:25%}
.md2{top:40%;left:45%;animation-delay:0.4s}
.md3{top:60%;left:30%;animation-delay:0.8s}
.md4{top:30%;left:70%;animation-delay:0.2s}
.md5{top:65%;left:65%;animation-delay:0.6s}
@keyframes mapPulse {
  0%,100%{box-shadow:0 0 0 4px rgba(245,166,35,0.2)}
  50%{box-shadow:0 0 0 8px rgba(245,166,35,0.05)}
}

/* ═══════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════ */
.contact {
  background: var(--navy-dark);
  color: var(--white);
  overflow: hidden;
}
.contact-bg { position: absolute; inset: 0; pointer-events: none; }
.cb-hex {
  position: absolute;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(245,166,35,0.04);
  border: 1px solid rgba(245,166,35,0.08);
}
.ch1 { width: 400px; height: 400px; bottom: -15%; left: -8%; }
.ch2 { width: 250px; height: 250px; top: -10%; right: 5%; }

.contact .section-label { color: var(--gold); }
.contact .section-title { color: var(--white); }
.contact .section-sub { color: rgba(255,255,255,0.5); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-top: 3rem;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.ci-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.ci-icon { font-size: 1.25rem; flex-shrink: 0; padding-top: 0.1rem; }
.ci-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.ci-item p, .ci-item a {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  line-height: 1.6;
  transition: color var(--transition);
}
.ci-item a:hover { color: var(--gold); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(245,166,35,0.05);
}
.contact-form .btn-primary { margin-top: 0.25rem; font-size: 1rem; }
.form-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  text-align: center;
  margin-top: -0.5rem;
}
.form-success {
  display: none;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: var(--radius);
  padding: 1rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  text-align: center;
  animation: fadeIn 0.4s ease;
}
.form-success.show { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.footer {
  background: #06101e;
  padding: 2.5rem 0;
}
.footer-inner {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
}
.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}
.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════
   GOOGLE MAPS
═══════════════════════════════════════════════════════ */
.map-wrap {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(245,166,35,0.15);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 220px;
  filter: brightness(0.85) contrast(1.1) saturate(0.85);
  transition: filter var(--transition);
}
.map-wrap:hover iframe { filter: brightness(1) contrast(1) saturate(1); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-showcase { grid-template-columns: 1fr; }
  .product-visual { margin-bottom: 1rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .hero { padding-bottom: 5rem; }
  .hero-bottom-row {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .hero-bell { display: none; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .hero-cta { justify-content: center; }
  .hlc-pulse-ring.r3 { display: none; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(13,24,41,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.5rem; }
  .hamburger { display: flex; z-index: 101; }

  .about-cards { grid-template-columns: 1fr; }
  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pg-large { grid-column: 1 / 3; grid-row: 1; }
  .pg-wide  { grid-column: 1 / 3; grid-row: auto; }

  .form-row { grid-template-columns: 1fr; }
  .specs-bar { gap: 1rem; }
  .spec-divider { display: none; }
  .hero-cta { flex-direction: column; }
  .btn { justify-content: center; }
}

@media (max-width: 480px) {
  .photo-grid { grid-template-columns: 1fr; }
  .pg-large,.pg-wide { grid-column: 1; }
  .about-stats { gap: 1.25rem; }
  .hlc-pulse-ring { display: none; }
}

/* ═══════════════════════════════════════════════════════
   LANGUAGE BUTTON
═══════════════════════════════════════════════════════ */
.lang-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.9rem;
  border: 1.5px solid rgba(245,166,35,0.5);
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  background: transparent;
  margin-left: 0.5rem;
}
.lang-btn:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

/* ═══════════════════════════════════════════════════════
   GALLERY TABS
═══════════════════════════════════════════════════════ */
.gallery-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 2rem 0 1rem;
}
.gtab {
  padding: 0.55rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1.5px solid var(--light-gray);
  color: var(--text-muted);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
}
.gtab.active, .gtab:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

/* ═══════════════════════════════════════════════════════
   SOFTWARE GALLERY MOCKS
═══════════════════════════════════════════════════════ */
/* Dashboard mock */
.sw-dash-mock {
  width: 75%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 8px;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sdm-header { height: 6px; background: rgba(245,166,35,0.5); border-radius: 3px; width: 50%; margin-bottom: 4px; }
.sdm-row { display: flex; align-items: center; gap: 6px; }
.sdm-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); flex-shrink: 0; }
.sdm-dot.active { background: var(--gold); }
.sdm-bar { height: 4px; background: rgba(255,255,255,0.12); border-radius: 2px; flex: 1; }
.sdm-bar.long { width: 90%; }
.sdm-bar.med  { width: 60%; }
.sdm-chart { display: flex; align-items: flex-end; gap: 4px; height: 30px; margin-top: 4px; }
.sc-bar { flex: 1; background: rgba(245,166,35,0.4); border-radius: 2px 2px 0 0; }

/* Schedule mock */
.sw-schedule { width: 80%; }
.ss-head { display: flex; gap: 4px; margin-bottom: 4px; }
.ss-head span { flex: 1; font-size: 0.5rem; color: rgba(255,255,255,0.4); text-align: center; font-family: var(--font-display); }
.ss-row { display: flex; gap: 4px; margin-bottom: 4px; }
.ss-cell { flex: 1; height: 12px; background: rgba(255,255,255,0.08); border-radius: 2px; }
.ss-cell.filled { background: rgba(245,166,35,0.5); }

/* Melody library mock */
.sw-melodies { width: 80%; display: flex; flex-direction: column; gap: 6px; }
.sm-item { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 5px; background: rgba(255,255,255,0.05); }
.sm-item.active { background: rgba(245,166,35,0.15); border: 1px solid rgba(245,166,35,0.3); }
.sm-note { font-size: 0.85rem; color: var(--gold); }
.sm-name { font-size: 0.65rem; color: rgba(255,255,255,0.6); font-family: var(--font-display); }

/* Settings mock */
.sw-settings { width: 80%; display: flex; flex-direction: column; gap: 8px; }
.sv-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sv-label { font-size: 0.6rem; color: rgba(255,255,255,0.5); font-family: var(--font-display); letter-spacing: 0.08em; }
.sv-toggle { width: 28px; height: 14px; border-radius: 7px; background: rgba(255,255,255,0.15); position: relative; }
.sv-toggle.on { background: rgba(245,166,35,0.5); }
.sv-toggle::after { content: ''; position: absolute; top: 2px; right: 2px; width: 10px; height: 10px; border-radius: 50%; background: white; }
.sv-toggle:not(.on)::after { right: auto; left: 2px; }
.sv-slider { flex: 1; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.sv-slider span { display: block; height: 100%; background: rgba(245,166,35,0.5); border-radius: 2px; }
.sv-avatars { display: flex; gap: -4px; }
.sv-avatars span { width: 16px; height: 16px; border-radius: 50%; background: rgba(245,166,35,0.3); border: 1px solid rgba(245,166,35,0.5); margin-left: -4px; }

/* ═══════════════════════════════════════════════════════
   REFERENCES
═══════════════════════════════════════════════════════ */
.refs {
  background: var(--off-white);
}
.refs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.ref-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid rgba(26,46,90,0.07);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.ref-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.ref-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.ref-school-icon {
  font-size: 1.8rem;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #f0f4ff, #e8eeff);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ref-school {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}
.ref-city {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.ref-card blockquote {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding-left: 0.85rem;
  flex: 1;
}
.ref-name {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.ref-stars {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .refs-grid { grid-template-columns: 1fr; }
  .lang-btn { margin-left: 0; }
}

/* ═══════════════════════════════════════════════════════
   VIDEOS
═══════════════════════════════════════════════════════ */
.videos-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.video-item { display: flex; flex-direction: column; gap: 0.6rem; }
.video-cap {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
}
video { box-shadow: var(--shadow-lg); }
@media (max-width: 768px) {
  .videos-wrap { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   REFERENCES — doc link + wide card
═══════════════════════════════════════════════════════ */
.ref-doc-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-dark);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.ref-doc-link:hover { color: var(--gold); }

.ref-card-wide {
  grid-column: 1 / -1;
}
.ref-card-wide blockquote {
  max-width: 680px;
}

/* SEO Gallery Image Support */
.pg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}
.pg-img:hover img {
  transform: scale(1.1);
}
.footer-regions p {
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}
