:root {
  --navy: #061826;
  --blue-dark: #0b3c5d;
  --blue: #1d8cf8;
  --blue-soft: #e7f4ff;
  --cyan: #5ed7ff;
  --green: #2dd4bf;
  --red: #ef4444;
  --text: #162033;
  --muted: #667085;
  --line: #d9e8f5;
  --white: #ffffff;
  --bg: #f6fbff;
  --shadow: 0 24px 60px rgba(6, 24, 38, 0.18);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

.container {
  max-width: 1120px;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 18px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 18px rgba(6, 24, 38, 0.06);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 160px;
  max-height: 120px;
  height: auto;
  object-fit: contain;
  display: block;
}

nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 42px;
  height: 42px;
  padding: 0;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: #334155;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle span {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle span::before {
  top: -10px;
}

.nav-toggle span::after {
  bottom: -10px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(10px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-10px) rotate(-45deg);
}

nav a {
  color: #334155;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
}

nav a:hover {
  color: var(--blue);
}

.hero {
  background:
    radial-gradient(circle at 78% 20%, rgba(29, 140, 248, 0.32), transparent 30%),
    radial-gradient(circle at 20% 0%, rgba(94, 215, 255, 0.18), transparent 26%),
    linear-gradient(135deg, #061826 0%, #0b3c5d 58%, #0f6094 100%);
  color: white;
  padding: 96px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  max-width: 900px;
  margin: 0 auto;
}

.label {
  color: var(--blue);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 900;
  margin-bottom: 12px;
}

.hero .label,
.download .label {
  color: var(--cyan);
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin-bottom: 26px;
}

h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 20px;
}

h3 {
  color: var(--navy);
  margin-bottom: 10px;
}

.hero h2,
.hero h3,
.hero h1,
.download h2 {
  color: white;
}

.intro {
  color: #dbeafe;
  font-size: 1.16rem;
  max-width: 680px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.primary {
  background: var(--cyan);
  color: var(--navy);
}

.secondary {
  color: white;
  border: 1px solid rgba(255,255,255,0.28);
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 42px;
}

.mini-stats div {
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 16px;
}

.mini-stats strong,
.mini-stats span {
  display: block;
}

.mini-stats span {
  color: #bfdbfe;
  font-size: 0.9rem;
}

.dashboard {
  background: rgba(255,255,255,0.92);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.45);
}

