/* ============================================================
   FPOS OPTIK — Main Stylesheet (Responsive Optimized)
   style.css  |  Breakpoints: 480 · 768 · 1024 · 1200+
   ============================================================ */

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

/* ── CSS Variables ── */
:root {
  --navy:        #0B1E3F;
  --navy-mid:    #132952;
  --navy-light:  #1D3A6E;
  --cyan:        #00C9B1;
  --cyan-dark:   #00A896;
  --white:       #FFFFFF;
  --off-white:   #F4F8FF;
  --gray-100:    #EFF3FA;
  --gray-300:    #C8D2E4;
  --gray-500:    #7A8CAB;
  --text-main:   #0B1E3F;
  --text-muted:  #5A6E8C;
  --text-light:  #8A9AB8;
  --accent-gold: #F5A623;
  --success:     #22C55E;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --shadow-sm:   0 2px 12px rgba(11,30,63,0.08);
  --shadow-md:   0 8px 32px rgba(11,30,63,0.12);
  --shadow-lg:   0 20px 60px rgba(11,30,63,0.18);
  --transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base ── */
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text-main); background: var(--white); overflow-x: hidden; }
h1,h2,h3,h4,h5 { font-family: 'Sora', sans-serif; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ============================================================  NAVBAR  */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11,30,63,0.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06); padding: 0 2rem;
  transition: var(--transition);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand-icon {
  width: 38px; height: 38px; background: linear-gradient(135deg, var(--cyan), #0099FF);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.nav-brand-text { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--white); }
.nav-brand-text span { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { color: rgba(255,255,255,0.75); font-size: 0.88rem; font-weight: 500; transition: var(--transition); white-space: nowrap; }
.nav-links a:hover { color: var(--cyan); }
.nav-cta { background: var(--cyan) !important; color: var(--navy) !important; font-weight: 700 !important; padding: 8px 18px; border-radius: 50px; transition: var(--transition) !important; }
.nav-cta:hover { background: var(--white) !important; transform: translateY(-1px); }
.nav-mobile-btn { display: none; background: none; border: none; cursor: pointer; color: var(--white); font-size: 1.6rem; line-height: 1; padding: 4px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

/* Mobile drawer */
.mobile-menu {
  display: none; flex-direction: column;
  position: fixed; top: 68px; left: 0; right: 0; z-index: 999;
  background: var(--navy); padding: 0.5rem 1.5rem 1.5rem; gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  max-height: calc(100vh - 68px); overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: rgba(255,255,255,0.85); font-size: 1rem; font-weight: 500; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; gap: 10px; }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--cyan); }

/* ============================================================  BUTTONS  */
.btn-primary {
  background: var(--cyan); color: var(--navy); padding: 13px 26px; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: var(--transition); border: none; cursor: pointer; white-space: nowrap;
}
.btn-primary:hover { background: var(--white); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,201,177,0.3); }
.btn-outline {
  background: transparent; color: var(--white); padding: 13px 26px; border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.3); font-weight: 600; font-size: 0.95rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: var(--transition); white-space: nowrap;
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-playstore {
  background: rgba(255,255,255,0.08); color: var(--white); border: 1px solid rgba(255,255,255,0.15);
  padding: 13px 26px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: var(--transition); white-space: nowrap;
}
.btn-playstore:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.btn-dark {
  background: var(--navy); color: var(--white); padding: 13px 26px; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: var(--transition); border: none; cursor: pointer;
}
.btn-dark:hover { background: var(--cyan); color: var(--navy); transform: translateY(-2px); }

/* ============================================================  SECTIONS  */
section { padding: 6rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--cyan); margin-bottom: 1rem; }
.section-label::before { content: ''; display: block; width: 20px; height: 2px; background: var(--cyan); border-radius: 2px; flex-shrink: 0; }
.section-title { font-size: clamp(1.55rem, 4vw, 2.6rem); font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 1rem; }
.section-sub { font-size: clamp(0.88rem, 2vw, 1rem); color: var(--text-muted); max-width: 560px; line-height: 1.7; }
.on-dark .section-title { color: var(--white); }
.on-dark .section-sub   { color: rgba(255,255,255,0.55); }
.on-dark .section-label { color: var(--cyan); }

/* ============================================================  REVEAL  */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================  WA FLOAT  */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45); font-size: 1.4rem; color: var(--white);
  transition: var(--transition); animation: wa-bounce 3s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.6); }
@keyframes wa-bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* ============================================================  FOOTER  */
footer { background: #070F1F; padding: 4rem 2rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-brand-text { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--white); }
.footer-brand-text span { color: var(--cyan); }
.footer-desc { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 260px; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 0.9rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }
.footer-col h5 { font-family: 'Sora', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { color: rgba(255,255,255,0.45); font-size: 0.82rem; transition: var(--transition); }
.footer-col ul a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-links a:hover { color: var(--cyan); }

/* ============================================================
   RESPONSIVE — GLOBAL
   ≤1024 tablet-landscape · ≤768 tablet · ≤480 mobile
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: 0.82rem; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
  .footer-top > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
  section { padding: 4.5rem 1.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .footer-desc { max-width: 100%; }
}
@media (max-width: 480px) {
  nav { padding: 0 1rem; }
  .nav-inner { height: 60px; }
  .mobile-menu { top: 60px; max-height: calc(100vh - 60px); }
  section { padding: 3.5rem 1rem; }
  .footer-top { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-top > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .wa-float { width: 50px; height: 50px; font-size: 1.2rem; bottom: 1rem; right: 1rem; }
}
