:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-alt: #eff3ff;
  --surface-soft: #eef1f8;
  --surface-glass: rgba(255, 255, 255, 0.8);
  --text: #141b2b;
  --text-muted: #53627a;
  --heading: #0f1a2f;
  --primary: #3164ff;
  --primary-dark: #214bdb;
  --accent: #60c2a8;
  --border: rgba(20, 27, 43, 0.08);
  --border-strong: rgba(20, 27, 43, 0.14);
  --shadow: 0 18px 38px rgba(32, 56, 117, 0.14);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1260px;
  font-size: 17px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  position: relative;
  min-height: 100vh;
}

.page-gradient {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 8% 12%, rgba(49, 100, 255, 0.18), transparent 55%),
    radial-gradient(circle at 85% 16%, rgba(96, 194, 168, 0.2), transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(255, 163, 102, 0.18), transparent 58%),
    var(--bg);
}

main,
.site-header,
.site-footer {
  width: min(var(--max-width), 94vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 24px;
  z-index: 20;
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  gap: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface-glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo-wrap img {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: #f2f6ff;
  box-shadow: inset 0 0 0 1px rgba(49, 100, 255, 0.12);
}

.company-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.company-name {
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--heading);
}

.company-tagline {
  font-size: 1rem;
  color: var(--text-muted);
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.anchor-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.anchor-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.anchor-nav a:hover {
  color: var(--primary);
}

.anchor-nav a:hover::after,
.anchor-nav a:focus-visible::after {
  transform: scaleX(1);
}

.banner {
  background: rgba(255, 194, 120, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 28px;
  font-weight: 500;
  color: #8a4d00;
  border: 1px solid rgba(255, 194, 120, 0.35);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  padding: 56px 0 72px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-kicker {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.7rem, 4.2vw, 3.8rem);
  line-height: 1.08;
  margin: 0;
  color: var(--heading);
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin: 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(125deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(49, 100, 255, 0.25);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(49, 100, 255, 0.28);
}

.button.ghost {
  border: 1px solid rgba(49, 100, 255, 0.3);
  color: var(--primary);
  background: transparent;
}

.button.ghost:hover {
  background: rgba(49, 100, 255, 0.08);
}

.hero-card {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 36px;
  background: linear-gradient(160deg, #ffffff 0%, rgba(239, 243, 255, 0.92) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(49, 100, 255, 0.12);
  box-shadow: 0 30px 60px rgba(31, 72, 165, 0.12);
}

.deliverables-heading .kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(49, 100, 255, 0.12);
  color: var(--primary);
  font-weight: 600;
}

.deliverables-heading h2 {
  margin: 16px 0 12px;
  font-size: 1.92rem;
  color: var(--heading);
}

.deliverables-heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.deliverable {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(240, 244, 255, 0.8);
  border: 1px solid rgba(49, 100, 255, 0.1);
}

.deliverable-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(49, 100, 255, 0.9), rgba(96, 194, 168, 0.85));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 0.96rem;
}

.deliverable p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 40px;
}

.section-heading h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.3vw, 2.6rem);
  color: var(--heading);
}

.section-heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 34px rgba(20, 33, 63, 0.08);
}

.card h3 {
  margin-top: 0;
  color: var(--heading);
  font-size: 1.35rem;
}

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

.card.highlight {
  background: linear-gradient(165deg, rgba(240, 244, 255, 0.88), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(49, 100, 255, 0.18);
}

.timeline {
  display: grid;
  gap: 22px;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(20, 33, 63, 0.08);
}

.timeline-marker {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(49, 100, 255, 0.95), rgba(96, 194, 168, 0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
}

.timeline-content h3 {
  margin: 0 0 12px;
  color: var(--heading);
  font-size: 1.28rem;
}

.timeline-content ul {
  margin: 0;
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 1rem;
}

.metrics {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.93), rgba(236, 242, 255, 0.95));
  border-radius: var(--radius-lg);
  padding: 64px;
  border: 1px solid rgba(49, 100, 255, 0.18);
  box-shadow: 0 26px 60px rgba(32, 56, 117, 0.12);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
}

.metric {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 12px 26px rgba(20, 33, 63, 0.08);
}

.metric .value {
  display: block;
  font-size: 2.45rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}

.metric .label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
}

.contact-wrapper {
  width: min(760px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.form-alert {
  padding: 16px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  border: 1px solid transparent;
  background: rgba(49, 100, 255, 0.08);
  color: var(--heading);
}

.form-alert.alert-success {
  border-color: rgba(96, 194, 168, 0.45);
  background: rgba(96, 194, 168, 0.15);
  color: #0f5132;
}

.form-alert.alert-error {
  border-color: rgba(255, 120, 102, 0.55);
  background: rgba(255, 228, 225, 0.9);
  color: #83231a;
}

.contact-form {
  display: grid;
  gap: 20px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 1rem;
  color: var(--heading);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(20, 27, 43, 0.14);
  background: var(--surface-soft);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(49, 100, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(49, 100, 255, 0.12);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-footnote {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid rgba(20, 27, 43, 0.08);
  padding: 48px 0 72px;
  display: grid;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.site-footer strong {
  color: var(--heading);
}

.footer-note {
  margin-top: 18px;
  font-size: 0.94rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .site-header {
    justify-content: center;
    text-align: center;
  }

  .logo-wrap {
    justify-content: center;
  }

  .anchor-nav {
    justify-content: center;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-card {
    order: -1;
  }

  main,
  .site-header,
  .site-footer {
    width: min(var(--max-width), 96vw);
  }
}

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