/* This is a new file for the modern design */
:root {
  /* Modern, bright color palette */
  --bg: #ffffff;
  --bg-soft: #f3f4f6;
  --text: #111827;
  --accent: #3b82f6;
  --accent-dark: #1d4ed8;
  --card: #ffffff;
  --line: #e5e7eb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

h1,
h2,
h3,
.logo {
  font-family: "Unbounded", sans-serif;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  margin: 0 0 1.3rem;
}

h3 {
  font-size: 1.1rem;
  margin: 0.7rem 0;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-accent {
    background: 
    radial-gradient(at 0% 0%, hsla(220, 80%, 90%, 0.3), transparent 50%),
    radial-gradient(at 100% 0%, hsla(240, 80%, 90%, 0.3), transparent 50%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.logo {
  text-decoration: none;
  color: var(--text);
  font-size: 1rem;
}

.main-nav {
  display: flex;
  gap: 1.1rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}


.mobile-nav-toggle {
  display: none;
  position: relative;
  width: 2.6rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.mobile-nav-toggle::before,
.mobile-nav-toggle::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-nav-toggle::before {
  top: 0.8rem;
  box-shadow: 0 0.42rem 0 currentColor;
}

.mobile-nav-toggle::after {
  bottom: 0.8rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.version-link {
  font-size: 0.78rem;
  text-decoration: none;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-weight: 700;
}

.lead {
  font-size: 1.1rem;
  max-width: 62ch;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.5rem;
  align-items: start;
}

.hero-card {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 20px 40px -10px hsla(220, 80%, 50%, 0.25);
}

.hero-card p {
  margin: 0.35rem 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.82rem 1.2rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-2px) scale(1.02);
}

.btn-small {
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 8px 25px -8px rgba(0,0,0,0.05);
}

.icon {
  font-size: 1.5rem;
  margin: 0;
  line-height: 1;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.tab {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: 600;
  color: #4b5563;
}

.tab.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.tab-panels {
  margin-bottom: 1.2rem;
}

.tab-panel {
  display: none;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
}

.tab-panel.is-active {
  display: block;
}

.tab-panel ul {
  margin: 0;
  padding-left: 1rem;
  columns: 2;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  padding-left: 1.2rem;
}

.text-center {
  text-align: center;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.process-step {
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    padding: 1.5rem;
    text-align: center;
}

.process-step-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: -2.5rem auto 1rem;
    border: 4px solid var(--bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.testimonial {
    margin: 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.testimonial blockquote {
    margin: 0 0 1rem;
    flex-grow: 1;
}

.testimonial p {
    margin: 0;
}

.testimonial-author {
    font-weight: 700;
}

.testimonial-company {
    font-size: 0.9rem;
    opacity: 0.7;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

details {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

.cta {
  background: linear-gradient(160deg, #0f172a, #1e293b);
  color: #f8fafc;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.lead-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.75rem;
  font: inherit;
  background: #ffffff;
  color: #1f2329;
}

.small {
  margin: 0;
  font-size: 0.82rem;
  opacity: 0.7;
}

.form-message {
  margin: 0;
  min-height: 1.3rem;
  font-weight: 700;
}

.site-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 2rem 0;
  text-align: center;
}

.footer-grid {
  display: grid;
  gap: 0.5rem;
}

.site-footer a {
  color: #93c5fd;
}

@media (max-width: 980px), (hover: none) and (pointer: coarse) {
  .header-inner {
    flex-wrap: wrap;
    row-gap: 0.6rem;
    position: relative;
  }

  .version-link {
    order: 3;
  }

  .btn-small {
    order: 2;
    min-height: 3.2rem;
    min-width: 7.2rem;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
    padding-inline: 0.85rem;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 4;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    order: 5;
    width: 100%;
    flex-direction: column;
    gap: 0.8rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
  }

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

  .hero-grid,
  .cta-grid,
  .cards-grid,
  .process-grid,
  .testimonials-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .tab-panel ul {
    columns: 1;
  }

  .section {
    padding: 4rem 0;
  }
}
@media (max-width: 560px) {
  .tabs {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .section,
  .card,
  .hero-card,
  .tab-panel {
    animation: rise 0.55s ease-out both;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(15px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 980px), (hover: none) and (pointer: coarse) {
  .tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .tab {
    width: 100%;
    text-align: center;
  }
}

