/* ==========================================================================
   Demo Company — Custom Stylesheet
   Bootstrap 5 overrides + custom components
   Palette taken from the brand logo: deep green + gold
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES
   -------------------------------------------------------------------------- */
:root {
  --green-900: #041F13;
  --green-800: #06301E;
  --green-700: #0B4A2F;
  --green-600: #0F5C3A;
  --green-500: #157347;
  --green-050: #EAF5EF;
  --footer-bg: #020B07;

  --gold-600: #B8860B;
  --gold-500: #D4A017;
  --gold-400: #F5C542;
  --gold-300: #FFE08A;

  --ink: #0E1A14;
  --body: #55645C;
  --line: #E4EBE7;
  --soft: #F6F9F7;
  --mint: #E7F1EC;
  --white: #FFFFFF;

  --grad-gold: linear-gradient(135deg, #B8860B 0%, #F5C542 50%, #D4A017 100%);
  --grad-green: linear-gradient(135deg, #06301E 0%, #0F5C3A 100%);

  --shadow-sm: 0 4px 16px rgba(6, 48, 30, .06);
  --shadow-md: 0 12px 36px rgba(6, 48, 30, .10);
  --shadow-lg: 0 24px 64px rgba(6, 48, 30, .16);
  --shadow-gold: 0 10px 30px rgba(212, 160, 23, .32);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* --------------------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------------------- */
* { scroll-behavior: smooth; }

html { overflow-x: hidden; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--body);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}

a { text-decoration: none; transition: all .25s var(--ease); }
img { max-width: 100%; height: auto; }


/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--soft); }
::-webkit-scrollbar-thumb { background: var(--green-700); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-500); }

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

.text-muted-light { color: rgba(255, 255, 255, .68) !important; }

/* --------------------------------------------------------------------------
   3. PRELOADER
   -------------------------------------------------------------------------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--green-900);
  transition: opacity .5s ease, visibility .5s ease;
}

#preloader.loaded { opacity: 0; visibility: hidden; }

.loader-ring {
  width: 58px;
  height: 58px;
  border: 3px solid rgba(245, 197, 66, .2);
  border-top-color: var(--gold-400);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}

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

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  border-radius: 50px;
  padding: .75rem 1.75rem;
  border: 0;
  transition: all .3s var(--ease);
  white-space: nowrap;
}

.btn:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; box-shadow: none; }

.btn-lg { padding: .95rem 2.25rem; font-size: 1.05rem; }

.btn-gold {
  background: var(--grad-gold);
  background-size: 200% auto;
  color: var(--green-900);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background-position: right center;
  color: var(--green-900);
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(212, 160, 23, .45);
}

.btn-green {
  background: var(--grad-green);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(6, 48, 30, .25);
}

.btn-green:hover {
  color: var(--gold-300);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(6, 48, 30, .35);
}

.btn-outline-green {
  border: 2px solid var(--green-700);
  color: var(--green-700);
  background: transparent;
}

.btn-outline-green:hover {
  background: var(--green-700);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-outline-glass {
  border: 2px solid rgba(255, 255, 255, .28);
  color: var(--white);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px);
}

.btn-outline-glass:hover {
  background: rgba(255, 255, 255, .14);
  border-color: var(--gold-400);
  color: var(--gold-300);
  transform: translateY(-3px);
}

.btn-nav { padding: .55rem 1.35rem; font-size: .95rem; }

/* --------------------------------------------------------------------------
   5. NAVBAR — floating pill
   -------------------------------------------------------------------------- */
.main-nav {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 0;
  background: transparent;
  transition: top .35s var(--ease);
}

.main-nav > .container { max-width: 1280px; }

.nav-pill {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background: var(--mint);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 60px;
  padding: .6rem .65rem .6rem 1.85rem;
  box-shadow: 0 18px 48px rgba(2, 20, 12, .26);
  transition: all .35s var(--ease);
}

.main-nav.sticky-nav { position: fixed; top: 12px; }

