:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --fg: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --card: #ffffff;
  --primary: #059669; /* Emerald Green from logo */
  --primary-fg: #ffffff;
  --profit: #10b981;
  --profit-soft: #d1fae5;
  --loss: #ef4444;
  --loss-soft: #fee2e2;
  --highlight: #f59e0b;
  --highlight-soft: #fef3c7;
  --radius: 14px;
  --shadow-soft: 0 1px 2px rgba(15,23,42,.04), 0 4px 16px rgba(15,23,42,.05);
  --shadow-lift: 0 8px 32px rgba(15,23,42,.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--fg); -webkit-font-smoothing: antialiased; line-height: 1.5; overflow-x: hidden; }
h1,h2,h3,h4 { font-family: 'Plus Jakarta Sans','Inter',sans-serif; letter-spacing: -.02em; line-height: 1.15; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
h2.xl { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; }
p { color: var(--fg); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) {
  .container { padding: 0 24px; }
}
.muted { color: var(--muted); }
.muted-xs { color: var(--muted); font-size: 11px; }
.profit { color: var(--profit); font-weight: 600; }
.loss { color: var(--loss); font-weight: 600; }
.small { font-size: 13px; }
.xs { font-size: 11px; }
.b { font-weight: 600; }
.text-fg { color: var(--fg); }
.mt { margin-top: 12px; }
.mt-lg { margin-top: 40px; }
.center { text-align: center; }
.center-row { justify-content: center; }
.row { display: flex; align-items: center; }
.row.between { justify-content: space-between; gap: 12px; }
.row.gap { gap: 12px; }
.stack > * + * { margin-top: 12px; }

/* TOPBAR */
.topbar { display: none; border-bottom: 1px solid var(--border); background: rgba(247,248,250,.7); backdrop-filter: blur(8px); font-size: 12px; color: var(--muted); }
@media (min-width: 768px){ .topbar { display: block; } }
.topbar-inner { padding: 8px 24px; display: flex; justify-content: space-between; }
.topbar-left, .topbar-right { display: flex; gap: 16px; }
.dot-live { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--profit); display: inline-block; animation: pulseSoft 3s ease-in-out infinite; }
.dot-profit { background: var(--profit); }

