/* Equirise Theme - Exact Prototype Match */

/* Import fonts from prototype (use relative path so CSS remains static) */
@font-face {
  font-family: "Marion";
  src: url('../fonts/Marion-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

/* Color variables from prototype */
:root {
  /* Primary - Dark Navy #081928 (208 67% 9%) */
  --primary: #081928;
  --primary-foreground: #ffffff;
  
  /* Secondary - Slate Blue #27394b (210 32% 22%) */
  --secondary: #27394b;
  --secondary-foreground: #ffffff;
  
  /* Tertiary - Lighter Slate #3d5466 (207 27% 32%) */
  --tertiary: #3d5466;
  --tertiary-foreground: #ffffff;
  
  /* Muted colors */
  --muted: #f0f4f8;
  --muted-foreground: #646f7d;
  
  /* Backgrounds */
  --background: #ffffff;
  --foreground: #081928;
  --card: #ffffff;
  --card-foreground: #081928;
  
  /* Accent */
  --accent: #3d5466;
  --border: #e0e7f1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica Neue Custom', system-ui, -apple-system, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Marion', serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p { font-size: 16px; }
small { font-size: 14px; }

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px -2px rgba(8, 25, 40, 0.08);
  
      backdrop-filter: blur(15px);
    background: #ffffffdb !important;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--foreground);
  font-weight: 700;
}

.brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.primary-nav .menu {
  list-style: none;
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  font-size: .875rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: .75rem;
  transition: color 200ms;
  position: relative;
}

.primary-nav a:hover {
  color: var(--foreground);
}

.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #081826;
  transition: width 300ms;
}

.primary-nav a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(8, 25, 40, 0.12);
}

.btn-primary:hover {
  background: var(--secondary);
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
  background: #fff;
  color: #26384a;
  border: 1px solid #e5e6e8;
  border-radius: .75rem !important;
  font-size: 1rem;
  font-weight: 600;
  line-height: 34px;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
  transition: all 0.5s ease !important;
}


.btn-secondary:hover {
  background: #26384a;
  color: #fff;
  transform: translateY(-2px);
}

/* Main content */
main {
  /* padding-top: 80px; */
  min-height: 100vh;
}

/* Sections */
section {
  padding: 60px 0;
}

section.hero {
  background: #fff;
  padding: 6rem 0 4rem;
}

section.market {
  background: #0818260a;
}

section.services {
  background: var(--background);
}

