/* ==========================================================================
   HA95 Project — Light Futuristic Software House Theme (100% Local Assets)
   ========================================================================== */

:root {
  --bg-deep: #f2f6fc;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.78);
  --bg-card-hover: rgba(255, 255, 255, 0.96);
  --border-glass: rgba(79, 70, 229, 0.15);
  --border-glow: rgba(6, 182, 212, 0.55);
  --accent-cyan: #06b6d4;
  --accent-cyan-deep: #0284c7;
  --accent-indigo: #4f46e5;
  --accent-purple: #9333ea;
  --accent-emerald: #10b981;
  --text-main: #0f172a;
  --text-muted: #475569;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

/* Base & Scrollbar */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.65;
  position: relative;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #e2e8f0;
}
::-webkit-scrollbar-thumb {
  background: rgba(79, 70, 229, 0.45);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-indigo);
}

/* Futuristic Grid ("Kotak-Kotak") & Soft Ambient Glow */
.cyber-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(79, 70, 229, 0.085) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(6, 182, 212, 0.085) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 25%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 25%, #000 60%, transparent 100%);
  pointer-events: none;
}

.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.24;
}
.ambient-orb--cyan {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, #38bdf8, transparent 70%);
  top: -120px;
  right: -80px;
}
.ambient-orb--indigo {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #818cf8, transparent 70%);
  bottom: 8%;
  left: -140px;
}

/* Typography Helpers */
.font-mono-tech {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.text-gradient {
  background: linear-gradient(120deg, #0f172a 0%, var(--accent-cyan-deep) 48%, var(--accent-indigo) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-warm {
  background: linear-gradient(120deg, #0284c7 0%, #7c3aed 55%, #db2777 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.32);
  color: var(--accent-cyan-deep);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-padding {
  padding: 5.5rem 0;
}

/* Navbar */
.navbar-futuristic {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.3s ease;
  padding: 0.75rem 0;
}

.navbar-futuristic.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.logo-pill {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 5px 12px;
  border-radius: 12px;
  border: 1px solid rgba(79, 70, 229, 0.18);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logo-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.22);
}

.logo-pill img {
  height: 32px;
  width: auto;
  display: block;
}

.navbar-futuristic .nav-link {
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.5rem 0.9rem !important;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.navbar-futuristic .nav-link:hover,
.navbar-futuristic .nav-link.active {
  color: var(--accent-indigo);
  background: rgba(79, 70, 229, 0.08);
}

/* Buttons */
.btn-cyber {
  background: linear-gradient(135deg, var(--accent-cyan-deep) 0%, var(--accent-indigo) 100%);
  color: #ffffff;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.6rem;
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-cyber:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(6, 182, 212, 0.35);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-main);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 12px;
  padding: 0.75rem 1.6rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.btn-glass:hover {
  color: var(--accent-indigo);
  border-color: var(--accent-indigo);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.12);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.09), 0 0 22px rgba(6, 182, 212, 0.14);
}

/* Hero Section */
.hero-section {
  padding-top: 7.5rem;
  padding-bottom: 5rem;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero-terminal {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(79, 70, 229, 0.22);
  border-radius: 22px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.1), 0 0 36px rgba(6, 182, 212, 0.12);
  overflow: hidden;
}

.terminal-header {
  background: rgba(241, 245, 249, 0.9);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-dots {
  display: flex;
  gap: 7px;
}

.terminal-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.terminal-tile {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.terminal-tile:hover {
  border-color: rgba(6, 182, 212, 0.5);
  transform: translateY(-2px);
}

.stat-chip {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

/* Filter Pills */
.filter-btn {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.45rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--accent-cyan-deep), var(--accent-indigo));
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.22);
}

/* App Icon Box */
.app-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.14), rgba(79, 70, 229, 0.14));
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--accent-indigo);
}

.tech-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.22);
  color: var(--accent-indigo);
}

/* Team Cards */
.team-photo-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 4;
  border: 1px solid var(--border-glass);
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease;
}

.glass-card:hover .team-photo-wrap img {
  transform: scale(1.06);
}

.team-role-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.32);
  color: var(--accent-cyan-deep);
}

/* Side Job & Merch Section */
.merch-showcase {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(238, 242, 255, 0.88));
  border: 1px solid rgba(147, 51, 234, 0.24);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  position: relative;
}

.merch-inner-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 16px;
}

.hoodie-img-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(6, 182, 212, 0.4);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14), 0 0 24px rgba(6, 182, 212, 0.18);
}

.hoodie-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.merch-showcase:hover .hoodie-img-wrap img {
  transform: scale(1.03);
}

.hoodie-img-wrap .carousel-control-prev-icon,
.hoodie-img-wrap .carousel-control-next-icon {
  background-color: rgba(15, 23, 42, 0.65);
  border-radius: 50%;
  padding: 1rem;
  background-size: 55% 55%;
}

.btn-tiktok {
  background: linear-gradient(135deg, #00c4cc 0%, #fe2c55 100%);
  color: #ffffff;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-tiktok:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(254, 44, 85, 0.3);
}

/* Modal Light Glass */
.modal-cyber .modal-content {
  background: #ffffff;
  border: 1px solid rgba(79, 70, 229, 0.25);
  border-radius: 20px;
  color: var(--text-main);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2);
}

.modal-cyber .modal-header,
.modal-cyber .modal-footer {
  border-color: rgba(148, 163, 184, 0.22);
}

.modal-screenshot-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(79, 70, 229, 0.22);
  background: #f8fafc;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.modal-screenshot-wrap .carousel-item img {
  max-height: 360px;
  object-fit: contain;
  background: #0f172a;
}

.modal-screenshot-caption {
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(241, 245, 249, 0.95);
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  text-align: center;
}

.modal-screenshot-wrap .carousel-control-prev-icon,
.modal-screenshot-wrap .carousel-control-next-icon {
  background-color: rgba(15, 23, 42, 0.65);
  border-radius: 50%;
  padding: 1rem;
  background-size: 55% 55%;
}

.modal-screenshot-wrap .carousel-indicators {
  bottom: 42px;
}

.modal-screenshot-wrap .carousel-indicators [data-bs-target] {
  background-color: var(--accent-indigo);
}

/* Form Controls */
.form-control-cyber {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--text-main);
  border-radius: 12px;
  padding: 0.75rem 1rem;
}

.form-control-cyber:focus {
  background: #ffffff;
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.14);
  color: var(--text-main);
}

.form-control-cyber::placeholder {
  color: #94a3b8;
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.footer-cyber {
  border-top: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  padding: 3.5rem 0 2rem;
}
