:root{
  --navy:#071a2d;
  --navy-2:#0b2947;
  --blue:#0a8ef7;
  --blue-soft:#dff2ff;
  --white:#ffffff;
  --off:#f5f8fb;
  --text:#15283b;
  --muted:#617286;
  --line:#dce5ed;
  --green:#2fa36b;
  --orange:#e99832;
  --shadow:0 24px 70px rgba(4,22,39,.16);
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.6;
}

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

.container{
  width:min(1160px,calc(100% - 40px));
  margin:0 auto;
}

.narrow{
  width:min(820px,100%);
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:30;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(220,229,237,.75);
}

/* ---------- NAVIGATION ---------- */

.nav{
  height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand{
  display:flex;
  align-items:center;
  gap:11px;
  font-weight:800;
  letter-spacing:-.02em;
  font-size:1.1rem;
}

.brand-mark{
  width:36px;
  height:36px;
  border-radius:11px;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,var(--blue),#39b4ff);
  color:white;
  font-weight:900;
  box-shadow:0 8px 20px rgba(10,142,247,.25);
}

.nav-links{
  display:flex;
  align-items:center;
  gap:24px;
  font-size:.94rem;
  font-weight:650;
  white-space:nowrap;
}

.nav-links > a:not(.button){
  display:flex;
  align-items:center;
  height:42px;
}

.nav-links > a:not(.button):hover{
  color:var(--blue);
}

.nav-dropdown{
  position:relative;
  display:flex;
  align-items:center;
  height:42px;
  flex:0 0 auto;
}

.nav-dropdown-toggle{
  display:flex;
  align-items:center;
  height:42px;
  white-space:nowrap;
}

.nav-dropdown-toggle:hover{
  color:var(--blue);
}

.nav-dropdown-menu{
  display:none;
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%);
  min-width:270px;
  padding:10px;
  margin:0;
  background:white;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:var(--shadow);
  z-index:100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu{
  display:block;
}

.nav-dropdown-menu a{
  display:block;
  height:auto;
  padding:11px 13px;
  border-radius:8px;
  color:var(--text);
  font-size:.88rem;
  font-weight:650;
  line-height:1.4;
  white-space:nowrap;
}

.nav-dropdown-menu a:hover{
  background:var(--off);
  color:var(--blue);
}

.menu-button{
  display:none;
  border:0;
  background:none;
  font-size:1.6rem;
  color:var(--navy);
}

/* ---------- BUTTONS ---------- */

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 24px;
  border-radius:12px;
  background:var(--blue);
  color:white;
  font-weight:800;
  box-shadow:0 11px 25px rgba(10,142,247,.22);
  transition:.18s ease;
}

.button:hover{
  transform:translateY(-1px);
  box-shadow:0 15px 30px rgba(10,142,247,.28);
}

.button-small{
  min-height:42px;
  padding:0 18px;
  border-radius:10px;
}

/* ---------- HERO ---------- */

