/* ===========================================================
   KANAY WEALTH — Design System
   Obsidian Black | Wealth Gold | Slate Gray | Pure White
   =========================================================== */

/* ── Variables ── */
:root {
  --obsidian: #0F0F0F;
  --gold: #D4AF37;
  --gold-light: #E5C76B;
  --gold-dark: #B8942F;
  --slate: #333333;
  --white: #FFFFFF;
  --white-muted: rgba(255, 255, 255, 0.7);
  --white-dim: rgba(255, 255, 255, 0.4);
  --bg-deep: #0F0F0F;
  --bg-card: #1A1A1A;
  --bg-card-hover: #222222;
  --border: rgba(212, 175, 55, 0.15);
  --border-hover: rgba(212, 175, 55, 0.4);
  --gold-glow: rgba(212, 175, 55, 0.35);
  --grad-gold: linear-gradient(135deg, #D4AF37, #E5C76B);
  --grad-dark: linear-gradient(180deg, #0F0F0F 0%, #1A1A1A 100%);
  --radius: 8px;
  --radius-pill: 100px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ── Bootstrap Overrides ── */
body {
  background-color: var(--obsidian) !important;
  color: var(--white-muted) !important;
}

h1, h2, h3, h4, h5, h6,
.section-header h2,
.feature-card h3,
.step-card h3,
.cta-inner h2 {
  color: var(--white) !important;
}

.section-header p,
.feature-card p,
.step-card p,
.cta-inner p,
.footer-tagline {
  color: var(--white-muted) !important;
}

.section-tag {
  color: var(--gold) !important;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--white-muted);
  background: var(--bg-deep);
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color .25s var(--ease);
}

a:hover {
  color: var(--gold-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 3px;
}

h1 { font-size: 42px; letter-spacing: 4px; }
h2 { font-size: 32px; letter-spacing: 3px; }
h3 { font-size: 20px; letter-spacing: 2px; }

img { max-width: 100%; height: auto; }

section { padding: 100px 0; position: relative; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── Selection ── */
::selection { background: rgba(212, 175, 55, .4); color: var(--white); }

/* ── Preloader ── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-deep);
}

#preloader::before {
  content: "";
  position: fixed;
  top: calc(50% - 22px);
  left: calc(50% - 22px);
  width: 44px;
  height: 44px;
  border: 3px solid var(--gold);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 996;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-gold);
  visibility: hidden;
  opacity: 0;
  transition: all .3s var(--ease);
  box-shadow: 0 4px 20px var(--gold-glow);
}

.back-to-top i { font-size: 22px; color: var(--obsidian); line-height: 0; }
.back-to-top:hover { transform: translateY(-3px); }
.back-to-top.active { visibility: visible; opacity: 1; }

/* ── AOS ── */
@media(max-width:768px) { [data-aos-delay] { transition-delay: 0 !important; } }
[data-aos] { transition-duration: 800ms; }
html:not(.aos-init) [data-aos] { opacity: 1 !important; transform: none !important; }

/* ===========================================================
   HEADER
   =========================================================== */
#header {
  transition: all .4s var(--ease);
  z-index: 997;
  padding: 18px 0;
  background: transparent;
}

#header.header-scrolled {
  background: rgba(15, 15, 15, .95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo-accent { color: var(--gold); }

.navbar { padding: 0; }

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
  gap: 8px;
}

.navbar li { position: relative; }
.navbar > ul > li { padding: 8px 0 8px 8px; }

.navbar a, .navbar a:focus {
  display: flex;
  align-items: center;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white-muted);
  border-radius: var(--radius);
  transition: all .25s var(--ease);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.navbar a:hover, .navbar .active, .navbar li:hover > a {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.navbar .getstarted {
  padding: 12px 28px;
  margin-left: 16px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: var(--obsidian) !important;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 16px var(--gold-glow);
}

.navbar .getstarted:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px var(--gold-glow);
  background: var(--gold-light);
}

.mobile-nav-toggle {
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: .4s;
}

@media(max-width:991px) {
  .mobile-nav-toggle { display: block; }
  .navbar ul { display: none; }
}

.navbar-mobile {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, .98);
  backdrop-filter: blur(20px);
  z-index: 999;
  transition: .3s;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-y: auto;
}

.navbar-mobile > ul > li { padding: 0; }
.navbar-mobile a { padding: 14px 24px; font-size: 14px; color: var(--white-muted); }
.navbar-mobile a:hover, .navbar-mobile .active {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}
.navbar-mobile .getstarted { margin: 15px; }

/* ===========================================================
   HERO
   =========================================================== */
#hero {
  width: 100%;
  min-height: 100vh;
  background: var(--obsidian);
  position: relative;
  overflow: hidden;
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--gold);
  opacity: .06;
  top: -200px;
  right: -150px;
  animation: drift1 12s ease-in-out infinite;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: var(--gold);
  opacity: .04;
  bottom: -100px;
  left: -80px;
  animation: drift2 15s ease-in-out infinite;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, .03) 1px, transparent 1px);
  background-size: 80px 80px;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -40px) scale(1.1); }
}

