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

:root{
  --bg:#0a1118;
  --bg-deep:#091018;
  --surface:#171f2a;
  --surface-2:#202936;
  --surface-3:#242f3d;
  --text:#f6f7fa;
  --muted:#a7bad1;
  --muted-2:#8ea6c1;
  --line:#2b3644;
  --yellow:#ffbc19;
  --yellow-2:#ffc62f;
  --shadow:0 20px 50px rgba(0,0,0,.28);
}

*{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  background:var(--bg);
}

body{
  margin:0;
  min-height:100vh;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

body.modal-open{overflow:hidden}

button,input,select{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{border:0}

.site{
  min-height:100vh;
  background:var(--bg);
}

.section-width{
  width:min(calc(100% - 56px), 1280px);
  margin:0 auto;
}

.site-header{
  height:72px;
  padding:0 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:#0a1118;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:11px;
  color:#fff;
  text-decoration:none;
  font-size:17px;
  font-weight:800;
  letter-spacing:-.02em;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;

  text-decoration: none;
  color: #ffffff;
}

.brand-logo {
  width: 56px;
  height: 56px;

  object-fit: contain;
  object-position: center;

  flex-shrink: 0;
}

.brand-name {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;

  color: #ffffff;

  letter-spacing: -0.5px;

  white-space: nowrap;
}

.brand-domain {
  color: #ffbc19;
  font-weight: 700;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-name {
    font-size: 23px;
  }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 19px;
  }

}

/* .brand-mark{
  width:36px;
  height:36px;
  border-radius:4px;
  display:grid;
  place-items:center;
  background:var(--yellow);
  color:#0a1118;
}

.brand-mark svg{
  width:23px;
  height:23px;
} */




.header-actions{
  display:flex;
  align-items:center;
  gap:0;
}

.signin-link{
  padding:10px 2px;
  color:#fff;
  background:transparent;
  cursor:pointer;
  font-size:14px;
  font-weight:500;
}

.primary-btn,
.cta-btn{
  cursor:pointer;
  background:var(--yellow);
  color:#111820;
  font-weight:600;
  transition:background .18s ease, transform .18s ease;
}

.primary-btn:hover,
.cta-btn:hover{
  background:var(--yellow-2);
  transform:translateY(-1px);
}


.hazard-line,
.card-hazard{
  background:
    repeating-linear-gradient(
      135deg,
      var(--yellow) 0 14px,
      transparent 14px 28px
    );
}

.hazard-line{
  height:8px;
  width:100%;
}

.hero{
  padding-top:106px;
  padding-bottom:75px;
  display:grid;
  grid-template-columns:minmax(0, 1.10fr) minmax(470px, .90fr);
  gap:72px;
  align-items:start;
}

.hero-copy{padding-top:0}

.eyebrow{
  margin:0 0 25px;
  color:var(--yellow);
  font-family:"Space Mono","SFMono-Regular",Consolas,monospace;
  font-size:12px;
  line-height:1.5;
  letter-spacing:.16em;
  font-weight:700;
}

.eyebrow span{padding:0 7px}

.hero h1{
  margin:0;
  max-width:675px;
  color:#f6f7fa;
  font-size:64px;
  line-height:1.10;
  letter-spacing:-.048em;
  font-weight:800;
}

.hero-text{
  max-width:660px;
  margin:26px 0 0;
  color:#abc0d9;
  font-size:18px;
  line-height:1.72;
  font-weight:400;
}

.hero-actions{
  display:flex;
  gap:15px;
  margin-top:35px;
  align-items:center;
}

.primary-btn{
  min-width:225px;
  padding:16px 22px;
  border-radius:5px;
  font-size:16px;
}

.secondary-btn{
  min-width:198px;
  padding:15px 22px;
  border:1px solid #2d3948;
  border-radius:5px;
  background:#0c131b;
  color:#fff;
  text-decoration:none;
  text-align:center;
  font-weight:600;
  transition:background .18s ease,border-color .18s ease;
}

.secondary-btn:hover{
  background:#111a24;
  border-color:#455568;
}

.stats{
  margin-top:45px;
  padding-top:31px;
  border-top:1px solid #28323e;
  display:grid;
  grid-template-columns:repeat(3,150px);
  gap:72px;
}

.stat{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.stat strong{
  color:var(--yellow);
  font-size:29px;
  line-height:1;
  font-weight:800;
}

.stat span{
  color:#8da9c8;
  font-family:"Space Mono","SFMono-Regular",Consolas,monospace;
  font-size:10px;
  letter-spacing:.18em;
  white-space:nowrap;
}

.scan-card{
  margin-top:0;
  overflow:hidden;
  border:1px solid #2d3947;
  border-radius:16px;
  background:var(--surface);
  box-shadow:none;
}

.card-hazard{
  height:14px;
}

.scan-inner{
  padding:29px 27px 28px;
}

.scan-label{
  margin:0 0 22px;
  color:var(--yellow);
  font-family:"Space Mono","SFMono-Regular",Consolas,monospace;
  font-size:12px;
  letter-spacing:.14em;
}

.scan-inner h2{
  margin:0;
  color:#fff;
  font-family:"Space Mono","SFMono-Regular",Consolas,monospace;
  font-size:28px;
  letter-spacing:.08em;
}

.car-note{
  margin:21px 0 20px;
  color:#9db9db;
  font-size:16px;
}

.reason-list{
  display:grid;
  gap:9px;
}

.reason-row{
  min-height:46px;
  padding:0 14px;
  border:1px solid #303c4a;
  border-radius:5px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:#202936;
  color:#fff;
  cursor:pointer;
  text-align:left;
  transition:border-color .18s ease,background .18s ease,transform .18s ease;
}

.reason-row:hover{
  border-color:#455466;
  background:#25303e;
}

.reason-row.active{
  border-color:rgba(255,188,25,.82);
  background:#2a3136;
  transform:translateX(2px);
}

.reason-row span{
  font-size:16px;
  font-weight:500;
}

.reason-row b{
  color:#b6c7dc;
  font-family:"Space Mono","SFMono-Regular",Consolas,monospace;
  font-size:10px;
  letter-spacing:.13em;
  font-weight:400;
}

.privacy-meta{
  margin-top:20px;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:19px;
  color:#9bb0ca;
  font-size:13px;
}

.privacy-meta span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.privacy-meta svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.privacy-section{
  border-top:1px solid #26303b;
  padding:67px 0 71px;
  background:var(--bg);
}

.section-title{
  margin:0 0 36px;
  font-size:30px;
  line-height:1.15;
  letter-spacing:-.035em;
  font-weight:800;
}

.privacy-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:26px;
}

.privacy-card{
  min-height:140px;
  padding:29px 27px 26px;
  border:1px solid #2b3541;
  border-radius:13px;
  background:#0b121a;
}

.privacy-card h4{
  margin:0 0 14px;
  color:#f6f7fa;
  font-size:19px;
  line-height:1.25;
  letter-spacing:-.02em;
  font-weight:700;
}

.privacy-card p{
  margin:0;
  max-width:520px;
  color:#99b1cd;
  font-size:15px;
  line-height:1.48;
}

.cta-section{
  border-top:1px solid #26303b;
  padding:64px 0 62px;
  background:var(--bg);
}

.cta-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.cta-row h3{
  margin:0 0 11px;
  font-size:28px;
  line-height:1.16;
  letter-spacing:-.035em;
  font-weight:800;
}

.cta-row p{
  margin:0;
  color:#9db6d2;
  font-size:15px;
}

.cta-btn{
  min-width:153px;
  padding:14px 26px;
  border-radius:5px;
  font-size:14px;
}

.footer-hazard{
  height:7px;
}

.site-footer{
  background:#091018;
  padding:34px 0 36px;
}

.footer-row p{
  margin:0;
  color:#8ea8c5;
  font-size:13px;
}

/* Auth modal */
.auth-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  place-items:center;
  padding:20px;
  background:rgba(3,7,12,.78);
  backdrop-filter:blur(7px);
}