.dashboard-top {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.dashboard-top span {
  width: 11px;
  height: 11px;
  background: #cbd5e1;
  border-radius: 50%;
}

.dashboard-top p {
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.map {
  position: relative;
  height: 280px;
  background: #f8fcff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map img,
.model-gif {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.flood {
  position: absolute;
  width: 520px;
  height: 165px;
  left: -80px;
  bottom: 42px;
  background: rgba(29, 140, 248, 0.28);
  border-radius: 52% 48% 42% 58%;
  transform: rotate(-13deg);
}

.road {
  position: absolute;
  height: 8px;
  border-radius: 99px;
  background: var(--green);
}

.r1 {
  width: 250px;
  left: 72px;
  top: 196px;
  transform: rotate(-22deg);
}

.r2 {
  width: 210px;
  left: 220px;
  top: 122px;
  transform: rotate(28deg);
}

.r3 {
  width: 170px;
  left: 235px;
  top: 242px;
  transform: rotate(-8deg);
}

.blocked {
  background: repeating-linear-gradient(90deg, var(--red) 0 18px, #fecaca 18px 30px);
}

.node {
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--blue);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(6, 24, 38, 0.25);
}

.n1 { left: 78px; top: 185px; }
.n2 { right: 72px; top: 112px; background: var(--green); }
.n3 { right: 102px; bottom: 70px; background: var(--red); }

.dashboard-bottom {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
}

.dashboard-bottom div {
  padding: 0;
  border: 0;
}

.dashboard-bottom span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
}

.section {
  padding: 90px 0;
}

.light {
  background: white;
}

.about-section {
  background: linear-gradient(180deg, rgba(231, 244, 255, 0.95), rgba(246, 251, 255, 1));
}

.split-grid,
.output-grid,
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.split p,
.output-grid p,
.about-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}

.about-copy p {
  margin-top: 1.25rem;
}

.about-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(29, 140, 248, 0.16);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(6, 24, 38, 0.12);
}

.about-panel .label {
  margin-bottom: 22px;
}

.card-list {
  display: grid;
  gap: 16px;
}

.card {
  display: block;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(29, 140, 248, 0.12);
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 18px 38px rgba(6, 24, 38, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(6, 24, 38, 0.12);
  border-color: rgba(29, 140, 248, 0.18);
}

.panel-list {
  display: grid;
  gap: 12px;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 12px 30px rgba(6, 24, 38, 0.05);
}

.panel-row span {
  color: var(--muted);
}

.panel-row b {
  color: var(--navy);
  text-align: right;
}

.feature-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-grid article {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
}

.feature-grid p {
  color: var(--muted);
}

.method {
  background: var(--navy);
}

.method h2,
.method h3 {
  color: white;
}

.method-flow {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.method-flow div {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 26px;
}

.method-flow span {
  color: var(--cyan);
  font-weight: 900;
}

.method-flow p {
  color: #cfe8ff;
}

.output-card {
  background: var(--navy);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow);
  width: 100%;
  overflow-x: hidden;
}

.output-card code {
  display: block;
  background: rgba(255,255,255,0.08);
  color: #dbeafe;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.roadmap {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.roadmap div {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
}

.roadmap b {
  display: block;
  color: var(--blue);
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.roadmap span {
  color: var(--muted);
}

.download {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white;
}

.download-box {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}

.download-box p {
  color: #dbeafe;
  max-width: 720px;
}

.download button {
  border: 0;
  background: #dbeafe;
  color: var(--navy);
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 900;
  cursor: not-allowed;
  white-space: nowrap;
}

.signup-section {
  background: linear-gradient(180deg, rgba(231, 244, 255, 0.95), rgba(246, 251, 255, 1));
  padding: 96px 0;
}

.signup-card {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 48px;
  align-items: start;
  background: white;
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 48px;
  box-shadow: var(--shadow);
  max-width: 1180px;
  margin: 0 auto;
}

.signup-copy {
  display: grid;
  gap: 18px;
}

.signup-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 720px;
}

.signup-small {
  margin-top: 18px;
  padding: 18px 20px;
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  border-radius: 14px;
  font-weight: 700;
  max-width: 720px;
}

.signup-form {
  display: grid;
  gap: 20px;
  background: var(--navy);
  padding: 36px;
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(6, 24, 38, 0.2);
  min-width: 0;
}

.form-row label {
  color: #dbeafe;
  font-weight: 800;
  font-size: 0.95rem;
}

.signup-form input,
.signup-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.12);
  color: white;
  border-radius: 18px;
  padding: 16px 18px;
  font: 1rem Arial, Helvetica, sans-serif;
  outline: none;
}

.signup-form input::placeholder,
.signup-form textarea::placeholder {
  color: #aacde8;
}

.signup-form input:focus,
.signup-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(94, 215, 255, 0.18);
}

.signup-form textarea {
  min-height: 240px;
  resize: vertical;
}

.signup-form button {
  border: 0;
  border-radius: 999px;
  padding: 16px 28px;
  background: var(--cyan);
  color: var(--navy);
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  width: fit-content;
}

.signup-form button:hover {
  filter: brightness(1.06);
}

.privacy-note {
  color: #cbe5ff;
  font-size: 0.94rem;
  line-height: 1.6;
}

.form-status {
  color: var(--cyan);
  font-weight: 900;
}

.footer {
  background: #03111d;
  color: white;
  padding: 34px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer p {
  color: #b6d8ef;
}

.footer a {
  color: var(--cyan);
  font-weight: 800;
}

@media (max-width: 900px) {
  .nav {
    height: auto;
    padding: 18px 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-grid,
  .split-grid,
  .about-grid,
  .output-grid,
  .signup-card {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .method-flow,
  .roadmap {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  nav {
    display: none;
    width: 100%;
    margin-top: 12px;
  }

  nav.open {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(51, 65, 85, 0.12);
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .signup-card {
    padding: 32px;
  }
}

@media (max-width: 600px) {
  nav {
    gap: 14px;
  }

  .hero {
    padding: 64px 0;
  }

  .mini-stats,
  .feature-grid,
  .method-flow,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .panel-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-bottom {
    grid-template-columns: 1fr;
  }

  .dashboard-bottom div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signup-section {
    padding: 80px 0;
  }

  .signup-card {
    gap: 24px;
    padding: 30px;
  }

  .signup-form {
    padding: 28px;
  }

  .signup-form button {
    width: 100%;
    justify-content: center;
  }
}

.model-gif {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


