:root {
  --bg: #f3f7fb;
  --surface: #ffffff;
  --surface-2: #eef6fb;
  --text: #1e293b;
  --muted: #64748b;
  --accent: #3c8ec7;
  --accent-2: #1b4f7d;
  --accent-3: #b13f25;
  --border: rgba(15, 35, 54, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 17px;
  background:
    radial-gradient(circle at 10% 0%, rgba(43, 196, 255, 0.16), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(245, 197, 66, 0.18), transparent 24%),
    linear-gradient(135deg, #fcfeff 0%, #f5f9ff 45%, #eef6ff 100%);
  color: var(--text);
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  max-width: 1160px;
  margin: 0 auto;
}

@supports not (display: grid) {
  .hero-content,
  .intro-grid,
  .services-grid,
  .benefit-grid,
  .industry-grid,
  .process-grid,
  .testimonial-grid,
  .contact-box {
    display: block;
  }

  .hero-content > *,
  .intro-grid > *,
  .services-grid > *,
  .benefit-grid > *,
  .industry-grid > *,
  .process-grid > *,
  .testimonial-grid > *,
  .contact-box > * {
    margin-bottom: 1.5rem;
  }
}

.hero {
  min-height: 92vh;
  position: relative;
  overflow: hidden;
  padding-bottom: 2.2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(60, 142, 199, 0.14), transparent 48%, rgba(177, 63, 37, 0.1));
  pointer-events: none;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.35;
  pointer-events: none;
}

.hero::before {
  width: 320px;
  height: 320px;
  background: rgba(60, 142, 199, 0.18);
  top: -60px;
  right: -80px;
}

.hero::after {
  width: 280px;
  height: 280px;
  background: rgba(177, 63, 37, 0.18);
  bottom: -80px;
  left: -60px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  position: relative;
  z-index: 2;
}

.brand {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-shadow: 0 0 1px rgba(27, 79, 125, 0.15);
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(15, 35, 54, 0.12);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.1rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent-2);
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 0.3rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.6rem;
  align-items: center;
  padding: 3rem 0 1.5rem;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent-3);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 0.95rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(60, 142, 199, 0.1);
  border: 1px solid rgba(60, 142, 199, 0.16);
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  max-width: 700px;
  line-height: 1.1;
}

h2 {
  font-size: clamp(2.0rem, 3.5vw, 2.8rem);
  line-height: 1.2;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.3;
}

.lead,
.section-heading p,
.contact-box p,
.intro-card p,
.card p,
.benefit-card p,
.process-step p,
.testimonial-card p,
.footer p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(7, 27, 50, 0.12);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(60, 142, 199, 0.28);
}

.btn-secondary {
  border: 1px solid rgba(15, 35, 54, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.hero-stats div {
  min-width: 120px;
  padding: 0.75rem 0.85rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 35, 54, 0.08);
}

.hero-stats strong {
  display: block;
  color: var(--accent-2);
  font-size: 1.05rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-highlights {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.hero-highlight {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(239, 246, 252, 0.9);
  border: 1px solid rgba(60, 142, 199, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-width: 430px;
}

.hero-highlight strong {
  color: var(--text);
  font-size: 0.98rem;
}

.hero-highlight span {
  color: var(--muted);
  font-size: 0.9rem;
}

.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.trust-indicators span {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text);
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.panel-card,
.intro-card,
.card,
.benefit-card,
.tech-group,
.process-step,
.testimonial-card,
.contact-box {
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: 0 16px 40px rgba(7, 27, 50, 0.08);
  position: relative;
  overflow: hidden;
}

.panel-card::before,
.intro-card::before,
.card::before,
.benefit-card::before,
.tech-group::before,
.process-step::before,
.testimonial-card::before,
.contact-box::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-3));
  opacity: 0.9;
}

.panel-card {
  width: min(420px, 100%);
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.hero-visual-card {
  display: grid;
  gap: 1rem;
}

.hero-visual-badge {
  display: inline-block;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(60, 142, 199, 0.1);
  color: var(--accent-2);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-visual-grid div {
  padding: 0.9rem;
  border-radius: 0.9rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(244,248,255,0.95));
  border: 1px solid rgba(7, 27, 50, 0.06);
}

.hero-visual-grid strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.hero-visual-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.card-pill {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(177, 63, 37, 0.12);
  color: var(--accent-3);
  font-weight: 700;
  margin-bottom: 1rem;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.stack-list span {
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  background: rgba(60, 142, 199, 0.12);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.metric-grid div {
  padding: 0.9rem;
  border-radius: 0.9rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(244, 248, 255, 0.95));
}

.metric-grid strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text);
}

.metric-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 4rem 0;
}

.alt-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(242,248,255,0.95));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 0.9rem;
}