section.why {
  background: linear-gradient(180deg, hsl(208 67% 9%) 0%, hsl(210 32% 22%) 50%, hsl(207 27% 32%) 100%);;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

section.about {
  background: var(--background);
}

/* About section layout */
.about-inner {
  padding: 80px 0;
}

.about-text {
    text-align: center;
}

.about-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

.about-subhead {
    color: #081826;
    font-weight: 600;
    font-size: .875rem;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.about-title {
    font-family: 'Marion', serif;
    font-size: 3rem;
    margin: 0 0 18px;
    color: #081826;
    font-weight: 700;
}

.about-ctas {
    margin-top: 3rem !important;
}

.about-content p {
color: #456687;
    font-size: 1.125rem;
    max-width: 1000px;
    margin: 20px auto;
}

.about-ctas .btn.btn-primary {
    background: #26384a;
    border-radius: 999px;
    padding: .75rem 1.25rem;
    font-size: .875rem !important;
    font-weight: 500;
    display: inline-flex;
}

.about-ctas .btn.btn-secondary {
    background: #26384a;
    border-radius: 999px !important;
    padding: .75rem 1.25rem !important;
    font-size: .875rem !important;
    font-weight: 500;
    color: #fff;
    line-height: 21px;
    display: inline-flex;
}






































.about-content {
  color: var(--muted-foreground);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-ctas .btn {
  margin-right: 12px;
}
.about-pillars {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 12px;
  margin-top: 20px;
}
/*.pillar-card {*/
/*  display: flex;*/
/*  gap: 12px;*/
/*  align-items: flex-start;*/
/*  background: #fff;*/
/*  border: 1px solid var(--border);*/
/*  border-radius: 10px;*/
/*  padding: 12px;*/
/*  box-shadow: 0 4px 16px rgba(8,25,40,0.04);*/
/*}*/
.pillar-icon { width: 48px; height:48px; display:flex;align-items:center;justify-content:center;border-radius:8px;background:var(--muted); }
.pillar-title { display:block; margin-bottom:6px; font-weight:700; }
.pillar-desc { margin:0; color:var(--muted-foreground); font-size:14px; }
.about-media img { width:100%; height:auto; border-radius:12px; display:block; }


section.mission {
  background: #f8fafc;
}

section.why-features {
  background: var(--primary);
  color: var(--background);
}

section.strategy {
  background: var(--background);
}

section.contact {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: white;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 24px -2px rgba(8, 25, 40, 0.08);
  transition: all 300ms;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px -4px rgba(8, 25, 40, 0.12);
}

/* Grid */
.grid {
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--background);
  padding: 60px 0 0;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding: 60px 16px;
}

footer .brand-col {
  grid-column: span 2;
}

footer .brand-col img {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

footer img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

footer .brand-col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

footer .footer-links {
  list-style: none;
}

footer .footer-links li {
  margin-bottom: 12px;
}

footer .footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 200ms;
}

footer .footer-links a:hover {
  color: white;
}

footer h4 {
  font-size: 16px;
  margin-bottom: 16px;
  color: white;
}

footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* Market Ticker */
.ticker {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    white-space: nowrap;
    margin-top: 5rem;
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #0818260d;
}

.tick-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--foreground);
  flex-shrink: 0;
}

.tick-item strong {
  font-weight: 600 !important;
}

.tick-item em {
  font-style: normal;
  color: var(--muted-foreground);
}

.tick-item.up em {
  color: #16a34a;
}

.tick-item.down em {
  color: #dc2626;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  background: #f0f4f8;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--foreground);
}

.stat-label {
  color: var(--muted-foreground);
  font-size: 14px;
}

p.why-bullet {
    font-size: .875rem !important;
    font-weight: 500 !important;
    color: #fff !important;
    background: #0818261a;
    padding: 6px 12px;
    border-radius: 16px;
    display: inline-block;
}

p.why-bullet::before {
    content: "●";
    color: #ffffff80;
    font-weight: bold;
    margin-right: 5px;
    flex-shrink: 0;
}

.services-grid .card.service-card:last-child {
    grid-column: 1 / -1; /* spans full width of the grid */
}


/* Responsive */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .from_flex {
        flex-direction: column;
    }
    
    .hero {
        padding: 2rem 0 2rem !important;
    }
    
    #hero .hero_flex {
        grid-template-columns: unset !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
    
    p{
        font-size: 1rem !important;
    }

    .why {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .services {
        padding: 50px 0 !important;
    }
    
    .feature-card {
        flex-direction: column;
    }
    
    .equirise {
        margin-left: 0 !important;
    }
    
    p.exp_count {
        font-size: 2rem !important;
    }
    
    .banner_top_btn span{
        font-size: 12px !important;
    }
    
    .market_pulse_head {
        font-size: 2rem !important;
    }
.price_Flex .text-sm {
    font-size: .875rem !important;
}

.price_Flex .text-xs {
    font-size: .75rem !important;
}

.price_hike {
    font-size: 1.2rem;
}

.top_success_rate {
    right: -20px !important;
}

.portfolio-growth-badge {
    left: -20px !important;
 }
 
 .pillar-card {
    flex-direction: column;
    justify-content: flex-start !important;
    align-items: flex-start !important;
        gap: 0px;
}
    
    .success_info p{
    font-size: .75rem !important;
    }
    
    .portfolio-info p {
    font-size: .75rem !important;
    }
    
    
.equirise {
    width: 100% !important;
}

.send-message-btn {
    margin-top: 1.4rem !important;
}

section#mission {
    padding: 40px 0 !important;
}

