/* ==========================================================================
   SaveExtraNow.com — Coming Soon
   To rebrand, edit the custom properties in :root below.
   ========================================================================== */

:root {
  /* Brand */
  --navy: #10233F;
  --navy-deep: #0B172A;
  --emerald: #20B486;        /* accents, fills, use on dark backgrounds */
  --emerald-ink: #0B7F5B;    /* emerald that passes contrast on light backgrounds */
  --mint: #E7F7F0;
  --bg: #F7F9FC;
  --surface: #FFFFFF;
  --text: #172B4D;
  --text-muted: #5A6A82;
  --border: #E1E7EF;

  /* Card tones: tint, icon colour */
  --tone-emerald-bg: #E7F7F0;  --tone-emerald-fg: #0B7F5B;
  --tone-teal-bg:    #E3F4F4;  --tone-teal-fg:    #0C7A80;
  --tone-blue-bg:    #E8F0FB;  --tone-blue-fg:    #2556A8;
  --tone-amber-bg:   #FBF1DC;  --tone-amber-fg:   #8F5B05;

  /* Type */
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape + motion */
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 1px 2px rgba(16, 35, 63, .04), 0 8px 24px rgba(16, 35, 63, .06);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 72px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-head); color: var(--navy); letter-spacing: -.02em; line-height: 1.15; }
p { margin-bottom: 0; }
a { color: inherit; }

.container { max-width: 1200px; }

