:root {
  --orange: #F15A29;
  --orange-dark: #D94A1D;
  --orange-tint: #FDEDE6;
  --navy: #1B2340;
  --gray-900: #191919;
  --gray-600: #6B7280;
  --gray-200: #ECEAE6;
  --bg: #FBFAF8;
  --card: #F6F4F0;
  --white: #FFFFFF;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--orange); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(241, 90, 41, 0.55);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-sm { padding: 10px 22px; font-size: 14px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 248, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
}
.brand-icon {
  width: 26px; height: 26px;
  color: var(--orange);
}
.brand-icon svg { width: 100%; height: 100%; }
.main-nav { display: flex; gap: 36px; }
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--navy); }

/* Hero */
.hero { padding: 80px 0 60px; position: relative; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-tint);
  color: var(--orange);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--navy);
}
.hero-sub {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-600);
  max-width: 460px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}
.hero-tags li {
  font-size: 13px;
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--navy);
}

/* Hero visual / phones */
.hero-visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-blob {
  position: absolute;
  top: 0; right: -40px;
  width: 340px; height: 340px;
  background: radial-gradient(circle, var(--orange-tint) 0%, rgba(253,237,230,0) 72%);
  border-radius: 50%;
  z-index: 0;
}
.shot {
  position: absolute;
  width: 230px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(20, 20, 40, 0.4);
  background: var(--card);
  z-index: 1;
}
.shot-back { top: 10px; left: 40px; transform: rotate(-4deg); z-index: 1; }
.shot-front { bottom: 0; right: 20px; transform: rotate(4deg); z-index: 2; width: 220px; }
.shot-small {
  position: relative !important;
  transform: none !important;
  width: 100%;
}
.shot img {
  width: 100%;
  height: auto;
  display: block;
}
.shot-placeholder {
  aspect-ratio: 230 / 470;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--card);
  text-align: center;
  padding: 20px;
}
.placeholder-label { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 15px; }
.placeholder-hint { font-size: 11px; color: var(--gray-600); }

/* Section heads */
.section-head { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.section-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--orange);
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
}

