/* =========================================================
   FINANZAP — GLOBAL STYLES
   ========================================================= */

:root {
  --bg: #0b1f3a;
  --bg2: #08162a;
  --text: #fff;
  --muted: #a7b0bb;
  --muted2: #d6dde5;
  --accent: #ff6a00;
  --accent2: #ff8c00;
  --glass: rgba(255,255,255,.055);
  --glass2: rgba(255,255,255,.035);
  --border2: rgba(255,255,255,.07);
  --shadow: 0 24px 50px rgba(0,0,0,.30);
  --shadow2: 0 14px 30px rgba(0,0,0,.22);
  --r-lg: 22px;
  --max: 1160px;
}


/* =========================================================
   RESET / BASE
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(
      1200px 600px at 50% -10%,
      rgba(255,106,0,.18),
      transparent 55%
    ),
    radial-gradient(
      900px 600px at 12% 70%,
      rgba(255,255,255,.08),
      transparent 55%
    ),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      rgba(255,255,255,.017) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.017) 1px,
      transparent 1px
    );
  background-size: 72px 72px;
  pointer-events: none;
  opacity: .9;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}


/* =========================================================
   GENERAL LAYOUT
   ========================================================= */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 108px 0;
}

.section.tight {
  padding: 72px 0;
}

.center {
  text-align: center;
}

.maxp {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -.02em;
}

h1 {
  font-size: 3.15rem;
  line-height: 1.06;
  margin: 0 0 18px;
}

h2 {
  font-size: 2.10rem;
  line-height: 1.16;
  margin: 0 0 16px;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
  letter-spacing: -.01em;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 820px;
}

.kicker {
  color: var(--muted2);
}

.small {
  font-size: .95rem;
}

.tiny {
  font-size: .86rem;
  color: var(--muted);
}

strong {
  color: #fff;
}


/* =========================================================
   NAVIGATION — DESKTOP
   ========================================================= */

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 15, 35, .75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.nav-inner {
  max-width: 1150px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}


/* LOGO */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo {
  height: 28px;
  width: auto;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.22));
}

.brand-text {
  font-weight: 800;
  letter-spacing: .10em;
  font-size: .90rem;
  opacity: .98;
}


/* MAIN NAV LINKS */

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 15px !important;
  font-weight: 500;
  letter-spacing: .3px;
  color: rgba(255,255,255,.75) !important;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  transition:
    background .18s ease,
    color .18s ease;
}

.nav-links a:hover {
  color: #ffffff !important;
  background: rgba(255,255,255,.06);
}

.nav-links a.active {
  color: #ffffff !important;
  font-weight: 600;
}


/* LANGUAGE */

.lang {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lang a {
  text-decoration: none;
  color: rgba(255,255,255,.75) !important;
  font-size: 15px !important;
  padding: 8px 10px;
  border-radius: 10px;
  transition:
    background .18s ease,
    color .18s ease;
}

.lang a:hover {
  color: #ffffff !important;
  background: rgba(255,255,255,.06);
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: rgba(255,255,255,.10);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  padding: 126px 0 84px;
}

.hero p {
  margin-left: auto;
  margin-right: auto;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 650;
  text-decoration: none;
  background: linear-gradient(
    135deg,
    var(--accent),
    var(--accent2)
  );
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition:
    transform .22s ease,
    filter .22s ease,
    box-shadow .22s ease;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-3px);
  filter: saturate(1.06);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: var(--shadow2);
}

.btn.secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: none;
}

.btn.secondary:hover {
  background: rgba(255,255,255,.06);
  filter: none;
}

.btn.small {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: .94rem;
}


/* =========================================================
   BADGES / PILLS
   ========================================================= */

.badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.badge {
  border: 1px solid rgba(255,255,255,.14);
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: .86rem;
}

.pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: 10px;
}


/* =========================================================
   GRIDS / CARDS
   ========================================================= */

