/* =========================================================================
   XMentor AI — site theme
   Brand-color rework + typography + cleaner layout overrides on top of the
   compiled Tailwind CSS. Loaded after index-*.css so its rules win.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');

:root {
  --brand-navy:      #0e3b8a;
  --brand-blue:      #1a55c2;
  --brand-blue-2:    #2972e5;
  --brand-cyan:      #1ec1de;
  --brand-cyan-2:    #5fd8ed;
  --brand-cyan-soft: #e7f8fc;
  --brand-text:      #0b1530;
  --brand-text-2:    #2b3858;
  --brand-mute:      #5a6783;
  --brand-line:      #e4e8f1;
  --brand-line-soft: #eef1f7;
  --brand-bg-soft:   #f6f8fc;
  --shadow-soft:     0 1px 2px rgba(11, 21, 48, 0.04);
  --shadow-card:     0 6px 24px rgba(11, 21, 48, 0.06);
  --shadow-pop:      0 18px 60px -20px rgba(14, 59, 138, 0.35);
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;
}

/* ---------- typography ---------- */
html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  color: var(--brand-text) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', 'Inter', sans-serif !important;
  letter-spacing: -0.025em !important;
  color: var(--brand-text) !important;
}

p, li, label, input, select, textarea, button {
  font-family: 'Inter', sans-serif !important;
}

/* ---------- nav ---------- */
nav.fixed {
  border-bottom: 1px solid var(--brand-line-soft) !important;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: saturate(180%) blur(14px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(14px) !important;
}

/* the brand wordmark in the nav: kill the multi-color gradient, use brand navy */
nav .bg-gradient-to-r.from-blue-600.to-purple-600 {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: var(--brand-navy) !important;
  color: var(--brand-navy) !important;
  font-family: 'Sora', 'Inter', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  font-size: 1.2rem !important;
}

/* logo image — keep crisp + slightly larger */
nav img[alt="XMentor AI"] {
  height: 34px !important;
  width: 34px !important;
}

footer img[alt="XMentor AI"] {
  height: 36px !important;
  width: 36px !important;
}

/* nav links: a touch heavier */
nav a[href^="#"] {
  font-weight: 500 !important;
  color: var(--brand-text-2) !important;
}

nav a[href^="#"]:hover {
  color: var(--brand-navy) !important;
}

/* ---------- buttons ---------- */
button {
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  border-radius: 10px !important;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease !important;
}

button:hover {
  transform: translateY(-1px);
}

/* primary "filled" buttons: brand gradient */
nav button:not([class*="variant"]):not([class*="border-white"]):not([class*="bg-white"]),
button.bg-primary,
nav .inline-flex.bg-primary,
section button.w-full:not([class*="border"]),
section button[type="submit"] {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-navy) 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 6px 20px -8px rgba(14, 59, 138, 0.55) !important;
}

nav button:not([class*="variant"]):not([class*="border-white"]):not([class*="bg-white"]):hover,
section button[type="submit"]:hover {
  background: linear-gradient(135deg, var(--brand-blue-2) 0%, var(--brand-blue) 100%) !important;
  box-shadow: 0 12px 28px -10px rgba(14, 59, 138, 0.55) !important;
}

/* outlined buttons in nav */
nav button.border,
nav button[class*="outline"] {
  background: transparent !important;
  color: var(--brand-navy) !important;
  border: 1.5px solid var(--brand-line) !important;
  box-shadow: none !important;
}

nav button.border:hover,
nav button[class*="outline"]:hover {
  border-color: var(--brand-blue) !important;
  color: var(--brand-blue) !important;
}