.auth-overlay.open{display:grid}

.auth-modal{
  position:relative;
  width:min(100%,460px);
  max-height:92vh;
  overflow:auto;
  padding:26px;
  border:1px solid #344151;
  border-radius:14px;
  background:#151d27;
  box-shadow:var(--shadow);
}

.auth-close{
  position:absolute;
  top:13px;
  right:15px;
  width:34px;
  height:34px;
  border-radius:8px;
  background:#202a36;
  color:#fff;
  cursor:pointer;
  font-size:24px;
}

.auth-brand{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:22px;
  font-weight:800;
}

.auth-brand-mark{
  width:30px;
  height:30px;
  border-radius:4px;
  display:grid;
  place-items:center;
  background:var(--yellow);
  color:#10151c;
}

.auth-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-bottom:22px;
}

.auth-tab{
  padding:10px;
  border-radius:7px;
  background:#0f1620;
  color:#9fb1c5;
  cursor:pointer;
}

.auth-tab.active{
  background:#232d3a;
  color:#fff;
}

.auth-pane{display:none}
.auth-pane.active{display:block}

.auth-pane h3{
  margin:0 0 7px;
  font-size:23px;
}

.auth-pane>p{
  margin:0 0 21px;
  color:#96a9c0;
}

.auth-pane form{
  display:grid;
  gap:14px;
}

.auth-pane label{
  display:grid;
  gap:7px;
  color:#b8c6d5;
  font-size:13px;
  font-weight:600;
}

