/* ============================================================
   GLAMIFIED SYSTEMS — DESIGN SYSTEM
   Shared across all pages
   ============================================================ */

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

:root {
  --navy:       #060F08;
  --navy2:      #0C1D10;
  --navy3:      #112A17;
  --navy4:      #163521;
  --gold:       #A88520;
  --gold2:      #C9A227;
  --gold3:      #E0BC4A;
  --gold-dim:   rgba(201,162,39,0.15);
  --white:      #F7F3EC;
  --white2:     #EDE7DA;
  --muted:      #8A9A8E;
  --muted2:     #6B7A6F;
  --teal:       #16A34A;
  --teal2:      #22C55E;
  --teal-dim:   rgba(22,163,74,0.15);
  --coral:      #C45035;
  --coral2:     #D9603F;
  --green:      #2E7D32;
  --green2:     #43A047;
  --purple:     #5B4FBF;
  --border:     rgba(255,255,255,0.07);
  --border2:    rgba(255,255,255,0.12);
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --shadow:     0 4px 24px rgba(0,0,0,0.3);
  --shadow-gold: 0 4px 24px rgba(201,162,39,0.2);
  --transition: all 0.25s ease;
}

html { scroll-behavior: smooth; font-size: 18px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: 'DM Sans', sans-serif; }

/* ── TYPOGRAPHY ── */
.display-1 { font-size: clamp(3rem, 5.5vw, 4.8rem); font-weight: 700; line-height: 1.1; }
.display-2 { font-size: clamp(2.4rem, 4vw, 3.8rem); font-weight: 700; line-height: 1.15; }
.h1 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; }
.h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 700; }
.lead { font-size: 1.15rem; color: var(--muted); font-weight: 300; line-height: 1.85; }
.small { font-size: 0.85rem; }
.xs { font-size: 0.75rem; }
.gold { color: var(--gold2); }
.muted { color: var(--muted); }
.teal { color: var(--teal2); }

/* ── SECTION TAGS ── */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold2);
  margin-bottom: 1rem;
}
.tag::before {
  content: ''; width: 18px; height: 2px;
  background: var(--gold2); border-radius: 2px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600;
  transition: var(--transition); cursor: pointer;
  border: none; white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal2); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid var(--border2); }
.btn-outline:hover { border-color: var(--gold2); color: var(--gold2); transform: translateY(-2px); }
.btn-outline-gold { background: transparent; color: var(--gold2); border: 1px solid rgba(201,162,39,0.4); }
.btn-outline-gold:hover { background: var(--gold-dim); transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: 0.875rem; }
.btn-lg { padding: 17px 40px; font-size: 1.05rem; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe58; transform: translateY(-2px); }

/* ── CARDS ── */
.card {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
}
.card:hover { border-color: var(--border2); transform: translateY(-3px); }
.card-gold:hover { border-color: rgba(201,162,39,0.35); }
.card-teal:hover { border-color: rgba(26,140,114,0.35); }
.card-lg { padding: 2.5rem; border-radius: var(--radius-lg); }
.card-glass {
  background: rgba(15,30,60,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border2);
}

