:root{
  --blue: #3377B5;
  --dark: #123A5A;
  --brand-blue: #3377B5;
}

.modal-footer-secondary{
  margin-top: 8px;
}

.flash-wrap{
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flash{
  min-width: 280px;
  max-width: 520px;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0,0,0,0.14);
  background: #fff;
  border: 1px solid rgba(18,58,90,0.16);
  color: #123A5A;
  opacity: 1;
}

.flash-success{
  border-left: 5px solid #2f8f5b;
}

.flash-error{
  border-left: 5px solid #c94b4b;
}

/* Signup/login modal form layout polish */
#proLoginForm,
#signupForm{
  display: flex;
  flex-direction: column;
}

#signupForm .modal-input,
#proLoginForm .modal-input{
  margin: 10px 0 0;
}

#signupForm .modal-primary,
#proLoginForm .modal-primary{
  margin-top: 16px;
}

/* Slightly tighter footer spacing if desired */
#signupOverlay .modal-footer,
#proOverlay .modal-footer{
  margin-top: 16px;
}

/* Page center */
html, body {
  min-height: 100%;
  margin: 0;
}

body.home{
  padding: 0;
  display: block;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: #fff;
  color: var(--dark);
}

.pageScroll{
  width: 100%;
  overflow-x: hidden;
}