/* ---------- HERO section ---------- */
section.relative.pt-20.pb-16.overflow-hidden {
  background: linear-gradient(135deg, #0a2657 0%, #0e3b8a 35%, #1a55c2 70%, #1ec1de 130%) !important;
}

section.relative.pt-20.pb-16.overflow-hidden > div:first-child {
  background-image:
    radial-gradient(1200px 500px at 20% -10%, rgba(94, 216, 237, 0.25), transparent 60%),
    radial-gradient(900px 600px at 100% 100%, rgba(30, 193, 222, 0.30), transparent 60%),
    linear-gradient(135deg, rgba(10, 38, 87, 0.92) 0%, rgba(14, 59, 138, 0.88) 60%, rgba(26, 85, 194, 0.82) 100%),
    url('/assets/xmentor-hero-bg-CP16qBt1-CP16qBt1.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
}

/* hero badge: subtle glass effect */
section.relative.pt-20 .inline-flex.bg-white\/20,
section.relative.pt-20 [class*="bg-white/20"] {
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #e5f0ff !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-weight: 500 !important;
  letter-spacing: 0.01em;
  padding: 6px 14px !important;
}

/* hero h1: tighter, classier */
section.relative.pt-20 h1 {
  font-weight: 800 !important;
  font-size: clamp(2rem, 3.6vw, 3rem) !important;
  line-height: 1.1 !important;
  color: #fff !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 20px !important;
}

section.relative.pt-20 h1 span {
  display: block;
  margin-top: 4px;
}

/* hero subtitle gradient: replace yellow→orange with brand cyan */
section.relative.pt-20 .bg-gradient-to-r.from-yellow-300.to-orange-300 {
  background: linear-gradient(135deg, #5fd8ed 0%, #1ec1de 50%, #ffffff 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* hero description */
section.relative.pt-20 p.text-xl {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  max-width: 520px;
  margin-bottom: 32px !important;
}

/* hero CTA row — tighter, allow wrapping cleanly */
section.relative.pt-20 .flex.flex-col.sm\:flex-row {
  gap: 12px !important;
}

/* hero buttons — slightly more padding for prominence */
section.relative.pt-20 button {
  padding: 14px 24px !important;
  font-size: 1rem !important;
}

/* hero grid: align video to top so text doesn't push it down on tall titles */
section.relative.pt-20 .grid.lg\:grid-cols-2 {
  align-items: center !important;
}

/* hero CTAs: filled white + outlined ghost */
section.relative.pt-20 button.bg-white {
  color: var(--brand-navy) !important;
  background: #fff !important;
  font-weight: 600 !important;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.35) !important;
}

section.relative.pt-20 button.bg-white:hover {
  background: #f7fbff !important;
  color: var(--brand-blue) !important;
}

section.relative.pt-20 button[class*="border-white"] {
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  color: #fff !important;
}

section.relative.pt-20 button[class*="border-white"]:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: #fff !important;
}

/* hero video frame */
section.relative.pt-20 iframe {
  border-radius: 18px !important;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.10);
}

/* ---------- generic sections — alternating bands → subtle dividers ---------- */
section.py-20.bg-gray-50 {
  background: var(--brand-bg-soft) !important;
  border-top: 1px solid var(--brand-line-soft) !important;
  border-bottom: 1px solid var(--brand-line-soft) !important;
}

section.py-20 {
  padding-top: 96px !important;
  padding-bottom: 96px !important;
}

/* section headlines */
section h2.text-3xl,
section h2.text-4xl,
section h2[class*="md:text-4xl"] {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.2 !important;
  max-width: 820px;
  margin-left: auto !important;
  margin-right: auto !important;
}

section .text-xl.text-gray-600 {
  color: var(--brand-mute) !important;
  font-size: 1.05rem !important;
  font-weight: 400 !important;
  max-width: 720px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* the "text-center mb-16" container — tighter top spacing for stacked title+sub */
section .text-center.mb-16 {
  margin-bottom: 56px !important;
}

/* ---------- KILL ICON CLUTTER ---------- */
/* benefits + features icon circles */
.bg-gray-100.rounded-full.w-fit {
  display: none !important;
}

/* card titles when icons are gone — make them more prominent */
section [class*="grid"] [class*="hover:shadow"] [class*="text-lg"] {
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  margin-bottom: 6px !important;
}

/* card descriptions: cleaner */
section [class*="grid"] [class*="hover:shadow"] p.text-gray-600 {
  color: var(--brand-mute) !important;
  font-size: 0.97rem !important;
  line-height: 1.6 !important;
}

/* card backgrounds + borders */
section [class*="grid"] > [class*="hover:shadow"],
section [class*="grid"] > div[class*="rounded"]:has([class*="text-lg"]) {
  background: #fff !important;
  border: 1px solid var(--brand-line-soft) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-soft) !important;
  transition: all 0.25s ease !important;
}

section [class*="grid"] > [class*="hover:shadow"]:hover {
  border-color: var(--brand-cyan) !important;
  box-shadow: var(--shadow-pop) !important;
  transform: translateY(-2px);
}

/* card header: tighter padding */
section [class*="grid"] > [class*="hover:shadow"] > div:first-child {
  padding-bottom: 8px !important;
}

/* ---------- HOW IT WORKS — numbered steps ---------- */
section .w-10.h-10.bg-blue-600 {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-navy) 100%) !important;
  width: 42px !important;
  height: 42px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  box-shadow: 0 6px 18px -6px rgba(14, 59, 138, 0.45);
}

