/* GlobNex AI — Designer mockup (index + sub-pages) */
@import url("https://fonts.cdnfonts.com/css/metropolis-2");

:root {
  --purple: #6d28d9;
  --purple-dark: #5b21b6;
  --navy: #111b4f;
  --navy-dark: #06122f;
  --orange: #f97316;
  --gold: #d8a51d;
  --blue: #2563eb;
  --red: #ef4444;
  --green: #22c55e;
  --text: #13204a;
  --muted: #1f2a44;
  --light: #f8fafc;
  --line: #e5e7eb;
  --white: #fff;
  --shadow: 0 18px 45px rgba(17, 27, 79, 0.12);
  --radius: 12px;
  --radius-btn: 6px;
  --max: 1180px;
  --font: "Metropolis", Arial, Helvetica, sans-serif;
  --section-pad: 80px;
  --blue-dark: #274286;
  --gray: #E5E8E9;
}

.text-white { color: var(--white); }
.text-gold { color: var(--gold); }
.text-purple { color: var(--purple); }
.text-purple-dark { color: var(--purple-dark); }
.text-orange { color: var(--orange); }
.bg-gray { background: var(--gray); }
.text-center { text-align: center; }
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

body.nav-open { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--purple); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.15;
}

p { margin: 0 0 1rem; }
p.lead {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Layout ── */
.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.container-bg-blue-dark {
  background: var(--blue-dark);
}

.container--narrow {
  width: min(100% - 32px, 860px);
  margin-inline: auto;
}

.text-center { text-align: center; }
.text-accent { color: var(--purple-dark); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--purple);
  color: var(--white);
  padding: 8px 12px;
  border-radius: var(--radius-btn);
  z-index: 100;
}
.skip-link:focus { top: 16px; }

/* ── Header ── */
.site-header {
  background-color: var(--navy-dark); /* fallback */
  background-image: linear-gradient(
    90deg,
    var(--navy-dark) 0%,
    var(--navy) 35%,
    var(--purple-dark) 70%,
    var(--purple) 100%
  );
}

.site-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(17, 27, 79, 0.08);
}

.site-header__inner {
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
}

.logo__mark { height: 42px; flex-shrink: 0; }

.footer-logo { width: 80%}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__name {
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.logo__name span:nth-child(2) { color: var(--orange); }
.logo__name span:nth-child(3) { color: var(--purple); }

.logo__tagline {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--muted);
}

.nav-desktop { justify-self: center; }

.nav-desktop ul {
  display: flex;
  gap: 34px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-desktop a {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
}

.nav-desktop a:hover { color: var(--purple); }

.header-cta { display: inline-flex; }

.nav-toggle,
.nav-mobile,
.nav-overlay { display: none; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

a.nav-link {
  color: var(--white)
}

a.nav-link:hover {
  color: var(--orange);
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--navy-dark);
  color: var(--white);
}

.btn--outline,
.btn--secondary {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.btn--outline:hover,
.btn--secondary:hover {
  background: var(--navy-dark);
  color: var(--white);
}

.btn--accent {
  background: var(--orange);
  color: var(--white);
}
.btn--accent:hover {
  background: #ea580c;
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
}
.btn--white:hover {
  background: #f1f5f9;
  color: var(--navy);
}

.nav-desktop .btn,
.nav-mobile .btn,
.header-cta { color: var(--white); }

.btn-group {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 52px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 24%, rgba(96, 165, 250, 0.18), transparent 30%),
    linear-gradient(90deg, #ffffff 0%, #ffffff 44%, #eff6ff 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 36px;
}

.hero__eyebrow {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 10px;
}

.hero h1 {
  margin: 0 0 18px;
  max-width: 640px;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  color: var(--navy);
}

.hero p {
  max-width: 560px;
  margin: 0 0 28px;
  color: #1f2a44;
  font-size: 1rem;
}

.hero-art {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background:
    linear-gradient(to top, rgba(17, 27, 79, 0.14), transparent),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(17, 27, 79, 0.08) 18px 22px);
  opacity: 0.7;
}

.globe {
  position: relative;
  width: min(88%, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 68% 18%, rgba(255, 255, 255, 0.96) 0 2%, transparent 12%),
    radial-gradient(circle at 34% 28%, #6bb7ff 0 8%, #1e60c6 28%, #122a70 72%);
  box-shadow:
    0 0 75px rgba(30, 64, 175, 0.35),
    inset -32px -24px 50px rgba(0, 0, 0, 0.28);
}

.globe::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 12px solid rgba(216, 165, 29, 0.78);
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 70%);
  transform: rotate(12deg);
}

