/* ==========================================================================
   Apexvistro — Core Stylesheet
   ========================================================================== */

:root {
  /* Colors */
  --ink-950: #0A1512;
  --ink-900: #0F1E19;
  --ink-800: #16281F;
  --ink-700: #1E3A2C;
  --emerald: #17B978;
  --emerald-light: #6EE7C0;
  --gold: #D9A650;
  --gold-light: #F0C878;
  --black: #0B0B0B;
  --white: #FFFFFF;
  --off-white: #F7F5F0;
  --gray-100: #EDEAE3;
  --gray-300: #C8C2B4;
  --gray-500: #6E7568;
  --gray-700: #33372F;
  --success: #22C55E;

  /* Typography */
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px;
  --section-padding-sm: 60px;
  --radius: 12px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-soft: 0 8px 26px rgba(10, 21, 18, 0.08);
  --shadow-card: 0 22px 50px rgba(10, 21, 18, 0.16);

  /* Legacy token aliases — inline styles across the app reference these names */
  --navy-950: var(--ink-950);
  --navy-900: var(--ink-900);
  --navy-800: var(--ink-800);
  --navy-700: var(--ink-700);
  --blue-accent: var(--emerald);
  --blue-accent-light: var(--emerald-light);
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--ink-950);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--ink-950);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

a { text-decoration: none; color: var(--emerald); transition: 0.25s ease; }
a:hover { color: var(--ink-950); }

img { max-width: 100%; display: block; }

.section { padding: var(--section-padding) 0; }
.section-sm { padding: var(--section-padding-sm) 0; }
.bg-navy { background: var(--ink-950); color: var(--gray-300); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-off-white { background: var(--off-white); }
.bg-black { background: var(--black); color: var(--gray-300); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
.bg-navy .eyebrow, .bg-black .eyebrow { color: var(--emerald-light); }

.section-title {
  font-size: 2.35rem;
  margin-bottom: 18px;
}
.section-lead {
  color: var(--gray-500);
  max-width: 640px;
  margin-bottom: 40px;
}
.bg-navy .section-lead, .bg-black .section-lead { color: var(--gray-300); }

/* ---------- Buttons ---------- */
.btn-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: 0.25s ease;
}
.btn-brand-primary {
  background: var(--emerald);
  color: var(--ink-950);
}
.btn-brand-primary:hover {
  background: var(--gold);
  color: var(--ink-950);
  transform: translateY(-2px);
}
.btn-brand-outline {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}
.btn-brand-outline:hover {
  background: var(--white);
  color: var(--ink-950);
}
.btn-brand-outline-dark {
  border-color: var(--gray-300);
  color: var(--ink-950);
}
.btn-brand-outline-dark:hover {
  background: var(--ink-950);
  border-color: var(--ink-950);
  color: var(--white);
}
.btn-block-full { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  background: rgba(10, 21, 18, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.site-header .logo-img { height: 38px; width: auto; }
.navbar-nav {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 2px;
}
.navbar-nav .nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  color: var(--gray-300) !important;
  padding: 9px 18px !important;
  border-radius: var(--radius-pill);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--ink-950) !important;
  background: var(--emerald-light);
}
.navbar-nav .dropdown-menu {
  background: var(--ink-900);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 10px;
  margin-top: 10px;
}
.navbar-nav .dropdown-item {
  color: var(--gray-300);
  font-size: 14px;
  border-radius: 8px;
  padding: 10px 14px;
}
.navbar-nav .dropdown-item:hover {
  background: var(--ink-800);
  color: var(--emerald-light);
}
.header-cta { display: flex; align-items: center; gap: 10px; }
.navbar-toggler { border-color: rgba(255,255,255,0.3); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ---------- Hero (two-column, framed visual) ---------- */
.hero {
  position: relative;
  background: var(--ink-950);
  color: var(--white);
  padding: 90px 0 100px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 8% 12%, rgba(23,185,120,0.16), transparent 45%),
              radial-gradient(circle at 95% 90%, rgba(217,166,80,0.12), transparent 50%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 20px;
}
.hero .lead {
  color: var(--gray-300);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
}
.hero-stats-inline .num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--emerald-light);
}
.hero-stats-inline .label {
  font-size: 12px;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 480px;
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,21,18,0.05) 0%, rgba(10,21,18,0.55) 100%);
}
.hero-live-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,21,18,0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}
.hero-live-badge i { color: var(--emerald-light); font-size: 8px; }

/* ---------- Icon badges ---------- */
.icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23,185,120,0.1);
  color: var(--emerald);
  font-size: 24px;
  margin-bottom: 22px;
}
.bg-navy .icon-badge, .bg-black .icon-badge {
  background: rgba(110,231,192,0.14);
  color: var(--emerald-light);
}