/* Features */
.features { padding: 90px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(20, 20, 40, 0.25);
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  background: var(--white);
}
.feature-icon svg { width: 26px; height: 26px; color: var(--orange); }
.icon-sos svg { color: #E23636; width: 32px; height: 32px; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Screens */
.screens { padding: 90px 0; background: var(--card); overflow: hidden; }
.screens-viewport {
  position: relative;
}
.screens-row {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 12px;
  margin: -4px -4px -12px;
  /* hide scrollbar across browsers */
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.screens-row::-webkit-scrollbar { display: none; }
.screen-item {
  flex: 0 0 auto;
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  scroll-snap-align: center;
}
.screen-item .shot-small {
  border-radius: 20px;
}
.screen-item figcaption {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.screens-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(20, 20, 40, 0.3);
  transition: background .15s ease, color .15s ease;
  z-index: 2;
}
.screens-nav:hover { background: var(--orange); color: var(--white); }
.screens-nav svg { width: 18px; height: 18px; }
.screens-prev { left: -8px; }
.screens-next { right: -8px; }
.screens-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.dot.active { background: var(--orange); width: 22px; border-radius: 5px; }

/* CTA */
.cta { padding: 30px 0 90px; }
.cta-inner {
  background: var(--orange);
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  display: flex;
  align-items: center;
  gap: 36px;
  position: relative;
  overflow: hidden;
}
.cta-icon {
  width: 74px; height: 74px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cta-icon svg { width: 34px; height: 34px; color: var(--white); }
.cta-copy { flex: 1; }
.cta-copy h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
}
.cta-copy p {
  margin-top: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 15px;
}
.cta-stores { display: flex; gap: 14px; flex-shrink: 0; }
.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.3;
}
.store-badge strong { font-size: 15px; font-weight: 700; }
.store-icon { font-size: 16px; }

/* Footer */
.site-footer { padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--gray-200);
}
.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 12px;
}
.footer-col a:hover { color: var(--orange); }
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--card);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.footer-bottom {
  text-align: center;
  padding: 26px 0;
  font-size: 13px;
  color: var(--gray-600);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {

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

    .hero-visual {
        height: 420px;
        margin-top: 20px;
    }

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

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

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
}


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

@media (max-width: 640px) {

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Header */

    .header-inner {
        height: 68px;
        gap: 8px;
    }

    .brand {
        font-size: 18px;
    }

    .brand-icon {
        width: 24px;
        height: 24px;
    }

    .main-nav {
        display: none;
    }

    .header-actions {
        margin-left: auto;
        gap: 7px;
    }

    .header-actions .btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .btn-login {
        padding-left: 11px !important;
        padding-right: 11px !important;
    }


    /* Hero */

    .hero {
        padding: 45px 0 45px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-copy h1 {
        font-size: 38px;
        line-height: 1.08;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
        font-size: 15px;
        line-height: 1.55;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 25px;
    }

    .hero-tags {
        justify-content: center;
        margin-top: 25px;
    }

    .hero-visual {
        height: 340px;
        margin-top: 10px;
    }

    .shot-back {
        left: 5%;
        top: 5px;
        width: 190px;
    }

    .shot-front {
        right: 5%;
        bottom: 0;
        width: 185px;
    }


    /* Features */

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


    /* Screens */

    .screen-item {
        width: 200px;
    }

    .screens-nav {
        display: none;
    }


    /* CTA */

    .cta-stores {
        flex-direction: column;
        width: 100%;
    }


    /* Footer */

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


/* =========================================================
   SHORT MOBILE DEVICES
   ========================================================= */

@media (max-width: 640px) and (max-height: 700px) {

    .hero {
        padding-top: 30px;
        padding-bottom: 30px;
    }

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

    .hero-sub {
        margin-top: 15px;
        font-size: 14px;
    }

    .hero-actions {
        margin-top: 20px;
    }

    .hero-tags {
        margin-top: 18px;
    }

    .hero-visual {
        height: 285px;
        margin-top: 5px;
    }

    .shot-back {
        width: 165px;
    }

    .shot-front {
        width: 160px;
    }
}


/* =========================================================
   ALERTIVA AUTH PAGES
   ========================================================= */

.auth-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #f8f9fb;
}

.auth-container {
    width: 100%;
    max-width: 1050px;
    min-height: 650px;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(20, 20, 40, 0.10);
}


/* ---------------------------------------------------------
   BRAND PANEL
   --------------------------------------------------------- */

.auth-brand-panel {
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px;
    color: #ffffff;
    background: linear-gradient(145deg, #ff6b35, #f4511e);
    overflow: hidden;
}

.auth-brand-panel::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    top: -140px;
    right: -140px;
}

.auth-brand-panel::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    bottom: -120px;
    left: -100px;
}

.auth-brand-content {
    position: relative;
    z-index: 2;
    max-width: 390px;
}

.auth-large-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
}

.auth-large-icon svg {
    width: 30px;
    height: 30px;
}

.auth-brand-content h1 {
    margin: 0 0 20px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.auth-brand-content h1 span {
    color: #fff4ef;
}

.auth-brand-content > p {
    margin: 0 0 35px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   TRUST LIST
   --------------------------------------------------------- */

.auth-trust-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-trust-list div {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
}

.auth-trust-list span {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 12px;
}


/* ---------------------------------------------------------
   SIGNUP STEPS
   --------------------------------------------------------- */

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

.signup-step {
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0.7;
}

.signup-step.active {
    opacity: 1;
}

.signup-step > span {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}

.signup-step.active > span {
    background: #ffffff;
    color: #f4511e;
    border-color: #ffffff;
}

.signup-step strong {
    display: block;
    font-size: 13px;
}

.signup-step small {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
}


/* ---------------------------------------------------------
   FORM PANEL
   --------------------------------------------------------- */

.auth-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 55px 65px;
    background: #ffffff;
}

.auth-form {
    width: 100%;
    max-width: 430px;
}

.auth-form-wide {
    max-width: 500px;
}

.auth-mobile-logo {
    display: none;
}

.auth-center-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
}