.main-nav.sticky-nav .nav-pill {
  background: rgba(231, 241, 236, .97);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 36px rgba(2, 20, 12, .2);
}

@keyframes dropIn {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.navbar-brand { padding: 0; margin: 0; }

.brand-logo {
  height: 37px;
  width: auto;
  transition: all .35s var(--ease);
}

.main-nav .navbar-nav { gap: .1rem; }

.main-nav .nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
 font-size: .9rem;
  color: var(--green-800);
  padding: .5rem .85rem !important;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: .3rem;
  transition: all .25s var(--ease);
}

/* Active link wears the same treatment as hover */
.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: var(--green-500);
  background: rgba(11, 74, 47, .07);
}

/* Nav action buttons */
.nav-actions { display: flex; align-items: center; gap: .55rem; }

.btn-nav-login,
.btn-nav-cta {
  padding: .68rem 1.9rem;
  font-size: .9rem;
  font-weight: 500;
}

.btn-nav-login {
  border: 1.5px solid rgba(6, 48, 30, .3);
  color: var(--green-800);
  background: transparent;
}

.btn-nav-login:hover {
  background: var(--green-800);
  border-color: var(--green-800);
  color: var(--white);
}

.btn-nav-cta {
  background: var(--green-800);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(6, 48, 30, .26);
}

.btn-nav-cta:hover {
  background: var(--green-600);
  color: var(--gold-300);
  transform: translateY(-2px);
}

/* Custom toggler */
.navbar-toggler {
  border: 0;
  padding: .4rem;
  margin-left: auto;
  box-shadow: none !important;
}

.toggler-bar {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--green-800);
  margin: 5px 0;
  border-radius: 2px;
  transition: all .3s var(--ease);
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991.98px) {
  .main-nav { top: 14px; }
  .main-nav.sticky-nav { top: 8px; }
  .nav-pill { border-radius: 28px; padding: .75rem 1rem .75rem 1.25rem; }
  .brand-logo { height: 38px; }
  .main-nav .navbar-collapse { width: 100%; }
  .main-nav .navbar-nav { margin: .75rem 0 .25rem; gap: 0; }
  .main-nav .nav-link { padding: .7rem .6rem !important; border-radius: 12px; }
  .nav-actions { width: 100%; padding: .5rem 0 .25rem; }
  .nav-actions .btn { flex: 1; text-align: center; }
}

/* --------------------------------------------------------------------------
   6. HERO / BANNER
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 10rem 0 0rem;
  overflow: hidden;
  color: var(--white);
  background: url('../img/banner-bg.png') center / cover no-repeat, var(--green-900);
}



.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: .45rem 1.6rem .45rem .45rem;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
}

.hero-badge img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-title {
  font-size: clamp(2.6rem, 5.4vw, 3.5rem);
  color: var(--white);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.09;
  margin: 1.85rem 0 1.5rem;
}

.hero-text {
  color: rgba(255, 255, 255, .72);
  font-size: 1rem;
  line-height: 1.72;
  max-width: 570px;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.btn-hero {
  background: var(--green-700);
  color: var(--white);
  border-radius: 10px;
  padding: .7rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 14px 34px rgba(3, 28, 18, .45);
}

.btn-hero:hover {
  background: var(--green-500);
  color: var(--gold-300);
  transform: translateY(-3px);
}

/* Hero images */
.hero-visual { position: relative; }

.hero-monitor {
  width: 100%;
  display: block;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .5));
}

/* Let the monitor bleed toward the viewport edge on desktop only */
@media (min-width: 992px) {
  .hero-monitor { width: 134%; max-width: none; margin: 0 -22% 0 -12%; }
  /* Keep the MT5 badge hugging the monitor's left edge at the larger scale */
  .hero-float-mt5 { width: 17%; left: 21%; }
}

.hero-float { position: absolute; filter: drop-shadow(0 22px 40px rgba(0, 0, 0, .45)); }

