/* 
 * Advisor & Co. - Optimized Style Sheet
 * This file contains custom component styles and overrides.
 * Tailwind CSS is used for common utilities via CDN.
 */

:root {
  --gold-400: #9D8374;
  --gold-500: #8B6E5D;
  --gold-600: #796051;
  --dark-900: #050505;
  --dark-800: #111111;
  --dark-700: #1A1A1A;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --white: #ffffff;
}

/* Base Overrides */
.text-gold-500 {
  color: var(--gold-500);
}

.text-gold-400 {
  color: var(--gold-400);
}

body {
  background-color: var(--dark-900);
  color: var(--gray-300);
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Custom Selection */
::selection {
  background-color: var(--gold-500);
  color: var(--white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: linear-gradient(to right, var(--gold-400), var(--gold-600));
  color: var(--white);
  box-shadow: 0 10px 40px rgba(139, 110, 93, 0.2);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(139, 110, 93, 0.3);
}

.btn-outline {
  border: 2px solid var(--gold-500);
  color: var(--gold-500);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold-500);
  color: var(--white);
}

/* Navigation Overrides */
.nav-link-item {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-link-item:hover,
.nav-link-item.active {
  color: var(--gold-500);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 20rem;
  background: var(--dark-800);
  border: 1px solid rgba(139, 110, 93, 0.2);
  border-radius: 0.75rem;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 50;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.3s;
}

.dropdown-item:hover {
  background: rgba(139, 110, 93, 0.05);
}

.dropdown-title {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.dropdown-subtitle {
  color: var(--gray-500);
  font-size: 0.625rem;
  line-height: 1.25;
  margin-top: 0.125rem;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid rgba(139, 110, 93, 0.2);
  border-radius: 1rem;
  background: var(--dark-800);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.5s;
}

.faq-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
}

.faq-question {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--gray-200);
}

.faq-content {
  max-height: 0;
  opacity: 0;
  transition: all 0.5s;
  padding: 0 1.75rem;
}

.faq-item.active .faq-content {
  max-height: 500px;
  opacity: 1;
  padding-bottom: 1.75rem;
}

.faq-item.active {
  border-color: var(--gold-500);
  box-shadow: 0 10px 15px -3px rgba(139, 110, 93, 0.1);
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
}

.chat-button {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--gold-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-900);
  box-shadow: 0 10px 15px -3px rgba(139, 110, 93, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.chat-button:hover {
  transform: scale(1.05);
  background: var(--gold-400);
}

/* Custom Text Gradient */
.text-gradient {
  background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}