.hero{
  overflow:hidden;
  background:
    radial-gradient(circle at 76% 18%,rgba(10,142,247,.18),transparent 28%),
    linear-gradient(145deg,#061626 0%,#0a223a 68%,#0c2e4f 100%);
  color:white;
  padding:68px 0 72px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:70px;
  align-items:center;
}

.eyebrow{
  margin:0 0 15px;
  color:var(--blue);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.15em;
}

.hero .eyebrow{color:#66c5ff}

h1,h2,h3{
  line-height:1.12;
  margin-top:0;
}

h1{
  font-size:clamp(2rem,2.8vw,3rem);
  letter-spacing:-.045em;
  margin-bottom:24px;
  max-width:760px;
}

h1 span{color:#67c5ff}

.hero-text{
  color:#c8d6e3;
  font-size:1.13rem;
  max-width:650px;
  margin-bottom:30px;
}

.hero-actions{
  display:flex;
  align-items:center;
  gap:24px;
  margin-bottom:26px;
}

.text-link{
  color:white;
  font-weight:750;
}

.trust-line{
  display:flex;
  gap:10px;
  color:#8fa7ba;
  font-size:.84rem;
  flex-wrap:wrap;
}

/* ---------- PRODUCT FRAME ---------- */

.product-frame{
  width:80%;
  justify-self:end;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.98);
  color:var(--text);
  border-radius:22px;
  padding:22px;
  box-shadow:var(--shadow);
  transform:perspective(1000px) rotateY(-2deg) rotateX(1deg);
}

.frame-top,
.section-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.frame-top strong{
  display:block;
  color:var(--navy);
  font-size:1.08rem;
}

.frame-top small{
  display:block;
  color:var(--muted);
  margin-top:2px;
}

.live-pill{
  font-size:.7rem;
  font-weight:900;
  letter-spacing:.1em;
  background:#ddf7e9;
  color:#177d4b;
  padding:5px 9px;
  border-radius:999px;
}

.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:6px;
  margin:14px 0;
}

.stats div{
  background:var(--off);
  border:1px solid #edf2f6;
  border-radius:12px;
  padding:8px;
}

.stats strong{
  display:block;
  font-size:1.05rem;
  color:var(--navy);
}

.stats span{
  display:block;
  color:var(--muted);
  font-size:.7rem;
}

.frame-section{
  border:1px solid var(--line);
  border-radius:14px;
  padding:11px;
}
.section-title{margin-bottom:8px}

.section-title span{
  font-size:.76rem;
  color:var(--muted);
}

.berth-row{
  display:grid;
  grid-template-columns:12px 48px 1fr auto;
  gap:8px;
  align-items:center;
  padding:7px 0;
  border-top:1px solid #edf2f6;
  font-size:.78rem;
}

.berth-row em{
  font-style:normal;
  color:var(--muted);
  font-size:.7rem;
}

.status{
  width:9px;
  height:9px;
  border-radius:50%;
}

.status.ok{background:var(--green)}
.status.open{background:#9aa9b5}
.status.warn{background:var(--orange)}

.frame-bottom{
  display:flex;
  justify-content:space-around;
  padding-top:11px;
  font-size:.7rem;
  font-weight:750;
  color:var(--muted);
}

/* ---------- SECTIONS ---------- */

.problem{
  padding:58px 0;
  background:var(--white);
  text-align:center;
}

.problem h2,
.section-heading h2,
.workflow h2,
.about h2,
.contact h2{
  font-size:clamp(1.65rem,2.3vw,2.35rem);
  letter-spacing:-.045em;
  margin-bottom:20px;
}

.problem p{
  font-size:1.08rem;
  color:var(--muted);
}

.problem .accent-copy{
  color:var(--navy);
  font-weight:750;
}

.section{padding:62px 0}

.platform{background:var(--off)}

.section-heading{
  max-width:760px;
  margin-bottom:30px;
}

.section-heading>p:last-child{
  color:var(--muted);
  font-size:1.05rem;
}

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

.feature-card{
  background:white;
  border:1px solid var(--line);
  border-radius:18px;
  padding:30px;
}

.feature-number{
  font-size:.76rem;
  color:var(--blue);
  font-weight:900;
}

.feature-card h3{
  font-size:1.35rem;
  margin:14px 0 12px;
}

.feature-card p{
  margin:0;
  color:var(--muted);
}

/* ---------- WORKFLOW ---------- */

.workflow{
  background:var(--navy);
  color:white;
}

.workflow-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:48px;
}

.workflow-grid>div:first-child>p:last-child{
  color:#aec0cf;
}

.steps{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.step{
  display:flex;
  gap:16px;
  padding:20px;
  border:1px solid rgba(255,255,255,.11);
  background:rgba(255,255,255,.045);
  border-radius:15px;
}

.step>span{
  flex:0 0 34px;
  width:34px;
  height:34px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:var(--blue);
  font-weight:900;
}

.step strong{
  display:block;
  margin-bottom:4px;
}

.step p{
  margin:0;
  color:#aec0cf;
  font-size:.92rem;
}

/* ---------- STATEMENT / ABOUT ---------- */

.statement{
  background:linear-gradient(180deg,#fff,#f7fbff);
}

blockquote{
  margin:0;
  text-align:center;
  font-size:clamp(1.7rem,2.5vw,2.5rem);
  line-height:1.15;
  letter-spacing:-.05em;
  font-weight:850;
  color:var(--navy);
}

.about-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:90px;
}

.about-grid>div:last-child{
  color:var(--muted);
  font-size:1.04rem;
}

/* ---------- CONTACT ---------- */

.contact{padding-top:30px}

.contact-card{
  background:linear-gradient(140deg,#071a2d,#0d3152);
  color:white;
  border-radius:24px;
  padding:36px;
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:36px;
  align-items:center;
}

.contact-card h2{margin-bottom:14px}

.contact-card>div:first-child>p:last-child{
  color:#b7c7d5;
}

.contact-actions{text-align:right}

.contact-actions p{
  margin:18px 0 0;
  color:#fff;
  font-weight:800;
}

.contact-actions p span{
  font-weight:500;
  color:#9fb4c5;
}

/* ---------- FOOTER ---------- */

footer{
  padding:26px 0;
  border-top:1px solid var(--line);
  margin-top:36px;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:var(--muted);
  font-size:.84rem;
}

.footer-brand{color:var(--navy)}

.footer-brand .brand-mark{
  width:31px;
  height:31px;
  border-radius:9px;
}

/* ---------- TABLET / MOBILE ---------- */

@media(max-width:850px){

  .nav-links{
    display:none;
    position:absolute;
    left:20px;
    right:20px;
    top:70px;
    background:white;
    border:1px solid var(--line);
    border-radius:15px;
    padding:20px;
    box-shadow:var(--shadow);
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    white-space:normal;
  }

  .nav-links.open{
    display:flex;
  }

  .nav-links > a:not(.button){
    height:auto;
    padding:8px 10px;
  }

  .nav-dropdown{
    display:block;
    height:auto;
  }

  .nav-dropdown-toggle{
    height:auto;
    padding:8px 10px;
  }

  .nav-dropdown-menu{
    position:static;
    display:block;
    transform:none;
    min-width:0;
    margin:4px 0 4px 12px;
    padding:4px 0 4px 12px;
    border:0;
    border-left:2px solid var(--line);
    border-radius:0;
    box-shadow:none;
  }

  .nav-dropdown-menu a{
    padding:8px 10px;
    white-space:normal;
  }

  .menu-button{
    display:block;
  }

  .hero{
    padding-top:64px;
  }

  .hero-grid,
  .workflow-grid,
  .about-grid,
  .contact-card{
    grid-template-columns:1fr;
  }

  .hero-grid{gap:48px}

  .product-frame{transform:none}

  .workflow-grid,
  .about-grid{
    gap:40px;
  }

  .contact-actions{
    text-align:left;
  }
}

/* ---------- SMALL MOBILE ---------- */

@media(max-width:600px){

  .container{
    width:min(100% - 28px,1160px);
  }

  .hero{
    padding:54px 0 64px;
  }

  h1{
    font-size:2.15rem;
  }

  .stats{
    grid-template-columns:repeat(2,1fr);
  }

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

  .section,
  .problem{
    padding:54px 0;
  }

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

  .contact-card{
    padding:32px 24px;
  }

  .footer-inner{
    align-items:flex-start;
    gap:22px;
    flex-direction:column;
  }

  .berth-row{
    grid-template-columns:12px 44px 1fr;
  }

  .berth-row em{
    display:none;
  }
}

/* ---------- HERO BERTHS SCREEN ---------- */

@media (min-width: 1501px){

  .hero-grid{
    position:relative;
  }

  .hero-grid > img[src="images/berths.jpg"]{
    position:absolute;
    left:calc(100% + 24px);
    top:50%;
    transform:translateY(-50%);
    width:180px !important;
    max-width:180px !important;
    height:auto;
    display:block;
    border-radius:18px;
    box-shadow:0 20px 50px rgba(0,0,0,.30);
  }
}

@media (max-width:1500px){

  .hero-grid > img[src="images/berths.jpg"]{
    display:block !important;
    position:static;
    width:180px !important;
    max-width:180px !important;
    height:auto;
    margin:0 auto;
    border-radius:18px;
    box-shadow:0 20px 50px rgba(0,0,0,.30);
  }
}
