:root {
  --bg-color: #0b0b0b;
  --bg-secondary: #161616;
  --bg-tertiary: #1f1f1f;
  --text-color: #f3f4f6;
  --text-muted: #9ca3af;
  --accent-color: #FBBF24;
  --accent-hover: #f59e0b;
  --border-color: #333333;
  --font-family: 'Inter', sans-serif;
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-accent {
  color: var(--accent-color);
}

.text-accent-bg {
  background-color: var(--accent-color);
}

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.5rem; font-weight: 600; }

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #000;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(11, 11, 11, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-color);
  text-decoration: none;
  letter-spacing: 1px;
}

.desktop-nav {
  display: flex;
  gap: 2rem;
}

.desktop-nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.desktop-nav a:hover {
  color: var(--accent-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: var(--bg-secondary);
  padding: 1rem;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav-link {
  padding: 1rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link:last-child {
  border-bottom: none;
  margin-top: 1rem;
}

/* Sections */
section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* Hero Section */
.hero {
  padding-top: 10rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(251, 191, 36, 0.1);
  color: var(--accent-color);
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.badge-outline {
  background-color: transparent;
  border: 1px solid var(--accent-color);
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--text-muted);
  text-align: justify;
}

.hero-features {
  list-style: none;
  margin-bottom: 2rem;
}

.hero-features li {
  margin-bottom: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  text-align: left;
}

.feature-icon {
  color: var(--accent-color);
  margin-right: 12px;
  margin-top: 4px;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.cta-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-visual-column {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Align image to the right edge (matches header CTA) */
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.hero-image {
  width: 100%;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid var(--border-color);
}

.glow-effect {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, rgba(11, 11, 11, 0) 70%);
  z-index: 1;
  filter: blur(40px);
}

/* Hero Stats Banner */
.hero-stats {
  display: flex;
  justify-content: space-around;
  padding: 1rem 0.5rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-top: 1.5rem; /* Space between image and stats card */
  position: relative;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  width: 100%;
  max-width: 500px;
}

.hero-stats .stat-item {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-icon {
  margin-bottom: 0.5rem;
  width: 20px;
  height: 20px;
}

.hero-stats .stat-number {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
}

.hero-stats .stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-muted);
}

/* Grid layout for Cards */
.grid {
  display: grid;
  gap: 2rem;
}

.services-grid-8 {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-icon-wrapper {
  background-color: rgba(251, 191, 36, 0.1);
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.card-icon-svg {
  color: var(--accent-color);
}

.card h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.card p {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Experience */
.experience-container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.experience-image {
  flex: 1;
}

.placeholder-graphic {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

@keyframes barPulse {
  0% { transform: scaleY(1); opacity: 0.7; }
  100% { transform: scaleY(1.3); opacity: 1; }
}

.chart-bar {
  width: 40px;
  background-color: var(--border-color);
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
  animation: barPulse 1.5s infinite ease-in-out alternate;
}

.h-1 { height: 40%; animation-delay: 0.1s; }
.h-2 { height: 30%; animation-delay: 0.3s; }
.h-3 { height: 60%; animation-delay: 0.5s; }
.h-4 { height: 50%; animation-delay: 0.7s; }
.h-5 { 
  height: 90%; 
  animation-delay: 0.9s; 
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.experience-content {
  flex: 1;
}

.experience-list {
  list-style: none;
  margin-top: 2rem;
}

.experience-list li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
}

.experience-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* Testimonials */
.testimonials-subtitle {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-color);
  font-size: 1.125rem;
  line-height: 1.6;
}

.testimonials-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.quote-icon {
  color: var(--accent-color);
  width: 20px;
  height: 20px;
  margin-bottom: 1.5rem;
}

.testimonial-card .quote {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-color);
  flex-grow: 1; /* Pushes author block to bottom */
  margin-bottom: 2rem;
}

.author-block {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.author-name {
  font-weight: 600;
  color: var(--text-color);
  font-size: 1rem;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.125rem;
  font-weight: 600;
  text-align: left;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  color: var(--accent-color);
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-question.active + .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding-bottom: 1.5rem;
}

/* Contact */
.contact {
  background-color: var(--bg-secondary);
  text-align: center;
}

.contact-container {
  max-width: 600px;
}

.contact-methods {
  margin-top: 2rem;
}

/* Footer */
.footer {
  background-color: var(--bg-tertiary);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-color);
  text-decoration: none;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container, .experience-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    display: contents;
  }
  
  .badge { order: 1; }
  .hero-title { order: 2; }
  .hero-visual-column { 
    order: 3; 
    margin: 2rem 0; 
    width: 100%; 
  }
  .hero-subtitle-container { order: 4; }
  .hero-features { order: 5; }
  .hero-actions { 
    order: 6; 
    justify-content: center; 
  }

  .experience-list li {
    text-align: left;
  }

  .services-grid-8, .testimonials-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .desktop-nav, .hidden-mobile {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-subtitle {
    text-align: left;
    text-align-last: auto;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero-features {
    text-align: left;
    display: inline-block;
    width: 100%;
    max-width: 400px;
  }

  .hero-features li {
    font-size: 0.9rem;
  }

  h1, .hero-title {
    font-size: 2.25rem; /* Scale down to match section headers better */
  }

  h2 {
    font-size: 2rem;
  }

  .card p, .stat-label, .footer-bottom p {
    font-size: 1rem; /* Scale up smallest fonts */
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .services-grid-8, .testimonials-grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: #121212;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  padding: 2rem 1.5rem;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.modal-close:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.modal-contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: #1a1a1a;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.modal-contact-card:hover {
  border-color: var(--accent-color);
  background-color: #222;
  transform: translateY(-2px);
}

.modal-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.telegram-bg { background-color: #2AABEE; }
.whatsapp-bg { background-color: #25D366; }
.email-bg { background-color: #EA4335; }
.finra-bg { background-color: var(--accent-color); }
.finra-bg svg { stroke: #000; }

.modal-contact-info h4 {
  color: white;
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
}

.modal-contact-info p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.85rem;
}

