/* =========================================================
   Prentus AI — style.css  v2
   Broader positioning: custom AI solutions for any industry.
   No dependencies. Mobile-first. Zero JS.
   ========================================================= */

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

:root {
  --navy:         #0F1F3D;
  --navy-mid:     #162845;
  --navy-light:   #1E3560;
  --navy-deep:    #0A1628;
  --blue:         #0176D3;
  --blue-hover:   #0160B0;
  --blue-bright:  #38B6FF;
  --blue-soft:    #E8F3FB;
  --white:        #FFFFFF;
  --gray-50:      #F7F8FA;
  --gray-100:     #EEF0F4;
  --gray-200:     #DDE1EA;
  --gray-300:     #C8CDD8;
  --gray-500:     #7A8399;
  --gray-700:     #3D4455;
  --gray-900:     #1A1F2E;
  --green:        #1A9E5A;
  --green-soft:   #E6F7EE;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --max-w:        1080px;
  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    20px;
  --shadow:       0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg:    0 12px 48px rgba(0,0,0,0.13);
  --shadow-xl:    0 24px 80px rgba(0,0,0,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
  color: var(--gray-900);
  line-height: 1.15;
  font-weight: 700;
}

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

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section--white { background: var(--white); padding: 96px 0; }
.section--light  { background: var(--gray-50); padding: 96px 0; }
.section--navy   { background: var(--navy); padding: 96px 0; }

/* ── Section Header ───────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
  text-align: center;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 4px 16px rgba(1,118,211,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--outline:hover { background: var(--blue-soft); }

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

/* ── Header / Nav ─────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 31, 61, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-wordmark {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
}
.logo-wordmark span { color: var(--blue-bright); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color .15s;
}
.nav__links a:hover { color: var(--white); }

.nav__cta { flex-shrink: 0; }
.nav__cta .btn { font-size: 14px; padding: 9px 20px; }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 124px 24px 96px;
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}

/* Grid lines */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

/* Radial glow blobs */
.hero::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -100px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1,118,211,0.20) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -220px;
  left: -60px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,182,255,0.09) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Floating geometric shapes */
.hero__shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero__shape--1 {
  width: 200px;
  height: 200px;
  border: 1.5px solid rgba(1,118,211,0.22);
  top: 15%;
  right: 8%;
}
.hero__shape--2 {
  width: 80px;
  height: 80px;
  border: 1.5px solid rgba(56,182,255,0.18);
  bottom: 20%;
  right: 22%;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 28px;
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  flex-shrink: 0;
}

.hero__headline {
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.035em;
  line-height: 1.06;
  max-width: 760px;
  margin-bottom: 24px;
}

.hero__headline em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue-bright), #7DD3FC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(17px, 2.2vw, 20px);
  color: rgba(255,255,255,0.58);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 48px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero__actions .btn--primary {
  font-size: 16px;
  padding: 15px 32px;
}
.hero__actions .btn--ghost {
  font-size: 16px;
  padding: 15px 32px;
}

/* ── Services ─────────────────────────────────────────── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow .2s, border-color .2s, transform .2s;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  opacity: 0;
  transition: opacity .2s;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-200);
  transform: translateY(-2px);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.service-card__icon svg { color: var(--blue); }

.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── Portfolio ────────────────────────────────────────── */
.portfolio__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ─ Featured Case Study Card ─ */
.case-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.case-card--featured {
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.case-card__banner {
  background: linear-gradient(140deg, var(--navy-deep) 0%, var(--navy-light) 100%);
  padding: 48px 48px 40px;
  position: relative;
  overflow: hidden;
}

/* Decorative blob in banner */
.case-card__banner-deco {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1,118,211,0.28) 0%, transparent 70%);
  pointer-events: none;
}

.case-card__banner-content { position: relative; z-index: 1; }

.case-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-bright);
  background: rgba(56,182,255,0.12);
  border: 1px solid rgba(56,182,255,0.25);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 24px;
}

.case-card__name {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
  margin-bottom: 6px;
}

.case-card__oneliner {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 20px;
}

.case-card__desc {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  max-width: 540px;
}

/* Stats bar */
.case-card__stats {
  display: flex;
  align-items: center;
  background: var(--navy);
  padding: 24px 48px;
  gap: 0;
}

