@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --primary: #0f172a;
  --accent: #de5044;
  --dark: #0b1220;
  --light: #f8fafc;
  --muted: #64748b;
  --text: #1f2937;
  --border: rgba(148, 163, 184, 0.28);
  --surface: #ffffff;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: radial-gradient(circle at top, #eef2ff 0%, #ffffff 50%, #f8fafc 100%);
}

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

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

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(90deg, #0b1220 0%, #101b2f 100%);
  color: #ffffff;
  font-size: 0.9rem;
}

.topbar .container {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.top-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.top-phone a {
  color: #ffffff;
  font-weight: 500;
}

.top-phone .icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  z-index: 5;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--primary);
  display: block;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 56px;
}

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

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 6px 6px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.2px;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
}

.nav-caret {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 10px;
  display: none;
  z-index: 20;
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text);
}

.nav-dropdown-menu a:hover {
  background: #f1f5f9;
  color: #de5044;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.nav-links a {
  position: relative;
  padding: 6px 6px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.2px;
}

.nav-links a.active,
.nav-links a:hover {
  color: #de5044;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: linear-gradient(90deg, #131f28, #de5044);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(34, 197, 94, 0.25), transparent 55%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 20, 30, 0.88), rgba(26, 74, 122, 0.68));
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 120px 0 140px;
}

.hero-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.7rem);
  margin: 0 0 16px;
  line-height: 1.12;
}

.hero p {
  font-size: 1.05rem;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-card {
  border-radius: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
}

.hero-card img {
  border-radius: 14px;
}

.section {
  padding: 90px 0;
}

.section.alt {
  background: linear-gradient(135deg, #f1f5f9 15%, #ffffff 45%, #f9f2f1 100%);
}

.section-title {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-title h2 {
  color: var(--primary);
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 2.2vw, 2.4rem);
}

.section-title p {
  color: var(--muted);
  margin: 0;
}

.split {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.split-media img {
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.badge {
  background: rgba(29, 78, 216, 0.12);
  color: #1d4ed8;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

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

.card {
  background: linear-gradient(160deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.card .card-body {
  padding: 22px;
  min-height: 220px;
}

.card h3 {
  margin-top: 0;
  color: var(--primary);
  letter-spacing: 0.2px;
}

.card-footer {
  padding: 0 22px 22px;
  margin-top: auto;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  min-height: 70px;
}

.client-logo img {
  max-height: 96px;
  width: auto;
  object-fit: contain;
}

.grid.clients-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .grid.clients-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid.clients-grid {
    grid-template-columns: 1fr;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 999px;
  margin-top: 18px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: transform 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 100%;
}

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

.button.outline {
  background: transparent;
  border: 2px solid #1d4ed8;
  color: #1d4ed8;
  padding: 7px 14px;
  font-size: 0.9rem;
}

.button-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.list {
  padding-left: 18px;
}

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

.use-case-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.use-case-row h3 {
  margin: 0 0 6px;
  color: var(--primary);
}

.use-case-row p {
  margin: 0;
  color: var(--muted);
}

.use-case-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(222, 80, 68, 0.12);
  color: #de5044;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
}

.accordion {
  display: grid;
  gap: 14px;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.accordion-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::after {
  content: "+";
  font-size: 1.2rem;
  color: #de5044;
}

.accordion-item[open] summary::after {
  content: "–";
}

.accordion-content {
  padding: 0 18px 16px;
  color: var(--muted);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.95), rgba(29, 78, 216, 0.6));
  color: #ffffff;
}

.cta-band h2 {
  margin: 0 0 8px;
  color: #ffffff;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

.stat-card {
  padding: 20px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.stat-card h3 {
  margin: 0 0 6px;
  color: var(--primary);
}

.stat-card p {
  margin: 0;
  color: var(--muted);
}

.cta-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(222, 80, 68, 0.08), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(222, 80, 68, 0.2);
}

.cta-highlight h2 {
  margin: 0 0 6px;
}

.cta-highlight p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 720px) {
  .cta-band,
  .cta-highlight {
    flex-direction: column;
    align-items: flex-start;
  }
}

.footer {
  background: linear-gradient(120deg, #0b1220 0%, #0f172a 100%);
  color: #cbd5f5;
  padding: 50px 0;
}

.footer a {
  color: #ffffff;
}

.footer .grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer h4 {
  color: #ffffff;
  margin-top: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 24px;
  padding-top: 16px;
  font-size: 0.85rem;
  color: #aeb6bd;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-row span:last-child {
  margin-left: auto;
  text-align: right;
}

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

input,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-family: inherit;
  background: #ffffff;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(29, 78, 216, 0.6);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

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

.notice {
  background: #e8f7ef;
  border: 1px solid #bde5cd;
  padding: 12px;
  border-radius: 10px;
  color: #1f6b3f;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .hero .container {
    padding: 90px 0 110px;
  }
}

@media (max-width: 720px) {
  .nav-inner {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.6);
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0 6px;
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: center;
    padding: 10px 0;
  }

  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0;
    display: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu a {
    text-align: center;
  }

  .hero-card {
    display: none;
  }

  .footer-bottom-row {
    justify-content: center;
    text-align: center;
  }

  .footer-bottom-row span:last-child {
    margin-left: 0;
    text-align: center;
  }

  .hero .container {
    padding: 80px 0 100px;
  }
}