.auth-center-logo .auth-large-icon {
    margin-bottom: 10px;
    color: #f4511e;
    background: #fff1eb;
}

.auth-center-logo strong {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 20px;
    color: #171717;
}

.auth-small-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #f4511e;
    background: #fff1eb;
}

.auth-small-icon svg {
    width: 19px;
    height: 19px;
}

.auth-mobile-logo strong {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 20px;
}


/* ---------------------------------------------------------
   HEADING
   --------------------------------------------------------- */

.auth-heading {
    margin-bottom: 30px;
}

.auth-heading-center {
    text-align: center;
}

.auth-heading h2 {
    margin: 8px 0 10px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 29px;
    line-height: 1.2;
    letter-spacing: -0.8px;
    color: #171717;
}

.auth-heading p {
    margin: 0;
    color: #737373;
    font-size: 14px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   FORMS
   --------------------------------------------------------- */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #303030;
    font-size: 13px;
    font-weight: 600;
}

.form-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.form-label-row label {
    margin-bottom: 0;
}

.form-label-row a {
    color: #f4511e;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.form-group input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    box-sizing: border-box;
    border: 1px solid #dedede;
    border-radius: 12px;
    outline: none;
    background: #ffffff;
    color: #202020;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder {
    color: #a6a6a6;
}

.form-group input:focus {
    border-color: #f4511e;
    box-shadow: 0 0 0 4px rgba(244, 81, 30, 0.08);
}


/* ---------------------------------------------------------
   PASSWORD
   --------------------------------------------------------- */

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 65px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    padding: 5px;
    border: 0;
    background: transparent;
    color: #f4511e;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}


/* ---------------------------------------------------------
   PASSWORD STRENGTH
   --------------------------------------------------------- */

.password-strength {
    margin-top: -10px;
    margin-bottom: 18px;
}

.strength-bar {
    height: 4px;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #eeeeee;
}

.strength-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #f4511e;
    transition: width 0.25s ease;
}

.password-strength small {
    display: block;
    margin-top: 6px;
    color: #929292;
    font-size: 10px;
}


/* ---------------------------------------------------------
   TERMS
   --------------------------------------------------------- */

.terms-check {
    margin: 8px 0 22px;
}

.terms-check label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #727272;
    font-size: 11px;
    line-height: 1.5;
    cursor: pointer;
}

.terms-check input {
    margin-top: 2px;
    accent-color: #f4511e;
}

.terms-check a {
    color: #f4511e;
    font-weight: 600;
    text-decoration: none;
}


/* ---------------------------------------------------------
   BUTTON
   --------------------------------------------------------- */

.auth-submit {
    width: 100%;
    height: 52px;
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-submit span {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.auth-submit:hover span {
    transform: translateX(4px);
}


/* ---------------------------------------------------------
   DIVIDER
   --------------------------------------------------------- */

.auth-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
    color: #a5a5a5;
    font-size: 11px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #eeeeee;
}


/* ---------------------------------------------------------
   SWITCH / BACK
   --------------------------------------------------------- */

.auth-switch {
    margin: 0;
    text-align: center;
    color: #777777;
    font-size: 13px;
}

.auth-switch a,
.auth-back a {
    color: #f4511e;
    font-weight: 700;
    text-decoration: none;
}

.auth-back {
    margin-top: 25px;
    text-align: center;
    font-size: 13px;
}

.auth-footer-note {
    margin: 25px 0 0;
    text-align: center;
    color: #aaaaaa;
    font-size: 10px;
}


/* ---------------------------------------------------------
   MESSAGES
   --------------------------------------------------------- */

.auth-message {
    padding: 12px 14px;
    margin-bottom: 20px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.5;
}

.auth-error {
    border: 1px solid #ffd4d4;
    background: #fff5f5;
    color: #c62828;
}

.auth-success {
    border: 1px solid #ccebd8;
    background: #f3fbf6;
    color: #237a45;
}


/* ---------------------------------------------------------
   PASSWORD MATCH
   --------------------------------------------------------- */

.password-match {
    min-height: 16px;
    margin-top: -10px;
    margin-bottom: 15px;
    font-size: 11px;
}

.password-match.match {
    color: #25834a;
}

.password-match.no-match {
    color: #c62828;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 850px) {

    .auth-container {
        max-width: 600px;
        grid-template-columns: 1fr;
    }

    .auth-brand-panel {
        display: none;
    }

    .auth-mobile-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 35px;
    }

    .auth-form-panel {
        padding: 50px 40px;
    }

}