.case-stat {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 24px;
}
.case-stat:first-child { padding-left: 0; }
.case-stat:last-child { padding-right: 0; }

.case-stat__num {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
  line-height: 1;
}

.case-stat__label {
  font-size: 12px;
  color: rgba(255,255,255,0.42);
  margin-top: 4px;
  font-weight: 500;
}

.case-stat__divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.10);
  flex-shrink: 0;
}

/* Card footer */
.case-card__footer {
  padding: 28px 48px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
}

/* ─ Placeholder Card ─ */
.case-card--placeholder {
  background: var(--white);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
}

.case-card__placeholder-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 36px 32px;
  gap: 16px;
}

.placeholder-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.placeholder-icon svg { color: var(--blue); }

.case-card__placeholder-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
}

.case-card__placeholder-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 260px;
}

.coming-soon-note {
  font-size: 12px;
  color: var(--gray-300);
  text-align: center;
  padding: 16px;
  border-top: 1px solid var(--gray-100);
  letter-spacing: .04em;
}

/* ── Why Prentus AI (Differentiators) ────────────────── */
.differentiators {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.diff-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow .2s, transform .2s;
}
.diff-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.diff-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.diff-card__icon svg { color: var(--blue-bright); }

.diff-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.diff-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── Contact ──────────────────────────────────────────── */
.contact__inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.contact__headline {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--white);
  line-height: 1.1;
}

.contact__sub {
  font-size: 18px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  max-width: 420px;
}

.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-bright);
  padding: 16px 32px;
  background: rgba(56,182,255,0.10);
  border: 1px solid rgba(56,182,255,0.20);
  border-radius: var(--radius-sm);
  transition: background .15s, border-color .15s;
  letter-spacing: -.01em;
}
.contact__email:hover {
  background: rgba(56,182,255,0.16);
  border-color: rgba(56,182,255,0.35);
}
.contact__email svg { flex-shrink: 0; }

.contact__note {
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  max-width: 380px;
  line-height: 1.6;
}

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  padding: 40px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  text-decoration: none;
}
.footer-logo span { color: var(--blue-bright); }

.site-footer__copy {
  font-size: 13px;
  color: rgba(255,255,255,0.30);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-email {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: color .15s;
}
.footer-email:hover { color: var(--white); }

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  transition: color .15s;
}
.footer-links a:hover { color: var(--white); }

/* ── Responsive — Tablet ──────────────────────────────── */
@media (max-width: 900px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .differentiators { grid-template-columns: repeat(2, 1fr); }
  .portfolio__grid { grid-template-columns: 1fr; }
  .case-card--placeholder { min-height: auto; }
  .case-card__placeholder-inner { padding: 48px 36px; }
  .coming-soon-note { display: none; }
}

/* ── Responsive — Mobile ──────────────────────────────── */
@media (max-width: 768px) {
  .section--white,
  .section--light,
  .section--navy { padding: 72px 0; }

  .section-header { margin-bottom: 48px; }

  .nav__links { display: none; }
  .nav { height: 56px; }
  .nav__cta .btn { padding: 8px 16px; font-size: 13px; }

  .hero { padding: 96px 20px 72px; min-height: auto; }
  .hero__shape { display: none; }

  .case-card__banner { padding: 32px 28px; }
  .case-card__stats { padding: 20px 28px; gap: 0; }
  .case-stat { padding: 0 16px; }
  .case-stat:first-child { padding-left: 0; }
  .case-stat__num { font-size: 22px; }
  .case-card__footer { padding: 24px 28px; }
}

@media (max-width: 600px) {
  .services__grid { grid-template-columns: 1fr; }
  .differentiators { grid-template-columns: 1fr; }

  .case-card__stats {
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 28px;
  }
  .case-stat__divider { display: none; }
  .case-stat { flex: 0 0 calc(50% - 10px); padding: 0; }

  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; text-align: center; }

  .footer-right { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { flex-wrap: wrap; gap: 12px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* -- Contact Form ------------------------------- */
.contact-form {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.45);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0176D3;
  background: rgba(255,255,255,0.12);
}
.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}
.contact-form .btn {
  align-self: flex-start;
}
@media (max-width: 560px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}
