@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
/* FINZOLEO PREMIUM WEBSITE */

:root {
  /* Finzoleo original brand colours */
  --navy: #102d56;
  --red: #c62839;
  --muted: #60718b;
  --background: #f5f7fb;

  /* Supporting colours */
  --white: #ffffff;
  --border: #dce5f0;
  --text: #344963;
  --surface: #edf4ff;

  /* Typography */
  --font-heading: 'Manrope', Arial, sans-serif;
  --font-body: 'DM Sans', Arial, sans-serif;

  /* Design consistency */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --container-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--navy);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
}

button,
input,
select,
textarea {
  font-family: var(--font-body);
}

img {
  max-width: 100%;
}

/* HEADER */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: relative; z-index: 10; }
.navbar {
  max-width: 1320px;
  margin: auto;
  min-height: 72px;
  padding: 6px 32px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: 24px;
}
.brnd { display: inline-flex; justify-self: start; align-items: center; text-decoration: none; }
.brand-logo { display: block; width: 105px; height: auto; }
.nav-links { display: contents; }
.nav-main { display: flex; align-items: center; justify-content: center; gap: clamp(20px,3vw,40px); }
.nav-main a { color: var(--navy); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; position: relative; padding: 12px 0; }
.nav-main a:hover, .nav-main a.active { color: var(--red); }
.nav-main a.active::after { content: ""; position: absolute; bottom: 5px; left: 0; right: 0; height: 2px; background: var(--red); }
.nav-actions { display: flex; justify-content: flex-end; gap: 12px; }
.nav-actions button { appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 18px; border: 1px solid #102d56; border-radius: 6px; font: 600 14px var(--font-body); white-space: nowrap; }
.nav-actions .nav-login, .nav-actions .nav-login:disabled { background: #fff; color: #102d56; opacity: 1; }
.nav-actions .nav-register, .nav-actions .nav-register:disabled { background: #102d56; color: #fff; opacity: 1; }
.nav-actions button:disabled { cursor: not-allowed; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; background: #fff; color: var(--navy); border: 1px solid var(--border); border-radius: 8px; cursor: pointer; }
/* HERO */
.hero { background: var(--background); border-bottom: 1px solid var(--border); overflow: hidden; }
.hero-content { max-width: 1320px; margin: auto; padding: 64px 36px; min-height: 470px; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; gap: 40px; }
.hero-label, .section-label { display: inline-block; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; line-height: 1.5; }
.hero h1 { font-size: clamp(34px,3.6vw,50px); line-height: 1.16; letter-spacing: -1.4px; margin: 18px 0; }
.hero h1 span { display: block; color: var(--red); }
.hero-description { max-width: 490px; margin: 0; font-size: 16px; line-height: 1.75; color: var(--text); }
.hero-actions { display: flex; margin-top: 26px; }
.hero-cta { display: inline-flex; padding: 12px 24px; border-radius: 6px; background: var(--navy); color: white; font-size: 14px; font-weight: 600; text-decoration: none; }
.hero-cta:hover { background: #1c416f; }
.hero-note { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.hero-visual { display: flex; justify-content: center; min-width: 0; }
.dashboard-image { display: block; width: 100%; height: auto; object-fit: contain; }
/* FEATURES */
.features-section { padding: 64px 24px; background: white; }
.section-heading { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.section-heading h2, .story-text h2 { font-size: clamp(26px,3vw,36px); letter-spacing: -.7px; margin: 12px 0 16px; }
.section-heading p { color: var(--muted); margin: 0; }
.features-grid { max-width: 1200px; margin: auto; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.feature-card { padding: 26px; border: 1px solid var(--border); border-radius: 12px; background: white; display: flex; flex-direction: column; align-items: flex-start; cursor: pointer; transition: border-color .2s, background .2s; }
.feature-card:hover { border-color: var(--navy); background: var(--background); }
.feature-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; background: var(--surface); color: var(--navy); }
.feature-card h3 { font-size: 20px; margin: 16px 0 8px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; }
.feature-card::after { content: "Explore features →"; margin-top: auto; padding-top: 18px; color: var(--red); font-size: 13px; font-weight: 600; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
/* FOUNDER STORY */
.story-section { background: var(--surface); overflow: hidden; }
.story-layout { max-width: 1320px; margin: auto; padding: 64px 36px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: center; }
.story-text p { font-size: 16px; line-height: 1.7; margin: 0 0 16px; color: var(--text); }
.story-text .story-signoff { color: var(--red); font-weight: 700; margin-top: 24px; }
.story-image img { display: block; width: 100%; height: auto; border-radius: 12px; }
.founder-signature { display: flex; flex-direction: column; align-items: flex-start; margin-top: 24px; }
.signature-image { display: block; width: 150px; height: auto; }
.founder-title { font-size: 12px; font-weight: 700; letter-spacing: 3px; margin-top: 4px; }
/* FEATURE DIALOG */
.feature-modal {
  width: min(580px, calc(100% - 32px));
  max-height: 90dvh;
  padding: 0;
  margin: auto;
  border: none;
  border-radius: 24px;
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 24px 80px rgba(16, 45, 86, 0.22);
  overflow-y: auto;
  box-sizing: border-box;
}

.feature-modal::backdrop {
  background: rgba(16, 45, 86, 0.55);
  backdrop-filter: blur(5px);
}

.feature-modal[open] {
  animation: featurePopupIn 0.25s ease-out;
}

.feature-modal-content {
  position: relative;
  padding: 36px;
}

/* CLOSE BUTTON */

.feature-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f5ff;
  color: var(--navy);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

.feature-modal-close:hover {
  background: #e0eaff;
}

/* FEATURE ICON */

.feature-modal-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8effc;
  border-radius: 16px;
  color: var(--navy);
  margin-bottom: 22px;
}

.feature-modal-icon svg {
  width: 30px;
  height: 30px;
}

/* POPUP HEADING */

#feature-modal-title {
  font-size: 30px;
  line-height: 1.25;
  margin: 12px 0;
  color: var(--navy);
}

#feature-modal-description {
  color: #60718b;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* FEATURE LIST */

.feature-modal-list {
  list-style: none;
  padding: 20px 0;
  margin: 0;
  border-top: 1px solid #e1e7ef;
}

.feature-modal-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: #344963;
  font-size: 15px;
  line-height: 1.5;
}

.feature-modal-list li svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  color: var(--navy);
  margin-top: 2px;
}

/* AUTOMATIC REMINDERS */

.feature-reminder-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #edf4ff;
  border-radius: 14px;
}

.feature-reminder-box > svg {
  width: 25px;
  height: 25px;
  color: var(--red);
  flex-shrink: 0;
}

.feature-reminder-box h3 {
  color: var(--navy);
  font-size: 16px;
  margin: 0 0 8px;
}

.feature-reminder-box p {
  color: #60718b;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* POPUP FOOTER */

.feature-modal-footer {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #e1e7ef;
  text-align: center;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

/* POPUP ANIMATION */

@keyframes featurePopupIn {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 600px) {
  .feature-modal {
    border-radius: 18px;
  }

  .feature-modal-content {
    padding: 24px;
  }

  #feature-modal-title {
    font-size: 25px;
  }

  .feature-reminder-box {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-modal[open] {
    animation: none;
  }
}



/* FOOTER — retained approved design */
.site-footer {
  background: var(--navy);
  padding: 48px 24px 20px;
  color: #ffffff;
  scroll-margin-top: 80px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* ELEGANT FOOTER LIGHT SWEEP */

.site-footer::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 45px;
  width: 75%;
  height: 180px;
  background: radial-gradient(
    ellipse at 75% 85%,
    rgba(75, 145, 210, 0.16) 0%,
    rgba(75, 145, 210, 0.07) 35%,
    transparent 72%
  );
  pointer-events: none;
  z-index: -1;
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: 65px;
  width: 70%;
  height: 100px;
  border-top: 1px solid rgba(140, 190, 235, 0.14);
  border-radius: 50%;
  transform: rotate(-7deg);
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 65%
  );
  pointer-events: none;
  z-index: -1;
}
.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  align-items: start;
  gap: 40px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 32px;
}

/* LEFT SIDE - BRAND AND MOBILE APP */

.footer-brand {
  text-align: left;
}

.footer-brand-logo {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 0 10px;
}

.footer-tagline {
  color: #cbdcf0;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 28px;
}

.footer-app-heading {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 14px;
}

/* COMPACT APP STORE BADGES */

.footer-app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
  box-sizing: border-box;
  min-width: 150px;
  cursor: default;
}

.footer-store-badge img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}

#ios-store-badge img {
  filter: brightness(0) invert(1);
}