.hero-float-mt5 {
  width: 14%;
  min-width: 80px;
  left: 26%;
  top: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(245, 197, 66, .12);
  border: 1px solid rgba(245, 197, 66, .35);
  color: var(--gold-300);
  font-family: 'Outfit', sans-serif;
  font-size: .875rem;
  font-weight: 600;
  padding: .45rem 1.1rem;
  border-radius: 50px;
  letter-spacing: .02em;
}

.pill-dark {
  background: var(--green-050);
  border-color: rgba(11, 74, 47, .16);
  color: var(--green-700);
}

@media (max-width: 991.98px) {
  .hero { padding: 8.5rem 0 0rem; text-align: center; }
  .hero-text { margin-inline: auto; }
  .hero-actions { justify-content: center; }

}

@media (max-width: 575.98px) {
  .hero-title { font-size: 2.35rem; }
  .hero-badge { font-size: .95rem; padding-right: 1.2rem; }
  .hero-badge img { width: 38px; height: 38px; }
  .hero-actions .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   7. SECTIONS
   -------------------------------------------------------------------------- */
.section { padding: 4.25rem 0; position: relative; }
.section-soft { background: var(--soft); }

.section-dark {
  background: radial-gradient(900px 500px at 20% 0%, #0B442B 0%, transparent 55%), var(--green-900);
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin: 1rem 0 1.1rem;
  font-weight: 800;
}

.section-text { font-size: 1.03rem; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   8. HIGHLIGHTS
   -------------------------------------------------------------------------- */
.highlights {
  background: var(--white);
  padding: 4rem 0 3.25rem;
}

.highlight-item {
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}

.highlight-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  border-radius: 14px;
  background: var(--green-700);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  transition: all .35s var(--ease);
}

.highlight-item:hover .highlight-icon {
  background: var(--grad-gold);
  color: var(--green-900);
  transform: translateY(-6px);
}

.highlight-item h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: .85rem;
}

.highlight-item p {
  font-size: 1rem;
  color: var(--body);
  margin: 0;
}

@media (max-width: 767.98px) {
  .highlights { padding: 2.75rem 0 2rem; }
}

/* --------------------------------------------------------------------------
   10. ABOUT
   -------------------------------------------------------------------------- */
.about-head {
  max-width: 880px;
  margin: 0 auto 2.5rem;
}

/* Left spotlight panel */
.about-panel {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  color: var(--white);
 background: #06301e;
  display: flex;
  flex-direction: column;
}


.ap-icon {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  color: var(--gold-300);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 1.75rem;
}

.about-panel h3 {
  position: relative;
  color: var(--white);
  font-size: 1.65rem;
  font-weight: 600;
  margin-bottom: .9rem;
}

.about-panel > p {
  position: relative;
  color: rgba(255, 255, 255, .72);
  font-size: .98rem;
  margin: 0 0 2rem;
}

.ap-stats {
  position: relative;
  display: flex;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.ap-stat { flex: 1; }

.ap-stat strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ap-stat span {
  font-size: .82rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.4;
  display: block;
}

/* Mission / Vision cards */
.mv-card {
  display: flex;
  gap: 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-400);
  border-radius: var(--radius);
  padding: 1.85rem 1.75rem;
  margin-bottom: 1.25rem;
  transition: all .35s var(--ease);
}

.mv-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--green-600);
}

.mv-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--green-050);
  color: var(--green-700);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  transition: all .35s var(--ease);
}

.mv-card:hover .mv-icon { background: var(--grad-gold); color: var(--green-900); }

.mv-body h4 { font-size: 1.25rem; margin-bottom: .55rem; }
.mv-body p { font-size: .96rem; margin: 0; }