.site-header{
  width: min(1320px, calc(100% - 48px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 34px;
  position: relative;
  z-index: 5;
}

.brand{
  display: flex;
  align-items: center;
  margin-right: auto;
}

.brand-logo{
  height: 100px;
  width: auto;
  display: block;
}

.nav{
  display: flex;
  align-items: center;
  gap: 34px;
  font-weight: 700;
  font-size: 14px;
  color: #071b52;
}

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

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

.pro-btn{
  width: 132px;
  height: 44px;
  border-radius: 8px;
  border: none;
  background: var(--brand-blue);
  color: #fff;

  font-family: "Inclusive Sans", Inter, sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.03em;

  cursor: pointer;
  box-shadow: 0 10px 22px rgba(47,111,174,0.18);
}

.hero-section{
  width: min(1320px, calc(100% - 48px));
  margin: 24px auto 0;
  min-height: 570px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 54px 28px 58px;
  box-sizing: border-box;
  background:
    radial-gradient(circle at top right, rgba(7,94,232,0.12), transparent 42%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 75%);
  border-radius: 0 0 28px 28px;
}

.hero-copy{
  padding-left: 8px;
}

.eyebrow,
.split-eyebrow{
  margin-bottom: 14px;
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-copy h1{
  margin: 0;
  color: #071b52;
  font-size: clamp(42px, 4vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.hero-copy h1 span{
  color: var(--brand-blue);
}

.hero-copy p{
  max-width: 610px;
  margin: 24px 0 0;
  color: #243b68;
  font-size: 19px;
  line-height: 1.65;
  font-weight: 600;
}

.heroButtons{
  margin-top: 30px;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.lite-btn,
.pro-features-btn{
  min-width: 178px;
  height: 50px;
  border-radius: 8px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-sizing: border-box;
}

.lite-btn{
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 10px 22px rgba(7,94,232,0.18);
}

.pro-features-btn{
  background: #fff;
  color:var(--brand-blue);
  border: 2px solid rgba(7,94,232,0.26);
}

.heroNote{
  margin-top: 24px;
  color: #1d3766;
  font-size: 14px;
  font-weight: 800;
}

.hero-visual{
  min-width: 0;
}

.hero-visual img{
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 50px rgba(18,58,90,0.12));
}

.landing-section{
  width: min(1320px, calc(100% - 48px));
  margin: 34px auto;
  box-sizing: border-box;
}

.section-blue,
.feature-row-section{
  background: #f7fbff;
}

.feature-row-section{
  padding: 42px 42px 48px;
  border-radius: 20px;
}

.feature-row-section h2{
  text-align: center;
  margin: 0 0 34px;
  color: #071b52;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.feature-row{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.feature-item{
  background: #fff;
  border: 1px solid rgba(7,94,232,0.10);
  border-radius: 16px;
  padding: 30px 18px;
  text-align: center;
  box-shadow: 0 16px 36px rgba(18,58,90,0.07);
}

.feature-icon{
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: #edf5ff;
  color:var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 31px;
  font-weight: 900;
}

.feature-item h3{
  margin: 0 0 12px;
  color: #071b52;
  font-size: 17px;
  line-height: 1.28;
}

.feature-item p{
  margin: 0;
  color: #31485c;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
}

.split-section{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 58px;
  align-items: center;
  padding: 60px 42px;
  border-radius: 20px;
}

.split-section.reverse{
  grid-template-columns: 1.15fr 0.85fr;
}

.split-section.reverse .split-copy{
  order: 2;
}

.split-section.reverse .split-image{
  order: 1;
}

.split-copy h2{
  margin: 0 0 18px;
  color: #071b52;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.split-copy p{
  margin: 0 0 24px;
  color: #243b68;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 600;
}

.split-points{
  display: grid;
  gap: 13px;
  color: #123a5a;
  font-size: 15px;
  font-weight: 800;
}

.split-image{
  min-width: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.split-image > img{
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.device-composite{
  position: relative;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.device-composite .device-shell{
  position: relative;
  z-index: 3;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.trust-strip{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 34px 42px;
  border-radius: 20px;
}

.trust-item{
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-icon{
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #edf5ff;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
}

.trust-item h3{
  margin: 0 0 6px;
  color: #071b52;
  font-size: 17px;
}

.trust-item p{
  margin: 0;
  color: #31485c;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.cta-section{
  margin-bottom: 90px;
  padding: 48px;
  background:
    radial-gradient(circle at left bottom, rgba(255,255,255,0.12), transparent 30%),
    linear-gradient(135deg, #062d68, var(--brand-blue));
  color: #fff;
  border-radius: 20px;
  text-align: center;
}

.cta-section h2{
  margin: 0 0 12px;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.cta-section p{
  margin: 0 0 26px;
  opacity: 0.9;
}

.cta-form{
  display: flex;
  justify-content: center;
  gap: 12px;
}

.cta-form input{
  width: 360px;
  padding: 14px 16px;
  border: none;
  border-radius: 8px;
  box-sizing: border-box;
}

.cta-form button{
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  background: #fff;
  color: #123a5a;
  font-weight: 900;
  cursor: pointer;
}

.cta-note{
  margin-top: 14px;
  font-size: 13px;
  opacity: 0.82;
}

@media (max-width: 900px){
  .site-header{
    width: calc(100% - 32px);
    height: 66px;
  }

  .brand{
    font-size: 22px;
  }

  .brand-logo{
    height: 38px;
  }

  .nav{
    display: none;
  }

  .pro-btn{
    width: 104px;
    height: 40px;
    font-size: 13px;
  }

  .hero-section{
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 38px 22px 42px;
    margin-top: 10px;
  }

  .hero-copy{
    padding-left: 0;
  }

  .hero-copy h1{
    font-size: 41px;
  }

  .hero-copy p{
    font-size: 16px;
  }

  .heroButtons{
    flex-direction: column;
    align-items: stretch;
  }

  .lite-btn,
  .pro-features-btn{
    width: 100%;
  }

  .landing-section{
    width: calc(100% - 28px);
    margin: 26px auto;
  }

  .feature-row-section{
    padding: 34px 20px;
  }

  .feature-row{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .split-section,
  .split-section.reverse{
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 20px;
  }

  .split-section.reverse .split-copy,
  .split-section.reverse .split-image{
    order: initial;
  }

  .split-copy h2{
    font-size: 31px;
  }

  .split-copy p{
    font-size: 16px;
  }

  .split-image > img{
    height: auto;
    max-height: 300px;
  }

  .phone-screen-img{
    border-radius: 6px;
  }

  .trust-strip{
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }

  .trust-item{
    align-items: flex-start;
  }

  .cta-section{
    padding: 36px 20px;
  }

  .cta-form{
    flex-direction: column;
    align-items: stretch;
  }

  .cta-form input,
  .cta-form button{
    width: 100%;
  }

}

/* Modal overlay */
.overlay{
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 28, 0.55);
  backdrop-filter: blur(1px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.hidden{ display:none; }

.modal{
  width: min(560px, calc(100vw - 32px));
  background: #fff;
  border-radius: 16px;
  padding: 28px 28px 22px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.22);
  position: relative;
  border: 1px solid rgba(47,111,174,0.20);
}

.modal-title{
  margin: 0 0 18px;
  font-size: 34px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.modal-close{
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #1f2b3a;
  border-radius: 10px;
}
.modal-close:hover{ background: rgba(0,0,0,0.05); }

.modal-input{
  width: 100%;
  height: 52px;
  border-radius: 10px;
  border: 2px solid rgba(47,111,174,0.45);
  padding: 0 14px;
  font-size: 18px;
  outline: none;
  margin: 10px 0;
  box-sizing: border-box;
  color: #18324a;
  background: #fff;
}

.modal-input::placeholder{
  color: rgba(24,50,74,0.48);
}

.modal-input:focus{
  border-color: rgba(47,111,174,0.85);
  box-shadow: 0 0 0 3px rgba(47,111,174,0.15);
}

.modal-primary{
  width: 100%;
  height: 54px;
  margin-top: 14px;
  border: none;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: -0.02em;
}

.modal-primary:hover{ filter: brightness(0.96); }

.modal-footer{
  margin-top: 14px;
  text-align: center;
  font-size: 16px;
  color: #3b4b5e;
}
.modal-footer a{
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}
.modal-footer a:hover{ text-decoration: underline; }

.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

.landing-section {
  max-width: 1440px;
  margin: 72px auto;
  padding: 0 48px;
  box-sizing: border-box;
}

.feature-row-section {
  padding: 44px 48px;
  background: rgba(248, 251, 255, 0.95);
  border-radius: 24px;
}

.feature-row-section h2,
.feature-row-section > h2 {
  text-align: center;
  margin: 0 0 34px;
  color: var(--dark);
  font-size: 28px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.feature-item {
  background: #fff;
  border: 1px solid rgba(47,111,174,0.14);
  border-radius: 16px;
  padding: 28px 18px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(18,58,90,0.07);
}

.feature-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e9f2ff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
}

.feature-item h3 {
  margin: 0 0 12px;
  color: var(--dark);
  font-size: 18px;
  line-height: 1.25;
}

.feature-item p {
  margin: 0;
  color: #3d5266;
  font-size: 14px;
  line-height: 1.55;
}

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 58px;
  align-items: center;
  padding: 54px 48px;
  background: linear-gradient(180deg, rgba(248,251,255,0.98), rgba(255,255,255,0.98));
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(18,58,90,0.06);
}

.split-section.reverse {
  grid-template-columns: 1.15fr 0.85fr;
}

.split-section.reverse .split-copy {
  order: 2;
}

.split-section.reverse .split-image {
  order: 1;
}

.split-eyebrow {
  margin-bottom: 12px;
  color: #1260c4;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.split-copy h2 {
  margin: 0 0 18px;
  color: var(--dark);
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.split-copy p {
  margin: 0 0 22px;
  color: #31485c;
  font-size: 17px;
  line-height: 1.65;
}

.split-points {
  display: grid;
  gap: 12px;
  color: #123a5a;
  font-size: 15px;
  font-weight: 700;
}

.device-image-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.device-image-card img {
  height: auto;
  object-fit: contain;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 34px 48px;
  background: rgba(248, 251, 255, 0.95);
  border-radius: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #e9f2ff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
}

.trust-item h3 {
  margin: 0 0 6px;
  color: var(--dark);
  font-size: 17px;
}

.trust-item p {
  margin: 0;
  color: #3d5266;
  font-size: 14px;
  line-height: 1.45;
}

.cta-section {
  margin-bottom: 90px;
  padding: 48px;
  background: linear-gradient(135deg, #092d5a, #1260c4);
  color: #fff;
  border-radius: 20px;
  text-align: center;
}

.cta-section h2 {
  margin: 0 0 12px;
  font-size: 34px;
}

.cta-section p {
  margin: 0 0 26px;
  opacity: 0.9;
}

.cta-form {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.cta-form input {
  width: 360px;
  padding: 14px 16px;
  border: none;
  border-radius: 8px;
}

.cta-form button {
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  background: #fff;
  color: #123a5a;
  font-weight: 800;
}

.cta-note {
  margin-top: 14px;
  font-size: 13px;
  opacity: 0.8;
}

.cta-success{
  margin-top: 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.feature-video{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .pageScroll {
    width: 100%;
    overflow-x: hidden;
  }

  .heroFrame {
    width: 100%;
    height: auto;
    min-height: 860px;
    overflow: hidden;
  }

  .hero-img {
    width: 100%;
    height: 860px;
    object-fit: cover;
    object-position: center top;
  }

  .logo {
    left: 20px;
    top: 20px;
    font-size: 24px;
    line-height: 30px;
  }

  .nav {
    display: none;
  }

  .pro-btn {
    right: 18px;
    top: 18px;
    width: 100px;
    height: 40px;
    font-size: 16px;
  }

  .heroCopy {
    left: 24px;
    top: 135px;
    max-width: calc(100% - 48px);
  }

  .headline {
    width: auto;
    font-size: 42px;
    line-height: 52px;
  }

  .heroCopy .subheadline {
    font-size: 18px;
    line-height: 1.45;
    max-width: 100%;
  }

  .heroButtons {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .lite-btn,
  .pro-features-btn {
    width: 240px;
    height: 52px;
    font-size: 18px;
  }

  .featureCards {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: auto;
    margin: 560px 24px 0;
    flex-direction: column;
    gap: 16px;
  }

  .card {
    width: 100%;
  }

  .landing-section {
    max-width: none;
    margin: 52px 20px;
    padding: 0;
  }

  .feature-row-section {
    padding: 36px 22px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .split-section,
  .split-section.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 22px;
  }

  .split-section.reverse .split-copy,
  .split-section.reverse .split-image {
    order: initial;
  }

  .split-copy h2 {
    font-size: 30px;
  }

  .split-copy p {
    font-size: 16px;
  }

  .split-image img {
    height: 240px;
  }

  .device-image-card img {
    height: auto;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 22px;
  }

  .trust-item {
    align-items: flex-start;
  }

  .cta-section {
    padding: 36px 22px;
  }

  .cta-section h2 {
    font-size: 30px;
  }

  .cta-form {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-form input,
  .cta-form button {
    width: 100%;
    box-sizing: border-box;
  }
}