:root {
  color-scheme: light;
  color: #1a1a1a;
  background: #ffffff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #f9fbff 0%, #eef1fb 100%);
  color: #111827;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

/* add small horizontal padding for very small screens */
@media (max-width: 420px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
}

header.hero {
  padding: 4rem 0 3.5rem;
  background: radial-gradient(circle at top right, rgba(32, 83, 255, 0.1), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
}

.hero .container {
  width: min(1680px, calc(100% - 8rem));
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #2563eb;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-text {
  max-width: 42rem;
  margin: 1.5rem 0 2.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #334155;
}

.hero-logo {
  width: clamp(190px, 18vw, 270px);
  display: grid;
  place-items: center;
  position: absolute;
  top: 56%;
  right: clamp(5rem, 10vw, 11rem);
  transform: translateY(-50%);
}

.hero-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.hero-grid {
  position: relative;
}

.hero-copy {
  max-width: min(76%, 1000px);
}

@media (max-width: 920px) {
  .hero .container {
    width: min(100% - 2rem, 720px);
  }

  .hero-logo {
    width: clamp(140px, 34vw, 190px);
    position: static;
    transform: none;
    margin: 2rem auto 0;
  }

  .hero-copy {
    max-width: none;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.16);
}

.btn-secondary {
  background: #eff6ff;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
}

.btn-secondary:hover {
  background: #dbeafe;
}

.section {
  padding: 4.25rem 0;
}

.grid-2,
.grid-3,
.footer-grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Intro section: make text and product columns balanced */
.intro .grid-2 {
  grid-template-columns: 1fr min(420px, 40%);
  align-items: start;
  gap: 2.5rem;
}

/* Ensure image under text on wider screens fills left column nicely */
.intro-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.intro-image-wrap {
  display: flex;
  justify-content: center;
}

.product-image-left {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(15,23,42,0.06);
}

.product-cta {
  margin-top: 1rem;
  text-align: center;
}

.product-cta .btn {
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
  border-radius: 999px;
}

@media (max-width: 860px) {
  .product-cta { text-align: center; }
}

/* Ensure product image aligns under text on small screens */
@media (max-width: 860px) {
  .intro .grid-2 { grid-template-columns: 1fr; gap: 1.25rem; }
  .intro-left { order: 0; }
  .feature-card { order: 1; }
  .intro-image-wrap { justify-content: center; }
  .product-image-left { max-width: 80%; width: auto; margin: 0.5rem auto 1rem; }
  .feature-card { padding: 1rem; }
}

/* Medium screens: slightly narrower right column for balance */
@media (min-width: 861px) and (max-width: 1100px) {
  .intro .grid-2 { grid-template-columns: 1fr 360px; }
  .product-image-left { max-width: 320px; }
}

/* Desktop: ensure left column doesn't leave big empty gap */
@media (min-width: 1101px) {
  .intro .grid-2 { grid-template-columns: minmax(420px, 1fr) 420px; }
  .intro-left { padding-right: 1rem; }
  .feature-card { padding: 1.5rem; }
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.about-box,
.value-card {
  padding: 2rem;
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
}

.feature-card {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-image {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 1rem;
  margin: 0 0 1.25rem 0;
  object-fit: contain;
  display: block;
}

.feature-card h3,
.value-card h3,
.about-box h3 {
  margin-top: 0;
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  border-radius: 1.25rem;
  background: #f8fafc;
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(13, 67, 79, 0.1);
  color: #0f4b5f;
  font-size: 1.25rem;
}

.feature-item strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #0f172a;
}

.feature-item p {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

.intro h2,
.values h2,
.about h2,
.cta h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 2.75vw, 2.75rem);
}

.intro p,
.values p,
.about p,
.value-card p,
.feature-card p,
.about-box p {
  color: #475569;
  line-height: 1.75;
}

.values {
  background: #f8fafc;
}

.value-card {
  min-height: 220px;
}

.about {
  padding-top: 0;
}

.reverse {
  direction: rtl;
}

.reverse > * {
  direction: ltr;
}

.about-box ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.about-box li {
  margin-bottom: 0.85rem;
  padding-left: 1.35rem;
  position: relative;
}

.about-box li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-size: 1.4rem;
  line-height: 1;
}

.cta {
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%);
  border-radius: 2rem;
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.contact-left {
  text-align: left;
}

.company-card {
  display: grid;
  padding: 1.25rem;
  border-radius: 1.75rem;
  background: #ffffff;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
  margin-bottom: 1rem;
  text-align: center;
}

.company-card-logo {
  display: none;
}

.company-card-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.company-card-content p {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

.contact-info-panel {
  background: #f8fbff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.contact-info-panel > p {
  margin: 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin-top: 0.85rem;
}

.detail-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.detail-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(13, 67, 79, 0.08);
  color: #0f4b5f;
  font-size: 1.15rem;
}

.detail-icon svg {
  width: 24px;
  height: 24px;
}

.detail-item strong {
  display: block;
  margin-bottom: 0.2rem;
}

.detail-item p {
  margin: 0;
  line-height: 1.5;
}

.detail-item p + p {
  margin-top: 0.25rem;
}

.info-cards {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.info-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 1rem;
  background: #f8fbff;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.info-card .icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(13, 67, 79, 0.1);
  color: #0f4b5f;
}

.info-card .icon svg {
  width: 22px;
  height: 22px;
}

.info-card strong {
  display: block;
  margin-bottom: 0.15rem;
}

.info-card p {
  margin: 0;
  line-height: 1.45;
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}

.form-notice {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border: 1px solid;
  border-radius: 14px;
  font-weight: 600;
  line-height: 1.5;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.form-notice i {
  margin-top: 0.2rem;
  font-size: 1.1rem;
}

.form-notice--success {
  color: #166534;
  background: #f0fdf4;
  border-color: #86efac;
}

.form-notice--error {
  color: #991b1b;
  background: #fff7f7;
  border-color: #fecaca;
}

.contact-form {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(15,23,42,0.06);
}

.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  color: #0f172a;
}

.contact-form label span {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid #dbeafe;
  background: #f8fbff;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.contact-form .row.full {
  grid-template-columns: 1fr;
}

.form-actions {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  justify-content: center;
}

.contact-right .contact-form {
  width: 100%;
  height: auto;
  flex: 1;
}

.product-cta {
  margin-top: 1rem;
  text-align: center;
}

.product-cta .btn {
  padding: 0.95rem 1.8rem;
  font-size: 1rem;
  border-radius: 999px;
}

.btn.btn-primary {
  padding: 0.95rem 1.6rem;
  font-size: 1.02rem;
}

.product-link {
  margin-top: 1rem;
}

/* Make form rows stack on small screens */
@media (max-width: 860px) {
  .hero-actions {
    justify-content: center;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 360px;
  }
  .product-cta .btn {
    width: min(240px, 100%);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-panel {
    padding: 1.2rem;
  }
  .contact-right .contact-form {
    height: auto;
    padding: 1rem;
  }
  .contact-form .row {
    grid-template-columns: 1fr;
  }
}

.req { color: #dc2626; }

.cta > .container > p {
  max-width: 42rem;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.footer {
  position: relative;
  padding: 3rem 0 1.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 38%),
    linear-gradient(180deg, #f8faff 0%, #eef2ff 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #0ea5e9, #10b981);
}

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

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: 4rem;
  align-items: center;
  padding-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand img {
  width: 108px;
  height: 108px;
  flex: 0 0 108px;
  object-fit: contain;
}

.footer-eyebrow {
  margin: 0 0 0.45rem;
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-brand h3 {
  margin: 0 0 0.65rem;
  color: #0f172a;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.footer-brand div > p:last-child {
  max-width: 34rem;
  margin: 0;
  color: #475569;
  line-height: 1.65;
}

.footer-contact {
  display: grid;
  gap: 0.65rem;
}

.footer-contact a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.62);
  color: #0f172a;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.footer-contact a:hover {
  transform: translateX(3px);
  border-color: #93c5fd;
  background: #ffffff;
}

.footer-contact a > span:first-child {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.footer-contact small {
  display: block;
  margin-bottom: 0.15rem;
  color: #64748b;
  font-size: 0.72rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  color: #64748b;
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #2563eb;
  font-weight: 700;
}

@media (max-width: 860px) {
  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    padding-top: 2.5rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .footer-brand {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand img {
    width: 92px;
    height: 92px;
    flex-basis: 92px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.65rem;
    text-align: center;
  }


/* Improve card readability and prevent overflow selection issues */
.feature-card, .value-card, .about-box {
  overflow-wrap: break-word;
}

/* Make the right-side small info cards full-width inside the card */
.feature-list div {
  width: 100%;
}
  .hero {
    padding: 3.5rem 0 2.5rem;
  }
}

@media (min-width: 861px) and (max-width: 1100px) {
  /* Medium screens: make left column and right card closer in width */
  .intro .grid-2 {
    grid-template-columns: 1fr 360px;
  }
  .product-image-left {
    max-width: 320px;
  }
}

@media (min-width: 1101px) {
  /* Desktop: ensure left image aligns under text and fills visual space */
  .intro .grid-2 {
    grid-template-columns: 1fr 420px;
  }
  .product-image-left {
    max-width: 420px;
  }
}
