/*
Theme Name: EquitiSurge Institutional
Theme URI: https://equitisurge.com
Author: Antigravity
Author URI: https://equitisurge.com
Description: A quiet luxury, modern institutional Forex fund management theme engineered for high-precision absolute returns.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: equitisurge

==========================================================================
$10B FINANCIAL PORTAL - CORE DESIGN SYSTEM
========================================================================== */

:root {
  /* Brand Color Architecture - Quiet Luxury */
  --bg-dark: #05080E;             /* Velvet Deep Navy */
  --bg-charcoal: #0F172A;         /* Slate Charcoal */
  --bg-light: #FAFBFC;            /* Clean Light Ivory */
  --color-blue: #0A3F8D;          /* Royal Accent Blue */
  --color-blue-dark: #05224e;
  --color-blue-glow: rgba(10, 63, 141, 0.08);
  --color-gold: #D4AF37;          /* Premium Gold */
  --color-gold-dark: #b5922c;
  --color-gold-glow: rgba(212, 175, 55, 0.12);
  
  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* Borders & Layout */
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light: rgba(10, 63, 141, 0.08);
  --text-white: #FFFFFF;
  --text-muted: #CBD5E1;
  --text-dark: #0F172A;
  --text-gray: #475569;
  --text-light-gray: #94A3B8;
  --color-green: #10B981;         /* Emerald Yield */
  --color-red: #EF4444;           /* Drawdown Red */
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  --transition-premium: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Core Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Layout Patterns */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
  width: 100%;
}

.section {
  padding: 10rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-white);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.section-charcoal {
  background-color: var(--bg-charcoal);
  color: var(--text-white);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.section-light {
  background-color: var(--bg-light);
  color: var(--text-dark);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-light h1, .section-light h2, .section-light h3, .section-light h4 {
  color: var(--text-dark);
}

.section-light p {
  color: var(--text-gray);
}

/* Grid layouts */
.grid {
  display: grid;
  gap: 3rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

/* Typographic Hierarchy */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.serif-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}

.display-title {
  font-size: clamp(3rem, 6vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}

.display-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 3.5rem;
  max-width: 620px;
}

.section-light .display-subtitle {
  color: var(--text-gray);
}

.section-header {
  max-width: 800px;
  margin-bottom: 6rem;
}

.section-header h2 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.section-light .section-header p {
  color: var(--text-gray);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
  background-color: rgba(255, 255, 255, 0.02);
  color: var(--color-gold);
  margin-bottom: 2.5rem;
}

.section-light .badge {
  border-color: var(--border-light);
  background-color: rgba(10, 63, 141, 0.03);
  color: var(--color-blue);
}

/* Buttons (UNDERLINES REMOVED) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.1rem 2.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-premium);
  white-space: nowrap;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none !important; /* CRITICAL: No underlines */
}

.btn-primary {
  background-color: var(--color-blue);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(10, 63, 141, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10, 63, 141, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-white);
  border-color: var(--border-dark);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.03);
  transform: translateY(-2px);
}

.section-light .btn-secondary {
  color: var(--text-dark);
  border-color: rgba(10, 63, 141, 0.15);
}

.section-light .btn-secondary:hover {
  background-color: rgba(10, 63, 141, 0.02);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: #FFFFFF;
  box-shadow: var(--color-gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}

/* Cards */
.card {
  background-color: var(--bg-charcoal);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-premium);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(10, 63, 141, 0.1);
  border-color: var(--color-blue);
}

.section-light .card {
  background-color: #FFFFFF;
  border-color: var(--border-light);
  box-shadow: 0 10px 40px rgba(10, 63, 141, 0.02);
}

.section-light .card:hover {
  border-color: rgba(10, 63, 141, 0.15);
  box-shadow: 0 20px 50px rgba(10, 63, 141, 0.05);
}

.card-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  margin-bottom: 2rem;
}

.section-light .card-icon {
  background-color: rgba(10, 63, 141, 0.03);
  color: var(--color-blue);
}

/* ==========================================================================
   HEADER NAVIGATION (WordPress Integrated Layout)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 8, 14, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-dark);
  padding: 1.5rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-white);
  text-decoration: none;
  letter-spacing: -0.03em;
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-premium);
}

.nav-menu a:hover {
  color: var(--color-gold);
}

/* ==========================================================================
   SECTION 1: HERO STATS & METRICS
   ========================================================================== */
.hero-stats-panel {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.hero-stat-item strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-gold);
  font-family: var(--font-sans);
}

.hero-stat-item span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light-gray);
}

