/* ============================================================
   PREDIXION AI — Shared Stylesheet
   predixionai.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ── Variables ───────────────────────────────────────────── */
:root {
  --navy:        #1A1D6B;
  --navy-deep:   #111450;
  --navy-light:  #252880;
  --cyan:        #3BBDE8;
  --cyan-light:  #7DD4F5;
  --cyan-pale:   #EAF7FD;
  --white:       #FFFFFF;
  --off-white:   #F6F7FB;
  --text:        #0D1040;
  --text-muted:  #5B6280;
  --border:      #DDE0EE;
  --border-dark: rgba(255,255,255,0.12);

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  --shadow-sm:   0 1px 3px rgba(26,29,107,0.08);
  --shadow:      0 4px 20px rgba(26,29,107,0.10);
  --shadow-lg:   0 12px 40px rgba(26,29,107,0.14);

  --nav-h:       72px;
  --section-pad: 100px;
  --max-w:       1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

.display-xl {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.display-lg {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.display-md {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
}

.kicker {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  display: block;
}

.kicker-dark {
  color: var(--navy);
}

/* ── Layout Utilities ────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--section-pad) 0;
}

.section--alt {
  background: var(--off-white);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--deep {
  background: var(--navy-deep);
  color: var(--white);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.nav-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}

.nav.scrolled .nav-logo img {
  filter: none;
}

.nav-logo-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-left: 0.75rem;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255,255,255,0.3);
  transition: color 0.3s, border-color 0.3s;
}

.nav.scrolled .nav-logo-sub {
  color: var(--text-muted);
  border-color: var(--border);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav.scrolled .nav-links a {
  color: var(--text-muted);
}

.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.active {
  color: var(--navy);
  background: var(--off-white);
}

/* Nav CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cyan);
  color: var(--navy-deep);
}

.btn-primary:hover {
  background: var(--cyan-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59,189,232,0.35);
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.25);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: var(--off-white);
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,189,232,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,189,232,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Glow orb */
.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,189,232,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
  width: 100%;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(59,189,232,0.12);
  border: 1px solid rgba(59,189,232,0.3);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
  max-width: 900px;
}

.hero h1 em {
  font-style: normal;
  color: var(--cyan);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.65);
  max-width: 620px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-metrics {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.metric strong {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.metric span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Page Hero (interior pages) ─────────────────────────── */
.page-hero {
  background: var(--navy-deep);
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,189,232,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,189,232,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,189,232,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  max-width: 700px;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 580px;
  font-weight: 300;
  line-height: 1.75;
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59,189,232,0.3);
}

.card--accent {
  border-left: 3px solid var(--cyan);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--cyan-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card-tag {
  display: inline-block;
  background: var(--off-white);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.card-tag--cyan {
  background: var(--cyan-pale);
  color: var(--navy);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Dark cards */
.card--dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
}

.card--dark:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(59,189,232,0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.card--dark h3 {
  color: var(--white);
}

.card--dark p {
  color: rgba(255,255,255,0.55);
}

.card--dark .card-icon {
  background: rgba(59,189,232,0.15);
}

/* ── Section Header ──────────────────────────────────────── */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header.centered {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.section--navy .section-header h2,
.section--deep .section-header h2 {
  color: var(--white);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
  font-weight: 300;
}

.section-header.centered p {
  margin: 0 auto;
}

.section--navy .section-header p,
.section--deep .section-header p {
  color: rgba(255,255,255,0.55);
}

/* ── Divider ─────────────────────────────────────────────── */
.divider {
  width: 40px;
  height: 3px;
  background: var(--cyan);
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

.divider.centered { margin-left: auto; margin-right: auto; }

/* ── Tags / Pills ────────────────────────────────────────── */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  background: var(--off-white);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.tag--navy {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.1);
}

.tag--cyan {
  background: var(--cyan-pale);
  color: var(--navy);
  border-color: rgba(59,189,232,0.3);
}

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,189,232,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  max-width: 500px;
}

.cta-banner p {
  color: rgba(255,255,255,0.55);
  margin-top: 0.75rem;
  font-weight: 300;
}

.cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a {
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}

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

/* ── Form ────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

input, textarea, select {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(59,189,232,0.12);
}

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

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235B6280' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* ── Animations ──────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }


/* ai capabilities section */
.ai-capabilities{
  display:grid;
  grid-template-columns:1fr 1.6fr;
  gap:4rem;
  align-items:start;
}

/* idustries we serve */
.industries-we-serve{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:var(--radius-lg);
  overflow:hidden;
  margin-bottom:3rem;
}

/* number counter  */
.number-counter{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1.5rem;
  text-align:center;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .industries-we-serve{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
  }

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

  .nav-links { display: none; }

  .hero h1 { font-size: 2.8rem; }
  .hero-metrics { gap: 1.75rem; }
  .metric strong { font-size: 1.8rem; }

  .cta-banner {
    flex-direction: column;
    padding: 2.5rem;
    text-align: center;
  }

  .cta-actions { justify-content: center; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  /* Mobile nav */
  .nav-cta .btn-ghost { display: none; }

  /* nav btn */
  .find-vendor{
    display: none;
  }


  /* ai capabilities responsive */
.ai-capabilities{
  grid-template-columns:1fr;

}

/* nav menu responsive */
.nav-inner{
  gap: 1rem;
}
.nav-logo img{
  height: 18px;
}

/* industries we serrve responsive */
  .industries-we-serve{
    grid-template-columns: repeat(2, 1fr);
  }

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


}

@media (max-width: 480px) {
  :root { --section-pad: 48px; }
  .container { padding: 0 1.25rem; }
  .hero-inner { padding: 4rem 1.25rem 5rem; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
}

/* ── Hamburger (mobile) ──────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: #0D1040;
  border-radius: 2px;
  transition: background 0.3s;
}

.nav.scrolled .nav-hamburger span {
  background: var(--text);
}

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
}

/* ── Mobile nav drawer ───────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 2rem;
  z-index: 99;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav a:hover { color: var(--white); }
.mobile-nav a:last-child { border-bottom: none; }

/* ── Stat counters ───────────────────────────────────────── */
.stat-counter {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}