:focus-visible { outline: 3px solid var(--emerald); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600; transition: top .15s;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn-brand, .btn-outline-brand {
  --btn-pad-y: .85rem; --btn-pad-x: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: var(--btn-pad-y) var(--btn-pad-x);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2;
  border-radius: var(--radius-sm); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn-brand { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-brand:hover, .btn-brand:focus-visible { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(16, 35, 63, .22); }
.btn-brand:active { transform: translateY(0); }
.btn-brand:disabled, .btn-brand.disabled { background: var(--navy); border-color: var(--navy); color: #fff; opacity: .65; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-brand-sm { min-height: 44px; --btn-pad-y: .55rem; --btn-pad-x: 1.1rem; font-size: .95rem; }

.btn-outline-brand { background: transparent; color: var(--navy); border-color: #C5CFDC; }
.btn-outline-brand:hover, .btn-outline-brand:focus-visible { border-color: var(--navy); color: var(--navy); background: #fff; transform: translateY(-1px); }

.status-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald); margin-right: 8px; flex: none;
  box-shadow: 0 0 0 0 rgba(32, 180, 134, .5);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(32, 180, 134, .45); }
  70%  { box-shadow: 0 0 0 7px rgba(32, 180, 134, 0); }
  100% { box-shadow: 0 0 0 0 rgba(32, 180, 134, 0); }
}

/* ---------- Header / brand ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(247, 249, 252, .92);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .96); border-bottom-color: var(--border); box-shadow: 0 4px 18px rgba(16, 35, 63, .05); }
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-scrolled { backdrop-filter: blur(8px); background: rgba(255, 255, 255, .88); }
}
.site-header .navbar { min-height: var(--nav-h); padding-block: 0; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand-mark {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: var(--navy); color: var(--emerald); font-size: 1.1rem; line-height: 1;
}
.brand-text { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand-accent { color: var(--emerald-ink); }
.brand-tld { font-weight: 600; color: var(--text-muted); }

.navbar-toggler { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px 10px; color: var(--navy); font-size: 1.5rem; line-height: 1; min-width: 44px; min-height: 44px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler:focus-visible { outline: 3px solid var(--emerald); outline-offset: 2px; }

.nav-link { color: var(--text); font-weight: 500; padding: .6rem .9rem !important; border-radius: var(--radius-sm); transition: color .2s, background-color .2s; }
.nav-link:hover { color: var(--emerald-ink); }
.nav-link:focus-visible { outline: 3px solid var(--emerald); outline-offset: 0; }

.btn-brand-sm .status-dot { margin-right: 8px; }

@media (max-width: 991.98px) {
  .navbar-collapse { padding: 8px 0 20px; border-top: 1px solid var(--border); margin-top: 0; background: transparent; }
  .site-header { background: rgba(255, 255, 255, .98); border-bottom-color: var(--border); }
  .navbar-nav .btn-brand { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(16, 35, 63, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 35, 63, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 60% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 60% 30%, #000 20%, transparent 75%);
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; margin-bottom: 22px;
  background: var(--mint); color: #08684A; border: 1px solid #CBEBDD; border-radius: 999px;
  font-size: .875rem; font-weight: 600;
}

.hero h1 { font-size: clamp(2.25rem, 1.2rem + 4.6vw, 4.15rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; margin-bottom: 22px; }
.hero h1 span { color: var(--emerald-ink); }

.lead-text { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: var(--text-muted); max-width: 34em; margin-bottom: 32px; }
.hero-actions .btn { min-width: 0; }
.hero-note { margin-top: 24px; font-size: .95rem; font-weight: 500; color: var(--text-muted); }

/* Entrance: hero copy fades up once. Content is never hidden if animation is unsupported. */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise .7s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }
.launch-panel { animation: rise .8s var(--ease) .15s both; }

/* ---------- Countdown panel ---------- */
.launch-panel {
  position: relative; overflow: hidden;
  max-width: 540px; margin-inline: auto;
  background: var(--navy); color: #fff;
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px;
  padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 24px 48px -16px rgba(16, 35, 63, .45);
}
@media (min-width: 992px) { .launch-panel { margin-inline: 0 auto; margin-left: auto; } }

.panel-motif { position: absolute; right: 0; bottom: 0; width: 32%; height: auto; opacity: .7; pointer-events: none; }
@media (max-width: 575.98px) { .panel-motif { display: none; } }
.launch-panel > *:not(.panel-motif) { position: relative; }

.panel-status {
  display: inline-flex; align-items: center;
  font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #BFE9DA;
}
.panel-title { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.85rem); font-weight: 700; color: #fff; margin: 18px 0 6px; }
.panel-sub { color: #AAB7CA; font-size: .98rem; margin-bottom: 26px; }

.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(6px, 2vw, 14px); }
.cd-unit {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: clamp(12px, 2.4vw, 18px) 4px 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius);
}
.cd-num {
  font-family: var(--font-head); font-weight: 800; line-height: 1; color: #fff;
  font-size: clamp(1.75rem, 1rem + 4.2vw, 3rem);
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
  min-width: 2ch; text-align: center;
}
.cd-label { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #9FB0C8; }
/* thin separator between units */
.cd-unit:nth-child(-n+3)::after {
  content: ""; position: absolute; top: 50%; right: calc(-1 * clamp(6px, 2vw, 14px) / 2 - 2px);
  width: 4px; height: 4px; border-radius: 50%; background: var(--emerald); transform: translateY(-50%);
  box-shadow: 0 -8px 0 var(--emerald), 0 8px 0 transparent;
}

.cycle-bar { height: 3px; margin: 22px 0 18px; background: rgba(255, 255, 255, .12); border-radius: 3px; overflow: hidden; }
.cycle-bar span { display: block; height: 100%; width: 0; background: var(--emerald); border-radius: 3px; transition: width 1s linear; }

.panel-foot { font-size: .8rem; color: #9FB0C8; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { max-width: 680px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald-ink); margin-bottom: 14px; }
.section-head h2, .notify-card h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 800; margin-bottom: 16px; }
.section-sub { color: var(--text-muted); font-size: 1.08rem; }

/* ---------- Service cards ---------- */
.service-card {
  --tone-bg: var(--tone-emerald-bg); --tone-fg: var(--tone-emerald-fg);
  position: relative; height: 100%; display: flex; flex-direction: column; align-items: flex-start;
  padding: 28px 24px 30px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service-card::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 3px;
  background: var(--tone-fg); border-radius: 0 0 3px 3px; opacity: 0; transition: opacity .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: color-mix(in srgb, var(--tone-fg) 35%, var(--border)); }
.service-card:hover::before { opacity: 1; }
.tone-emerald { --tone-bg: var(--tone-emerald-bg); --tone-fg: var(--tone-emerald-fg); }
.tone-teal    { --tone-bg: var(--tone-teal-bg);    --tone-fg: var(--tone-teal-fg); }
.tone-blue    { --tone-bg: var(--tone-blue-bg);    --tone-fg: var(--tone-blue-fg); }
.tone-amber   { --tone-bg: var(--tone-amber-bg);   --tone-fg: var(--tone-amber-fg); }

.service-icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px;
  background: var(--tone-bg); color: var(--tone-fg); border-radius: 12px; font-size: 1.5rem;
  transition: background-color .3s, color .3s;
}
.service-card:hover .service-icon { background: var(--tone-fg); color: #fff; }

.soon-tag {
  display: inline-block; margin-bottom: 14px; padding: 3px 10px;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--tone-fg); background: var(--tone-bg); border-radius: 999px;
}
.service-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: .97rem; }

/* ---------- Why ---------- */
.section-why { background: var(--surface); border-block: 1px solid var(--border); }
.why-item { text-align: left; }
.why-icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px;
  border: 1px solid #CBEBDD; background: var(--mint); color: var(--emerald-ink); border-radius: 50%; font-size: 1.3rem;
}
.why-item h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.why-item p { color: var(--text-muted); }