/* Scroll Indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light-gray);
  margin-top: 5rem;
  cursor: pointer;
}

.scroll-mouse {
  width: 20px;
  height: 35px;
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-full);
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--color-gold);
  border-radius: var(--radius-full);
  position: absolute;
  top: 6px;
  left: calc(50% - 2px);
  animation: wheel 1.5s infinite;
}

@keyframes wheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ==========================================================================
   SECTION 2: TRUST STRIP
   ========================================================================== */
.trust-strip {
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 5rem 0;
  background-color: var(--bg-charcoal);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.trust-card {
  text-align: center;
  border-right: 1px solid var(--border-dark);
  padding-right: 2rem;
}

.trust-card:last-child {
  border-right: none;
  padding-right: 0;
}

.trust-number {
  font-size: 3rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.trust-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light-gray);
}

/* ==========================================================================
   SECTION 5: PROCESS TIMELINE
   ========================================================================== */
.timeline-wrap {
  position: relative;
  margin-top: 5rem;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--color-gold) 0%, transparent 100%);
  transform: translateX(-50%);
}

.timeline-node {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  position: relative;
  margin-bottom: 6rem;
}

.timeline-node:last-child {
  margin-bottom: 0;
}

.timeline-content-block {
  padding: 3rem;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(10, 63, 141, 0.02);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 2rem;
  width: 12px;
  height: 12px;
  background-color: var(--color-gold);
  border: 3px solid var(--bg-light);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-node:nth-child(even) .timeline-content-block {
  grid-column: 2;
}

.timeline-node:nth-child(odd) .timeline-content-block {
  grid-column: 1;
  text-align: right;
}

/* ==========================================================================
   SECTION 7: PERFORMANCE DASHBOARD (Bloomberg Style & Fully Interactive)
   ========================================================================== */
.bloomberg-panel {
  background-color: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 4rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.bloomberg-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
}

.bloomberg-metrics-table {
  width: 100%;
  border-collapse: collapse;
}

.bloomberg-metrics-table td {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-dark);
  font-size: 0.9375rem;
}

.bloomberg-metrics-table tr:last-child td {
  border-bottom: none;
}

.bloomberg-label {
  color: var(--text-light-gray);
  font-weight: 500;
}

.bloomberg-value {
  text-align: right;
  font-weight: 800;
  font-family: monospace;
  font-size: 1.125rem;
}

.bloomberg-table-wrap {
  background-color: var(--bg-charcoal);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 2rem;
}

/* Interactive Tab Styles */
.bloom-tabs {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.bloom-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-light-gray);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: var(--transition-premium);
  border-radius: var(--radius-sm);
}

.bloom-tab-btn.active {
  color: var(--color-gold);
  background-color: rgba(255,255,255,0.02);
}

/* Range inputs styling */
.range-input {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-full);
  outline: none;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--color-gold);
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(10, 63, 141, 0.2);
  cursor: pointer;
}

/* Unified Custom Pricing Modeler card */
.unified-pricing-box {
  background-color: var(--bg-charcoal);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 4rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

/* FAQs - CLEAN HIGH END DESIGN */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-accordion {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 1.5rem 0;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-white);
  transition: var(--transition-premium);
}

.faq-header:hover {
  color: var(--color-gold);
}

.faq-content {
  display: none;
  padding-top: 1rem;
  color: var(--text-light-gray);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.faq-accordion.active .faq-content {
  display: block;
}

.faq-icon {
  color: var(--color-gold);
  transition: transform var(--transition-premium);
}

.faq-accordion.active .faq-icon {
  transform: rotate(180deg);
}

/* Testimonials */
.testimonial-card {
  background: var(--bg-charcoal);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
}

/* ==========================================================================
   INSTITUTIONAL FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: 5rem 0;
  font-size: 0.8125rem;
  color: var(--text-light-gray);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

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

.footer-links-col h4 {
  color: var(--text-white);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-col a {
  color: var(--text-light-gray);
  text-decoration: none;
  transition: var(--transition-premium);
}

.footer-links-col a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 3rem;
  font-size: 0.75rem;
  line-height: 1.7;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .grid-2, .grid-3, .grid-4, .bloomberg-grid, .unified-pricing-box, .footer-top { grid-template-columns: 1fr; gap: 4rem; }
  .hero-stats-panel { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-card { border-right: none; }
  .timeline-line { display: none; }
  .timeline-node { grid-template-columns: 1fr; gap: 2rem; }
  .timeline-node:nth-child(odd) .timeline-content-block, 
  .timeline-node:nth-child(even) .timeline-content-block {
    grid-column: 1;
    text-align: left;
  }
  .timeline-dot { display: none; }
  .nav-menu { display: none; } /* Standard Mobile Menu Fallback */
}

@media (max-width: 768px) {
  .hero-stats-panel { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
}
