/* ============================================================
   FPOS OPTIK — Hero CSS (Responsive Optimized)
   ============================================================ */

.hero {
  min-height: 100vh; background: var(--navy);
  position: relative; overflow: hidden;
  display: flex; align-items: center; padding-top: 68px;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,201,177,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -150px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,153,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 5rem 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}

/* ── Hero text ── */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,201,177,0.12); border: 1px solid rgba(0,201,177,0.3);
  color: var(--cyan); padding: 6px 16px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge-dot { width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }

.hero h1 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 0.5rem; }
.hero h1 .accent { color: var(--cyan); display: block; }
.hero-sub { font-size: clamp(0.9rem, 2.2vw, 1.1rem); color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 2.5rem; max-width: 480px; }
.hero-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-stat-num { font-family: 'Sora', sans-serif; font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 800; color: var(--cyan); }
.hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.hero-stat-divider { width: 1px; background: rgba(255,255,255,0.1); align-self: stretch; }

/* ── Mockup ── */
.hero-visual { position: relative; }
.hero-mockup-main {
  background: var(--navy-mid); border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.mockup-topbar {
  background: var(--navy); padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-title { font-family: 'Sora', sans-serif; font-size: 0.75rem; color: rgba(255,255,255,0.5); font-weight: 600; }
.mockup-online { font-size: 0.65rem; color: rgba(255,255,255,0.3); }
.mockup-body { padding: 16px; }
.mockup-dashboard { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.dash-card { background: var(--navy-light); border-radius: var(--radius-sm); padding: 12px; border: 1px solid rgba(255,255,255,0.06); }
.dash-card-label { font-size: 0.65rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.dash-card-value { font-family: 'Sora', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--white); }
.dash-card-sub { font-size: 0.65rem; color: var(--cyan); margin-top: 2px; }
.dash-card-sub.warn { color: #FBD06F; }
.mockup-chart { background: var(--navy-light); border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.06); padding: 12px; margin-bottom: 10px; }
.chart-label { font-size: 0.65rem; color: rgba(255,255,255,0.4); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; }
.chart-bar { flex: 1; border-radius: 4px 4px 0 0; background: var(--cyan); opacity: 0.7; }
.chart-bar.highlight { opacity: 1; }
.mockup-table { background: var(--navy-light); border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.06); overflow: hidden; }
.mockup-table-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,0.04); gap: 8px; }
.mockup-table-row:last-child { border-bottom: none; }
.mt-name { font-size: 0.72rem; color: rgba(255,255,255,0.8); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-badge { font-size: 0.6rem; padding: 2px 8px; border-radius: 50px; font-weight: 600; flex-shrink: 0; }
.badge-green  { background: rgba(34,197,94,0.15); color: #4ADE80; }
.badge-yellow { background: rgba(245,166,35,0.15); color: #FBD06F; }
.badge-cyan   { background: rgba(0,201,177,0.15); color: var(--cyan); }
.mt-price { font-size: 0.72rem; color: var(--cyan); font-weight: 600; flex-shrink: 0; }

/* ── Floating cards ── */
.hero-float-card {
  position: absolute; background: rgba(255,255,255,0.05); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); padding: 12px 16px;
}
.float-card-1 { top: -20px; right: -30px; animation: float 4s ease-in-out infinite; }
.float-card-2 { bottom: 40px; left: -40px; animation: float 4s ease-in-out infinite 1.5s; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.float-label { font-size: 0.65rem; color: rgba(255,255,255,0.5); margin-bottom: 3px; }
.float-value { font-family: 'Sora', sans-serif; font-weight: 700; color: var(--white); font-size: 1rem; }
.float-icon  { font-size: 1.3rem; margin-bottom: 4px; }

/* ============================================================
   HERO RESPONSIVE
   ============================================================ */

/* Tablet landscape — smaller mockup, tighter layout */
@media (max-width: 1024px) {
  .hero-inner { gap: 2.5rem; padding: 4rem 2rem; }
  .float-card-1 { right: -10px; }
  .float-card-2 { left: -10px; }
}

/* Tablet portrait — hide mockup, single column */
@media (max-width: 768px) {
  .hero { padding-top: 68px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 4rem 1.5rem 3rem; gap: 0; }
  .hero-visual { display: none; }
  .hero-badge  { margin-left: auto; margin-right: auto; }
  .hero-sub    { margin-left: auto; margin-right: auto; max-width: 100%; }
  .hero-btns   { justify-content: center; }
  .hero-stats  { justify-content: center; gap: 1.5rem; }
}

/* Mobile */
@media (max-width: 480px) {
  .hero { padding-top: 60px; }
  .hero-inner { padding: 3rem 1rem 2.5rem; }
  .hero-btns  { flex-direction: column; align-items: center; gap: 0.6rem; }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline,
  .hero-btns .btn-playstore { width: 100%; max-width: 320px; }
  .hero-stats { gap: 1rem; }
  .hero-stat-divider { display: none; }
}