section#about {
    padding: 40px 0  30px !important;
}

.about-ctas .btn {
    margin-bottom: 1rem;
}

    
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  
  .primary-nav .menu {
    display: none;
  }

  .started-button.mobile-only {
    display: block;
    width: 100%;
  }

  .contact-grid {
      grid-template-columns: auto !important;
  }

  #hero .container {
    grid-template-columns: unset !important;
  }


  .hero h1 {
    font-size: 2rem !important;
    line-height: 2.5rem !important;
}

.counter_section {
  grid-template-columns: unset !important;
  justify-content: center;
  margin-bottom: 1rem;
}

.market {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.stats {
  grid-template-columns: unset !important;
}

.build_wealth_parent .left_cont h1 {
  font-size: 2.5rem !important;
}

.counter_section div {
  text-align: center !important;
}


.footer_flex_qq {
    flex-direction: column;
}

.footer_flex_cont {
    justify-content: center !important;
}

p.footer_flex_qq {
    font-size: 14px !important;
}

.cta {
    padding: 40px 0 !important;
    margin: 0 !important;
}

footer {
    padding: 20px 0 !important;
}



}

/* DESKTOP */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* HAMBURGER */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 9999;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #000;
  display: block;
  margin: 5px 0;
}

/* MOBILE */
@media (max-width: 992px) {
  .started-button.deaktop-only .mobile-btn{
    display: none;
  }

  .started-button.deaktop-only {
    display: none;
}

.started-button.mobile-only {
  display: block !important;
}

  .hamburger {
    display: block;
  }

  /* ðŸ”¥ FORCE HIDE MENU */
  .primary-nav {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    flex-direction: column;
  }

  /* ðŸ”¥ SHOW ONLY WHEN ACTIVE */
  .primary-nav.active {
        display: flex !important;
        position: absolute;
        top: 80%;
        left: 0;
        width: 100%;
        z-index: 9;
        box-shadow: 0px 15px 15px 0 rgb(38 50 56 / 14%);
        padding: 5px 5px 20px !important;
        animation: fadeInDown;
        animation-duration: 0.5s;
        flex-basis: 100%;
        flex-grow: 1;
  }
  
    @keyframes fadeInDown {
      0% { opacity: 0; -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0);}
      
      100% { opacity: 1; -webkit-transform: translateZ(0); transform: translateZ(0);}
  }


  .primary-nav .menu {
    flex-direction: column;
    width: 100%;
  }

  .primary-nav .menu li {
    width: 100%;
  }




































    /* NAV CONTAINER */
    #primaryNav {
      background: #ffffff;
      border-top: 1px solid #eee;
      padding: 10px 0 20px;
    }
  
    /* MENU LIST */
    #primaryNav .menu {
      display: flex;
      flex-direction: column;
      padding: 0;
      margin: 0;
      gap: 0 !important;
    }
  
    /* MENU ITEM */
    #primaryNav .menu li {
      list-style: none;
      border-bottom: 1px solid #f0f0f0;
    }
  
    #primaryNav .menu li:last-child {
      border-bottom: none;
    }
  
    /* MENU LINK */
    #primaryNav .menu li a {
      display: block;
      padding: 16px 20px !important;
      font-size: 18px;
      font-weight: 600;
      color: #111;
      text-decoration: none;
    }
  
    /* ACTIVE STATE */
    #primaryNav .menu li.current-menu-item a,
    #primaryNav .menu li.current_page_item a {
      font-weight: 600;
    }
  
    /* SUBTLE TAP FEEDBACK */
    #primaryNav .menu li a:active {
      background: #f5f7fb;
    }
  
    /* CTA BUTTON */
    #primaryNav .mobile-btn {
      margin: 20px;
      padding: 16px;
      font-size: 17px;
      font-weight: 600;
      border-radius: 8px;
        width: calc(100% - 35px);
        display: block;
    }

    .mainnav {
      width: 100%;
  }
}
