/* TrueCircles - Bootstrap Custom Styles */

/* CSS Variables for Custom Theme */
:root {
  --bg-primary: #0b1020;
  --bg-secondary: #121834;
  --bg-card: #0f1530;
  --text-primary: #e8ecf7;
  --text-muted: #aab1c8;
  --color-brand: #6ee7ff;
  --color-accent: #8b5cf6;
  --color-border: #1e254d;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Global Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text-primary);
  background: radial-gradient(1200px 600px at 20% -10%, rgba(139, 92, 246, 0.25), transparent 60%),
              radial-gradient(1200px 800px at 90% 10%, rgba(110, 231, 255, 0.18), transparent 60%),
              var(--bg-primary);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header Styles */
.site-header {
  background: rgba(11, 16, 32, 0.7);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1030;
}

.site-header .navbar {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.logo {
  width: 28px;
  height: 28px;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--text-primary);
}

.navbar-brand {
  color: var(--text-primary) !important;
}

.navbar-dark .nav-link {
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link:focus {
  color: var(--color-brand);
}

.navbar-toggler {
  border-color: var(--color-border);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(110, 231, 255, 0.25);
}

/* Custom Button Styles */
.btn-primary-custom {
  background: linear-gradient(180deg, rgba(110, 231, 255, 0.15), rgba(110, 231, 255, 0.05));
  border: 1px solid #294b63;
  color: var(--text-primary);
  font-weight: 600;
  transition: transform 0.05s ease, background 0.2s ease;
}

.btn-primary-custom:hover {
  background: linear-gradient(180deg, rgba(110, 231, 255, 0.25), rgba(110, 231, 255, 0.15));
  border-color: #3a5f7a;
  color: var(--text-primary);
  transform: translateY(-1px);
}

.btn-primary-custom:active {
  transform: translateY(1px);
}

.btn-outline-light {
  border-color: var(--color-border);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
  font-weight: 600;
  transition: transform 0.05s ease, background 0.2s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-border);
  color: var(--text-primary);
}

.btn-outline-light:active {
  transform: translateY(1px);
}

.btn-outline-light:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Hero Section */
.hero-section {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.hero-section h1 {
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-section .lead {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.feature-bullets {
  margin-top: 1.5rem;
}

.feature-bullets li {
  color: var(--text-muted);
  line-height: 1.8;
}

/* Feature Cards */
.feature-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
}

.feature-card .card-body {
  padding: 1.25rem;
}

.feature-card .card-title {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.feature-card .card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-card ol,
.feature-card ul {
  color: var(--text-primary);
  line-height: 1.8;
}

.feature-card li {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* Section Spacing */
section {
  padding: 4rem 0;
}

section h2 {
  margin-bottom: 1rem;
}

.text-muted {
  color: var(--text-muted) !important;
}

/* Accordion / FAQ Styles */
.accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: var(--color-border);
  --bs-accordion-btn-bg: rgba(255, 255, 255, 0.02);
  --bs-accordion-btn-color: var(--text-primary);
  --bs-accordion-active-bg: rgba(255, 255, 255, 0.04);
  --bs-accordion-active-color: var(--text-primary);
  --bs-accordion-btn-focus-border-color: var(--color-border);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(110, 231, 255, 0.15);
}

.accordion-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border: 1px solid var(--color-border);
  border-radius: 14px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  box-shadow: none;
}

.accordion-button::after {
  filter: invert(1);
}

.accordion-body {
  padding: 1rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer Styles */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: rgba(11, 16, 32, 0.5);
}

.site-footer .logo {
  width: 24px;
  height: 24px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  section {
    padding: 3rem 0;
  }
}

@media (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 1.75rem;
  }

  .hero-section .lead {
    font-size: 1rem;
  }

  .feature-card .card-body {
    padding: 1rem;
  }

  section h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .hero-section h1 {
    font-size: 1.5rem;
  }

  section {
    padding: 2rem 0;
  }

  .btn-lg {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
}

/* Utility Classes */
.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 1rem;
}

/* Bootstrap Override - Ensure smooth scrolling with offset for sticky header */
html {
  scroll-padding-top: 80px;
}
