/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
  /* Colors */
  --bg-white: #ffffff;
  --bg-soft: #f9fafb;
  --bg-dark: #0f172a;
  --bg-panel: #1e293b;
  
  --text-main: #171717;
  --text-muted: #6b7280;
  --text-white: #ffffff;
  --text-gray: #94a3b8;
  
  --accent: #059669; /* Emerald Green */
  --viquo-yellow: #F9C210; /* Exact Logo Yellow */
  
  --border-light: #e5e7eb;
  --border-dark: #334155;
  
  /* Fonts */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Mono', monospace;
  
  /* Layout */
  --max-width: 1120px;
  --radius: 6px;
  --radius-lg: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { 
  margin: 0; 
  font-family: var(--font-sans); 
  background: var(--bg-white); 
  color: var(--text-main); 
  line-height: 1.5; 
  -webkit-font-smoothing: antialiased; 
}
a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; padding: 0; margin: 0; } /* Global reset for lists */
img { max-width: 100%; display: block; }

/* =========================================
   2. TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; margin-top: 0; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; color: var(--text-main); }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--text-main); font-weight: 600; }
p { margin-bottom: 1.5rem; color: var(--text-muted); }

.eyebrow { 
  font-family: var(--font-mono); 
  font-size: 0.75rem; 
  text-transform: uppercase; 
  letter-spacing: 0.1em; 
  color: var(--accent); 
  margin-bottom: 1rem; 
  display: block; 
}
.mono-xs { 
  font-family: var(--font-mono); 
  font-size: 0.75rem; 
  text-transform: uppercase; 
  letter-spacing: 0.05em; 
}
.small { font-size: 0.875rem; line-height: 1.6; }

/* Utility Colors */
.text-white { color: var(--text-white) !important; }
.text-gray { color: var(--text-gray) !important; }
.text-accent { color: var(--accent) !important; }
.text-muted { color: var(--text-muted) !important; }

/* =========================================
   3. LAYOUT & SECTIONS
   ========================================= */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

.section { padding: 7rem 0; border-bottom: 1px solid var(--border-light); }
.section-white { background: var(--bg-white); }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: white; border-bottom: none; }

.section-header { max-width: 750px; margin-bottom: 4rem; }

/* Grids */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }

/* Contact Page Grid */
.contact-grid { display: grid; gap: 4rem; grid-template-columns: 1fr; }

/* =========================================
   4. HEADER & NAVIGATION
   ========================================= */
.site-header { 
  position: fixed; 
  top: 0; 
  width: 100%; 
  background: rgba(255,255,255,0.95); 
  backdrop-filter: blur(10px); 
  border-bottom: 1px solid var(--border-light); 
  z-index: 100; 
  height: 72px; 
  display: flex; 
  align-items: center; 
}

.header-inner { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  width: 100%; 
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 28px; height: 28px; }
.brand-mark img { width: 100%; height: auto; }
.brand-text { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; color: var(--text-main); }

/* Main Navigation List */
.nav-list { 
  display: none; /* Hidden on mobile by default */
  gap: 1.5rem; 
  align-items: center; 
  margin: 0; 
  padding: 0;
  list-style: none; /* Removes dots */
}

/* Text Links (Not Buttons) */
.nav-list a:not(.btn) { 
  display: inline-flex; 
  align-items: center; 
  height: 100%; 
  color: var(--text-muted); 
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  transition: color 0.2s ease; 
}

.nav-list a:not(.btn):hover { color: var(--accent); }
.nav-list a.active { color: var(--text-main); font-weight: 600; }

.nav-toggle { display: none; border: none; background: none; padding: 4px; cursor: pointer; }
.nav-toggle-bar { display: block; width: 22px; height: 2px; background-color: var(--text-main); margin: 4px 0; }

/* =========================================
   5. BUTTONS (Fixed Sizing)
   ========================================= */

/* 1. Global Base Button (Default Size for Page Body) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    line-height: 1;
    
    /* DEFAULT SIZE (Hero, Forms, etc.) */
    height: 48px; 
    padding: 0 2rem;
    font-size: 1rem;
}

/* 2. Compact Button Modifier (ONLY for Navigation) */
.btn-compact {
    height: 30px !important;       /* Locked to Logo Size */
    padding: 0 12px !important;    /* Tighter padding */
    font-size: 0.85rem !important; /* Smaller font */
    font-weight: 600 !important;
}

/* 3. Styles (Colors) */
.btn-yellow {
    background: var(--viquo-yellow);
    color: var(--text-main);
    border: 1px solid var(--viquo-yellow);
    box-shadow: inset 0 0 0 2px #ffffff; /* Logo Effect */
}
.btn-yellow:hover {
    background: #e0a800;
    border-color: #e0a800;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-light);
}
.btn-ghost:hover {
    color: var(--text-main);
    border-color: var(--text-main);
    background: white;
}