@media (max-width: 520px) {

    .auth-page {
        min-height: calc(100vh - 70px);
        padding: 25px 15px;
    }

    .auth-container {
        min-height: auto;
        border-radius: 20px;
        box-shadow: 0 15px 45px rgba(20, 20, 40, 0.08);
    }

    .auth-form-panel {
        padding: 35px 22px;
    }

    .auth-heading h2 {
        font-size: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .auth-footer-note {
        margin-bottom: 5px;
    }

}

/* =========================================
   DASHBOARD
========================================= */

.dashboard-page {
    padding: 70px 20px 90px;
    background: #f8f9fb;
    min-height: calc(100vh - 80px);
}

.dashboard-container {
    width: min(1050px, 100%);
    margin: 0 auto;
}


/* Welcome */

.dashboard-welcome {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.dashboard-welcome h1 {
    margin: 10px 0 8px;
    font-size: clamp(32px, 5vw, 46px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.dashboard-welcome p {
    margin: 0;
    color: #6b7280;
    font-size: 16px;
}

.dashboard-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #16834b;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
}


/* Cards */

.dashboard-card {
    background: #ffffff;
    border: 1px solid #e9ebef;
    border-radius: 22px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(20, 20, 40, 0.04);
}

.dashboard-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.dashboard-card-eyebrow {
    display: block;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 7px;
}

.dashboard-card h2 {
    margin: 0;
    font-size: 23px;
    letter-spacing: -0.5px;
}


/* Avatar */

.account-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff1eb;
    color: #f05a28;
    font-size: 20px;
    font-weight: 800;
}


/* Account details */

.account-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #edf0f3;
    border-bottom: 1px solid #edf0f3;
}

.account-detail {
    padding: 20px 20px 20px 0;
}

.account-detail + .account-detail {
    padding-left: 20px;
    border-left: 1px solid #edf0f3;
}

.detail-label {
    display: block;
    margin-bottom: 7px;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 600;
}

.detail-value {
    color: #20242c;
    font-size: 15px;
    font-weight: 600;
    word-break: break-word;
}

.dashboard-card-action {
    margin-top: 22px;
}


/* App card */

.app-card {
    position: relative;
    overflow: hidden;
}

.app-card::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -100px;
    top: -100px;
    border-radius: 50%;
    background: rgba(240, 90, 40, 0.06);
    pointer-events: none;
}

.app-card-content {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.app-icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background: #f05a28;
    color: #ffffff;
}

.app-icon svg {
    width: 30px;
    height: 30px;
}

.app-card h2 {
    margin-bottom: 10px;
}

.app-card p {
    max-width: 650px;
    margin: 0;
    color: #6b7280;
    line-height: 1.7;
    font-size: 15px;
}

.app-card-action {
    margin-top: 25px;
}


/* Mini cards */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.dashboard-mini-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e9ebef;
    border-radius: 20px;
    padding: 24px;
}

.mini-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f5f6f8;
    color: #f05a28;
    font-size: 18px;
    font-weight: 800;
}

.dashboard-mini-card h3 {
    margin: 2px 0 7px;
    font-size: 16px;
}

.dashboard-mini-card p {
    margin: 0;
    color: #7a808a;
    font-size: 13px;
    line-height: 1.6;
}


/* Footer */