/* dashboard mockup image: less clip, softer shadow */
section img.rounded-2xl {
  border-radius: 18px !important;
  box-shadow: 0 30px 60px -20px rgba(11, 21, 48, 0.18) !important;
  border: 1px solid var(--brand-line-soft);
}

/* ---------- INDUSTRIES — tabs ---------- */
section#industries .flex.flex-wrap.gap-2 button {
  border-radius: 999px !important;
  padding: 8px 18px !important;
  font-size: 0.9rem !important;
  border: 1.5px solid var(--brand-line) !important;
  background: #fff !important;
  color: var(--brand-text-2) !important;
  box-shadow: none !important;
}

section#industries .flex.flex-wrap.gap-2 button:hover {
  border-color: var(--brand-blue) !important;
  color: var(--brand-blue) !important;
  background: var(--brand-cyan-soft) !important;
  transform: none;
}

/* active tab — looks for the dark "default" variant */
section#industries .flex.flex-wrap.gap-2 button[class*="bg-primary"],
section#industries .flex.flex-wrap.gap-2 button:not([class*="border-input"]):not([class*="outline"]) {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-navy) 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 6px 18px -6px rgba(14, 59, 138, 0.45) !important;
}

/* check-circle icons in lists: brand cyan */
section svg.text-green-600 {
  color: var(--brand-cyan) !important;
}

/* ---------- PRICING ---------- */
section#pricing > div > div.grid > div {
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--brand-line) !important;
  background: #fff !important;
  box-shadow: var(--shadow-soft) !important;
  transition: all 0.25s ease !important;
}

section#pricing > div > div.grid > div:hover {
  border-color: var(--brand-blue-2) !important;
  box-shadow: var(--shadow-pop) !important;
  transform: translateY(-3px);
}

/* "Most popular" plan: bring forward */
section#pricing > div > div.grid > div.border-blue-500.shadow-lg {
  border: 2px solid var(--brand-blue) !important;
  background: linear-gradient(180deg, #fff 0%, var(--brand-cyan-soft) 100%) !important;
  box-shadow: 0 22px 60px -22px rgba(14, 59, 138, 0.35) !important;
  transform: translateY(-4px);
  position: relative;
}

/* "Most popular" badge */
section#pricing .absolute[class*="bg-blue-600"] {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-navy) 100%) !important;
  color: #fff !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 18px -6px rgba(14, 59, 138, 0.45);
}

/* pricing card title */
section#pricing [class*="text-2xl"] {
  font-weight: 700 !important;
  color: var(--brand-text) !important;
}

/* "Contact Us" / price text */
section#pricing div.text-3xl.font-bold {
  font-weight: 800 !important;
  font-size: 1.7rem !important;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* pricing buttons */
section#pricing button.w-full {
  border-radius: 12px !important;
  padding: 12px 20px !important;
  font-weight: 600 !important;
}

/* outlined pricing button */
section#pricing button.w-full[class*="outline"] {
  background: transparent !important;
  border: 1.5px solid var(--brand-line) !important;
  color: var(--brand-text) !important;
  box-shadow: none !important;
}

section#pricing button.w-full[class*="outline"]:hover {
  border-color: var(--brand-blue) !important;
  color: var(--brand-blue) !important;
  background: var(--brand-cyan-soft) !important;
}

/* the "All subscription requests..." note: subtler */
section#pricing > div > .text-center.mt-12,
section#pricing p.text-gray-600 {
  color: var(--brand-mute) !important;
  font-size: 0.92rem !important;
}

/* ---------- CTA / FORM section ---------- */
section.bg-gradient-to-br.from-blue-600.to-purple-600 {
  background: linear-gradient(135deg, #0a2657 0%, #0e3b8a 50%, #1ec1de 130%) !important;
  position: relative;
  overflow: hidden;
}

section.bg-gradient-to-br.from-blue-600.to-purple-600::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 0% 0%, rgba(94, 216, 237, 0.18), transparent 60%),
    radial-gradient(800px 400px at 100% 100%, rgba(94, 216, 237, 0.18), transparent 60%);
  pointer-events: none;
}

section.bg-gradient-to-br.from-blue-600.to-purple-600 > div {
  position: relative;
}

/* CTA headline: more impact */
section.bg-gradient-to-br.from-blue-600.to-purple-600 > div > div.text-center.text-white h2 {
  color: #fff !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
}

