@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --public-font-body: "Outfit", "Segoe UI", sans-serif;
  --public-font-head: "Space Grotesk", "Segoe UI", sans-serif;
  --public-ink: #13283f;
  --public-muted: #355779;
  --public-card: rgba(255, 255, 255, 0.9);
  --public-border: rgba(17, 58, 94, 0.14);
  --public-shadow: 0 14px 34px rgba(16, 44, 72, 0.12);
}

body.public-page {
  position: relative;
  margin: 0;
  font-family: var(--public-font-body);
  color: var(--public-ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(142, 202, 230, 0.2), transparent 20%),
    radial-gradient(circle at 84% 12%, rgba(159, 231, 212, 0.18), transparent 22%),
    linear-gradient(180deg, #f5f9ff 0%, #f8fbff 38%, #edf6ff 100%);
}

body.public-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 10% 30%, rgba(142, 202, 230, 0.14), transparent 22%),
    radial-gradient(circle at 86% 36%, rgba(159, 231, 212, 0.12), transparent 20%),
    radial-gradient(circle at 12% 62%, rgba(142, 202, 230, 0.12), transparent 23%),
    radial-gradient(circle at 88% 72%, rgba(159, 231, 212, 0.11), transparent 22%);
}

body.public-page > * {
  position: relative;
  z-index: 1;
}

body.public-page h1,
body.public-page h2,
body.public-page h3 {
  font-family: var(--public-font-head);
  color: #10253a;
}

body.public-page section p,
body.public-page section li,
body.public-page section label {
  color: var(--public-muted);
}

body.public-page section {
  width: min(1120px, calc(100% - 2.2rem));
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 2vw, 1.8rem);
  padding-right: clamp(1rem, 2vw, 1.8rem);
  border-radius: 24px;
}

body.public-page section + section {
  margin-top: 3.1rem !important;
}

body.public-page .container {
  width: min(1040px, 100%);
  margin-left: auto;
  margin-right: auto;
}

body.public-page footer {
  margin-top: 2.4rem;
}

body.public-page footer p,
body.public-page footer li,
body.public-page footer a {
  color: rgba(255, 255, 255, 0.9);
}

.about-page .hero {
  background: transparent !important;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding-top: 8.2rem;
  padding-bottom: 6.4rem;
}

.about-page section {
  width: 100% !important;
  max-width: none;
  border-radius: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.about-page section + section {
  margin-top: 0 !important;
}

.about-page .container {
  width: min(1080px, calc(100% - 2rem));
}

.about-page .mission,
.about-page .features-window,
.about-page .team {
  background: transparent !important;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding-top: 6rem;
  padding-bottom: 5.6rem;
}

.about-page #contact {
  background: transparent !important;
}

.about-page .mission {
  padding-top: 6.4rem;
}

.about-page .features-window {
  padding-top: 5.3rem;
  padding-bottom: 5.1rem;
}

.about-page .timeline {
  margin-top: 1.6rem;
}

.about-page .timeline::before {
  background: linear-gradient(180deg, #2f6ea4, #73b8e8);
  opacity: 0.75;
}

.about-page .timeline-item .left,
.about-page .timeline-item .right {
  background: transparent;
  color: #213f61;
  border: none;
  border-left: 4px solid rgba(35, 99, 150, 0.55);
  box-shadow: none;
  backdrop-filter: none;
  padding: 1.7rem;
}

.about-page .timeline-item .left {
  left: -6px;
}

.about-page .timeline-item .right {
  right: -6px;
}

.about-page .timeline-item .left::after {
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.35);
  right: -28px;
  border-width: 14px;
}

.about-page .timeline-item .right::before {
  border-color: transparent rgba(255, 255, 255, 0.35) transparent transparent;
  left: -28px;
  border-width: 14px;
}

.about-page .mission-visual {
  filter: drop-shadow(0 20px 30px rgba(17, 58, 94, 0.16));
}

