/* Upturnist — static marketing site */

:root {
  --navy: #0b1a33;
  --navy-deep: #071224;
  --blue: #1560aa;
  --blue-light: #2f7fd1;
  --cyan: #32d0ea;
  --ink: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f5f8;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(11, 26, 51, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(11, 26, 51, 0.35);
  --max: 1180px;
  --gradient: linear-gradient(120deg, var(--blue) 0%, var(--cyan) 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--gray-700); }

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

.section {
  padding: 88px 0;
}
.section--tight { padding: 56px 0; }
.section--dark {
  background: var(--navy);
  color: var(--white);
}
.section--dark p { color: rgba(255,255,255,0.72); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--gray { background: var(--gray-100); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(21, 96, 170, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section--dark .eyebrow {
  color: var(--cyan);
  background: rgba(50, 208, 234, 0.12);
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 { font-size: clamp(34px, 5vw, 54px); }
h2 { font-size: clamp(28px, 3.4vw, 38px); }
h3 { font-size: 20px; }

.lede {
  font-size: 19px;
  color: var(--gray-500);
  max-width: 640px;
}
.section--dark .lede { color: rgba(255,255,255,0.68); }

.section-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head.left { margin: 0 0 48px; text-align: left; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 12px 24px -10px rgba(21, 96, 170, 0.55);
}
.btn-primary:hover { box-shadow: 0 16px 30px -10px rgba(21, 96, 170, 0.65); }
.btn-outline {
  border-color: var(--gray-300);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.section--dark .btn-outline,
.hero .btn-outline,
.cta-band .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}
.section--dark .btn-outline:hover,
.hero .btn-outline:hover,
.cta-band .btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11, 26, 51, 0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--navy);
}
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand .badge-founded {
  font-weight: 600;
  font-size: 11px;
  color: var(--blue);
  background: rgba(21,96,170,0.08);
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 4px;
}

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--gray-700);
  position: relative;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a.active { color: var(--blue); }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.18s ease;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(6px);
}
.dropdown a { display: block; padding: 10px 12px; border-radius: 6px; }
.dropdown a:hover { background: var(--gray-100); }
.dropdown a small { display: block; color: var(--gray-500); font-weight: 400; font-size: 12.5px; margin-top: 2px; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.2s;
}

/* Hero */
.hero {
  padding: 76px 0 90px;
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(50,208,234,0.16), transparent),
    radial-gradient(900px 400px at -10% 10%, rgba(21,96,170,0.12), transparent),
    var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero p { color: rgba(255,255,255,0.72); }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-media img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-size: 24px;
  color: var(--white);
}
.hero-stats div span {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* Page header (inner pages) */
.page-header {
  padding: 64px 0 56px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.page-header .lede { margin: 0 auto; text-align: center; }
.breadcrumb {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--cyan); }

/* Grid / cards */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid rgba(11,26,51,0.08);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 18px;
  font-size: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 15px; }

/* Product cards */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(11,26,51,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card .thumb {
  background: var(--gray-100);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card .thumb img { max-height: 150px; width: auto; margin: 0 auto; }
.product-card .body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.product-card .tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  margin-bottom: 8px;
}
.product-card ul { margin: 14px 0 22px; }
.product-card li {
  display: flex;
  gap: 8px;
  font-size: 14.5px;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.product-card li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 800;
  flex-shrink: 0;
}
.product-card .body > .btn { margin-top: auto; align-self: flex-start; }

/* Alternating feature rows */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 64px 0;
}
.feature-row.reverse .feature-row-media { order: 2; }
.feature-row.reverse .feature-row-text { order: 1; }
.feature-row-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-row-text ul { margin-top: 20px; }
.feature-row-text li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15.5px;
  color: var(--gray-700);
}
.feature-row-text li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 800;
}
.divider { border: none; border-top: 1px solid rgba(11,26,51,0.08); margin: 0; }

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-strip strong {
  display: block;
  font-size: 32px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats-strip span { font-size: 14px; color: var(--gray-500); }
.section--dark .stats-strip span { color: rgba(255,255,255,0.65); }

/* Numbered steps */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(11,26,51,0.08);
}
.step:last-child { border-bottom: none; }
.step .num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.step h4 { margin-bottom: 6px; font-size: 16.5px; }
.step p { margin: 0; font-size: 14.5px; }