@keyframes drift2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(60px, -50px) scale(1.15); }
}

#hero .container, #hero .container-fluid {
  padding-top: 120px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 2px;
  backdrop-filter: blur(8px);
}

.hero-badge i { color: var(--gold); font-size: 16px; }

#hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 4px;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#hero h2 {
  color: var(--white-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  max-width: 520px;
  text-transform: none;
  letter-spacing: 0;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: var(--obsidian);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 24px var(--gold-glow);
  transition: all .3s var(--ease);
}

.btn-primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 36px var(--gold-glow);
  color: var(--obsidian);
  background: var(--gold-light);
}

.btn-primary-cta i { font-size: 18px; }

.btn-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--white-muted);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all .3s var(--ease);
}

.btn-secondary-cta:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 175, 55, 0.05);
  transform: translateY(-2px);
}

.btn-secondary-cta i { font-size: 20px; color: var(--gold); }

.hero-float {
  animation: heroFloat 6s ease-in-out infinite alternate;
  filter: drop-shadow(0 24px 48px rgba(212, 175, 55, .2));
}

@keyframes heroFloat {
  0% { transform: translateY(12px); }
  100% { transform: translateY(-12px); }
}

@media(max-width:991px) {
  #hero { text-align: center; }
  #hero .container, #hero .container-fluid { padding-top: 100px; }
  #hero h1 { font-size: 36px; }
  #hero h2 { max-width: 100%; font-size: 15px; }
  .hero-cta { justify-content: center; }
  .hero-badge { justify-content: center; }
  #hero .hero-img img { width: 60%; }
}

@media(max-width:575px) {
  #hero h1 { font-size: 28px; letter-spacing: 2px; }
  #hero .hero-img img { width: 80%; }
  .hero-cta { flex-direction: column; align-items: center; }
}

/* ===========================================================
   SECTION HEADERS
   =========================================================== */
.section-header {
  text-align: center;
  padding-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--white-muted);
  font-size: 15px;
  line-height: 1.75;
  text-transform: none;
  letter-spacing: 0;
}

/* ===========================================================
   FEATURES
   =========================================================== */
.features-section {
  background: var(--bg-deep) !important;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 32px;
  text-align: center;
  transition: all .35s var(--ease);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transition: transform .4s var(--ease);
  transform-origin: left;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 24px 64px rgba(212, 175, 55, 0.1);
}

.feature-card:hover::after { transform: scaleX(1); }

.feature-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 28px;
  color: var(--obsidian);
  background: var(--grad-gold);
  transition: all .35s var(--ease);
}

.feature-card:hover .feature-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 28px var(--gold-glow);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.feature-card p {
  font-size: 14px;
  color: var(--white-muted);
  line-height: 1.75;
  margin: 0;
}

/* ===========================================================
   HOW IT WORKS (STEPS)
   =========================================================== */