.grid {
  display: grid;
  gap: 26px;
}

.grid-3 {
  grid-template-columns: repeat(
    auto-fit,
    minmax(265px, 1fr)
  );
}

.grid-2 {
  grid-template-columns: repeat(
    auto-fit,
    minmax(320px, 1fr)
  );
}

.card {
  background: linear-gradient(
    180deg,
    var(--glass),
    var(--glass2)
  );
  border: 1px solid var(--border2);
  border-radius: var(--r-lg);
  padding: 26px;
  backdrop-filter: blur(16px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.04) inset;
  transition:
    transform .22s ease,
    border-color .22s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.13);
}


/* =========================================================
   ICONS
   ========================================================= */

.icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  margin-bottom: 10px;
}

.icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
}


/* =========================================================
   LISTS
   ========================================================= */

ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: var(--muted);
}

li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent),
    var(--accent2)
  );
  box-shadow:
    0 0 12px rgba(255,106,0,.55);
}


/* =========================================================
   SPLIT SECTIONS
   ========================================================= */

.split {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 26px;
  align-items: start;
}


/* =========================================================
   STEPS
   ========================================================= */

.steps {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 18px auto 0;
}

.step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent),
    var(--accent2)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex: 0 0 28px;
}

.step p {
  margin: 0;
  color: var(--muted2);
  max-width: none;
}


/* =========================================================
   FORMS
   ========================================================= */

select,
input,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: #fff;
  outline: none;
}

select option {
  color: #000;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .65s ease,
    transform .65s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  border-top: 1px solid var(--border2);
  padding: 44px 0;
  text-align: center;
  color: var(--muted);
}

.hr {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 22px 0;
}


/* =========================================================
   GLOBAL NAV CONSISTENCY
   ========================================================= */

.hero nav a,
.header nav a,
nav a {
  font-size: 15px !important;
  color: rgba(255,255,255,.75) !important;
}

.hero nav a:hover,
.header nav a:hover,
nav a:hover {
  color: #ffffff !important;
}


/* HOME NAV — ACTIVE STATE */

.hero nav .nav-links a {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,.75) !important;
}

.hero nav .nav-links a:hover {
  color: #ffffff !important;
}

.hero nav .nav-links a.active {
  font-weight: 600 !important;
  color: #ffffff !important;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 960px) {
  .split {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 768px) {

  .nav-inner {
    padding: 14px 24px;
  }

  .logo {
    height: 26px;
  }

  /* Show hamburger */
  .nav-toggle {
    display: flex;
  }

  /* Hide desktop navigation */
  .nav-links {
    display: none !important;
    position: absolute;
    top: calc(100% + 1px);
    left: 24px;
    right: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: rgba(5,15,35,.97);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,.35);
    backdrop-filter: blur(14px);
  }

  /* Open mobile navigation */
  .nav.nav-open .nav-links {
    display: flex !important;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px !important;
    border-radius: 10px;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(255,255,255,.06);
  }

  /* Keep language selector visible */
  .lang {
    margin-left: auto;
    margin-right: 8px;
    gap: 2px;
  }

  .lang a {
    font-size: 13px !important;
    padding: 7px 6px;
  }

  h1 {
    font-size: 2.28rem;
  }

  h2 {
    font-size: 1.74rem;
  }

  .section {
    padding: 96px 0;
  }

  .hero {
    padding: 112px 0 66px;
  }
}


/* =========================================================
   RESPONSIVE — SMALL PHONES
   ========================================================= */

@media (max-width: 640px) {

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-links {
    left: 20px;
    right: 20px;
  }

  .lang {
    margin-right: 6px;
  }

  .lang a {
    font-size: 12px !important;
    padding: 6px 5px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  h1 {
    font-size: 2.28rem;
  }

  h2 {
    font-size: 1.74rem;
  }

  .section {
    padding: 96px 0;
  }

  .hero {
    padding: 112px 0 66px;
  }
}