@media (max-width: 575.98px) {
  .about-panel { padding: 2rem 1.5rem; }
  .ap-stats { flex-wrap: wrap; gap: 1.25rem; }
  .ap-stat { flex: 0 0 45%; }
  .mv-card { flex-direction: column; gap: 1rem; padding: 1.5rem 1.35rem; }
  .mv-card:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   11. FEATURE CARDS
   -------------------------------------------------------------------------- */
.feature-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(245, 197, 66, .14);
  color: var(--gold-400);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-card h5 { color: var(--white); font-size: 1.12rem; margin-bottom: .65rem; }
.feature-card p { color: rgba(255, 255, 255, .66); font-size: .94rem; margin: 0; }

/* --------------------------------------------------------------------------
   12. WHY CHOOSE
   -------------------------------------------------------------------------- */
.why-item { display: flex; gap: 1.1rem; margin-top: 1.85rem; }

.why-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--grad-green);
  color: var(--gold-300);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  box-shadow: 0 10px 24px rgba(6, 48, 30, .22);
}

.why-item h5 { font-size: 1.15rem; margin-bottom: .45rem; }
.why-item p { font-size: .95rem; margin: 0; }

/* Compact chip row instead of a plain bullet list */
.check-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.check-list li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--green-050);
  border: 1px solid rgba(11, 74, 47, .12);
  border-radius: 50px;
  padding: .5rem 1.05rem .5rem .5rem;
  font-family: 'Outfit', sans-serif;
  font-size: .92rem;
  font-weight: 500;
  color: var(--green-700);
  transition: all .3s var(--ease);
}

.check-list li:hover {
  background: var(--white);
  border-color: rgba(212, 160, 23, .5);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.check-list i {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-green);
  color: var(--gold-300);
  display: grid;
  place-items: center;
  font-size: .72rem;
}

.why-visual { position: relative; }

.why-image {
  width: 100%;
  max-width: 520px;
  display: block;
  margin-inline: auto;
  border-radius: var(--radius-lg);
}

@media (max-width: 991.98px) {
  .why-image { max-width: 360px; }
}

@media (max-width: 575.98px) {
  .why-image { max-width: 300px; }
}

/* --------------------------------------------------------------------------
   13. STEPS
   -------------------------------------------------------------------------- */
.steps-row { position: relative; }

.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 1.75rem 2rem;
  height: 100%;
  position: relative;
  transition: all .35s var(--ease);
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 160, 23, .45);
}

.step-num {
  position: absolute;
  top: .5rem;
  right: 1.25rem;
  font-family: 'Outfit', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(11, 74, 47, .06);
  line-height: 1;
}

.step-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--grad-green);
  color: var(--gold-300);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all .35s var(--ease);
}

.step-card:hover .step-icon { background: var(--grad-gold); color: var(--green-900); }

.step-card h5 { font-size: 1.15rem; margin-bottom: .6rem; }
.step-card p { font-size: .95rem; margin: 0; }

/* --------------------------------------------------------------------------
   14. PLANS
   -------------------------------------------------------------------------- */
/* Left detail panel — only the selected plan is shown */
.plan-detail { display: none; }

.plan-detail.active {
  display: block;
  animation: fadeUp .4s var(--ease);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.plan-detail h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.plan-detail > p {
  font-size: 1.02rem;
  color: var(--body);
  margin-bottom: 2rem;
  max-width: 520px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.5rem;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: 1rem;
  color: var(--body);
}

.plan-features i {
  flex: 0 0 auto;
  color: var(--green-500);
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Right selectable cards */
.plan-options { display: flex; flex-direction: column; gap: 1.25rem; }

.plan-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.85rem 2rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all .3s var(--ease);
}

.plan-option:hover { border-color: rgba(21, 115, 71, .4); box-shadow: var(--shadow-md); }

.plan-option.active {
  border-color: var(--green-500);
  box-shadow: var(--shadow-md);
}

.plan-option:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; }

.po-info { display: block; }

.po-name {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
  margin-bottom: .5rem;
}

.po-desc {
  display: block;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--body);
}

.po-price {
  flex: 0 0 auto;
  text-align: right;
}