.btn-primary { 
    background: var(--text-main); 
    color: white; 
    border: 1px solid var(--text-main); 
}
.btn-primary:hover { background: #333; }

.btn-ghost-light { 
    background: transparent; 
    color: white; 
    border: 1px solid rgba(255,255,255,0.3); 
}
.btn-ghost-light:hover { border-color: white; background: rgba(255,255,255,0.1); }

.btn-full { width: 100%; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* =========================================
   6. HERO & MISSION
   ========================================= */
.scroll-section { padding: 8rem 0; min-height: 50vh; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--border-light); }
.align-left { align-items: flex-start; text-align: left; }

.axiom-wrapper { max-width: 1000px; }
.axiom-title { 
  font-size: clamp(2rem, 5vw, 4.5rem); 
  margin-bottom: 1.25rem;
  color: var(--text-main); 
  font-weight: 600; 
  letter-spacing: -0.03em; 
}

.mission-statement-large {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0 auto;
  max-width: 1100px;
}

/* =========================================
   7. COMPONENTS (Cards, Forms, Lists)
   ========================================= */
.card { background: white; padding: 2.5rem; border: 1px solid var(--border-light); border-radius: var(--radius-lg); height: 100%; transition: transform 0.2s; }
.card:hover { transform: translateY(-2px); border-color: var(--accent); }
.bg-panel { background: var(--bg-panel); border: 1px solid var(--border-dark); }

/* Lists & Pills */
.key-list li, .bullet-compact li { position: relative; padding-left: 1.5rem; margin-bottom: 0.5rem; font-size: 0.95rem; color: var(--text-muted); }
.key-list li::before, .bullet-compact li::before { content: "•"; color: var(--accent); position: absolute; left: 0; font-weight: bold; }
.border-top { margin-top: 1.5rem; border-top: 1px solid var(--border-light); padding-top: 1.5rem; }

.pill-column { display: flex; flex-direction: column; gap: 8px; margin-top: 2rem; }
.pill { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 4px; font-size: 0.8rem; text-transform: uppercase; font-weight: 600; }
.pill-dark { background: #222; border: 1px solid #333; color: white; justify-content: space-between; width: 100%; }

/* Holdings Table */
.card-top-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.5rem; }
.live-indicator { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent); text-transform: uppercase; font-weight: bold; }
.holdings-list { display: flex; flex-direction: column; gap: 12px; }
.holding-item { display: flex; justify-content: space-between; border-bottom: 1px solid var(--border-light); padding-bottom: 12px; }
.holding-item.no-border { border-bottom: none; }
.holding-name { font-weight: 600; color: var(--text-main); }

/* Contact Form */
.contact-form { padding: 2.5rem; border-radius: var(--radius-lg); border: 1px solid var(--border-light); background: var(--bg-soft); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.85rem; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.75rem; border: 1px solid var(--border-light); border-radius: 4px; font-family: inherit; font-size: 0.95rem; background: white; }

/* Code Block Styling */
.code-block { padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }

/* =========================================
   8. FOOTER & ANIMATIONS
   ========================================= */
.site-footer { padding: 4rem 0; background: var(--text-main); color: white; margin-top: auto; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-links a { color: #9ca3af; margin-left: 2rem; font-size: 0.875rem; }
.footer-links a:hover { color: white; }

/* Animations */
.fade-in-up { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.cursor { font-weight: 400; animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* =========================================
   9. RESPONSIVE DESIGN
   ========================================= */
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; } /* Side by side on Desktop */
  .nav-list { display: flex; } /* Show nav on desktop */
  .nav-toggle { display: none; }
}

@media (max-width: 899px) {
  .nav-list { 
    position: absolute; 
    top: 72px; 
    left: 0; 
    width: 100%; 
    background: white; 
    flex-direction: column; 
    padding: 2rem; 
    border-bottom: 1px solid var(--border-light); 
    display: none; 
    align-items: flex-start;
  }
  .nav-list.active { display: flex; }
  
  .nav-list a:not(.btn) { height: auto; padding: 10px 0; }
  .nav-toggle { display: block; }
  
  .axiom-title { font-size: 2.5rem; }
  .footer-inner { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .footer-links a { margin-left: 0; margin-right: 1.5rem; }
  
/* =========================================
   10. NEW LANDING PAGE ADDITIONS
   ========================================= */

/* Secondary Button for Dark Backgrounds */
.btn-ghost-light { 
    background: transparent; 
    color: var(--text-white); 
    border: 1px solid rgba(255,255,255,0.3); 
}
.btn-ghost-light:hover { 
    border-color: var(--viquo-yellow); 
    color: var(--viquo-yellow); 
    background: rgba(255,255,255,0.05); 
}

/* Ensure bullet points in cards align nicely */
.bullet-compact li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
    list-style: none;
}
.bullet-compact li::before {
    content: "•";
    color: var(--viquo-yellow); /* Use the Viquo Yellow */
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ... inside @media (max-width: 899px) ... */
  .axiom-title { font-size: 2.5rem; }
  .footer-inner { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .footer-links a { margin-left: 0; margin-right: 1.5rem; }
} /* <--- THIS CLOSING BRACKET WAS MISSING OR MISPLACED */

/* =========================================
   10. NEW LANDING PAGE ADDITIONS
   ========================================= */

/* Secondary Button for Dark Backgrounds */
.btn-ghost-light { 
    background: transparent; 
    color: var(--text-white); 
    border: 1px solid rgba(255,255,255,0.3); 
    /* Added transition for smoothness */
    transition: all 0.2s ease; 
}
.btn-ghost-light:hover { 
    border-color: var(--viquo-yellow); 
    color: var(--viquo-yellow); 
    background: rgba(255,255,255,0.05); 
}

/* Ensure bullet points in cards align nicely */
.bullet-compact li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
    list-style: none;
}
.bullet-compact li::before {
    content: "•";
    color: var(--viquo-yellow);
    position: absolute;
    left: 0;
    font-weight: bold;
}

