/* ============================================
   NAGM — Native AI Gulf Media
   Brand: deep navy + gold accent (Triple P)
   ============================================ */

:root {
  --navy-deep: #0F1B33;
  --navy-mid: #16223D;
  --navy-light: #1E2C4A;
  --navy-border: #2A3B5C;

  --gold: #C9A227;
  --gold-light: #E0BC4A;

  --white: #EEF2FA;
  --gray: #9AA5B8;
  --gray-dim: #6B7688;

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-width: 1180px;
  --radius: 16px;
  --radius-sm: 10px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background-color: var(--navy-deep);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-gold {
  color: var(--gold);
}

/* ============================================
   REVEAL ON SCROLL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   LOGO
   ============================================ */
.logo {
  display: flex;
  align-items: center;
}

.logo__img {
  height: 30px;
  width: auto;
  display: block;
  transition: opacity var(--transition);
}

.logo:hover .logo__img {
  opacity: 0.85;
}

.logo__img--footer {
  height: 40px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 27, 51, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--navy-border);
  background: rgba(15, 27, 51, 0.92);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a:not(.btn) {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gray);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:not(.btn):hover {
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  padding: 16px 32px;
  box-shadow: 0 8px 30px rgba(201, 162, 39, 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 162, 39, 0.4);
}

.btn--nav {
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: var(--gold-light);
  padding: 10px 22px;
}

.btn--nav:hover {
  background: rgba(201, 162, 39, 0.22);
}

.btn--lg {
  font-size: 16px;
  padding: 18px 38px;
}

.btn__icon {
  flex-shrink: 0;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero__bg-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.14) 0%, rgba(15, 27, 51, 0) 65%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-light);
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.08);
}

.hero__headline {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  margin-bottom: 24px;
  color: var(--white);
}

.hero__subheadline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--gray);
  max-width: 620px;
  margin: 0 auto 40px;
}

.hero__cta {
  margin-bottom: 28px;
}

.hero__secondary {
  font-size: 14px;
  color: var(--gray-dim);
}

/* ============================================
   SECTIONS (general)
   ============================================ */
.section {
  padding: 110px 0;
  position: relative;
}

.section--alt {
  background: var(--navy-mid);
}

.section__grid {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  max-width: 900px;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--gold-light);
  border: 1px solid var(--navy-border);
  border-radius: 999px;
  padding: 6px 14px;
  letter-spacing: 0.06em;
}

.section__content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 22px;
}

.section__content p {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 16px;
  max-width: 680px;
}

.section__content p.emphasis {
  color: var(--white);
  font-weight: 500;
  font-size: 1.15rem;
  margin-top: 24px;
}

.section__heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.section__heading h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

/* ============================================
   CARDS GRID
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--navy-deep);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.card__icon {
  font-size: 28px;
  margin-bottom: 18px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 39, 0.1);
  border-radius: var(--radius-sm);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--white);
}

.card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ============================================
   HOW IT WORKS — STEPS
   ============================================ */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 8px;
}

.step__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--white);
}

.step p {
  color: var(--gray);
  font-size: 0.92rem;
}

.step__connector {
  width: 60px;
  height: 1px;
  background: var(--navy-border);
  margin-top: 22px;
  flex-shrink: 0;
}

/* ============================================
   EXAMPLE QUESTIONS — CHAT BUBBLES
   ============================================ */
.chat-bubbles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.bubble {
  background: var(--navy-deep);
  border: 1px solid var(--navy-border);
  border-radius: 20px;
  padding: 14px 22px;
  font-size: 0.95rem;
  color: var(--white);
  transition: border-color var(--transition), transform var(--transition);
}

.bubble:hover {
  border-color: rgba(201, 162, 39, 0.5);
  transform: translateY(-3px);
}

.bubble::before {
  content: '💬 ';
  opacity: 0.7;
}

.disclaimer {
  text-align: center;
  max-width: 720px;
  margin: 56px auto 0;
  font-size: 0.85rem;
  color: var(--gray-dim);
  font-style: italic;
  line-height: 1.7;
}

/* ============================================
   FINAL CTA
   ============================================ */
.cta-final {
  position: relative;
  padding: 130px 0;
  text-align: center;
  overflow: hidden;
  background: var(--navy-mid);
}

.cta-final__bg-glow {
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.16) 0%, rgba(15, 27, 51, 0) 65%);
  pointer-events: none;
}

.cta-final .container {
  position: relative;
  z-index: 1;
}

.cta-final h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 680px;
  margin: 0 auto 40px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--navy-border);
  padding: 64px 0 24px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__tagline {
  font-size: 13px;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 12px;
}

.footer__desc {
  font-size: 14px;
  color: var(--gray);
  margin-top: 6px;
}

.footer__links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 14px;
  color: var(--gray);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--gold-light);
}

.footer__bottom {
  border-top: 1px solid var(--navy-border);
  padding-top: 24px;
}

.footer__bottom p {
  font-size: 12.5px;
  color: var(--gray-dim);
  text-align: center;
}

/* ============================================
   FLOATING WHATSAPP BUTTON (mobile persistent CTA)
   ============================================ */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.35);
  z-index: 900;
  transition: transform var(--transition);
  opacity: 0;
  pointer-events: none;
}

.floating-wa.visible {
  opacity: 1;
  pointer-events: auto;
}

.floating-wa:hover {
  transform: scale(1.08);
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 968px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    flex-wrap: wrap;
  }

  .step {
    flex: 1 1 45%;
    margin-bottom: 32px;
  }

  .step__connector {
    display: none;
  }

  .section__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section {
    padding: 80px 0;
  }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(300px, 80vw);
    background: var(--navy-mid);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 40px 32px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -10px 0 40px rgba(0,0,0,0.4);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .step {
    flex: 1 1 100%;
  }

  .hero {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: 60px;
  }

  .section {
    padding: 64px 0;
  }

  .footer__inner {
    flex-direction: column;
  }

  .floating-wa {
    width: 52px;
    height: 52px;
    bottom: 18px;
    right: 18px;
  }

  .btn--lg {
    padding: 15px 28px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .bubble {
    font-size: 0.88rem;
    padding: 12px 18px;
  }
}
