:root {
  --primary-bg: #f8fafc;
  --card-bg: #ffffff;
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --text-main: #0f172a;
  --text-secondary: #64748b;
  --disclaimer-bg: #fef2f2;
  --disclaimer-border: #ef4444;
  --font-family: "Inter", sans-serif;
  --base-size: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: var(--base-size);
}

body {
  font-family: var(--font-family);
  background-color: var(--primary-bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a,
a:hover,
a:focus {
  text-decoration: none;
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: inherit;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  h3 {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }

  .js-responsive-text {
    word-break: break-word;
    overflow-wrap: break-word;
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.shadow-sm {
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.1),
    0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.shadow-md {
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* ===== pre_header_info ===== */
#pre-header {
  width: 100%;
}

/* ===== header_main ===== */
#header {
  width: 100%;
}

.js-mobile-menu {
  transition: all 0.3s ease-in-out;
}

/* ===== hero_section ===== */
#hero {
  width: 100%;
  background: linear-gradient(180deg, var(--primary-bg) 0%, #f1f5f9 100%);
}

.hero-title {
  color: var(--text-main);
}

.hero-subtitle {
  color: var(--text-secondary);
}

.hero-cta {
  background-color: var(--accent-blue);
  color: var(--card-bg);
}

.hero-cta:hover {
  background-color: var(--accent-blue-hover);
  color: var(--card-bg);
  transform: translateY(-2px);
}

/* ===== about_Goalbook10 ===== */
#about-section {
  width: 100%;
}

.container {
  max-width: 1200px;
}

/* ===== offers_grid ===== */
#offers-showcase {
  width: 100%;
}

.js-offer-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.js-offer-card:hover {
  transform: translateY(-8px);
}

/* ===== why_choose_us ===== */
#features-section {
  width: 100%;
}

.js-feature-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.js-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ===== safety_protection ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

.bg-primary-bg {
  background-color: var(--primary-bg);
}

.text-text-main {
  color: var(--text-main);
}

.text-text-secondary {
  color: var(--text-secondary);
}

.text-accent-blue {
  color: var(--accent-blue);
}

/* ===== reviews_faq ===== */
#faq-section {
  width: 100%;
}

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

.transition-transform {
  transition: transform 0.3s ease;
}

/* ===== footer ===== */
#footer .sort-active {
  background-color: var(--accent-blue) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .faqsSection span {
    font-size: 12px !important;
  }

  .faqsSection .js-faq-content {
    font-size: 12px !important;
  }
}
