/* ============================================
   LuminoLabs Design System — Shared Styles
   ============================================ */

/* --- Material Symbols --- */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

/* --- Selection --- */
::selection {
  background-color: #648D8E;
  color: #ffffff;
}

/* --- Canvas Dot Pattern --- */
.canvas-bg {
  background-image: radial-gradient(#E5E3DF 1px, transparent 1px);
  background-size: 40px 40px;
}

/* --- Text Glow Hover --- */
.text-glow-hover:hover {
  text-shadow: 0 0 15px rgba(100, 141, 142, 0.3);
}

/* --- Smooth Fade-in Animation --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out both;
}

.fade-in-up-delay-1 { animation-delay: 0.1s; }
.fade-in-up-delay-2 { animation-delay: 0.2s; }
.fade-in-up-delay-3 { animation-delay: 0.3s; }
.fade-in-up-delay-4 { animation-delay: 0.4s; }

/* --- Legal Content Styles --- */
.legal-content h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 16px;
  color: #181c1d;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: #181c1d;
}

.legal-content p {
  margin-bottom: 20px;
  color: #434748;
}

.legal-content ul {
  list-style-type: disc;
  padding-left: 24px;
  margin-bottom: 20px;
  color: #434748;
}

.legal-content li {
  margin-bottom: 10px;
}

.legal-content a {
  color: #648D8E;
  text-decoration: underline;
  transition: color 0.2s;
}

.legal-content a:hover {
  color: #2D3132;
}

/* --- Active Nav Link --- */
.nav-link-active {
  color: #181c1d !important;
  font-weight: 700 !important;
  border-bottom: 2px solid #648D8E;
  padding-bottom: 4px;
}

/* --- Phone Mockup --- */
.phone-mockup {
  width: 240px;
  height: 480px;
  background: #f4f3f1;
  border-radius: 32px;
  border: 3px solid #e3e2e0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #dadad8;
  border-radius: 3px;
}

.phone-screen {
  position: absolute;
  top: 28px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: white;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.phone-screen-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.phone-screen-bar {
  width: 80%;
  height: 10px;
  background: #efeeec;
  border-radius: 5px;
  margin-bottom: 8px;
}

.phone-screen-bar.short {
  width: 60%;
}

.phone-screen-card {
  width: 90%;
  height: 40px;
  background: #f9f8f6;
  border: 1px solid #e5e3df;
  border-radius: 10px;
  margin-top: 12px;
}

/* --- Mobile Menu --- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #faf9f7;
  z-index: 40;
  padding: 32px 24px;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu a {
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #2D3132;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: #648D8E;
}

/* --- Hamburger Button --- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #2D3132;
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 767px) {
  .hamburger {
    display: flex;
  }
}

/* --- Smooth scroll --- */
html {
  scroll-behavior: smooth;
}

/* --- Body antialiased --- */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