.po-label,
.po-sub {
  display: block;
  font-size: .88rem;
  color: var(--body);
}

.po-price strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -.02em;
}

.plan-option.active .po-price strong { color: var(--green-600); }

/* Tablet + mobile: JS moves each detail directly under its own card, so the
   pair behaves like an accordion row. Desktop layout is untouched. */
@media (max-width: 991.98px) {
  .plan-picker.is-stacked .plan-detail-col { display: none; }

  .plan-options { gap: .85rem; }

  /* The card becomes the accordion header (padding set in RESPONSIVE TWEAKS) */
  .plan-option { position: relative; }

  .plan-option::after {
    content: '\f282'; /* bi-chevron-down */
    font-family: 'bootstrap-icons';
    font-weight: normal;
    position: absolute;
    right: 1.35rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: .85rem;
    line-height: 1;
    color: var(--green-600);
    transition: transform .3s var(--ease);
  }

  .plan-option.active::after { transform: translateY(-50%) rotate(180deg); }

  /* Open card and its panel join into one block */
  .plan-option.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .plan-detail.active {
    background: var(--green-050);
    border: 2px solid var(--green-500);
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 1.5rem;
    margin-top: -.85rem; /* cancel .plan-options gap so it sits flush */
    /* Opacity only — the slide-up shifts the page and reads as a jolt here */
    animation: fadeIn .25s var(--ease);
  }

  .plan-detail h3 { margin-bottom: .75rem; }
}

@media (max-width: 767.98px) {
  .plan-features { grid-template-columns: 1fr; gap: .85rem; }
  .plan-option { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* Stacked card — sit the chevron on the heading line, not mid-card */
  .plan-option::after {
    top: 1.25rem;
    line-height: 2.2rem; /* matches the .po-name line box */
    transform: none;
  }

  .plan-option.active::after { transform: rotate(180deg); }
  .po-price { text-align: left; }
  .plan-detail.active { padding: 1.35rem 1.15rem; }
  .plan-detail .btn { width: 100%; text-align: center; }
}

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq-head {
  max-width: 720px;
  margin: 0 auto 3rem;
}

.faq-wrap { max-width: 1000px; margin: 0 auto; }

.faq-accordion .accordion-item {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0 !important;
  background: transparent;
  margin: 0;
  transition: all .35s var(--ease);
}

.faq-accordion .accordion-item:first-of-type { border-top: 1px solid var(--line); }

/* Open item lifts out of the list as a card */
.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  background: var(--white);
  border-color: transparent;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-md);
  margin: .75rem 0;
}

.faq-accordion .accordion-button {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
  background: transparent;
  padding: 1.4rem 1.5rem;
  box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) { color: var(--green-700); }

.faq-num {
  flex: 0 0 auto;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold-600);
  transition: color .3s var(--ease);
}

.accordion-button:not(.collapsed) .faq-num { color: var(--gold-500); }

.faq-q { flex: 1; }

/* Circular plus that turns into a cross */
.faq-accordion .accordion-button::after {
  flex: 0 0 38px;
  background-image: none;
  content: '\f64d'; /* bi-plus-lg */
  font-family: 'bootstrap-icons';
  font-weight: normal;
  font-size: .9rem;
  line-height: 36px;
  text-align: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--green-700);
  margin-left: .5rem;
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease);
}

.faq-accordion .accordion-button:hover::after {
  border-color: transparent;
  background: var(--green-050);
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(135deg);
  background: var(--grad-green);
  border-color: transparent;
  color: var(--gold-300);
}

.faq-accordion .accordion-body {
  padding: 0 1.5rem 1.5rem 4.35rem;
  font-size: .96rem;
  color: var(--body);
}

/* Closing CTA strip */
.faq-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  border: 1px dashed rgba(11, 74, 47, .28);
  border-radius: var(--radius);
  background: var(--white);
}

.faq-cta h5 { font-size: 1.2rem; margin-bottom: .25rem; }
.faq-cta p { font-size: .95rem; margin: 0; }