.dashboard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 5px;
    color: #9ca3af;
    font-size: 12px;
}

.logout-link {
    color: #6b7280;
    font-weight: 600;
    text-decoration: none;
}

.logout-link:hover {
    color: #f05a28;
}


/* Mobile */

@media (max-width: 700px) {

    .dashboard-page {
        padding: 45px 16px 70px;
    }

    .dashboard-welcome {
        display: block;
    }

    .dashboard-welcome h1 {
        font-size: 34px;
    }

    .dashboard-status {
        margin-top: 18px;
    }

    .dashboard-card {
        padding: 22px;
        border-radius: 18px;
    }

    .account-details {
        display: block;
    }

    .account-detail,
    .account-detail + .account-detail {
        padding: 15px 0;
        border-left: 0;
    }

    .account-detail + .account-detail {
        border-top: 1px solid #edf0f3;
    }

    .app-card-content {
        gap: 15px;
    }

    .app-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .app-icon svg {
        width: 25px;
        height: 25px;
    }

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

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

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

.btn-login {
    background: #ffffff;
    color: #20242c;
    border: 1px solid #dfe2e7;
}

.btn-login:hover {
    color: #f05a28;
    border-color: #f05a28;
    background: #fffaf8;
}
/* =========================================================
   HOW IT WORKS
   ========================================================= */

.how-it-works {
    padding: 110px 0;
    background: #fafafa;
}

.how-head {
    max-width: 700px;
    margin: 0 auto 70px;
    text-align: center;
}

.how-head p {
    max-width: 600px;
    margin: 20px auto 0;
    color: var(--text-muted);
    line-height: 1.7;
}


/* Steps */

.how-steps {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.how-step {
    position: relative;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 22px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.how-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,.07);
}

.step-number {
    position: absolute;
    top: 22px;
    right: 24px;

    font-size: 13px;
    font-weight: 800;
    color: #c7c7c7;
}

.step-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;
    background: #fff3ef;

    font-size: 23px;

    margin-bottom: 22px;
}

.step-content h3 {
    margin: 0 0 10px;

    font-size: 19px;
    font-weight: 700;
}

.step-content p {
    margin: 0;

    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}


/* Emergency step */

.how-step-emergency {
    border-color: rgba(255, 85, 55, .25);
    background: linear-gradient(
        135deg,
        #fff8f5,
        #ffffff
    );
}

.how-step-emergency .step-icon {
    background: #fff0ec;
}


/* =========================================================
   CONNECTION FLOW
   ========================================================= */

.connection-flow {
    max-width: 1000px;
    margin: 80px auto 0;

    padding: 45px;

    border-radius: 28px;

    background: #ffffff;
    border: 1px solid #eeeeee;
}

.flow-title {
    text-align: center;

    font-size: 20px;
    font-weight: 700;

    margin-bottom: 40px;
}

.flow-network {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
}

.flow-device {
    min-width: 145px;

    padding: 20px 15px;

    text-align: center;

    border-radius: 18px;

    background: #fafafa;
    border: 1px solid #eeeeee;
}

.flow-device span {
    display: block;
    font-size: 26px;
    margin-bottom: 8px;
}

.flow-device strong {
    display: block;
    font-size: 13px;
}

.flow-device small {
    display: block;
    margin-top: 4px;

    color: var(--text-muted);
    font-size: 11px;
}

.primary-device {
    background: #fff3ef;
    border-color: rgba(255, 85, 55, .2);
}