.footer-store-badge small {
  display: block;
  color: #ffffff;
  font-size: 10px;
  line-height: 1.3;
}

.footer-store-badge strong {
  display: block;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.footer-app-status {
  color: #a9bed8;
  font-size: 12px;
  margin: 12px 0 0;
}

/* RIGHT SIDE - LINKS AND CONTACT */

.footer-information {
  text-align: left;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 32px;
  box-sizing: border-box;
}

.footer-heading {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.site-footer a {
  color: #cbdcf0;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 32px;
  box-sizing: border-box;
  min-width: 0;
}

.footer-contact-item h3 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
}

.footer-contact-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-wrap: anywhere;
}

.footer-contact-item a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #cbdcf0;
}

/* COPYRIGHT */

.footer-bottom {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 20px;
  text-align: center;
}
.footer-bottom p {
  color: #cbdcf0;
  font-size: 13px;
  margin: 0;
}

/* MOBILE FOOTER */

@media (max-width: 768px) {
  .site-footer {
    padding: 36px 20px 20px;
  }

  .site-footer::before {
    width: 100%;
    height: 140px;
    bottom: 45px;
    opacity: 0.65;
  }

  .site-footer::after {
    display: none;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-information {
    justify-self: start;
    max-width: 100%;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 24px;
  }

  .footer-contact {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 24px;
  }

  .footer-brand-logo {
    width: 150px;
  }

  .footer-app-badges {
    gap: 10px;
  }

  .footer-store-badge {
    min-width: 135px;
    padding: 9px 10px;
  }

  .footer-store-badge strong {
    font-size: 14px;
  }

  .footer-bottom p {
    font-size: 12px;
  }
}

#our-app { border-top: 4px solid white; }
/* RESPONSIVE LAYOUT */
@media (max-width: 1100px) and (min-width: 901px) {
  .navbar { grid-template-columns: auto minmax(0,1fr) auto; gap: 16px; padding-inline: 24px; }
  .nav-main { gap: 22px; }
  .nav-actions button { padding-inline: 13px; }
}
@media (max-width: 900px) {
  .navbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0; min-height: 72px; padding: 12px 24px; }
  .brand-logo { width: 85px; }
  .menu-toggle { display: inline-flex; }
  .nav-links { display: none; flex: 0 0 100%; flex-direction: column; gap: 16px; padding: 16px 0 8px; }
  .nav-links.is-open { display: flex; }
  .nav-main { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-main a { padding: 12px; font-size: 15px; }
  .nav-main a.active::after { display: none; }
  .nav-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--border); padding-top: 16px; }
  .hero-content { grid-template-columns: 1fr; min-height: auto; text-align: center; gap: 28px; padding: 48px 24px; }
  .hero-description { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .dashboard-image { max-width: 650px; }
  .features-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .story-layout { grid-template-columns: 1fr; gap: 24px; padding: 48px 24px; }
  .story-image img { max-width: 680px; margin: auto; }
}
@media (max-width: 600px) {
  .navbar { padding-inline: 16px; }
  .hero-content { padding: 40px 20px 24px; gap: 20px; }
  .hero h1 { font-size: clamp(30px,8vw,40px); letter-spacing: -.8px; }
  .hero-description { font-size: 15px; }
  .dashboard-image { max-width: 420px; }
  .features-section { padding: 44px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 22px; }
  .story-layout { padding: 44px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
