:root {
  --bg-dark: #0f172a;
  --bg-mid: #1e293b;
  --bg-light: #f8fafc;
  --primary: #2563eb;
  --primary-soft: #dbeafe;
  --text-main: #0f172a;
  --text-muted: #475569;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg-light);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
}

.section {
  padding: 5rem 0;
}

.section-lead {
  max-width: 760px;
  margin-bottom: 2rem;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.9)),
    url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1800&q=80")
      center/cover no-repeat;
  color: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(37, 99, 235, 0.35), transparent 45%);
}

.topbar-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0 2rem;
}

.site-brand {
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-contacts {
  color: rgba(255, 255, 255, 0.85);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-section h1,
.hero-section p,
.hero-section h4 {
  color: var(--white);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: #bfdbfe;
  margin-bottom: 1rem;
  font-size: 0.84rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 760px;
}

.hero-detail {
  max-width: 760px;
  margin-bottom: 1.8rem;
}

.button.primary {
  background: var(--primary);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
}

.button.primary:hover,
.button.primary:focus {
  background: #1d4ed8;
}

.button.hollow.light {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  border-radius: 999px;
}

.button.hollow.light:hover,
.button.hollow.light:focus {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.micro-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.micro-trust span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
}

.hero-visual {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual img {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.visual-card {
  padding: 1.2rem 1.4rem 1.6rem;
}

.float-animation {
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.trust-section {
  background: var(--white);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.logo-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem;
  text-align: center;
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
}

.metrics-row {
  margin-top: 2rem;
}

.metric-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f1f5f9;
  padding: 1rem;
  text-align: center;
}

.metric-card strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
}

.problem-section {
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
}

.pain-list {
  margin-left: 1rem;
}

.pain-list li {
  margin-bottom: 0.6rem;
  color: #1e293b;
}

.impact-note {
  margin-top: 1.2rem;
  font-weight: 600;
  color: #1e293b;
}

.before-after-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.before,
.after {
  border-radius: 12px;
  padding: 0.9rem;
}

.before {
  background: #fee2e2;
}

.after {
  background: #dcfce7;
}

.arrow {
  text-align: center;
  font-size: 1.8rem;
  margin: 0.55rem 0;
  color: var(--primary);
}

.solution-section {
  background: var(--white);
}

.service-card {
  height: 100%;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: #93c5fd;
}

.use-cases-section {
  background: #0f172a;
}

.use-cases-section h2,
.use-cases-section p,
.use-cases-section h4 {
  color: var(--white);
}

.use-case-card {
  height: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 1.2rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.use-case-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.11);
}

.industry-note {
  margin-top: 1.5rem;
  font-weight: 600;
  color: #bfdbfe;
}

.process-section {
  background: #f8fafc;
}

.timeline {
  border-left: 3px solid #bfdbfe;
  margin-left: 0.6rem;
  padding-left: 1.5rem;
}

.timeline-step {
  position: relative;
  margin-bottom: 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: -2.03rem;
  top: 1.1rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px #dbeafe;
}

.manager-note {
  margin-top: 1rem;
  font-weight: 600;
  color: #1e3a8a;
}

.about-section {
  background: var(--white);
}

.usp-list {
  margin-left: 1rem;
}

.team-card {
  border-radius: 16px;
  background: #f1f5f9;
  border: 1px solid var(--border);
  padding: 1.2rem;
}

.team-card ul {
  margin-left: 1rem;
}

.testimonials-section {
  background: #eef2ff;
}

.testimonial-card {
  margin: 0;
  height: 100%;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 1.2rem;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.testimonial-card cite {
  color: #1e3a8a;
  font-style: normal;
  font-weight: 600;
}

.faq-section {
  background: var(--white);
}

.accordion-title {
  font-weight: 600;
}

.accordion-content {
  color: var(--text-muted);
}

.cta-section {
  background: linear-gradient(180deg, #0f172a, #1e293b);
}

.cta-section h2,
.cta-section p,
.cta-section h4,
.cta-section label,
.cta-section a {
  color: var(--white);
}

.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
}

.lead-form {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1.2rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  border-radius: 10px;
  border: 1px solid #cbd5e1;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: #bfdbfe;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 40em) {
  .section {
    padding: 4rem 0;
  }

  .topbar-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .hero-section {
    min-height: auto;
    padding-bottom: 3rem;
  }

  .micro-trust {
    flex-direction: column;
    align-items: flex-start;
  }
}