.about-page .features-window .window-header {
  background: linear-gradient(90deg, #eef4fb, #e6f2ff);
  border: 1px solid rgba(17, 58, 94, 0.12);
  border-bottom: 0;
}

.about-page .features-window .terminal {
  border: 1px solid rgba(17, 58, 94, 0.12);
  border-top: 0;
  min-height: 280px;
}

.about-page .contact-cta {
  background: linear-gradient(140deg, #12385d, #1e5f92);
  border-radius: 22px;
  margin-top: 1.8rem !important;
  padding: 3.4rem 1.6rem;
  margin-bottom: 0 !important;
}

.about-page footer {
  margin-top: 0 !important;
}

.about-page .contact-cta h2,
.about-page .contact-cta p {
  color: #f5fbff;
  text-align: center;
}

.about-page .contact-cta .button {
  background: linear-gradient(120deg, #7fd4ff, #9fe7d4);
  color: #0f2f4e;
  border: none;
}

.software-page .hero {
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--public-shadow);
  border-radius: 26px;
  margin-top: 5.6rem;
  overflow: hidden;
}

.software-page .services {
  background: transparent;
  padding-top: 0;
  padding-bottom: 0;
}

.software-page .service-item {
  background: var(--public-card);
  border: 1px solid var(--public-border);
  box-shadow: var(--public-shadow);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.9rem;
}

.software-page .about,
.software-page .contact {
  background: var(--public-card);
  border: 1px solid var(--public-border);
  box-shadow: var(--public-shadow);
}

.contact-page .contactForm {
  width: min(1120px, calc(100% - 2rem));
  margin: 5.6rem auto 0;
  border-radius: 24px;
  background: transparent;
  gap: 1.4rem;
  padding: 0;
}

.contact-page .contactFormCard {
  background: linear-gradient(160deg, #1d5a8e, #1c4670);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  box-shadow: var(--public-shadow);
  padding: 1.4rem;
}

.contact-page .contactFormCard p,
.contact-page .contactFormCard label,
.contact-page .contactFormCard h2 {
  color: #f4f9ff;
}

.contact-page .form input,
.contact-page .form textarea,
.contact-page .form select {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.95);
}

.contact-page .form button {
  background: linear-gradient(130deg, #67b7ff, #36d0b5);
  color: #09233b;
  font-weight: 700;
}

.auth-page section {
  width: min(760px, calc(100% - 1.2rem));
  margin-top: 5.5rem !important;
  background: var(--public-card);
  border: 1px solid var(--public-border);
  box-shadow: var(--public-shadow);
  border-radius: 20px;
  padding: 1.2rem;
}

.auth-page .content {
  padding: 0.8rem 1rem;
}

.auth-page form {
  display: grid;
  gap: 0.6rem;
}

.auth-page input {
  width: min(460px, 100%) !important;
  border: 1px solid rgba(17, 58, 94, 0.2);
}

.auth-page button {
  width: fit-content;
  border: 0;
  border-radius: 999px;
  padding: 0.6rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(130deg, #1446a0, #1f7397);
}

.terms-page section {
  width: min(1120px, calc(100% - 2rem));
  margin-top: 5.7rem !important;
  background: var(--public-card);
  border: 1px solid var(--public-border);
  box-shadow: var(--public-shadow);
  padding: clamp(1.1rem, 2vw, 2rem);
}

.terms-page .content-container {
  max-width: 1000px !important;
}

.terms-page .content-container h2 {
  margin-top: 0.4rem;
}

@media (max-width: 900px) {
  body.public-page section + section {
    margin-top: 2.4rem !important;
  }

  .about-page .hero,
  .about-page .mission,
  .about-page .features-window,
  .about-page .team {
    padding-top: 4.6rem;
    padding-bottom: 4.2rem;
  }

  .software-page .hero {
    margin-top: 5rem;
  }
}

@media (max-width: 720px) {
  body.public-page section {
    width: min(1120px, calc(100% - 1rem));
  }

  .contact-page .contactForm {
    width: min(1120px, calc(100% - 1rem));
  }

  .auth-page section,
  .terms-page section {
    margin-top: 5rem !important;
  }
}