/* NAVBAR */
.navbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.6); backdrop-filter: blur(8px); transition: all .3s; }
.navbar.scrolled { background: rgba(255,255,255,.85); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.nav-inner { height: 104px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; }
.logo-mark { 
  display: flex; 
  align-items: center; 
  height: auto; 
}
.logo-mark img { 
  width: auto; 
  max-width: 180px;
  height: 48px; 
  object-fit: contain; 
}

/* Responsive logo and navbar for different breakpoints */
@media (max-width: 768px) {
  .nav-inner { height: 80px; }
  .logo-mark img {
    height: 36px;
  }
}

@media (max-width: 480px) {
  .nav-inner { height: 72px; }
  .logo-mark img {
    height: 32px;
  }
}
.nav-links { display: none; gap: 32px; }
@media (min-width: 768px){ .nav-links { display: flex; } }
.nav-links a { color: var(--muted); font-size: 14px; transition: color .2s; }
.nav-links a:hover { color: var(--fg); }
.nav-cta { display: none; align-items: center; gap: 12px; }
@media (min-width: 768px){ .nav-cta { display: flex; } }
.link { font-size: 14px; font-weight: 500; }
.menu-toggle { 
  display: grid; 
  place-items: center; 
  width: 48px; 
  height: 48px; 
  border-radius: 12px; 
  border: 1px solid var(--border); 
  background: var(--card); 
  cursor: pointer; 
  transition: all 0.3s ease; 
}
.menu-toggle:hover { 
  background: var(--surface); 
  border-color: var(--primary); 
}
.menu-toggle:active { 
  transform: scale(0.95); 
}

/* Animated hamburger lines */
.menu-icon {
  width: 24px;
  height: 24px;
}
.menu-icon .line-1,
.menu-icon .line-2,
.menu-icon .line-3 {
  transform-origin: center;
  transition: all 0.3s ease;
}
.menu-toggle.open .menu-icon .line-1 {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle.open .menu-icon .line-2 {
  opacity: 0;
}
.menu-toggle.open .menu-icon .line-3 {
  transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 768px){ .menu-toggle { display: none; } }

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99;
}
.mobile-menu-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile Sliding Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(85%, 400px);
  background: var(--card);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
@media (min-width: 768px){ 
  .mobile-menu,
  .mobile-menu-backdrop { 
    display: none !important; 
  } 
}

/* Mobile Menu Header */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-header .logo-mark {
  height: auto;
  width: auto;
}
.mobile-menu-header .logo-mark img {
  height: 48px; /* Increased by 20% from 40px */
  width: auto;
}
.mobile-menu-close {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.2s ease;
}
.mobile-menu-close:hover {
  background: var(--primary);
  color: var(--primary-fg);
  border-color: var(--primary);
}

/* Mobile Menu Navigation */
.mobile-menu-nav {
  flex: 1;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu-nav a {
  padding: 16px 20px;
  font-size: 18px;
  font-weight: 500;
  color: var(--fg);
  border-radius: 12px;
  transition: all 0.2s ease;
}
.mobile-menu-nav a:hover {
  background: var(--surface);
  color: var(--primary);
}
.mobile-menu-actions {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 12px; font-weight: 500; font-size: 15px; transition: all .2s; cursor: pointer; }
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 10px; }
.btn-primary { background: var(--primary); color: var(--primary-fg); box-shadow: var(--shadow-soft); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-outline { background: var(--card); color: var(--fg); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--surface); }
.full { width: 100%; margin-top: 24px; }

/* HERO */
.hero { position: relative; overflow: hidden; }
.grid-bg { position: absolute; inset: 0; background-image:
  linear-gradient(to right, rgba(229,231,235,.6) 1px, transparent 1px),
  linear-gradient(to bottom, rgba(229,231,235,.6) 1px, transparent 1px);
  background-size: 32px 32px; opacity: .5; pointer-events: none; }
.hero-blob { position: absolute; width: 384px; height: 384px; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.blob-1 { top: -128px; right: -128px; background: rgba(59,130,246,.1); }
.blob-2 { bottom: -128px; left: -128px; background: rgba(16,185,129,.1); }
.hero-inner { position: relative; padding: 48px 16px 80px; display: grid; gap: 32px; align-items: center; }
.hero-copy h1 {
  font-size: clamp(2rem, 7vw, 3.5rem);
  line-height: 1.1;
}
.lead {
  font-size: clamp(1rem, 3vw, 1.125rem);
}
@media (min-width: 768px) {
  .hero-inner {
    padding: 64px 24px 100px;
    gap: 48px;
  }
}
@media (min-width: 1024px){ .hero-inner { grid-template-columns: 1fr 1fr; padding: 100px 24px 140px; } }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); font-size: 12px; font-weight: 500; box-shadow: var(--shadow-soft); }
.hero-copy h1 { margin-top: 24px; }
.grad-text { background: linear-gradient(90deg, #3b82f6, #06b6d4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 24px; font-size: 18px; color: var(--muted); max-width: 36rem; line-height: 1.7; }
.hero-ctas { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 480px) {
  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
.hero-meta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; color: var(--muted); }

/* HERO CARD */
.hero-card-wrap { position: relative; }
.hero-card { position: relative; border-radius: 16px; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow-lift); padding: 20px; animation: rise .9s cubic-bezier(.16,1,.3,1) both; }
.big-num { font-size: 26px; font-weight: 700; margin-top: 2px; }
.badge-profit { background: var(--profit-soft); color: var(--profit); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge-loss { background: var(--loss-soft); color: var(--loss); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge-highlight { background: var(--highlight-soft); color: var(--highlight); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.hero-chart { margin-top: 16px; border-radius: 12px; background: var(--surface); padding: 12px; }
.hero-chart svg { width: 100%; height: 128px; }
.hero-times { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); padding: 0 4px; }
.hero-stocks { margin-top: 16px; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 480px) {
  .hero-stocks { grid-template-columns: 1fr 1fr; }
}
.mini-card { border: 1px solid var(--border); border-radius: 10px; padding: 12px; transition: all .2s; }
.mini-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.mini-card .row { justify-content: space-between; font-size: 13px; }
.mini-card .muted { font-size: 13px; margin-top: 4px; }
.float-card { position: absolute; padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow-lift); animation: float 6s ease-in-out infinite; display: none; }
@media (min-width: 768px){ .float-card { display: block; } }
.float-1 { left: -24px; bottom: -24px; }
.float-2 { right: -16px; top: -16px; animation-duration: 7s; animation-delay: .6s; }

/* TICKER */
.ticker-wrap { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(247,248,250,.6); overflow: hidden; }
.ticker { display: flex; gap: 40px; padding: 12px 0; white-space: nowrap; animation: ticker 40s linear infinite; width: max-content; }
.ticker-item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.ticker-item b { font-weight: 600; }

/* SECTIONS */
.section { padding: 80px 24px; }
.stats { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-inner { padding: 80px 0; }
.section.narrow { max-width: 768px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.eyebrow { font-size: 14px; font-weight: 500; color: var(--primary); }
.section h2 { margin-top: 8px; }
.section p.muted { margin-top: 12px; max-width: 42rem; }
.muted-link { color: var(--muted); font-size: 14px; }
.muted-link:hover { color: var(--fg); }
.footnote { margin-top: 16px; font-size: 12px; color: var(--muted); text-align: center; }
.footnote.left { text-align: left; margin-top: 16px; }
.notice { border: 1px solid var(--border); background: var(--surface); padding: 14px 18px; border-radius: 12px; font-size: 13px; color: var(--muted); line-height: 1.6; }

/* GRIDS */
.grid-3, .grid-4, .grid-5 { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-5 { grid-template-columns: 1fr; }
@media (min-width: 480px){
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-5 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 640px){ 
  .grid-3 { grid-template-columns: repeat(2,1fr); } 
}
@media (min-width: 768px){ 
  .grid-3 { grid-template-columns: repeat(3,1fr); } 
  .grid-4 { grid-template-columns: repeat(4,1fr); } 
}
@media (min-width: 900px){
  .grid-5 { grid-template-columns: repeat(3,1fr); } 
}
@media (min-width: 1024px){ 
  .grid-5 { grid-template-columns: repeat(5,1fr); } 
}

.two-col { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px){ .two-col { grid-template-columns: 1fr 1fr; } }

/* CARDS */
.card { border: 1px solid var(--border); background: var(--card); border-radius: 16px; transition: all .3s; position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pad-md { padding: 24px; }
.pad-lg { padding: 28px; }
.card-title { font-weight: 600; font-size: 17px; margin-top: 12px; }
.icon-pill { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(59,130,246,.1); color: var(--primary); font-size: 20px; }
.step-n { font-size: 13px; font-weight: 600; color: var(--primary); }
.check-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.check-list li { color: var(--fg); }
.stat-num { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }

/* STOCKS / INDICES */
.stock-card .row { justify-content: space-between; }
.icon-trend { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; }
.icon-up { background: var(--profit-soft); color: var(--profit); }
.icon-down { background: var(--loss-soft); color: var(--loss); }

/* PRICING */
.plan-name { font-size: 14px; font-weight: 600; color: var(--muted); }
.price { margin-top: 12px; font-size: 36px; font-weight: 700; display: flex; align-items: baseline; gap: 6px; }
.card.featured { border-color: var(--primary); box-shadow: var(--shadow-lift); }
.badge-most { position: absolute; top: -12px; left: 28px; background: var(--primary); color: var(--primary-fg); padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }

/* CHART PREVIEW */
.tabs { display: flex; gap: 4px; }
.tab { padding: 6px 10px; border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--muted); }
.tab.active { background: var(--primary); color: var(--primary-fg); }
.big-chart { width: 100%; height: 224px; margin-top: 16px; }

/* TESTIMONIALS */
.quote-mark { font-size: 32px; color: var(--primary); line-height: 1; font-family: serif; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(59,130,246,.1); color: var(--primary); font-weight: 600; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-weight: 500; text-align: left; font-size: 16px; }
.faq-q .chev { transition: transform .3s; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s, padding .3s; }
.faq-item.open .faq-a { grid-template-rows: 1fr; padding-bottom: 20px; }
.faq-a > div { overflow: hidden; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* CTA BOX */
.cta-box { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--border); background: linear-gradient(135deg, var(--surface), var(--card)); padding: 60px 32px; text-align: center; box-shadow: var(--shadow-soft); }
.cta-box .pill { margin-bottom: 24px; }
.cta-box h2 { margin-bottom: 16px; }
.cta-box .muted { margin: 0 auto 32px; max-width: 600px; }
.cta-box .row { margin-top: 8px; }

/* FOOTER */
.footer { border-top: 1px solid var(--border); background: var(--surface); padding: 56px 0 32px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 640px){ .footer-grid { grid-template-columns: 2fr 1fr; } }
@media (min-width: 768px){ .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.link-list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.link-list a:hover { color: var(--fg); }
.footer-bottom { padding-top: 32px; margin-top: 32px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); text-align: center; }

/* BREADCRUMBS */
.breadcrumb-nav { margin-bottom: 20px; }
.breadcrumb { display: flex; align-items: center; gap: 6px; list-style: none; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.breadcrumb li a { color: var(--muted); text-decoration: none; transition: color .2s; }
.breadcrumb li a:hover { color: var(--primary); }
.breadcrumb li[aria-current="page"] { color: var(--fg); font-weight: 500; }

/* LEGAL PAGES */
.legal-body { line-height: 1.8; }
.legal-body h3 { font-size: 1.1rem; font-weight: 700; margin: 32px 0 10px; color: var(--fg); }
.legal-body p { color: var(--fg); margin-bottom: 0; }
.legal-body p.muted { color: var(--muted); }
.legal-body ul { color: var(--muted); }
.legal-body ul li { margin-bottom: 4px; line-height: 1.7; }
.legal-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.legal-body table { font-size: 13px; }
.legal-body td, .legal-body th { font-size: 13px; color: var(--muted); }
.legal-body strong { color: var(--fg); }

/* BLOG / ARTICLE */
.article-body { line-height: 1.85; }
.article-body p { color: var(--fg); margin-bottom: 12px; }
.article-body p.lead { font-size: 1.1rem; color: var(--fg); margin-bottom: 24px; }
.article-body h2 { font-size: 1.5rem; margin: 40px 0 12px; padding-top: 8px; border-top: 1px solid var(--border); }
.article-body h3 { font-size: 1.1rem; font-weight: 700; margin: 24px 0 8px; }
.article-body ul, .article-body ol { color: var(--muted); margin-bottom: 12px; }
.article-body ul li, .article-body ol li { margin-bottom: 6px; line-height: 1.7; }
.article-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: var(--fg); }
.article-body table { margin-bottom: 16px; }
.article-body td, .article-body th { font-size: 13px; color: var(--muted); }
.hover-underline:hover { text-decoration: underline; }

/* NOTICE / DISCLAIMER BOXES */
.notice { padding: 14px 18px; background: #fef9ec; border: 1px solid #fde68a; border-radius: 10px; font-size: 13px; color: #78350f; line-height: 1.6; }
.notice a { color: #92400e; }

/* ABOUT / GRID HELPERS */
.grid-1 { display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr !important; }
  .article-body h2 { font-size: 1.25rem; }
}

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* CHART ANIMATION */
.draw-line { stroke-dasharray: 900; stroke-dashoffset: 900; animation: drawLine 2.4s ease-out .3s forwards; }
.draw-line.big { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: drawLine 3s ease-out forwards; }

@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulseSoft { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }