/* ============================================================
   UNLOCK YOUR BUSINESS — Global Stylesheet
   ============================================================ */

/* Google Fonts are imported in each HTML head */

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

html { scroll-behavior: smooth; }

body {
  background-color: #0A192F;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography -------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: 'Averia Serif Libre', Georgia, serif;
  letter-spacing: -0.08em;
  line-height: 1.1;
}

p { line-height: 1.7; }

a { color: inherit; text-decoration: none; }

/* --- Colour Tokens ----------------------------------------- */
:root {
  --navy:       #0A192F;
  --navy-card:  #0F223A;
  --navy-mid:   #112840;
  --teal:       #C9A84C;
  --teal-light: #D4B55A;
  --teal-dark:  #B8922F;
  --gold:       #D5C669;
  --gold-muted: #C4B558;
  --text-muted: rgba(255,255,255,0.5);
  --text-dim:   rgba(255,255,255,0.3);
  --border:     rgba(255,255,255,0.07);
  --border-gold:rgba(201,164,76,0.2);
}

/* --- Buttons ----------------------------------------------- */
.btn-primary {
  background: #C9A84C;
  color: #fff;
  border-radius: 10px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  display: inline-block;
  cursor: pointer;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
}
.btn-primary:hover {
  background: #D4B55A;
  box-shadow: 0 0 24px rgba(201,164,76,0.45);
  transform: translateY(-1px);
}
.btn-primary:focus-visible {
  outline: 2px solid #C9A84C;
  outline-offset: 3px;
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: #C9A84C;
  border: 1.5px solid #C9A84C;
  border-radius: 10px;
  padding: 11px 26px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
}
.btn-outline:hover {
  background: rgba(201,164,76,0.1);
  box-shadow: 0 0 16px rgba(201,164,76,0.25);
}
.btn-outline:focus-visible { outline: 2px solid #C9A84C; outline-offset: 3px; }
.btn-outline:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255,255,255,0.07);
  color: #fff;
  border-radius: 10px;
  padding: 11px 26px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.1);
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: background 0.25s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-ghost:focus-visible { outline: 2px solid rgba(255,255,255,0.4); outline-offset: 3px; }

/* --- Cards ------------------------------------------------- */
.card {
  background: #0F223A;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,164,76,0.15);
}

.card-glass {
  background: rgba(15,34,58,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
}

/* --- Gradients & Glows ------------------------------------- */
.hero-glow {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,164,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.teal-glow {
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(201,164,76,0.15) 0%, transparent 70%);
}
.section-glow {
  background: linear-gradient(180deg, transparent, rgba(15,34,58,0.4), transparent);
}

/* --- Text utilities ---------------------------------------- */
.text-gradient {
  background: linear-gradient(135deg, #C9A84C, #D5C669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  color: #C9A84C;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.teal-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #C9A84C, rgba(201,164,76,0.2));
  border-radius: 2px;
}

/* --- Forms ------------------------------------------------- */
input, textarea, select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
  padding: 12px 16px;
  width: 100%;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #C9A84C;
  box-shadow: 0 0 0 3px rgba(201,164,76,0.12);
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.3); }
select option { background: #0A192F; color: #fff; }

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}

/* --- Navigation -------------------------------------------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10,25,47,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s;
}
.nav-link {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: #C9A84C; }
.nav-link.active-page { color: #C9A84C; }

#mobile-menu { display: none; }
#mobile-menu.open { display: block; }

/* --- Feature Icon ------------------------------------------ */
.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,164,76,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C9A84C;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* --- Stat bar ---------------------------------------------- */
.stat-bar {
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #C9A84C, rgba(201,164,76,0.2));
}

/* --- Chart bars -------------------------------------------- */
.chart-bar {
  background: linear-gradient(180deg, #C9A84C 0%, rgba(201,164,76,0.3) 100%);
  border-radius: 3px 3px 0 0;
  transition: height 0.8s ease;
}

/* --- Animations -------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Intersection observer animated class */
/* Elements are always visible — animation is progressive enhancement only */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.js-loaded .reveal { opacity: 0; transform: translateY(18px); }
.js-loaded .reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Grid background ---------------------------------------- */
.grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.03;
  pointer-events: none;
}

/* --- Sticky mobile CTA -------------------------------------- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(10,25,47,0.97);
  border-top: 1px solid rgba(201,164,76,0.2);
  padding: 12px 20px;
}
@media (max-width: 767px) {
  .mobile-cta-bar { display: flex; align-items: center; gap: 12px; }
  .mobile-cta-bar .btn-primary { flex: 1; text-align: center; }
}

/* --- Breadcrumb -------------------------------------------- */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.breadcrumb a:hover { color: #C9A84C; }
.breadcrumb span { color: rgba(255,255,255,0.2); }

/* --- Process steps ----------------------------------------- */
.process-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
  background: rgba(201,164,76,0.15);
  color: #C9A84C;
  border: 1px solid rgba(201,164,76,0.3);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.process-step-num.active {
  background: #C9A84C;
  color: #0A192F;
  border-color: #C9A84C;
}

/* --- Category badge ---------------------------------------- */
.badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.badge-teal   { background: rgba(201,164,76,0.15); color: #C9A84C; }
.badge-gold   { background: rgba(213,198,105,0.12); color: #D5C669; }
.badge-white  { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); }

/* --- Article prose ----------------------------------------- */
.prose { font-size: 0.95rem; color: rgba(255,255,255,0.7); }
.prose p  { margin-bottom: 1.2em; }
.prose h2 { font-family: 'Averia Serif Libre', Georgia, serif; font-size: 1.5rem; color: #fff; margin: 2em 0 0.5em; }
.prose h3 { font-family: 'Averia Serif Libre', Georgia, serif; font-size: 1.2rem; color: #fff; margin: 1.5em 0 0.4em; }
.prose ul  { list-style: none; padding: 0; margin-bottom: 1.2em; }
.prose ul li { padding-left: 1.4em; position: relative; margin-bottom: 0.5em; }
.prose ul li::before { content: '→'; position: absolute; left: 0; color: #C9A84C; }
.prose a  { color: #C9A84C; text-decoration: underline; }

/* --- Footer ------------------------------------------------- */
footer {
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* --- LP specifics ------------------------------------------ */
.lp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(10,25,47,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- Stars ------------------------------------------------- */
.stars { color: #C9A84C; font-size: 0.9rem; letter-spacing: 2px; }

/* --- Responsive helpers ------------------------------------ */
@media (max-width: 767px) {
  .pt-nav { padding-top: 80px; }
  body { padding-bottom: 72px; } /* room for sticky CTA */
}
@media (min-width: 768px) {
  .pt-nav { padding-top: 0; }
}
