/* NgasirYuk Modern Landing Page Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

:root {
  --color-primary: #004AAD;
  --color-primary-dark: #00357F;
  --color-primary-light: #E6F0FF;
  --color-secondary: #FDDF3F;
  --color-secondary-dark: #8F7600;
  --color-secondary-light: #FFFBE6;
  --color-tertiary: #015D16;
  --color-tertiary-light: #E8F7EA;
  --color-surface: #F4FAFF;
  --color-surface-card: #FFFFFF;
  --color-surface-container: #D9F2FF;
  --color-surface-low: #E6F6FF;
  --color-surface-high: #CEEDFD;
  --color-on-surface: #001F2A;
  --color-on-surface-variant: #434653;
  --color-outline: #C3C6D5;
  --font-main: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--color-surface);
  color: var(--color-on-surface);
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Mobile Typography & Layout Protection */
@media (max-width: 640px) {
  h1, h2, h3, h4 {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
}

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

.material-symbols-outlined.fill {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Glassmorphism Navigation */
.nav-glass {
  background: rgba(244, 250, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(195, 198, 213, 0.3);
}

/* Floating animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.5deg);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Pulse glow animation */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 25px rgba(0, 74, 173, 0.2);
  }
  50% {
    box-shadow: 0 0 45px rgba(0, 74, 173, 0.4);
  }
}

.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

/* Realistic Smartphone Mockup Frame */
.phone-mockup {
  position: relative;
  width: 290px;
  height: 590px;
  background: #111827;
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 25px 50px -12px rgba(0, 31, 42, 0.25), 
              0 0 0 4px #263342,
              0 0 0 6px #1a222d;
  margin: 0 auto;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.phone-mockup:hover {
  transform: translateY(-8px) scale(1.02);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #1f2937;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 20px;
  background: #111827;
  border-radius: 12px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.phone-speaker {
  width: 32px;
  height: 3px;
  background: #374151;
  border-radius: 2px;
}

.phone-camera {
  width: 6px;
  height: 6px;
  background: #1e3a8a;
  border-radius: 50%;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Badge and tags */
.badge-pro {
  background: linear-gradient(135deg, #FDDF3F 0%, #F59E0B 100%);
  color: #726200;
  font-weight: 700;
}

.badge-tag {
  background: rgba(0, 74, 173, 0.08);
  color: var(--color-primary);
  border: 1px solid rgba(0, 74, 173, 0.15);
}

/* Interactive Tabs */
.tab-btn.active {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 74, 173, 0.25);
}

/* Accordion Smooth Dropdown */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease;
  opacity: 0;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  transition: max-height 0.4s ease-in-out, opacity 0.3s ease;
  opacity: 1;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* Feature Bento Card Hover Glow */
.bento-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(0, 74, 173, 0.12);
  border-color: rgba(0, 74, 173, 0.3);
}

/* Floating Action Button (WhatsApp / Download) */
.fab-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.fab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}

.fab-btn:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.fab-whatsapp {
  background: #25D366;
  color: #FFFFFF;
}

/* Modal styles */
.modal-backdrop {
  background: rgba(0, 31, 42, 0.6);
  backdrop-filter: blur(8px);
}

/* Scrollbar customized */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f4faff;
}

::-webkit-scrollbar-thumb {
  background: #c0dfee;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #004aad;
}