/* ---------- Service Cards ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: 0.3s ease;
  border: 1px solid var(--gray-100);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--emerald); }
.service-card .img-wrap { height: 200px; overflow: hidden; }
.service-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s ease; }
.service-card:hover .img-wrap img { transform: scale(1.06); }
.service-card .body { padding: 28px; }
.service-card h4 { font-size: 1.2rem; margin-bottom: 12px; }
.service-card p { color: var(--gray-500); font-size: 14.5px; margin-bottom: 18px; }
.service-card .card-link { font-family: var(--font-heading); font-weight: 600; font-size: 14px; color: var(--emerald); }

/* ---------- Investment Plan Cards ---------- */
.plan-card {
  background: var(--ink-900);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  height: 100%;
  color: var(--gray-300);
  border: 1px solid var(--ink-700);
  position: relative;
  transition: 0.3s ease;
}
.plan-card:hover { transform: translateY(-8px); border-color: var(--emerald); }
.plan-card.featured {
  background: linear-gradient(160deg, var(--ink-800) 0%, var(--ink-950) 70%);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(217,166,80,0.18);
}
.plan-badge {
  position: absolute;
  top: -14px;
  right: 30px;
  background: var(--gold);
  color: var(--ink-950);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.plan-name {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.plan-profit {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--emerald-light);
  line-height: 1;
  margin: 18px 0 4px;
}
.plan-profit span { font-size: 1rem; font-weight: 500; color: var(--gray-300); }
.plan-divider { border-top: 1px solid rgba(255,255,255,0.1); margin: 24px 0; }
.plan-list { list-style: none; padding: 0; margin: 0 0 30px; }
.plan-list li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
  font-size: 14.5px;
}
.plan-list li span:first-child { color: var(--gray-300); }
.plan-list li span:last-child { color: var(--white); font-weight: 600; font-family: var(--font-heading); }

/* ---------- About / split sections ---------- */
.split-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}
.split-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.float-badge {
  position: absolute;
  bottom: -26px;
  left: -26px;
  background: var(--ink-950);
  color: var(--white);
  padding: 22px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--ink-700);
}
.float-badge .num { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--emerald-light); }
.float-badge .label { font-size: 12px; color: var(--gray-300); text-transform: uppercase; letter-spacing: 1px; }

.checklist { list-style: none; padding: 0; margin: 28px 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--gray-700);
}
.checklist li i {
  color: var(--emerald);
  background: rgba(23,185,120,0.1);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-100);
  height: 100%;
}
.testimonial-card .quote { color: var(--gray-700); font-style: italic; margin-bottom: 22px; }
.testimonial-user { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink-950); color: var(--emerald-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700;
}
.testimonial-user .name { font-family: var(--font-heading); font-weight: 600; font-size: 14.5px; color: var(--ink-950); }
.testimonial-user .role { font-size: 12.5px; color: var(--gray-500); }

/* ---------- Steps / process ---------- */
.step-card { text-align: center; padding: 10px 14px; }
.step-num {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--ink-950);
  color: var(--emerald-light);
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--ink-950), var(--ink-800));
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  color: var(--white);
}

/* ---------- FAQ Accordion ---------- */
.accordion-item {
  border: none;
  border-bottom: 1px solid var(--gray-100);
  background: transparent;
}
.accordion-button {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--ink-950);
  background: transparent;
  padding: 22px 4px;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) { color: var(--emerald); background: transparent; }
.accordion-button::after { filter: none; }
.accordion-body { color: var(--gray-500); padding: 0 4px 24px; }

/* ---------- Forms ---------- */
.form-control, .form-select {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 14.5px;
}
.form-control:focus, .form-select:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(23,185,120,0.15);
}
.form-label { font-weight: 600; font-size: 14px; color: var(--ink-950); margin-bottom: 8px; }

.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 46px;
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid var(--gray-100);
}
.auth-wrap {
  background: var(--ink-950);
  padding: 100px 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.auth-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: rgba(23,185,120,0.1);
  color: var(--emerald);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin: 0 auto 18px;
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: linear-gradient(120deg, rgba(10,21,18,0.94), rgba(15,32,25,0.9)), var(--hero-img) center/cover no-repeat;
  color: var(--white);
  padding: 84px 0 66px;
  text-align: center;
}
.page-header h1 { color: var(--white); font-size: 2.3rem; margin-bottom: 10px; }
.breadcrumb-nav { font-size: 14px; color: var(--gray-300); }
.breadcrumb-nav a { color: var(--gray-300); }
.breadcrumb-nav a:hover { color: var(--white); }
.breadcrumb-nav span { color: var(--emerald-light); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-950); color: var(--gray-300); padding-top: 80px; }
.site-footer h5 { color: var(--white); font-size: 15px; margin-bottom: 22px; }
.site-footer p { color: var(--gray-300); font-size: 14.5px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--gray-300); font-size: 14.5px; }
.footer-links a:hover { color: var(--emerald-light); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14.5px; }
.footer-contact i { color: var(--emerald-light); margin-top: 3px; }
.social-icons { display: flex; gap: 10px; margin-top: 20px; }
.social-icons a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.social-icons a:hover { background: var(--emerald); color: var(--ink-950); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 60px;
  padding: 24px 0;
  font-size: 13.5px;
  color: var(--gray-500);
}
.footer-disclaimer {
  font-size: 12px;
  color: var(--gray-500);
  max-width: 900px;
  line-height: 1.6;
}

/* ---------- Utilities ---------- */
.text-accent { color: var(--emerald); }
.divider-line { width: 50px; height: 3px; background: var(--gold); margin-bottom: 20px; border-radius: 2px; }

@media (max-width: 991px) {
  .hero { padding: 70px 0 70px; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats-inline { justify-content: center; border-top: none; padding-top: 0; }
  .hero-visual { height: 320px; margin-top: 40px; }
  .float-badge { position: static; margin-top: -40px; margin-left: 20px; display: inline-block; }
  .section { padding: var(--section-padding-sm) 0; }
  .cta-band { padding: 40px 24px; text-align: center; }
}