.steps-section {
  background: #080808 !important;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 56px 36px 44px;
  text-align: center;
  position: relative;
  transition: all .35s var(--ease);
  height: 100%;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 24px 56px rgba(212, 175, 55, 0.08);
}

.step-num {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--obsidian);
  box-shadow: 0 4px 20px var(--gold-glow);
}

.step-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px auto 28px;
  font-size: 32px;
  color: var(--gold);
  transition: all .35s var(--ease);
}

.step-card:hover .step-icon-circle {
  background: rgba(212, 175, 55, 0.15);
  transform: scale(1.1);
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.step-card p {
  font-size: 14px;
  color: var(--white-muted);
  line-height: 1.75;
  margin: 0;
}

/* ===========================================================
   STATS
   =========================================================== */
.stats-section {
  background: var(--slate) !important;
  padding: 80px 0;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(212, 175, 55, .06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.stat-item {
  text-align: center;
  padding: 32px 20px;
  position: relative;
  z-index: 2;
}

.stat-item > i {
  font-size: 32px;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.stat-prefix, .stat-value {
  font-size: 52px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 2px;
}

.stat-prefix { font-size: 28px; vertical-align: super; }
.stat-suffix { font-size: 28px; font-weight: 700; color: var(--gold); }

.stat-desc {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--white-muted);
  margin-top: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ===========================================================
   CTA
   =========================================================== */
.cta-section {
  background: var(--bg-deep) !important;
  padding: 120px 0;
}

.cta-box {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.cta-glow {
  position: absolute;
  inset: -2px;
  background: var(--grad-gold);
  border-radius: calc(var(--radius) + 4px);
  opacity: .12;
  filter: blur(2px);
}

.cta-inner {
  position: relative;
  text-align: center;
  padding: 72px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.cta-icon-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--grad-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-size: 36px;
  color: var(--obsidian);
  box-shadow: 0 0 40px var(--gold-glow);
  animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 24px var(--gold-glow); }
  50% { box-shadow: 0 0 48px var(--gold-glow); }
}

.cta-inner h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.cta-inner p {
  font-size: 15px;
  color: var(--white-muted);
  line-height: 1.75;
  margin-bottom: 36px;
}

.btn-cta-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 48px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: var(--obsidian);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 4px 28px var(--gold-glow);
  transition: all .3s var(--ease);
}

.btn-cta-main:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 40px var(--gold-glow);
  color: var(--obsidian);
  background: var(--gold-light);
}

.btn-cta-main i { font-size: 20px; }

@media(max-width:575px) {
  .cta-inner { padding: 56px 28px; }
  .cta-inner h2 { font-size: 24px; }
}

/* ===========================================================
   FOOTER
   =========================================================== */
#footer {
  background: var(--obsidian) !important;
  border-top: 1px solid var(--border);
}

.footer-main { padding: 64px 0 28px; }

.footer-brand { margin-bottom: 20px; }

.footer-brand .logo-text { font-size: 22px; letter-spacing: 3px; }

.footer-tagline {
  color: var(--white-muted);
  font-size: 14px;
  line-height: 1.75;
  max-width: 400px;
  margin: 0 auto 28px;
}

.footer-socials {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.footer-socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gold);
  transition: all .3s var(--ease);
}

.footer-socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--obsidian);
  transform: translateY(-4px);
  box-shadow: 0 6px 20px var(--gold-glow);
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.footer-bottom span {
  color: var(--white-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-bottom strong { color: var(--gold); font-weight: 600; }

/* ===========================================================
   LGPD BANNER
   =========================================================== */
.lgpd-banner {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 16px 0;
}

.lgpd-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.lgpd-banner i {
  color: var(--gold);
  font-size: 18px;
}

.lgpd-banner span {
  color: var(--white-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===========================================================
   UTILITIES
   =========================================================== */
.text-gold { color: var(--gold) !important; }
.bg-obsidian { background-color: var(--obsidian) !important; }
.bg-gold { background-color: var(--gold) !important; }
.border-gold { border-color: var(--gold) !important; }