/* Pain point / before-after cards */
.pain-card {
  background: var(--white);
  border-left: 3px solid #e0645a;
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.pain-card h4 { color: #b23a30; margin-bottom: 6px; font-size: 16px; }
.pain-card p { margin: 0; font-size: 14.5px; }

.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba-card { border-radius: var(--radius); padding: 24px; }
.ba-card.before { background: #fdf1ef; border: 1px solid #f2d3ce; }
.ba-card.after { background: #eef8f4; border: 1px solid #cdeade; }
.ba-card h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.ba-card.before h4 { color: #b23a30; }
.ba-card.after h4 { color: #1a7a56; }
.ba-card li { font-size: 14.5px; margin-bottom: 10px; padding-left: 20px; position: relative; color: var(--gray-700); }
.ba-card.before li::before { content: "✕"; position: absolute; left: 0; color: #c65a4f; }
.ba-card.after li::before { content: "✓"; position: absolute; left: 0; color: #1a7a56; font-weight: 800; }

/* Comparison table */
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare-table th, .compare-table td {
  padding: 15px 18px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid rgba(11,26,51,0.06);
}
.compare-table th { background: var(--navy); color: var(--white); font-weight: 700; }
.compare-table th:not(:first-child), .compare-table td:not(:first-child) { text-align: center; }
.compare-table tbody tr:nth-child(even) { background: var(--gray-100); }
.compare-table .yes { color: #1a7a56; font-weight: 800; }
.compare-table .no { color: var(--gray-300); }

/* Timeline (2023 -> now) */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.timeline-item {
  border-left: 3px solid var(--blue);
  padding-left: 18px;
}
.timeline-item .year { font-size: 26px; font-weight: 800; color: var(--blue); }
.timeline-item h4 { margin: 6px 0 8px; font-size: 16px; }
.timeline-item p { font-size: 14px; margin: 0; }

/* Values grid */
.value-item { text-align: center; }
.value-item .icon { margin: 0 auto 16px; }

/* CTA band */
.cta-band {
  border-radius: 24px;
  background: var(--navy);
  background-image: radial-gradient(700px 300px at 100% 0%, rgba(50,208,234,0.18), transparent);
  color: var(--white);
  padding: 60px;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto 28px; }
.cta-band .hero-actions { justify-content: center; margin-top: 0; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.footer-grid .brand { color: var(--white); margin-bottom: 14px; }
.footer-grid p { font-size: 14px; color: rgba(255,255,255,0.5); }
.footer-col h5 {
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.65); }
.footer-col a:hover { color: var(--cyan); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--white);
}
.footer-social a:hover { background: var(--gradient); border-color: transparent; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--cyan); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
.contact-info-card {
  background: var(--white);
  border: 1px solid rgba(11,26,51,0.08);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}
.contact-info-card .icon { flex-shrink: 0; }
.contact-info-card h4 { margin-bottom: 4px; font-size: 16px; }
.contact-info-card p { margin: 0; font-size: 14.5px; }

.form-card {
  background: var(--white);
  border: 1px solid rgba(11,26,51,0.08);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--gray-700); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14.5px;
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21,96,170,0.12);
}
.form-note { font-size: 13px; color: var(--gray-500); margin-top: 12px; }

/* Utilities */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-100);
  border: 1px solid rgba(11,26,51,0.08);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
}
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.logo-strip { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; opacity: 0.6; }
.logo-strip span { font-weight: 700; font-size: 15px; color: var(--gray-500); letter-spacing: 0.02em; }

/* Responsive */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-row-media, .feature-row.reverse .feature-row-text { order: initial; }
  .contact-grid { grid-template-columns: 1fr; }
  .before-after { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 720px) {
  .main-nav, .header-actions .btn-outline { display: none; }
  .nav-toggle { display: block; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .section { padding: 60px 0; }
  .timeline { grid-template-columns: 1fr; }
  .compare-table { display: block; overflow-x: auto; }
}

/* FAQ accordion */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid rgba(11,26,51,0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  padding: 4px 24px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 30px 18px 0;
  font-weight: 700;
  font-size: 16px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 22px;
  color: var(--blue);
  font-weight: 400;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 20px; margin: 0; font-size: 14.5px; }
.section--dark .faq-item {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
}
.section--dark .faq-item summary { color: var(--white); }

/* Mobile nav panel */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--white);
  z-index: 99;
  padding: 20px 24px;
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 14px 4px;
  font-weight: 600;
  font-size: 17px;
  border-bottom: 1px solid rgba(11,26,51,0.06);
  color: var(--ink);
}
.mobile-nav .btn { margin-top: 20px; }