.flow-lines {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.flow-lines span {
    display: block;

    width: 45px;
    height: 2px;

    background: #e5e5e5;
}

.flow-devices {
    display: flex;
    gap: 12px;
}


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

@media (max-width: 640px) {

    .how-it-works {
        padding: 75px 0;
    }

    .how-head {
        margin-bottom: 45px;
    }

    .how-head h2 {
        font-size: 30px;
        line-height: 1.15;
    }

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

    .how-step {
        padding: 25px;
    }

    .connection-flow {
        margin-top: 55px;
        padding: 28px 18px;
    }

    .flow-network {
        flex-direction: column;
        gap: 20px;
    }

    .flow-lines {
        flex-direction: row;
    }

    .flow-lines span {
        width: 25px;
    }

    .flow-devices {
        flex-direction: column;
        width: 100%;
    }

    .flow-device {
        width: 100%;
        box-sizing: border-box;
    }
}

/* =====================================================
   LEGAL PAGES
   ===================================================== */

.legal-page {
    padding: 80px 0 100px;
    background: #fafafa;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Header */

.legal-header {
    text-align: center;
    margin-bottom: 55px;
}

.legal-header .section-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
}

.legal-header h1 {
    margin: 0 0 12px;
    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.1;
}

.legal-header p {
    margin: 0;
    color: #777;
    font-size: 15px;
}


/* Main legal content */

.legal-content {
    background: #ffffff;
    border: 1px solid #e9e9e9;
    border-radius: 24px;
    padding: 55px 65px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
}


/* Paragraphs */

.legal-content p {
    margin: 0 0 20px;
    color: #4f5560;
    font-size: 16px;
    line-height: 1.8;
}

.legal-content p:last-child {
    margin-bottom: 0;
}


/* Main headings */

.legal-content h2 {
    margin: 48px 0 18px;
    font-size: 25px;
    line-height: 1.3;
    color: #172033;
}

.legal-content h2:first-child {
    margin-top: 0;
}


/* Sub-headings */

.legal-content h3 {
    margin: 30px 0 12px;
    font-size: 18px;
    line-height: 1.4;
    color: #172033;
}


/* Lists */

.legal-content ul {
    margin: 0 0 25px;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 10px;
    color: #4f5560;
    font-size: 16px;
    line-height: 1.7;
}

.legal-content li:last-child {
    margin-bottom: 0;
}


/* Links */

.legal-content a {
    color: #f15a29;
    text-decoration: none;
    font-weight: 600;
}

.legal-content a:hover {
    text-decoration: underline;
}


/* Strong text */

.legal-content strong {
    color: #172033;
}


/* Mobile */

@media (max-width: 700px) {

    .legal-page {
        padding: 50px 0 70px;
    }

    .legal-header {
        margin-bottom: 35px;
        padding: 0 10px;
    }

    .legal-content {
        padding: 32px 24px;
        border-radius: 18px;
    }

    .legal-content h2 {
        margin-top: 38px;
        font-size: 22px;
    }

    .legal-content h3 {
        margin-top: 25px;
        font-size: 17px;
    }

    .legal-content p,
    .legal-content li {
        font-size: 15px;
        line-height: 1.75;
    }

}

/* =========================================================
   ABOUT & CONTACT PAGES
   ========================================================= */

.info-page {
    min-height: calc(100vh - 80px);
    padding: 70px 20px;
    background: var(--gray-50, #fafafa);
}

.info-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.info-card {
    background: #ffffff;
    border: 1px solid rgba(20, 20, 40, 0.07);
    border-radius: 28px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(20, 20, 40, 0.06);
}


/* =========================================================
   HEADER
   ========================================================= */

.info-header {
    margin-bottom: 42px;
}

.info-header .section-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
}

.info-header h1 {
    margin: 0 0 16px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--gray-900, #18181b);
}

.info-header p {
    max-width: 680px;
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: var(--gray-600, #66666f);
}


/* =========================================================
   CONTENT
   ========================================================= */

.info-content {
    font-family: "Inter", sans-serif;
}

.info-content h2 {
    margin: 42px 0 14px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: var(--gray-900, #18181b);
}

.info-content h2:first-child {
    margin-top: 0;
}

.info-content p {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-600, #66666f);
}

.info-content ul {
    margin: 18px 0 24px;
    padding-left: 22px;
}

.info-content li {
    margin-bottom: 10px;
    padding-left: 5px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600, #66666f);
}

.info-content li::marker {
    color: #ff5a2e;
}


/* =========================================================
   LINKS
   ========================================================= */

.info-content a {
    color: #ff5a2e;
    font-weight: 600;
    text-decoration: none;
}

.info-content a:hover {
    text-decoration: underline;
}


/* =========================================================
   HIGHLIGHT / IMPORTANT NOTICE
   ========================================================= */

.info-notice {
    margin: 32px 0;
    padding: 22px 24px;
    border: 1px solid rgba(255, 90, 46, 0.15);
    border-radius: 18px;
    background: rgba(255, 90, 46, 0.055);
}

.info-notice strong {
    display: block;
    margin-bottom: 7px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900, #18181b);
}

.info-notice p {
    margin: 0;
    color: var(--gray-600, #66666f);
}


/* =========================================================
   CONTACT CARD
   ========================================================= */

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin: 30px 0 42px;
    padding: 26px;
    border: 1px solid rgba(20, 20, 40, 0.07);
    border-radius: 20px;
    background: #ffffff;
}

.contact-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 90, 46, 0.09);
    color: #ff5a2e;
}

.contact-icon svg {
    width: 23px;
    height: 23px;
}

.contact-details {
    min-width: 0;
}

.contact-details h3 {
    margin: 0 0 6px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900, #18181b);
}

.contact-details p {
    margin: 0;
}

.contact-email {
    display: inline-block;
    margin-top: 6px;
    font-size: 16px;
    font-weight: 700;
    color: #ff5a2e;
    word-break: break-word;
}


/* =========================================================
   LOCATION / SIMPLE INFO BOX
   ========================================================= */

.info-box {
    margin-top: 24px;
    padding: 22px 24px;
    border-radius: 18px;
    background: #f7f7f8;
    border: 1px solid rgba(20, 20, 40, 0.06);
}

.info-box strong {
    display: block;
    margin-bottom: 6px;
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--gray-900, #18181b);
}

.info-box p {
    margin-bottom: 0;
}


/* =========================================================
   CTA
   ========================================================= */

.info-cta {
    margin-top: 42px;
    padding-top: 32px;
    border-top: 1px solid rgba(20, 20, 40, 0.08);
}

.info-cta h2 {
    margin-top: 0;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .info-page {
        padding: 40px 16px;
    }

    .info-card {
        padding: 32px 24px;
        border-radius: 22px;
    }

    .info-header {
        margin-bottom: 32px;
    }

    .info-header h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .info-header p {
        font-size: 15px;
        line-height: 1.7;
    }

    .info-content h2 {
        margin-top: 34px;
        font-size: 21px;
    }

    .info-content p,
    .info-content li {
        font-size: 14px;
        line-height: 1.75;
    }

    .contact-card {
        padding: 20px;
    }

}


@media (max-width: 480px) {

    .info-page {
        padding: 28px 12px;
    }

    .info-card {
        padding: 26px 18px;
        border-radius: 18px;
    }

    .info-header h1 {
        font-size: 30px;
    }

    .contact-card {
        gap: 14px;
        padding: 18px;
    }

    .contact-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

}

/* =========================================================
   ALERTIVA DOWNLOAD CTA
========================================================= */

.cta-download {
  display: flex;
  align-items: center;
  gap: 22px;
}


/* QR container */

.cta-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.cta-qr img {
  width: 220px;
  height: 220px;
  display: block;
}

.cta-qr span {
  font-size: 11px;
  color: var(--gray-500);
  white-space: nowrap;
}


/* Download button area */

.cta-download-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 20px;

  border-radius: 12px;

  background: var(--orange);
  color: white;

  font-size: 14px;
  font-weight: 700;

  text-decoration: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.download-platform {
  font-size: 11px;
  color: var(--gray-500);
}

/* =========================================================
   404 PAGE
   ========================================================= */

.error-page {
    min-height: 65vh;
    display: flex;
    align-items: center;
}

.error-card {
    text-align: center;
}

.error-code {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(72px, 15vw, 140px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -4px;
}

.error-card .info-header {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.error-actions .btn {
    min-width: 150px;
}