/* ── BADGES ── */
.badge {
  display: inline-block; padding: 4px 12px;
  border-radius: 100px; font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.05em;
}
.badge-gold { background: rgba(201,162,39,0.15); color: var(--gold2); border: 1px solid rgba(201,162,39,0.25); }
.badge-teal { background: var(--teal-dim); color: var(--teal2); border: 1px solid rgba(26,140,114,0.25); }
.badge-coral { background: rgba(196,80,53,0.15); color: #E06848; border: 1px solid rgba(196,80,53,0.25); }
.badge-green { background: rgba(46,125,50,0.15); color: var(--green2); border: 1px solid rgba(46,125,50,0.25); }
.badge-new { background: var(--gold); color: var(--navy); }

/* ── SECTION ── */
.section { padding: 100px 6%; }
.section-sm { padding: 64px 6%; }
.section-dark { background: var(--navy); }
.section-navy2 { background: var(--navy2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header { margin-bottom: 3.5rem; }
.section-header-center { text-align: center; }
.section-header-center .section-title,
.section-header-center .lead { max-width: 620px; margin-left: auto; margin-right: auto; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.7rem); font-weight: 700; margin-bottom: 1rem; max-width: 640px; }

/* ── GRID SYSTEMS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.75rem; }

/* ── DIVIDERS ── */
.divider-gold { height: 1px; background: rgba(201,162,39,0.2); border: none; }
.divider-subtle { height: 1px; background: var(--border); border: none; }

/* ── FEATURE ITEM ── */
.feature-item { display: flex; gap: 1rem; align-items: flex-start; }
.feature-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 10px; display: flex;
  align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.feature-icon-gold { background: rgba(201,162,39,0.12); border: 1px solid rgba(201,162,39,0.2); }
.feature-icon-teal { background: var(--teal-dim); border: 1px solid rgba(22,163,74,0.2); }
.feature-text h4 { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; margin-bottom: 0.3rem; }
.feature-text p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

/* ── STEP ── */
.step { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-num {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%; background: var(--teal);
  color: #fff; font-size: 0.8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ── STAT CARD ── */
.stat-card { text-align: center; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--gold2); display: block; line-height: 1; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ── PRICING ── */
.pricing-card {
  background: var(--navy3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition);
  position: relative;
}
.pricing-card:hover { transform: translateY(-4px); border-color: rgba(201,162,39,0.3); }
.pricing-card.featured { border: 2px solid rgba(201,162,39,0.5); }
.pricing-card .popular-label {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 16px; border-radius: 100px;
  white-space: nowrap;
}
.price-amount { font-family: 'Space Grotesk', sans-serif; font-size: 2.8rem; font-weight: 700; color: var(--gold2); line-height: 1; }
.price-period { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; margin: 1.5rem 0; }
.price-features li { font-size: 0.875rem; color: var(--muted); display: flex; align-items: flex-start; gap: 8px; }
.price-features li::before { content: '✓'; color: var(--teal2); font-weight: 700; flex-shrink: 0; }
.price-features li.no::before { content: '–'; color: var(--muted2); }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0; cursor: pointer;
  font-weight: 500; font-size: 0.95rem;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--gold2); }
.faq-q .arrow { font-size: 1.1rem; transition: transform 0.25s; color: var(--muted); }
.faq-item.open .faq-q { color: var(--gold2); }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); color: var(--gold2); }
.faq-a { font-size: 0.88rem; color: var(--muted); line-height: 1.75; padding-bottom: 1.25rem; display: none; }
.faq-item.open .faq-a { display: block; }

/* ── BREADCRUMB ── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); margin-bottom: 2rem; }
.breadcrumb a:hover { color: var(--gold2); }
.breadcrumb span { color: var(--muted2); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 140px 6% 80px;
  background: var(--navy2);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before { display: none; }
.page-hero-grid { display: none; }
.page-hero-content { position: relative; }

/* ── TESTIMONIAL ── */
.testimonial-card {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.testimonial-stars { color: var(--gold2); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text { font-size: 0.92rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy4); display: flex;
  align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: var(--gold2);
  flex-shrink: 0;
}
.testimonial-name { font-size: 0.88rem; font-weight: 600; }
.testimonial-role { font-size: 0.78rem; color: var(--muted); }

/* ── CTA BAND ── */
.cta-band {
  background: var(--navy2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 6%; text-align: center;
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto 2rem; font-weight: 300; }
.cta-band-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── ANIMATIONS ── */
.anim-1, .anim-2, .anim-3, .anim-4, .anim-5 { }
.reveal { }
.reveal.visible { }

/* ── NAV ── */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: 70px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 6%;
  background: rgba(6,15,8,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,162,39,0.15);
  transition: background 0.3s, border-color 0.3s;
}
#site-nav.scrolled {
  background: rgba(6,15,8,0.99);
  border-bottom-color: rgba(201,162,39,0.25);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 48px; width: auto; mix-blend-mode: lighten; }
.nav-logo-text { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; font-weight: 700; }
.nav-logo-text em { font-style: normal; color: var(--gold2); }

.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links a {
  font-size: 0.855rem; font-weight: 500;
  color: var(--muted); padding: 6px 12px;
  border-radius: 7px; transition: color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--white); }
.nav-links .nav-cta {
  padding: 9px 22px;
  background: var(--gold); color: var(--navy) !important;
  border-radius: 8px; font-weight: 700 !important;
  margin-left: 0.5rem; font-size: 0.855rem !important;
}
.nav-links .nav-cta:hover { background: var(--gold2) !important; transform: translateY(-1px); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s; }

