/*
 * BRAINSCIENTIST - Template Main
 * Base styles, layout, and global components
 */
/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
main {
  flex: 1;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}
/* === FLEX GRID === */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  width: 100%;
}
.col-xs {
  flex: 1 1 100%;
  padding: 1rem;
}
@media (min-width: 768px) {
  .col-xs {
    flex: 1;
  }
}
/* === BUTTONS === */
.btn, .cta-button, .learn-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
}
.btn-primary, .cta-button {
  background: var(--color-primary);
  color: white;
}
.btn-primary:hover, .cta-button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary, .learn-more-btn {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-secondary:hover, .learn-more-btn:hover {
  background: var(--color-primary);
  color: white;
}
/* === CARDS === */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  padding: var(--space-lg);
  transition: all var(--transition-base);
}
.card:hover {
  box-shadow: var(--shadow-md);
}
/* === DIVIDERS === */
.divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-xl) 0;
  border: none;
}
/* Gradient divider */
.divider-gradient {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary-light) 20%, var(--color-primary) 50%, var(--color-primary-light) 80%, transparent);
  margin: var(--space-xl) 0;
  border: none;
}
/* === BACKGROUND DECORATIONS === */
.background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  opacity: 0.03;
}
.background-shape {
  position: absolute;
  width: 200px;
  height: 200px;
}
/* === CONTENT SECTIONS === */
.content-section {
  position: relative;
  z-index: 1;
}
.content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}
/* === SCROLLBAR === */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-background-alt);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}
/* === SELECTION === */
::selection {
  background: var(--color-primary);
  color: white;
}
/* === ACCESSIBILITY === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Focus styles */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* === UTILITY CLASSES === */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.w-100 {
  width: 100%;
}
.h-100 {
  height: 100%;
}
.d-flex {
  display: flex;
}
.d-block {
  display: block;
}
.d-none {
  display: none;
}
.justify-center {
  justify-content: center;
}
.align-center {
  align-items: center;
}
.text-center {
  text-align: center;
}

/*******************************************************************/
/* ftrtch dino */
/* [type: CSS] [file:template-main] [11.942] DESIGN*/
/*******************************************************************/
/* 0.4 P>P */
/* db 87 */