
:root {
  --color-bg: #f4f6fb;
  --color-surface: #ffffff;
  --color-primary: #1f3f93; /* deep blue */
  --color-accent: #f38320;  /* orange */
  --color-accent-soft: #ffd827; /* yellow */
  --color-text: #0b1020;
  --color-muted: #6b7280;
  --shadow-soft: 0 18px 45px rgba(15,23,42,0.12);
  --radius-card: 18px;
  --radius-pill: 999px;
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left,#ffffff 0,#f4f6fb 40%,#e7ecf8 100%);
  color: var(--color-text);
  line-height: 1.6;
}

/* Layout */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 90px 20px 40px;
}

/* Floating / glass header */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 16px;
  z-index: 40;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.site-header-inner {
  pointer-events: auto;
  width: min(100% - 32px, var(--max-width));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 18px 45px rgba(15,23,42,0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-symbol {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  background: #1f3f93;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-symbol img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  font-size: 18px;
  color: var(--color-primary);
}

.brand-tagline {
  font-size: 11px;
  color: var(--color-muted);
}

/* Nav */

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-muted);
  position: relative;
  padding-block: 4px;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--color-primary);
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg,var(--color-accent),var(--color-primary));
  bottom: -3px;
}

/* Mobile nav */

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  background: rgba(15,23,42,0.04);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle span::before {
  transform: translateY(-6px);
}

.nav-toggle span::after {
  transform: translateY(6px);
}

.nav-open .nav-toggle span {
  transform: rotate(45deg);
}
.nav-open .nav-toggle span::before {
  transform: rotate(-90deg) translateX(0);
}
.nav-open .nav-toggle span::after {
  opacity: 0;
}

.nav-mobile {
  position: fixed;
  inset-inline: 0;
  top: 76px;
  z-index: 30;
  padding: 8px 16px 16px;
  display: none;
}

.nav-mobile-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  border-radius: 18px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 18px 45px rgba(15,23,42,0.18);
  backdrop-filter: blur(18px);
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile a {
  padding: 6px 4px;
  text-decoration: none;
  color: var(--color-muted);
  font-weight: 600;
  font-size: 14px;
}

.nav-mobile a:hover {
  color: var(--color-primary);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
  gap: 28px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(31,63,147,0.06);
  color: var(--color-primary);
  font-size: 12px;
  margin-bottom: 8px;
}

.hero-heading {
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.2;
  margin: 0 0 10px;
  color: #051023;
}

.hero-sub {
  margin: 0 0 18px;
  color: var(--color-muted);
  max-width: 520px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--color-muted);
}

.hero-visual {
  position: relative;
  border-radius: 32px;
  background: radial-gradient(circle at 0 0,#ffd827 0,#f38320 22%,#1f3f93 70%);
  padding: 18px;
  color: white;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-visual-logo {
  position: absolute;
  right: -10px;
  top: -10px;
  width: 100px;
  height: 100px;
  border-radius: 999px;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.5);
}

.hero-visual-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-chart-bars {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  margin-top: 32px;
}

.hero-chart-bar {
  flex: 1;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 8px 20px rgba(15,23,42,0.25);
}

.hero-chart-bar:nth-child(1){height:60px;}
.hero-chart-bar:nth-child(2){height:90px;}
.hero-chart-bar:nth-child(3){height:130px;}
.hero-chart-bar:nth-child(4){height:170px;}

/* Cards / grids */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  margin-top: 18px;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 16px 16px 18px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.04);
  border: 1px solid rgba(148,163,184,0.2);
}

.card h3, .card h4 {
  margin-top: 0;
  margin-bottom: 6px;
  color: #051023;
}

.card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

/* Buttons */

.btn {
  border-radius: var(--radius-pill);
  border: 0;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg,var(--color-accent),var(--color-primary));
  color: white;
  box-shadow: 0 18px 40px rgba(15,23,42,0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid rgba(148,163,184,0.6);
}

.btn-ghost:hover {
  background: rgba(15,23,42,0.02);
}

/* Sections */

.section-heading {
  font-size: 22px;
  margin-bottom: 4px;
}

.section-sub {
  color: var(--color-muted);
  margin-top: 0;
  margin-bottom: 14px;
}

/* Blog cards */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  margin-top: 14px;
}

.blog-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15,23,42,0.06);
  background: var(--color-surface);
}

.blog-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.blog-card-body {
  padding: 12px 14px 14px;
}

.blog-card-body h3 {
  font-size: 16px;
  margin: 0 0 4px;
}

.blog-card-body p {
  margin: 0;
  font-size: 14px;
  color: var(--color-muted);
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,0.8fr);
  gap: 18px;
}

form label {
  display: block;
  font-size: 13px;
  margin-bottom: 3px;
  color: #051023;
}

input, textarea, select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #d6e0f0;
  padding: 9px 11px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  background: #f9fafb;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(31,63,147,0.1);
}

textarea {
  resize: vertical;
}

/* Footer */

.site-footer {
  margin-top: auto;
  padding: 24px 20px 30px;
  background: #020617;
  color: #e5e7eb;
}

.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 13px;
}

.site-footer a {
  color: #cbd5f5;
  text-decoration: none;
}

/* Responsive */

@media (max-width: 880px) {
  .hero {
    grid-template-columns: minmax(0,1fr);
  }
  .cards-3 {
    grid-template-columns: minmax(0,1fr);
  }
  .blog-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .contact-layout {
    grid-template-columns: minmax(0,1fr);
  }
  .site-header-inner {
    border-radius: 18px;
  }
  .nav {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-mobile.show {
    display: block;
  }
}

@media (max-width: 520px) {
  .container {
    padding-inline: 16px;
    padding-top: 82px;
  }
  .hero-heading {
    font-size: 26px;
  }
}

/* Floating CTA Buttons */
.floating-ctas {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 9999;
}

.float-invest, .float-whatsapp {
  border-radius: 999px;
  padding: 12px 18px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  cursor: pointer;
}

.float-invest {
  background: linear-gradient(135deg,#f38320,#1f3f93);
  color: white;
}

.float-whatsapp {
  background: #25D366;
  width: 46px;
  height: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

/* Mobile optimization */
@media (max-width: 880px) {
  .float-invest {
    display: none;
  }
  .floating-ctas {
    right: 14px;
    bottom: 14px;
  }
}