.mobile-nav {
  display: none; position: fixed;
  top: 70px; left: 0; right: 0; z-index: 499;
  background: var(--navy2);
  border-bottom: 1px solid var(--border2);
  padding: 1rem 6%; flex-direction: column; gap: 0.25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 0.95rem; color: var(--muted);
  padding: 10px 12px; border-radius: 8px;
  transition: 0.2s; font-weight: 500;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--white); background: rgba(255,255,255,0.05); }
.mobile-nav .nav-cta-mobile {
  margin-top: 0.5rem;
  background: var(--gold); color: var(--navy);
  text-align: center; border-radius: 8px;
  font-weight: 700; padding: 12px;
}

/* ── FOOTER ── */
#site-footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 72px 6% 36px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1.1rem; }
.footer-brand-logo img { height: 40px; width: 40px; object-fit: contain; mix-blend-mode: lighten; vertical-align: middle; }
.footer-brand-logo span { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 700; }
.footer-brand-logo em { font-style: normal; color: var(--gold2); }
.footer-brand p { font-size: 0.84rem; color: var(--muted); line-height: 1.75; max-width: 260px; }
.footer-products { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.footer-product-tag {
  display: flex; align-items: center; gap: 7px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.footer-product-tag img { width: 28px; height: 28px; object-fit: contain; mix-blend-mode: lighten; }
.footer-product-tag span { font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold2); margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul a { font-size: 0.855rem; color: var(--muted); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--muted);
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: var(--muted); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--white); }

/* ── WHATSAPP FLOAT ── */
#wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 400;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
#wa-float a {
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
#wa-float a:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
#wa-float a svg { width: 26px; height: 26px; fill: #fff; }
#wa-tooltip {
  background: var(--navy2); border: 1px solid var(--border2);
  color: var(--white); font-size: 0.78rem; font-weight: 500;
  padding: 6px 12px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
#wa-float:hover #wa-tooltip { opacity: 1; }

/* ── PURCHASE MODAL ── */
#purchase-modal {
  display: none; position: fixed; inset: 0; z-index: 600;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 1rem;
}
#purchase-modal.open { display: flex; }
.modal-box {
  background: var(--navy2);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: var(--radius-xl);
  padding: 2.5rem; max-width: 480px; width: 100%;
  position: relative; max-height: 90vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 1rem; right: 1.25rem;
  background: none; border: none; color: var(--muted);
  font-size: 1.6rem; cursor: pointer; line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--white); }
.modal-plan { color: var(--gold2); font-size: 0.9rem; margin-bottom: 1.75rem; }

/* ── TRIAL MODAL ── */
#trial-modal {
  display: none; position: fixed; inset: 0; z-index: 600;
  background: rgba(0,0,0,0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 1rem;
}
#trial-modal.open { display: flex; }

/* ── FORM ── */
.form-group { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.75rem; font-weight: 600; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--navy3); border: 1px solid var(--border);
  border-radius: 8px; padding: 11px 14px;
  color: var(--white); font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; transition: border-color 0.2s; outline: none; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: rgba(201,162,39,0.5); }
.form-group select option { background: var(--navy2); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  width: 100%; padding: 14px;
  background: var(--gold); color: var(--navy);
  border: none; border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: var(--transition); margin-top: 0.5rem;
}
.form-submit:hover { background: var(--gold2); transform: translateY(-1px); }

/* ── JOB CARD ── */
.job-card {
  background: var(--navy2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; transition: var(--transition);
}
.job-card:hover { border-color: rgba(201,162,39,0.3); transform: translateX(4px); }
.job-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.4rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.job-tag { font-size: 0.78rem; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.job-apply {
  padding: 9px 20px; border: 1px solid rgba(201,162,39,0.4);
  background: transparent; color: var(--gold2);
  border-radius: 8px; font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: var(--transition); flex-shrink: 0;
}
.job-apply:hover { background: var(--gold-dim); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 72px 6%; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .cta-band-actions { flex-direction: column; align-items: center; }
}

/* Highlight GlamifiedHR as main product in nav */
.nav-main-product {
  font-size: 1.13em !important;
  font-weight: 800 !important;
  color: var(--gold2) !important;
  letter-spacing: -0.5px;
}

.nav-logo-text {
  font-size: 2.1rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -1px;
}

@media (max-width: 700px) {
  .nav-logo-text {
    font-size: 1.3rem !important;
  }
}

/* Ensure correct brand color split for GlamifiedSystems */
.nav-logo-text span:first-child {
  color: #fff !important;
}
.nav-logo-text span:last-child {
  color: var(--gold2) !important;
}