@media (max-width: 575.98px) {
  .faq-accordion .accordion-button { padding: 1.15rem 1.1rem; gap: .75rem; font-size: 1rem; }
  .faq-accordion .accordion-body { padding: 0 1.1rem 1.25rem 3.4rem; }
  .faq-cta { flex-direction: column; align-items: flex-start; padding: 1.5rem 1.35rem; }
  .faq-cta .btn { width: 100%; text-align: center; }
}

/* --------------------------------------------------------------------------
   16. CAPABILITIES
   -------------------------------------------------------------------------- */
.capabilities { background: var(--green-050); }

.cap-head {
  max-width: 720px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.cap-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  margin-bottom: .75rem;
}

.cap-head p { font-size: 1.02rem; color: var(--body); margin: 0; }

.cap-card {
  height: 100%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 1.75rem 1.75rem;
  transition: all .35s var(--ease);
}

.cap-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.cap-icon {
  display: block;
  font-size: 1.65rem;
  color: var(--green-500);
  margin-bottom: 1.5rem;
  transition: color .35s var(--ease);
}

.cap-card:hover .cap-icon { color: var(--gold-500); }

.cap-card h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: .6rem;
}

.cap-card p { font-size: .94rem; color: var(--body); margin: 0; }

@media (max-width: 991.98px) {
  .cap-head { margin-bottom: 2rem; }
  .cap-head h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
  .cap-head p { font-size: .96rem; }
  .cap-card { padding: 1.85rem 1.4rem 1.4rem; }
  .cap-icon { font-size: 1.45rem; margin-bottom: 1.1rem; }
  .cap-card h5 { font-size: 1.08rem; }
  .cap-card p { font-size: .9rem; }
}

/* --------------------------------------------------------------------------
   17. METATRADER 5
   -------------------------------------------------------------------------- */
.mt5-title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.mt5-text {
  font-size: 1.02rem;
  color: var(--body);
  margin-bottom: 1.25rem;
}

.mt5-text:last-of-type { margin-bottom: 2rem; }

.mt5-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-050);
  line-height: 0;
}

.mt5-figure img { width: 100%; display: block; }

.mt5-why { margin-top: 4rem; }

.mt5-why .mt5-lead {
  max-width: 660px;
  margin-bottom: 2.5rem;
}

.mt5-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--green-050);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: all .35s var(--ease);
}

.mt5-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 160, 23, .45);
  box-shadow: var(--shadow-md);
}

.mt5-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green-700);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  transition: all .35s var(--ease);
}

.mt5-card:hover .mt5-icon { background: var(--grad-gold); color: var(--green-900); }

/* Text sits at the bottom so cards line up regardless of title length */
.mt5-card-body { margin-top: auto; }

.mt5-card-body h5 {
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: .6rem;
}

.mt5-card-body p {
  font-size: .93rem;
  color: var(--body);
  margin: 0;
}

@media (max-width: 991.98px) {
  .mt5-why { margin-top: 3rem; }
  .mt5-icon { margin-bottom: 1.5rem; }
}

@media (max-width: 575.98px) {
  .mt5-intro .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   17. CTA
   -------------------------------------------------------------------------- */
/* Sits between the FAQs and the footer — keep the soft band continuous */
.cta-section { background: var(--soft); padding-bottom: 4.25rem; }

.cta-box {
  background: var(--footer-bg);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}

/* Watermark layer — kept faint so the copy stays fully legible */
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../img/box-bg.jpg') center / cover no-repeat;
  opacity: .60;
  pointer-events: none;
}

.cta-box h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  margin-bottom: .85rem;
  position: relative;
  z-index: 1;
}

.cta-box p {
  color: rgba(255, 255, 255, .7);
  margin: 0;
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.cta-box .btn { position: relative; z-index: 1; }

@media (max-width: 575.98px) {
  .cta-box { padding: 2.25rem 1.5rem; }
}

/* --------------------------------------------------------------------------
   18. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, .62);
  padding: 3.25rem 0 0;
}

/* Top row — brand block + socials */
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 2.25rem;
}