.auth-pane input,
.auth-pane select{
  width:100%;
  padding:12px 13px;
  border:1px solid #344151;
  border-radius:6px;
  outline:none;
  background:#0f1620;
  color:#fff;
}

.auth-pane input:focus,
.auth-pane select:focus{
  border-color:var(--yellow);
  box-shadow:0 0 0 2px rgba(255,189,23,.12);
}

.modal-submit{
  margin-top:4px;
  padding:13px 18px;
  border-radius:6px;
  background:var(--yellow);
  color:#111820;
  font-weight:800;
  cursor:pointer;
}

.modal-submit:disabled{
  opacity:.6;
  cursor:wait;
}

.form-message{
  min-height:18px;
  font-size:13px;
}

.form-message.error{color:#ff8787}
.form-message.success{color:#74e2a8}



/* Three steps section */
.steps-section{
  border-top:1px solid #26303b;
  border-bottom:1px solid #26303b;
  padding:68px 0 70px;
  background:#0d141c;
}

.steps-title{
  margin-bottom:38px;
}

.steps-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
}

.step-card{
  min-height:242px;
  padding:29px 27px 28px;
  border:1px solid #2b3541;
  border-radius:13px;
  background:#141c26;
}

.step-number{
  margin:0 0 22px;
  color:#95aec9;
  font-family:"Space Mono","SFMono-Regular",Consolas,monospace;
  font-size:11px;
  line-height:1;
  letter-spacing:.16em;
}

.step-icon{
  width:30px;
  height:30px;
  margin-bottom:18px;
  color:var(--yellow);
}

.step-icon svg{
  width:100%;
  height:100%;
}

.step-card h4{
  margin:0 0 13px;
  color:#f6f7fa;
  font-size:19px;
  line-height:1.25;
  letter-spacing:-.02em;
  font-weight:700;
}

.step-card>p:last-child{
  margin:0;
  color:#99b1cd;
  font-size:15px;
  line-height:1.52;
}


@media (max-width:1000px){
  .hero{
    grid-template-columns:1fr;
    gap:45px;
    padding-top:70px;
  }

  .scan-card{
    width:100%;
    max-width:650px;
  }

  .hero h1{font-size:56px}

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

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

@media (max-width:700px){
  .section-width{
    width:min(100% - 36px,1240px);
  }

  .site-header{
    height:66px;
    padding:0 18px;
  }

  .header-actions{gap:12px}
  .signin-link{font-size:13px}

  .hero{
    padding-top:54px;
    padding-bottom:54px;
    gap:40px;
  }

  .eyebrow{
    line-height:1.72;
    font-size:10px;
  }

  .hero h1{
    font-size:42px;
    line-height:1.10;
  }

  .hero-text{
    font-size:16px;
    line-height:1.6;
  }

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

  .primary-btn,
  .secondary-btn{
    width:100%;
    min-width:0;
  }

  .stats{
    grid-template-columns:repeat(3,1fr);
    gap:18px;
  }

  .stat span{
    font-size:8px;
    letter-spacing:.09em;
    white-space:normal;
  }

  .scan-inner{
    padding:24px 18px;
  }

  .steps-section{
    padding:50px 0;
  }

  .steps-grid{
    gap:16px;
  }

  .step-card{
    min-height:auto;
    padding:24px 20px;
  }

  .privacy-section{
    padding:50px 0;
  }

  .section-title{
    font-size:28px;
    margin-bottom:26px;
  }

  .privacy-grid{
    gap:16px;
  }

  .privacy-card{
    min-height:auto;
    padding:23px 20px;
  }

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

  .cta-btn{
    width:100%;
  }

  .footer-row p{
    line-height:1.6;
  }
}

/* v5 alignment refinements: tuned to the Lovable reference desktop layout */

.header-actions {
  justify-content: flex-end;
}

.scan-card {
  width: 100%;
  max-width: 520px;
  justify-self: end;
}

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


  .hero .hero-copy h1 {
    font-size: 30px !important;
    line-height: 1.12 !important;
  }

@media (min-width: 1001px) {
  .hero {
    min-height: 690px;
  }
}
/* v6 MOBILE-ONLY refinements.
   Desktop/tablet (>700px) stays exactly the same as v5. */
@media (max-width:700px){
  .section-width{
    width:calc(100% - 32px);
  }

  .site-header{
    height:64px;
    padding:0 16px;
  }

  .brand{
    gap:9px;
    font-size:16px;
  }

  .brand-mark{
    width:34px;
    height:34px;
  }

  .signin-link{
    padding:9px 0;
    font-size:13px;
  }

  .hero{
    padding-top:42px;
    padding-bottom:48px;
    gap:32px;
  }

  .eyebrow{
    margin-bottom:18px;
    font-size:9.5px;
    line-height:1.65;
    letter-spacing:.145em;
  }

  .eyebrow span{
    padding:0 5px;
  }

  .hero h1{
    max-width:100%;
    font-size:36px;
    line-height:1.08;
    letter-spacing:-.042em;
  }

  .hero-text{
    max-width:100%;
    margin-top:20px;
    font-size:15px;
    line-height:1.58;
  }

  /* Match the compact mobile CTA placement: two buttons in one row. */
  .hero-actions{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:10px;
    margin-top:26px;
    align-items:stretch;
  }

  .primary-btn,
  .secondary-btn{
    width:auto;
    min-width:0;
    min-height:46px;
    padding:12px 9px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    line-height:1.25;
    white-space:nowrap;
  }

  .stats{
    margin-top:34px;
    padding-top:24px;
    gap:10px;
  }

  .stat strong{
    font-size:25px;
  }

  .stat span{
    font-size:7.5px;
    line-height:1.4;
    letter-spacing:.075em;
  }

  .scan-card{
    max-width:100%;
  }

  .scan-inner{
    padding:22px 16px 21px;
  }

  .scan-label{
    margin-bottom:17px;
    font-size:10.5px;
  }

  .scan-inner h2{
    font-size:23px;
    line-height:1.2;
  }

  .car-note{
    margin:17px 0 17px;
    font-size:14px;
    line-height:1.5;
  }

  .reason-row{
    min-height:44px;
    padding:0 12px;
  }

  .reason-row span{
    font-size:14px;
  }

  .reason-row b{
    font-size:9px;
  }

  .privacy-meta{
    margin-top:17px;
    gap:13px;
    font-size:11.5px;
  }

  .steps-section,
  .privacy-section{
    padding:46px 0;
  }

  .section-title{
    margin-bottom:24px;
    font-size:26px;
    line-height:1.15;
  }

  .steps-title{
    margin-bottom:24px;
  }

  .step-card,
  .privacy-card{
    padding:21px 18px;
  }

  .step-number{
    margin-bottom:17px;
    font-size:10px;
  }

  .step-icon{
    width:27px;
    height:27px;
    margin-bottom:15px;
  }

  .step-card h4,
  .privacy-card h4{
    margin-bottom:10px;
    font-size:17px;
    line-height:1.3;
  }

  .step-card>p:last-child,
  .privacy-card p{
    font-size:14px;
    line-height:1.5;
  }

  .cta-section{
    padding:46px 0 44px;
  }

  .cta-row{
    gap:20px;
    align-items:flex-start;
  }

  .cta-row h3{
    margin-bottom:9px;
    font-size:25px;
    line-height:1.16;
  }

  .cta-row p{
    font-size:14px;
    line-height:1.5;
  }

  /* Do not stretch the bottom CTA across the whole mobile screen. */
  .cta-btn{
    width:auto;
    min-width:145px;
    align-self:flex-start;
    padding:13px 22px;
    font-size:14px;
  }

  .site-footer{
    padding:28px 0 30px;
  }

  .footer-row p{
    font-size:12px;
    line-height:1.55;
  }
}

@media (max-width:360px){
  .hero h1{
    font-size:33px;
  }

  .hero-actions{
    grid-template-columns:1fr;
  }

  .primary-btn,
  .secondary-btn{
    width:100%;
  }
}


/* =========================================================
   PARKALERT HEADER LOGO FINAL SIZE OVERRIDE
   Added last so earlier header/brand responsive rules
   cannot shrink the logo again.
========================================================= */

.site-header {
  min-height: 104px !important;
  height: 104px !important;
  padding: 4px 34px !important;
}

.site-header .brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  text-decoration: none !important;
}

.site-header .brand-logo {
  display: block !important;
  width: 260px !important;
  height: 94px !important;
  max-width: 52vw !important;
  object-fit: contain !important;
  object-position: left center !important;
  flex-shrink: 0 !important;
}

/* Separate text is no longer required when full ParkAlert logo image is used */
.site-header .brand-name,
.site-header .brand-domain {
  display: none !important;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 92px !important;
    height: 92px !important;
    padding: 4px 22px !important;
  }

  .site-header .brand-logo {
    width: 220px !important;
    height: 82px !important;
    max-width: 55vw !important;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 84px !important;
    height: 84px !important;
    padding: 4px 16px !important;
  }

  .site-header .brand-logo {
    width: 190px !important;
    height: 74px !important;
    max-width: 58vw !important;
  }

  .site-header .signin-link {
    font-size: 13px !important;
    padding: 9px 0 !important;
  }
}

@media (max-width: 420px) {
  .site-header {
    min-height: 78px !important;
    height: 78px !important;
    padding: 4px 12px !important;
  }

  .site-header .brand-logo {
    width: 172px !important;
    height: 68px !important;
    max-width: 60vw !important;
  }
}

