:root {
  --dark-teal: #013c44;
  --mid-teal: #809da1;
  --light-blue: #dbeaec;
  --off-white: #efeae8;
  --text: #2a2a2a;
  --muted: #6b6b6b;
  --pill-radius: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: #1e1e1e;
  overscroll-behavior: none;
}

html {
  background: #1e1e1e;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
.logo {
  font-family: "Syne", sans-serif;
}

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

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

.hero {
  min-height: 620px;
  background: url("naeo_header.png") center/cover no-repeat;
  color: #ffffff;
  position: relative;
  padding-top: 12px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.1) 55%, rgba(0, 0, 0, 0));
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  gap: 24px;
}

.glass-nav {
  width: min(1200px, 94%);
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 10px 22px;
  border-radius: var(--pill-radius);
  background: rgba(53, 53, 53, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  z-index: 10;
}

.logo {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  font-size: 20px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 26px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.16);
  }
}

.nav-links {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-cta {
  border: none;
  background: #073e46;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--pill-radius);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
}

.hero-content {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 140px 0 120px;
  position: relative;
  z-index: 2;
}

.hero-label {
  letter-spacing: 0.4em;
  font-size: 12px;
  margin: 0 0 14px;
  font-weight: 500;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.1;
  margin: 0 0 30px;
  font-weight: 700;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}

.pill {
  background: #ffffff;
  color: var(--text);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.btn-primary {
  background: var(--dark-teal);
  color: #ffffff;
  border: none;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.intro {
  background: var(--off-white);
  padding: 70px 0 60px;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.card h3 {
  font-size: 14px;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 18px;
}

.card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.signup {
  background: var(--dark-teal);
  color: #ffffff;
  padding: 70px 0;
}

.signup-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.signup h2 {
  font-size: 26px;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}

.signup-cta p {
  margin: 0;
  font-size: 13px;
  color: #d7e2e3;
  line-height: 1.6;
}

.btn-secondary {
  border: none;
  background: #ffffff;
  color: var(--dark-teal);
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.signup-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 999px;
  padding: 4px;
  min-width: 340px;
}

.signup-form input {
  border: none;
  padding: 8px 14px;
  flex: 1;
  font-size: 12px;
  outline: none;
}

.signup-form button {
  border: none;
  background: var(--dark-teal);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #d7e2e3;
}

.checkbox input {
  width: 16px;
  height: 16px;
}

.app {
  scroll-margin-top: 120px;
  padding: 80px 0 0;
  background: var(--off-white);
}

.app h2 {
  font-size: 20px;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

.app-header {
  padding-bottom: 50px;
}

.toggle {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 60px;
  width: min(420px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.toggle-pill {
  flex: 1;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid var(--mid-teal);
  font-size: 12px;
  color: var(--mid-teal);
  background: transparent;
  cursor: pointer;
  text-align: center;
}

.toggle-pill.active {
  background: var(--dark-teal);
  color: #ffffff;
  border-color: var(--dark-teal);
}

.app-views {
  width: 100%;
}

.app-views.is-transitioning {
  position: relative;
}

.app-view {
  display: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.app-view.active {
  display: block;
  opacity: 1;
}

.app-view.is-transitioning {
  display: block;
}

.app-views.is-transitioning .app-view.is-transitioning {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.app-view.is-fading-in {
  opacity: 1;
}

.app-view.is-fading-out {
  opacity: 0;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  margin-bottom: 70px;
}

.feature-row.reverse {
  grid-template-columns: 1fr 1fr;
}

.feature-text h4 {
  letter-spacing: 0.08em;
  font-size: 14px;
  margin-bottom: 14px;
}

.feature-text p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.feature-image {
  display: flex;
  justify-content: flex-end;
}

.image-left .feature-image {
  justify-content: flex-start;
}

.app-view[data-view="user"] .feature-row {
  gap: 24px;
}

.app-view[data-view="user"] .feature-image {
  justify-content: center;
}

.app-view[data-view="user"] .feature-text {
  max-width: 420px;
}

.app-panel {
  background: var(--light-blue);
  padding: 60px 0 80px;
}

.tablet {
  width: min(520px, 90%);
}

.tablet-bezel {
  background: #111111;
  padding: 14px;
  border-radius: 34px;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.2);
}

.tablet-screen {
  background: linear-gradient(135deg, #efe9e6, #dfe7e8);
  border-radius: 22px;
  padding: 18px 18px 22px;
  min-height: 320px;
  position: relative;
}

.tablet-logo {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.tablet-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.tablet-tabs .tab {
  font-size: 9px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: #8e8e8e;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tablet-tabs .tab.active {
  background: var(--dark-teal);
  color: #ffffff;
}

.tablet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tablet-col {
  display: grid;
  gap: 12px;
}

.mini-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  min-height: 70px;
}

.mini-card.tall {
  min-height: 120px;
}

.mini-card.wide {
  min-height: 220px;
}

.mini-title {
  font-size: 9px;
  color: #3d3d3d;
  margin-bottom: 8px;
}

.mini-line {
  height: 4px;
  border-radius: 999px;
  background: #e4dedd;
}

.mini-line.small {
  margin-top: 8px;
  width: 60%;
  background: #e9e4e3;
}

.mini-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #d7f1d8, #c7e9ef);
  margin: 8px auto 12px;
}

.mini-pill {
  width: 60px;
  height: 10px;
  border-radius: 999px;
  background: #d9f2b1;
  margin: 10px 0;
}

.phone-mockup {
  width: min(240px, 70%);
  filter: none;
}

.system {
  scroll-margin-top: 120px;
  padding: 80px 0 90px;
  background: #ffffff;
}

.system-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.system-image {
  display: flex;
  justify-content: flex-end;
}

.system-image img {
  width: min(520px, 90%);
}

.system-text h2 {
  font-size: 20px;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

.system-text p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.privacy {
  scroll-margin-top: 120px;
  background: var(--dark-teal);
  color: #ffffff;
  padding: 70px 0;
}

.privacy h2 {
  font-size: 20px;
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}

.privacy p {
  font-size: 12px;
  max-width: 520px;
  color: #d7e2e3;
  line-height: 1.6;
}

.contact {
  background: var(--off-white);
  padding: 80px 0 70px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h2 {
  font-size: 20px;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

.contact-info h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  margin: 20px 0 6px;
}

.contact-info p {
  color: var(--muted);
  font-size: 12px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--muted);
  gap: 6px;
}

.contact-form input {
  border: none;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 12px;
  outline: none;
}

.contact-form button {
  margin-top: 6px;
  align-self: center;
  border: none;
  background: var(--dark-teal);
  color: #ffffff;
  padding: 10px 36px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.footer-signup {
  background: var(--mid-teal);
  color: #1d1d1d;
  padding: 70px 0 80px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 40px;
}

.footer-left h2 {
  font-size: 20px;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.footer-signup .signup-form {
  background: #ffffff;
  width: 360px;
}

.footer-signup .signup-form button {
  background: var(--dark-teal);
}

.footer-signup .checkbox {
  color: #3b4a4c;
}

.footer-links {
  margin-top: 30px;
  display: flex;
  gap: 28px;
  font-size: 11px;
  color: #2f2f2f;
  position: relative;
  padding-top: 20px;
  grid-column: 1 / -1;
}

.footer-links::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.2);
}

.footer-links a {
  color: #2f2f2f;
  text-decoration: none;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.logo.large {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .three-col,
  .feature-row,
  .system-inner,
  .contact-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 120px 0 80px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-image img {
    width: 100%;
  }

  .phone-mockup {
    width: min(280px, 80%);
  }

  .footer-right {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
  }

  .hero h1 {
    font-size: 32px;
  }

  .nav-links {
    margin-left: 0;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .nav-links a {
    margin-left: 0;
    margin-right: 0;
    white-space: nowrap;
  }

  .hero-content {
    padding-top: 160px;
  }

  .app-view[data-view="user"] .container.app-header .feature-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
  }

  .app-panel .feature-row.image-left {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
  }

  .system-image {
    justify-content: center;
  }

  .app-view[data-view="team"] .feature-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .app-view[data-view="team"] .feature-text {
    order: 1;
  }

  .app-view[data-view="team"] .feature-image {
    order: 2;
    justify-content: center;
  }

  .signup-form,
  .footer-signup .signup-form {
    width: 100%;
    min-width: unset;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}