.footer-logo {
  height: 44px;
  filter: brightness(0) invert(1);
  margin-bottom: 1.5rem;
}

.footer-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .93rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .72);
}

.footer-socials { display: flex; gap: .75rem; }

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF2B;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1rem;
  transition: all .3s var(--ease);
}

.footer-socials a:hover {
  background: var(--grad-gold);
  color: var(--green-900);
  transform: translateY(-4px);
}

/* Legal / risk blocks */
.footer-policy {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 2rem;
}

.fp-block { margin-bottom: 1.75rem; }
.fp-block:last-child { margin-bottom: 0; }

.footer .fp-block h6 {
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  margin-bottom: .85rem;
}

.fp-block p {
  font-size: .77rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .58);
  margin-bottom: .9rem;
}

.fp-block p:last-child { margin-bottom: 0; }

.fp-block a { color: var(--gold-300); }
.fp-block a:hover { color: var(--gold-400); text-decoration: underline; }

.footer-bottom {
  margin-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1.5rem 0;
}

.footer-bottom p {
  margin: 0;
  font-size: .9rem;
  color: rgba(255, 255, 255, .85);
}

@media (max-width: 575.98px) {
  .footer-top { gap: 1.5rem; }
  .footer-socials a { width: 42px; height: 42px; }
}

/* --------------------------------------------------------------------------
   19. SCROLL REVEAL
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   20. RESPONSIVE TWEAKS — tighten type, imagery, sections and boxes
   -------------------------------------------------------------------------- */

/* ---- Tablet (≤ 991px) ---- */
@media (max-width: 991.98px) {
  body { font-size: .95rem; line-height: 1.7; }

  /* Sections */
  .section { padding: 3.25rem 0; }
  .highlights { padding: 3rem 0 2.5rem; }
  .cta-section { padding-bottom: 3.25rem; }
  .footer { padding: 2.5rem 0 0; }

  /* Headings + body copy */
  .section-title { font-size: clamp(1.6rem, 4vw, 2.1rem); margin: .75rem 0 .85rem; }
  .section-text { font-size: .96rem; }
  .pill { font-size: .8rem; padding: .38rem .95rem; }

  /* Hero */
  .hero-title { font-size: clamp(2rem, 6vw, 3rem); margin: 1.25rem 0 1rem; }
  .hero-text { font-size: 1rem; margin-bottom: 1.75rem; }
  .hero-badge { font-size: .95rem; padding: .4rem 1.25rem .4rem .4rem; }
  .hero-badge img { width: 38px; height: 38px; }
  .btn-hero { padding: .85rem 1.9rem; font-size: 1rem; }

  /* Hero imagery — keep it from dominating the fold */
  .hero-visual { max-width: 560px; margin-inline: auto; }

  /* Cards / boxes */
  .highlight-icon { width: 62px; height: 62px; font-size: 1.5rem; margin-bottom: 1.15rem; }
  .highlight-item h4 { font-size: 1.3rem; }
  .highlight-item p { font-size: .95rem; }

  .about-head { margin-bottom: 2rem; }
  .about-panel { padding: 2rem 1.75rem; }
  .about-panel h3 { font-size: 1.4rem; }
  .ap-icon { width: 56px; height: 56px; font-size: 1.4rem; margin-bottom: 1.25rem; }
  .ap-stat strong { font-size: 1.3rem; }
  .mv-card { padding: 1.5rem 1.35rem; margin-bottom: 1rem; }
  .mv-body h4 { font-size: 1.15rem; }

  .feature-card { padding: 1.6rem 1.4rem; }
  .feature-icon { width: 52px; height: 52px; font-size: 1.35rem; margin-bottom: 1rem; }
  .feature-card h5 { font-size: 1.05rem; }

  .why-item { margin-top: 1.35rem; }
  .why-stat-card { padding: 1.75rem; }
  .ws-value { font-size: 2rem; margin-bottom: 1.25rem; }
  .ws-bars { height: 120px; }

  .step-card { padding: 1.85rem 1.4rem 1.6rem; }
  .step-icon { width: 54px; height: 54px; font-size: 1.35rem; margin-bottom: 1rem; }
  .step-num { font-size: 3rem; }

  .plan-detail h3 { font-size: 1.6rem; }
  .plan-detail > p { font-size: .96rem; margin-bottom: 1.5rem; }
  .plan-features { margin-bottom: 1.75rem; gap: .85rem 1.25rem; }
  .plan-features li { font-size: .94rem; }
  .plan-option { padding: 1.4rem 3.25rem 1.4rem 1.5rem; } /* right gap for the chevron */
  .po-name { font-size: 1.3rem; }
  .po-desc { font-size: .9rem; }
  .po-price strong { font-size: 2rem; }

  .mt5-title { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: 1rem; }
  .mt5-text { font-size: .96rem; margin-bottom: 1rem; }
  .mt5-card { padding: 1.35rem 1.25rem; }
  .mt5-card-body h5 { font-size: 1.08rem; }
  .mt5-card-body p { font-size: .9rem; }

  .faq-head { margin-bottom: 2rem; }
  .faq-accordion .accordion-button { font-size: 1rem; padding: 1.15rem 1.25rem; }
  .faq-accordion .accordion-body { padding: 0 1.25rem 1.25rem 3.9rem; font-size: .93rem; }

  .cta-box { padding: 2.25rem 1.75rem; }
  .cta-box h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
  .cta-box p { font-size: .96rem; }

  .btn { padding: .68rem 1.5rem; font-size: .96rem; }
  .btn-lg { padding: .8rem 1.85rem; font-size: 1rem; }
}