.globe::after {
  content: "";
  position: absolute;
  inset: -30px;
  background:
    radial-gradient(circle at 28% 36%, #fbbf24 0 4px, transparent 5px),
    radial-gradient(circle at 54% 54%, #fbbf24 0 4px, transparent 5px),
    radial-gradient(circle at 76% 38%, #fbbf24 0 4px, transparent 5px),
    radial-gradient(circle at 38% 70%, #fbbf24 0 4px, transparent 5px);
  border-radius: 50%;
}

/* ── Trust bar ── */
.trust {
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.trust__title {
  text-align: center;
  color: var(--purple);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 22px;
}

.trust__logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px 64px;
}

.trust__logo {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

/* ── Sections ── */
.section { padding: var(--section-pad) 0; }

.section--soft { background: var(--light); }

.section__header {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.section__label {
  display: block;
  margin-bottom: 8px;
  color: var(--purple);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--navy);
}

/* ── Grid & cards ── */
.grid { display: grid; gap: 22px; }

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(17, 27, 79, 0.06);
  padding: 30px 24px;
}

.feature-card { text-align: center; }

.card__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
}

.icon-blue { background: var(--blue); }
.icon-purple { background: var(--purple); }
.icon-red { background: var(--red); }
.icon-gold { background: var(--gold); }

.card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── Platform split ── */
.platform {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  align-items: center;
}

.platform h2 span:first-child { color: var(--navy); }
.platform h2 span:last-child { color: var(--orange); }

/* Platform left column */
.platform .split > div:first-child p {
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.7;
}

.platform .section__label {
  color: var(--purple);
}

.platform__visual {
  margin: 0;
}

.platform__visual img,
.platform__visual svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ede9fe;
  color: var(--purple);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.75rem;
}

/* ── Dashboard mockup ── */
.dashboard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dashboard__top {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--line);
}

.dashboard__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
}

.dashboard__body {
  display: grid;
  grid-template-columns: 145px 1fr;
  min-height: 330px;
}

.dashboard__side {
  background: var(--navy);
  padding: 22px 16px;
}

.dashboard__nav {
  height: 9px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.dashboard__nav:first-child {
  width: 86%;
  background: rgba(255, 255, 255, 0.7);
}

.dashboard__main { padding: 24px; }

.dashboard__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.dashboard__stat {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: #fff;
}

.dashboard__number {
  color: var(--navy);
  font-weight: 900;
  font-size: 1.25rem;
}

.dashboard__small {
  color: var(--muted);
  font-size: 0.68rem;
}

.dashboard__map {
  height: 150px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 52% 46%, rgba(59, 130, 246, 0.22), transparent 34%),
    linear-gradient(180deg, #eff6ff, #f8fafc);
  position: relative;
}

.dashboard__map::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  left: 58%;
  top: 38%;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: -54px 28px 0 -2px var(--purple), 72px 44px 0 -2px var(--blue);
}

/* ── About pillars ── */
.about-intro {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 34px;
}

.about-intro p {
  color: var(--muted);
  margin: 0;
}

.pillar-card { min-height: 100%; }

.pillar-card .card__icon {
  margin-left: 0;
  margin-right: 0;
}

