:root {
  --bg: #f7faff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --text: #0f172a;
  --muted: #5b6475;
  --line: rgba(15, 23, 42, 0.08);
  --blue: #2563eb;
  --blue-soft: rgba(37, 99, 235, 0.12);
  --blue-strong: rgba(37, 99, 235, 0.18);
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 16px 40px rgba(37, 99, 235, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.05), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: min(calc(100% - 32px), var(--container));
  margin: 16px auto 0;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
  border-radius: 999px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.88rem;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f3f8ff);
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.10);
  overflow: hidden;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  color: var(--blue);
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  color: var(--muted);
  font-size: 0.96rem;
  transition: color 0.25s ease;
}

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

.beta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.beta-badge-header {
  margin-left: 4px;
  padding: 7px 12px;
  font-size: 0.72rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 24px 70px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 82%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
}

.hero-glow-left {
  left: -80px;
  top: 80px;
  background: rgba(37, 99, 235, 0.12);
}

.hero-glow-right {
  right: -110px;
  bottom: 80px;
  background: rgba(96, 165, 250, 0.14);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  text-align: center;
}

.hero-topline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.eyebrow {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.8rem, 12vw, 7.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero h1 span {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 40%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 720px;
  margin: 26px auto 0;
  font-size: 1.18rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  padding: 16px 24px;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 20px 35px rgba(37, 99, 235, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 26px 40px rgba(37, 99, 235, 0.26);
}

.btn-wide {
  width: 100%;
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  z-index: 2;
}

.arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  animation: floatArrow 1.9s ease-in-out infinite;
}

@keyframes floatArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.section {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 110px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.solution-card,
.team-card,
.contact-panel {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.solution-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), transparent 45%);
  pointer-events: none;
}

.solution-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(37, 99, 235, 0.08));
  border: 1px solid rgba(37, 99, 235, 0.1);
  margin-bottom: 18px;
  color: var(--blue);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.10);
}

.solution-icon svg {
  width: 26px;
  height: 26px;
}

.solution-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.solution-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.team-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.team-card img {
  width: calc(100% - 48px);
  margin: 24px auto 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid rgba(37, 99, 235, 0.08);
}

.team-info {
  padding: 22px 22px 24px;
}

.team-info h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.team-info p {
  margin: 0;
  color: var(--muted);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  padding: 32px;
  border-radius: 32px;
}

.contact-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.contact-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  max-width: 540px;
}

.contact-form {
  padding: 12px;
}

.field-group {
  margin-bottom: 18px;
}

.field-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 0.96rem;
}

.field-group input,
.field-group textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.9);
  border-radius: 18px;
  padding: 16px 18px;
  font: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: rgba(37, 99, 235, 0.38);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

.form-message {
  min-height: 22px;
  margin: 14px 4px 0;
  color: var(--blue);
  font-size: 0.96rem;
}

.footer {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 0 0 34px;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  padding: 28px 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.footer-title {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-copy {
  margin: 0;
  line-height: 1.7;
}

.footer-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.footer-block {
  padding: 4px 0;
}

.footer-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-block p {
  margin: 0;
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 4px 0;
}

.footer-bottom a {
  color: var(--blue);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .solutions-grid,
  .team-grid,
  .contact-panel,
  .footer-main,
  .footer-meta {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 150px;
  }

  .contact-form {
    padding: 0;
  }
}

@media (max-width: 760px) {
  .topbar {
    border-radius: 26px;
    padding: 16px;
    flex-direction: column;
    gap: 14px;
  }

  .beta-badge-header {
    display: none;
  }

  .nav {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-subtitle,
  .section-heading p,
  .contact-copy p {
    font-size: 1rem;
  }

  .section {
    padding: 86px 0;
  }

  .footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 14px 18px;
    border-radius: 28px;
  }

  .nav {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