/* ---- Mobile (≤ 767px) ---- */
@media (max-width: 767.98px) {
  body { font-size: .92rem; }

  .section { padding: 2.5rem 0; }
  .highlights { padding: 2.25rem 0 1.75rem; }
  .cta-section { padding-bottom: 2.5rem; }
  .footer { padding: 2.25rem 0 0; }

  .section-title { font-size: 1.65rem; }
  .hero { padding: 8rem 0 3.5rem; }
  .hero-title { font-size: 2.15rem; }
  .hero-text { font-size: .96rem; }

  /* Hero imagery scaled down so the copy stays the focus */
  .hero-visual { max-width: 440px; }

  .highlight-icon { width: 54px; height: 54px; font-size: 1.35rem; }
  .highlight-item h4 { font-size: 1.18rem; }

  .about-panel { padding: 1.75rem 1.35rem; }
  .mv-card { padding: 1.35rem 1.15rem; }
  .feature-card { padding: 1.4rem 1.25rem; }
  .step-card { padding: 1.6rem 1.25rem 1.4rem; }
  .why-stat-card { padding: 1.5rem 1.35rem; }
  .plan-option { padding: 1.25rem 3rem 1.25rem 1.25rem; }
  .mt5-card { padding: 1.25rem 1.1rem; }
  .cta-box { padding: 1.85rem 1.35rem; }

  .mt5-why { margin-top: 2.25rem; }
  .mt5-figure { border-radius: var(--radius); }
}

/* ---- Small phones (≤ 575px) ---- */
@media (max-width: 575.98px) {
  .section { padding: 2.25rem 0; }
  .hero { padding: 7rem 0 3rem; }
  .hero-title { font-size: 1.95rem; }
  .section-title { font-size: 1.5rem; }
  .po-price strong { font-size: 1.75rem; }
  .plan-detail h3 { font-size: 1.4rem; }
  .footer-logo { height: 38px; margin-bottom: 1.1rem; }
  .fp-block p { font-size: .84rem; }
  .footer-bottom p { font-size: .88rem; }
}