.intro-card {
  padding: 1.2rem;
  background: var(--surface);
}

.intro-main {
  background: linear-gradient(135deg, rgba(60, 142, 199, 0.08), rgba(255, 255, 255, 0.95));
}

.cards,
.benefit-grid,
.industry-grid,
.process-grid,
.testimonial-grid {
  display: grid;
  gap: 1rem;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 1.35rem;
  background: linear-gradient(145deg, var(--surface), var(--surface-2));
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card {
  position: relative;
  padding-top: 1.5rem;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(60, 142, 199, 0.14), rgba(177, 63, 37, 0.12));
  color: var(--accent-2);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.card:hover,
.benefit-card:hover,
.tech-group:hover,
.process-step:hover,
.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(60, 142, 199, 0.35);
}

.benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card {
  padding: 1.35rem;
  background: var(--surface);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.industry-card {
  overflow: hidden;
  border-radius: 1.25rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(243,248,255,0.98));
  border: 1px solid var(--border);
  box-shadow: 0 18px 42px rgba(7, 27, 50, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(31, 92, 255, 0.14);
}

.industry-card .industry-illustration {
  display: block;
  width: 100%;
  height: 190px;
  padding: 1.1rem;
  background: linear-gradient(135deg, rgba(60, 142, 199, 0.10), rgba(177, 63, 37, 0.08));
  border-bottom: 1px solid rgba(15, 35, 54, 0.06);
}

.industry-card .industry-illustration svg {
  display: block;
  width: 100%;
  height: 100%;
}

.industry-card > div:last-child {
  padding: 1.2rem 1.2rem 1.35rem;
}

.industry-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.industry-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.tech-grid {
  display: grid;
  gap: 1rem;
}

.tech-group {
  padding: 1.2rem 1.3rem;
  background: var(--surface);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag-list span {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(60, 142, 199, 0.08);
  color: var(--text);
  font-size: 0.92rem;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.8);
}

.process-step span {
  display: inline-block;
  font-weight: 800;
  color: var(--accent-3);
  margin-bottom: 0.5rem;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  padding: 1.35rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(242,248,255,0.95));
}

.testimonial-card strong {
  color: var(--accent-3);
}

.contact-box {
  padding: 1.6rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  align-items: start;
  background: linear-gradient(135deg, rgba(60, 142, 199, 0.10), rgba(177, 63, 37, 0.08));
}

.contact-note {
  margin: 0.2rem 0 0.9rem;
  color: var(--accent-3);
  font-weight: 700;
}

.contact-list {
  padding-left: 1rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.75);
  color: var(--text);
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form button {
  justify-self: start;
}

.form-status {
  display: none;
  padding: 0.85rem 0.95rem;
  border-radius: 0.8rem;
  background: #eaf8ee;
  color: #206b3c;
  border: 1px solid #b8e2c2;
  font-weight: 600;
}

.form-status.success {
  background: #eaf8ee;
  color: #206b3c;
  border-color: #b8e2c2;
}

.form-status.error {
  background: #fdeaea;
  color: #a33535;
  border-color: #f0b9b9;
}

.footer {
  padding: 1.3rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.footer-note {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 680px;
}

/* Infinite Scrolling Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  padding: 3rem 0;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee-content {
  display: inline-flex;
  gap: 5rem;
  animation: scroll 25s linear infinite;
  align-items: center;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.marquee-logo {
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--muted);
  opacity: 1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.marquee-logo:hover {
  opacity: 1;
  color: var(--accent-2);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 2.5rem));
  }
}

@media (max-width: 960px) {
  .hero-content,
  .intro-grid,
  .services-grid,
  .benefit-grid,
  .industry-grid,
  .process-grid,
  .testimonial-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 1.6rem;
    padding-top: 2.5rem;
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .intro-grid,
  .services-grid,
  .benefit-grid,
  .industry-grid,
  .process-grid,
  .testimonial-grid {
    gap: 1rem;
  }

  .nav {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 3.8rem;
    right: 0.75rem;
    left: 0.75rem;
    flex-direction: column;
    background: var(--surface);
    padding: 1rem;
    border-radius: 0.8rem;
    border: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(15, 35, 54, 0.08);
    z-index: 10;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.8rem 0;
    width: 100%;
  }

  .hero {
    padding-bottom: 1.8rem;
  }

  .hero-content {
    padding-top: 2rem;
    gap: 1.4rem;
  }

  .hero-panel {
    justify-content: stretch;
  }

  .hero-visual-card,
  .panel-card,
  .industry-card,
  .testimonial-card,
  .benefit-card,
  .card,
  .intro-card {
    padding: 1.2rem;
  }

  .section {
    padding: 3rem 0;
  }

  .metric-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .contact-box {
    gap: 1.2rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}
