/* ============================================================
   BROKAR LANDING PAGE — Component Styles (2026)
   Uses brokar_tokens.css variables exclusively.
   ============================================================ */

/* ============================================================
   BOOTSTRAP-LIKE UTILITIES (needed since Bootstrap is not loaded)
   ============================================================ */
.d-flex { display: flex !important; }
.d-none { display: none !important; }
.flex-column { display: flex; flex-direction: column; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-gap-m { display: flex; gap: 1rem; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: start !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.text-center { text-align: center !important; }
.text-white { color: #fff !important; }
.fw-bold { font-weight: 700 !important; }
.position-relative { position: relative !important; }
.overflow-hidden { overflow: hidden !important; }
.list-unstyled { list-style: none !important; padding: 0 !important; }
.img-fluid { max-width: 100%; height: auto; }
.h-100 { height: 100% !important; }
.w-100 { width: 100% !important; }
.rounded-3 { border-radius: var(--radius-lg) !important; }
.rounded-circle { border-radius: 50% !important; }
.max-width-800 { max-width: 800px; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

/* Spacing */
.m-0  { margin: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.p-0 { padding: 0 !important; }
.p-2 { padding: 0.5rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.px-lg-5 { padding-left: 3rem; padding-right: 3rem; }
.ps-lg-4 { padding-left: 1.5rem; }

/* Gap */
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }

/* Grid: Bootstrap-like columns */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}
.row.g-0 { margin-right: 0; margin-left: 0; }
.row.g-0 > [class*="col-"] { padding-right: 0; padding-left: 0; }
.row.g-4 { margin-right: -0.75rem; margin-left: -0.75rem; }
.row.g-4 > [class*="col-"] { padding: 0.75rem; }
.row.g-5 { margin-right: -1rem; margin-left: -1rem; }
.row.g-5 > [class*="col-"] { padding: 1rem; }

[class*="col-"] {
  position: relative;
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.col-md-6 { flex: 0 0 auto; }
@media (min-width: 768px) {
  .col-md-6 { width: 50%; }
}

@media (min-width: 992px) {
  .col-lg-4 { width: 33.333%; flex: 0 0 auto; }
  .col-lg-5 { width: 41.666%; flex: 0 0 auto; }
  .col-lg-6 { width: 50%; flex: 0 0 auto; }
  .col-lg-7 { width: 58.333%; flex: 0 0 auto; }
  .col-lg-8 { width: 66.666%; flex: 0 0 auto; }
  .mt-lg-0 { margin-top: 0 !important; }
  .ps-lg-4 { padding-left: 2rem; }
}

.container-fluid { max-width: 100%; padding: 0 1.5rem; }

.bg-primary { background: var(--brokar-blue-600) !important; }
.bg-success { background: var(--color-success) !important; }
.bg-info { background: var(--brokar-cyan-500) !important; }
.text-muted { color: var(--brokar-gray-500) !important; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-content {
  position: relative;
  z-index: 2;
  flex: 0 0 45%;
  max-width: 600px;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.hero-image-container {
  position: relative;
  z-index: 2;
  flex: 1 1 55%;
  max-width: 650px;
  padding: 0;
}

.hero-image-wide {
  width: 100%;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   SECTION GENERIC
   ============================================================ */
.section {
  padding: var(--space-fluid) 5%;
}

.section-header {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   TRUST LOGOS
   ============================================================ */
.trust-logos-section {
  padding: 4rem 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.trust-logos-title {
  text-align: center;
  margin-bottom: 2rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--brokar-gray-500);
  font-weight: 500;
}

.trust-logos-grid {
  opacity: 0.5;
  filter: grayscale(1);
  transition: all 0.5s ease;
}

.trust-logos-grid:hover {
  opacity: 0.8;
  filter: grayscale(0);
}

.trust-logo-item {
  transition: transform 0.3s ease;
  user-select: none;
  color: var(--brokar-gray-300);
}

.trust-logo-item:hover {
  transform: scale(1.05);
}

.logo-style-modern {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-style-serif {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.2rem;
  font-weight: 700;
  font-style: italic;
}

.logo-style-minimal {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 5px 15px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 2px;
  border-radius: 4px;
}

.logo-style-spaced {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.logo-style-icon-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gold-highlight {
  color: var(--brokar-cyan-400) !important;
}

/* ============================================================
   MARKETPLACE TEASER / BANNER
   ============================================================ */
.marketplace-teaser-section {
  padding: 2rem 0;
}

.marketplace-banner {
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(15, 40, 71, 0.95) 0%, rgba(10, 22, 40, 0.95) 100%),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(59, 130, 246, 0.15);
  position: relative;
  overflow: hidden;
  padding: 4rem;
}

.marketplace-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent 60%);
  pointer-events: none;
}

.mp-content {
  position: relative;
  z-index: 1;
}

.mp-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  margin-bottom: 1rem;
  color: white;
}

.mp-content p {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  margin-bottom: 2rem;
  color: var(--brokar-gray-300);
  max-width: 650px;
}

/* ============================================================
   BTN-GOLD → Now Brokar branded (Gradient Blue)
   ============================================================ */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--brokar-blue-600), var(--brokar-blue-700));
  color: white !important;
  border: none;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  cursor: pointer;
  transition: var(--transition-bounce);
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--brokar-blue-500), var(--brokar-blue-600));
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-blue);
}

/* ============================================================
   TRUST TICKER
   ============================================================ */
.trust-ticker {
  overflow: hidden;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  background: rgba(0, 0, 0, 0.15);
}

.ticker-track {
  display: flex;
  gap: 3rem;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.ticker-item {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--brokar-gray-400);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ticker-item i {
  color: var(--brokar-blue-400);
  font-size: 0.85rem;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   BENTO GRID / FEATURES MAGAZINE
   ============================================================ */
.features-magazine {
  background: transparent;
}

.bento-grid-wide {
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================================
   SHOWCASE SECTION
   ============================================================ */
.section-showcase {
  background: transparent;
  overflow: hidden;
}

.showcase-item {
  margin-bottom: 2rem;
}

.showcase-item h4 {
  font-family: var(--font-display);
  color: white;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.showcase-item p {
  color: var(--brokar-gray-400);
  line-height: 1.7;
}

.showcase-visual-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.showcase-visual-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.showcase-tag {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.showcase-tag .tag-label {
  display: block;
}

.showcase-tag .tag-title {
  display: block;
  color: white;
}

/* ============================================================
   AI SECTION
   ============================================================ */
.ai-section {
  padding: var(--space-fluid) 5%;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.section-testimonials {
  background: transparent;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.section-faq {
  padding: var(--space-fluid) 5%;
}

.badge-premium {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--brokar-blue-300);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: var(--radius-full);
}

.title-h1-white {
  font-family: var(--font-display);
  font-size: var(--text-display-lg);
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}

.text-accent-gold {
  background: linear-gradient(135deg, var(--brokar-blue-400), var(--brokar-cyan-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted-light {
  color: var(--brokar-gray-400) !important;
}

.faq-accordion-item-container {
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition-base);
}

.faq-accordion-item-container:hover {
  border-color: rgba(59, 130, 246, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.faq-question-btn {
  background: none;
  border: none;
  padding: 1.5rem 2rem;
  text-align: left;
  cursor: pointer;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
  color: white;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
}

.faq-question-btn:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-question-text {
  color: white;
  font-weight: 500;
}

.faq-icon {
  color: var(--brokar-blue-400);
  transition: transform 0.3s ease;
  font-size: 0.85rem;
}

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

.faq-answer-content {
  padding: 0 2rem 2rem;
  color: var(--brokar-gray-400);
  line-height: 1.8;
  font-family: var(--font-body);
  font-size: var(--text-base);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta-section {
  background: transparent;
}

/* ============================================================
   FOOTER — Brokar Global Footer
   ============================================================ */
.brokar-footer {
  background: var(--brokar-blue-950);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 5% 2rem;
  color: var(--brokar-gray-400);
  font-family: var(--font-body);
}

.brokar-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .brokar-footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .brokar-footer-container {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--brokar-gray-400);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--brokar-gray-500);
}

.logo-small {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--brokar-blue-400), var(--brokar-cyan-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-small i {
  -webkit-text-fill-color: var(--brokar-violet-500);
  margin-right: 8px;
}

/* ============================================================
   RESPONSIVE REFINEMENTS
   ============================================================ */
@media (max-width: 991px) {
  .hero {
    padding-top: 120px !important;
    padding-bottom: 60px !important;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
  }

  .marketplace-banner {
    padding: 2.5rem;
  }

  .section {
    padding: 3rem 5%;
  }

  .bento-grid-wide .col-lg-8,
  .bento-grid-wide .col-lg-4 {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .hero {
    padding-top: 100px !important;
  }

  .marketplace-banner {
    padding: 2rem;
  }

  .faq-question-btn {
    padding: 1.25rem 1.25rem;
  }

  .faq-answer-content {
    padding: 0 1.25rem 1.5rem;
  }
}

/* ============================================================
   MISC HELPERS
   ============================================================ */
.text-h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
}

.font-mono {
  font-family: var(--font-mono);
}

[x-cloak] {
  display: none !important;
}

/* Smooth collapse */
[x-show] {
  transition: all 0.3s ease;
}

/* ============================================================
   GLOBAL LINK STYLES
   ============================================================ */
a {
  color: var(--brokar-blue-400);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brokar-blue-300);
}

/* ============================================================
   MARKETPLACE CALLOUT SECTION
   ============================================================ */
.section-marketplace-callout {
  background: transparent;
}

/* ============================================================
   SCROLL PROGRESS / SMOOTH SCROLLING
   ============================================================ */
html {
  scroll-behavior: smooth;
}

/* ============================================================
   SELECTION STYLE (Brand)
   ============================================================ */
::selection {
  background: var(--brokar-blue-600);
  color: white;
}

/* ============================================================
   SCROLLBAR (Chromium)
   ============================================================ */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--brokar-blue-950);
}
::-webkit-scrollbar-thumb {
  background: var(--brokar-blue-800);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brokar-blue-700);
}