/* ── CTA band (mockup: deep navy) ── */
.cta-section {
  position: relative;
  padding: var(--section-pad) 0;
  background: var(--blue-dark);
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.35;
}

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

.cta-section p {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 22px;
}

.cta-band {
  padding: 44px 24px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius);
}

.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, 0.9); }

/* ── Footer ── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(5, 1fr);
  gap: 34px;
}

.site-footer .logo__name { color: var(--white); }
.site-footer .logo__name span { color: var(--white); }

.footer-heading {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

.footer-links a:hover { color: var(--white); }

.newsletter-form {
  display: flex;
  margin-top: 10px;
}

.newsletter-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 11px 12px;
  border-radius: var(--radius-btn) 0 0 var(--radius-btn);
  font: inherit;
  font-size: 0.85rem;
}

.newsletter-form button {
  border: 0;
  padding: 0 14px;
  background: var(--purple);
  color: var(--white);
  border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
  cursor: pointer;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.footer-social a:hover {
  background: var(--purple);
  color: var(--white);
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.76rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.48);
  margin-left: 18px;
}

.footer-bottom a:hover { color: var(--white); }

/* ── Sub-pages ── */
.page-hero {
  padding: 64px 0;
  background: linear-gradient(180deg, #fff, var(--light));
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  color: var(--navy);
}

.breadcrumb {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.breadcrumb a { color: var(--purple); }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card--featured {
  border-color: var(--purple);
  box-shadow: var(--shadow);
  position: relative;
}

.pricing-card--featured::before {
  content: "Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.2rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--orange);
  color: var(--white);
  border-radius: 999px;
}

.pricing-card__tier {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--purple);
}

.pricing-card__price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0.5rem 0 1rem;
}

.pricing-card ul {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.pricing-card li {
  padding: 0.35rem 0 0.35rem 1.4rem;
  position: relative;
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 800;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  font: inherit;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.15);
}

.form-message {
  padding: 12px;
  border-radius: var(--radius-btn);
  margin-bottom: 1rem;
  display: none;
}

.form-message.is-visible { display: block; }
.form-message--success { background: #dcfce7; color: #166534; }
.form-message--error { background: #fee2e2; color: #991b1b; }

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  color: var(--navy);
}

.legal-content ul { padding-left: 1.25rem; }
.legal-content li { margin-bottom: 0.5rem; }

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: var(--white);
  box-shadow: var(--shadow);
}

.whatsapp-float:hover {
  color: var(--white);
  transform: scale(1.05);
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .site-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-desktop,
  .header-cta { display: none; }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 0;
    background:transparent;
    border-radius: 10px;
    cursor: pointer;
  }

  .nav-toggle__bar {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 72px 0 0;
    z-index: 55;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .nav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
  }

  .nav-mobile {
    display: block;
    position: fixed;
    inset: 72px 0 0;
    z-index: 60;
    background: var(--white);
    padding: 32px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s ease;
    overflow-y: auto;
  }

  .nav-mobile.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-mobile ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .nav-mobile li { border-bottom: 1px solid var(--line); }

  .nav-mobile a {
    display: block;
    padding: 18px 0;
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 800;
  }

  .nav-mobile .btn {
    margin-top: 22px;
    width: 100%;
    justify-content: center;
    text-align: center;
    color: var(--white);
  }

  .hero__grid,
  .split,
  .footer-grid,
  .office-grid,
  .grid--2 {
    grid-template-columns: 1fr;
  }

  .hero__content { text-align: center; }

  .hero p,
  .btn-group {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .grid--4,
  .grid--3 {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root { --section-pad: 56px; }

  .grid--4,
  .grid--3,
  .dashboard__body,
  .dashboard__stats {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 36px; }
  .hero-art { min-height: 320px; }

  .footer-bottom { flex-direction: column; }

  .footer-bottom a {
    margin-left: 0;
    margin-right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}