section.bg-gradient-to-br.from-blue-600.to-purple-600 .text-blue-100 {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* form card */
section.bg-gradient-to-br.from-blue-600.to-purple-600 [class*="max-w-2xl"] {
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* form inputs / selects / textarea */
input[type="text"], input[type="email"], textarea,
[class*="SelectTrigger"], button[role="combobox"] {
  border: 1.5px solid var(--brand-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

input[type="text"]:focus, input[type="email"]:focus, textarea:focus,
button[role="combobox"]:focus {
  border-color: var(--brand-blue) !important;
  box-shadow: 0 0 0 3px rgba(26, 85, 194, 0.15) !important;
  outline: none !important;
}

label {
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  color: var(--brand-text-2) !important;
  margin-bottom: 4px;
}

/* ---------- FAQ ---------- */
/* hide the chevron-down icons from FAQ titles for a cleaner look */
section.bg-gray-50 + section.py-20 [class*="grid"] [class*="text-lg"] svg.h-5.w-5.text-gray-400,
section .max-w-4xl [class*="text-lg"] svg.text-gray-400 {
  display: none !important;
}

section .max-w-4xl > div.space-y-6 > div {
  background: #fff !important;
  border: 1px solid var(--brand-line-soft) !important;
  border-radius: var(--radius) !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

section .max-w-4xl > div.space-y-6 > div:hover {
  border-color: var(--brand-cyan) !important;
  box-shadow: var(--shadow-card) !important;
}

section .max-w-4xl > div.space-y-6 > div [class*="text-lg"] {
  font-weight: 600 !important;
  color: var(--brand-text) !important;
  font-size: 1.05rem !important;
}

section .max-w-4xl > div.space-y-6 > div p.text-gray-600 {
  color: var(--brand-mute) !important;
  font-size: 0.97rem !important;
  line-height: 1.65 !important;
}

/* ---------- FOOTER ---------- */
footer.bg-gray-900 {
  background: #0a1530 !important;
  border-top: 1px solid #182549;
}

footer h3.font-semibold {
  color: #fff !important;
  font-size: 0.85rem !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600 !important;
  margin-bottom: 14px !important;
}

footer ul a {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 0.95rem !important;
  transition: color 0.15s ease;
}

footer ul a:hover {
  color: #5fd8ed !important;
}

footer .text-gray-400:not(ul a) {
  color: rgba(255, 255, 255, 0.55) !important;
}

footer .border-t.border-gray-800 {
  border-color: rgba(255, 255, 255, 0.08) !important;
  padding-top: 24px !important;
  margin-top: 32px !important;
}

footer .border-t.border-gray-800 p {
  font-size: 0.85rem !important;
  color: rgba(255, 255, 255, 0.50) !important;
}

footer span.text-xl.font-bold {
  font-family: 'Sora', sans-serif !important;
  letter-spacing: -0.02em;
}

/* ---------- LANGUAGE SWITCHER ---------- */
nav button[class*="globe"],
nav [class*="rounded"] button:has(svg) {
  border-radius: 10px !important;
}

/* ---------- MISC POLISH ---------- */
/* prevent harsh focus rings on cards/buttons */
button:focus-visible {
  outline: 2px solid var(--brand-blue) !important;
  outline-offset: 2px;
}

/* selection color = brand cyan */
::selection {
  background: rgba(30, 193, 222, 0.25);
  color: var(--brand-text);
}

/* smooth scroll */
html {
  scroll-behavior: smooth;
}

/* slightly softer container max width feel */
.max-w-7xl {
  max-width: 1200px !important;
}

/* responsive tweaks */
@media (max-width: 1024px) {
  section.relative.pt-20 .grid.lg\:grid-cols-2 {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  section.relative.pt-20 p.text-xl {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  section.py-20 {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
  section.relative.pt-20 h1 {
    font-size: 2rem !important;
  }
  section.relative.pt-20 .py-20 {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
  /* nav: hide right-side button stack on mobile, keep language switcher */
  nav .hidden.md\:flex {
    display: none !important;
  }
  /* footer: stack columns nicely */
  footer .grid.md\:grid-cols-4 {
    gap: 32px !important;
  }
}

@media (max-width: 480px) {
  section.relative.pt-20 h1 {
    font-size: 1.75rem !important;
  }
  section h2.text-3xl,
  section h2.text-4xl,
  section h2[class*="md:text-4xl"] {
    font-size: 1.5rem !important;
  }
}