/* ---------- Launch announcement (navy) ---------- */
.launch {
  position: relative; overflow: hidden; color: #fff;
  background: var(--navy-deep);
  padding: clamp(56px, 8vw, 104px) 0;
}
.launch::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 0);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(to left, #000, transparent 70%);
          mask-image: linear-gradient(to left, #000, transparent 70%);
}
.launch .container { position: relative; }
.launch-label {
  display: inline-flex; align-items: center; margin-bottom: 18px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald);
}
.launch h2 { color: #fff; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); font-weight: 800; margin-bottom: 18px; }
.launch-sub { color: #B6C3D6; font-size: 1.1rem; max-width: 30em; margin-bottom: 24px; }
.launch-link { color: var(--emerald); font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.launch-link:hover { border-bottom-color: var(--emerald); }
.countdown-compact .cd-unit { padding-block: clamp(14px, 3vw, 22px) 14px; }
.countdown-compact .cd-num { font-size: clamp(1.7rem, .9rem + 3.6vw, 2.75rem); }

/* ---------- Notify form ---------- */
.section-notify { padding-top: clamp(56px, 8vw, 96px); }
.notify-card {
  max-width: 680px; margin-inline: auto; text-align: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: clamp(28px, 5vw, 52px) clamp(20px, 5vw, 48px);
}
.notify-form { margin-top: 28px; text-align: left; }
.notify-form .form-label { font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 8px; }
.notify-row { display: flex; gap: 12px; }
.notify-row .form-control {
  flex: 1 1 auto; min-width: 0; min-height: 48px; padding: .75rem 1rem; font-size: 1rem;
  border: 1.5px solid #C5CFDC; border-radius: var(--radius-sm); color: var(--text); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.notify-row .form-control::placeholder { color: #7B8798; }
.notify-row .form-control:focus { border-color: var(--emerald-ink); box-shadow: 0 0 0 4px rgba(32, 180, 134, .2); }
.notify-row .form-control.is-invalid { border-color: #B42318; background-image: none; padding-right: 1rem; }
.notify-row .form-control.is-invalid:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .15); }
.notify-row .btn { flex: none; }
.form-help { margin-top: 12px; font-size: .85rem; color: var(--text-muted); }
.form-status { margin-top: 12px; font-size: .95rem; font-weight: 500; min-height: 0; }
.form-status:empty { display: none; }
.form-status[data-state="error"]   { color: #B42318; }
.form-status[data-state="success"] { color: #08684A; }
.form-status[data-state="info"]    { color: var(--text); background: #EEF3FA; border: 1px solid #D5E0F0; border-radius: var(--radius-sm); padding: 10px 14px; }

@media (max-width: 575.98px) {
  .notify-row { flex-direction: column; }
  .notify-row .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #B6C3D6; padding: clamp(44px, 6vw, 72px) 0 32px; }
.brand-light, .brand-light .brand-text { color: #fff; }
.brand-light .brand-accent { color: var(--emerald); }
.brand-light .brand-tld { color: #9FB0C8; }
.brand-light .brand-mark { background: rgba(255, 255, 255, .08); }
.footer-tagline { margin-top: 14px; color: #B6C3D6; }
.footer-heading { font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9FB0C8; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-links a { display: inline-block; padding: 6px 0; color: #fff; text-decoration: none; }
.footer-links a:hover { color: var(--emerald); }
@media (min-width: 992px) { .site-footer .col-lg-7 { display: flex; justify-content: flex-end; } }
.footer-rule { border-color: rgba(255, 255, 255, .12); opacity: 1; margin: 36px 0 24px; }
.footer-disclaimer { font-size: .82rem; line-height: 1.7; color: #9FB0C8; max-width: 62em; }
.footer-copy { margin-top: 18px; font-size: .85rem; color: #B6C3D6; }

/* ---------- Scroll reveal (only active when JS is present) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .row > .reveal:nth-child(2) { transition-delay: .06s; }
.js .row > .reveal:nth-child(3) { transition-delay: .12s; }
.js .row > .reveal:nth-child(4) { transition-delay: .18s; }

/* ---------- Narrow screens ---------- */
@media (max-width: 380px) {
  .container { --bs-gutter-x: 2rem; }
  .brand-text { font-size: 1.05rem; }
  .brand-mark { width: 30px; height: 30px; }
  .cd-label { font-size: .6rem; letter-spacing: .08em; }
  .pill { font-size: .8rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .service-card:hover, .btn-brand:hover, .btn-outline-brand:hover { transform: none; }
}
