@import url('variables.css');

/* ============================================
   COMPONENTS: Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--fb-space-2);
  padding: var(--fb-space-3) var(--fb-space-6);
  font-family: var(--fb-font-body);
  font-size: var(--fb-text-base);
  font-weight: var(--fb-weight-medium);
  line-height: 1.5;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--fb-transition-base);
  min-height: 48px;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--fb-green-500);
  color: var(--fb-white);
  border-color: var(--fb-green-500);
}

.btn-primary:hover {
  background-color: var(--fb-green-600);
  border-color: var(--fb-green-600);
  box-shadow: var(--fb-shadow-md);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background-color: var(--fb-blue-500);
  color: var(--fb-white);
  border-color: var(--fb-blue-500);
}

.btn-secondary:hover {
  background-color: var(--fb-blue-700);
  transform: translateY(-1px);
  box-shadow: var(--fb-shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--fb-blue-500);
  border-color: var(--fb-blue-500);
}

.btn-outline:hover {
  background-color: var(--fb-blue-50);
}

.btn-ghost {
  background-color: transparent;
  color: var(--fb-blue-500);
  border-color: transparent;
}

.btn-ghost:hover {
  background-color: var(--fb-gray-50);
}

.btn-sm {
  padding: var(--fb-space-2) var(--fb-space-4);
  font-size: var(--fb-text-sm);
  min-height: 36px;
}

.btn-lg {
  padding: var(--fb-space-4) var(--fb-space-8);
  font-size: var(--fb-text-lg);
  min-height: 56px;
}

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

/* ============================================
   COMPONENTS: Cards
   ============================================ */

.card {
  background: var(--fb-white);
  border: none;
  border-radius: var(--fb-radius-xl);
  padding: var(--fb-space-8);
  box-shadow: var(--fb-shadow-card);
  transition: box-shadow var(--fb-transition-base), transform var(--fb-transition-base);
}

.card:hover {
  box-shadow: var(--fb-shadow-md);
  transform: translateY(-2px);
}

/* LK Cards */
.lk-card {
  background: var(--fb-white);
  border-radius: var(--fb-radius-xl);
  padding: var(--fb-space-6);
  box-shadow: var(--fb-shadow-card);
}

.lk-card__title {
  font-size: var(--fb-text-lg);
  font-weight: var(--fb-weight-semibold);
  color: var(--fb-gray-900);
  margin-bottom: var(--fb-space-4);
}

/* Promo Banner */
.promo-banner {
  background: var(--fb-brand-gradient);
  border-radius: var(--fb-radius-xl);
  color: var(--fb-white);
  box-shadow: var(--fb-shadow-md);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
  overflow: hidden;
}

.promo-banner__big {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--fb-space-6) var(--fb-space-4);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: var(--fb-weight-bold);
  line-height: 1;
  color: rgba(255,255,255,0.18);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  letter-spacing: -0.05em;
  user-select: none;
}

.promo-banner__content {
  display: flex;
  flex-direction: column;
  gap: var(--fb-space-4);
  justify-content: center;
  padding: var(--fb-space-8);
}

.promo-banner__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--fb-weight-bold);
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.promo-banner__text {
  color: rgba(255,255,255,0.92);
  font-size: var(--fb-text-lg);
  max-width: 480px;
  line-height: 1.6;
}

.promo-banner__text strong {
  font-weight: var(--fb-weight-bold);
  color: var(--fb-white);
}

@media (max-width: 767px) {
  .promo-banner {
    grid-template-columns: 1fr;
  }
  .promo-banner__big {
    writing-mode: horizontal-tb;
    padding: var(--fb-space-4) var(--fb-space-6) 0;
    font-size: clamp(3rem, 15vw, 5rem);
  }
  .promo-banner__content {
    padding: var(--fb-space-4) var(--fb-space-6) var(--fb-space-6);
    text-align: center;
    align-items: center;
  }
}

.card--tariff-self { border-top: 4px solid var(--fb-tariff-self); }
.card--tariff-standard { border-top: 4px solid var(--fb-tariff-standard); }
.card--tariff-premium { border-top: 4px solid var(--fb-tariff-premium); }

.tariff-card--self {
  border: 3px solid transparent;
  background: linear-gradient(var(--fb-bg-card), var(--fb-bg-card)) padding-box,
              var(--fb-brand-gradient) border-box;
}

/* ============================================
   COMPONENTS: Forms
   ============================================ */

.form-group {
  margin-bottom: var(--fb-space-5);
}

.form-label {
  display: block;
  font-size: var(--fb-text-sm);
  font-weight: var(--fb-weight-medium);
  color: var(--fb-gray-600);
  margin-bottom: var(--fb-space-2);
}

.form-hint {
  font-size: var(--fb-text-sm);
  color: var(--fb-gray-400);
  margin-top: var(--fb-space-1);
}

.form-input {
  width: 100%;
  padding: var(--fb-space-3) var(--fb-space-4);
  font-size: var(--fb-text-base);
  font-family: var(--fb-font-body);
  color: var(--fb-gray-900);
  background: var(--fb-white);
  border: 1px solid var(--fb-gray-200);
  border-radius: var(--fb-radius-md);
  transition: border-color var(--fb-transition-base), box-shadow var(--fb-transition-base);
  min-height: 48px;
}

.form-input:focus {
  outline: none;
  border-color: var(--fb-blue-500);
  box-shadow: 0 0 0 3px rgba(0, 51, 160, 0.1);
}

.form-input::placeholder {
  color: var(--fb-gray-300);
}

.form-input--error {
  border-color: var(--fb-red-500);
  background-color: var(--fb-red-50);
}

.form-error {
  font-size: var(--fb-text-sm);
  color: var(--fb-red-500);
  margin-top: var(--fb-space-1);
}

/* Range input */
.range-input {
  display: flex;
  flex-direction: column;
  gap: var(--fb-space-3);
}

.range-input__slider {
  width: 100%;
  height: 6px;
  border-radius: var(--fb-radius-full);
  background: var(--fb-gray-100);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.range-input__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--fb-blue-500);
  cursor: pointer;
  border: 3px solid var(--fb-white);
  box-shadow: var(--fb-shadow-md);
  transition: transform var(--fb-transition-fast);
}

.range-input__slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.range-input__slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--fb-blue-500);
  cursor: pointer;
  border: 3px solid var(--fb-white);
  box-shadow: var(--fb-shadow-md);
}

.range-input__value {
  display: flex;
  align-items: center;
  gap: var(--fb-space-2);
  font-size: var(--fb-text-lg);
  font-weight: var(--fb-weight-semibold);
  color: var(--fb-gray-900);
}

.range-input__value .form-input {
  width: auto;
  min-height: 40px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.range-input__hints {
  display: flex;
  justify-content: space-between;
  font-size: var(--fb-text-xs);
  color: var(--fb-gray-400);
}

/* Checkbox */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: var(--fb-space-3);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: var(--fb-space-3);
  cursor: pointer;
  font-size: var(--fb-text-base);
  color: var(--fb-gray-600);
}

.checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox__box {
  width: 22px;
  height: 22px;
  border: 2px solid var(--fb-gray-200);
  border-radius: var(--fb-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--fb-transition-base);
  flex-shrink: 0;
}

.checkbox__box svg {
  width: 14px;
  height: 14px;
  color: var(--fb-white);
  opacity: 0;
  transition: opacity var(--fb-transition-base);
}

.checkbox input:checked + .checkbox__box {
  background-color: var(--fb-blue-500);
  border-color: var(--fb-blue-500);
}

.checkbox input:checked + .checkbox__box svg {
  opacity: 1;
}

.checkbox__label {
  user-select: none;
}

/* ============================================
   COMPONENTS: Badges
   ============================================ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--fb-space-1) var(--fb-space-3);
  font-size: var(--fb-text-xs);
  font-weight: var(--fb-weight-medium);
  border-radius: var(--fb-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge--gray { background: var(--fb-gray-100); color: var(--fb-gray-400); }
.badge--blue { background: var(--fb-blue-50); color: var(--fb-blue-500); }
.badge--green { background: var(--fb-green-50); color: var(--fb-green-500); }
.badge--red { background: var(--fb-red-50); color: var(--fb-red-500); }
.badge--orange { background: var(--fb-orange-50); color: var(--fb-orange-500); }

/* ============================================
   COMPONENTS: Accordion (FAQ)
   ============================================ */

.accordion {
  border: 1px solid var(--fb-gray-100);
  border-radius: var(--fb-radius-lg);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--fb-gray-100);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--fb-space-5) var(--fb-space-6);
  font-size: var(--fb-text-lg);
  font-weight: var(--fb-weight-medium);
  color: var(--fb-gray-900);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--fb-transition-base);
}

.accordion-header:hover {
  background: var(--fb-gray-50);
}

.accordion-header svg {
  width: 20px;
  height: 20px;
  color: var(--fb-gray-400);
  transition: transform var(--fb-transition-base);
  flex-shrink: 0;
  margin-left: var(--fb-space-4);
}

.accordion-item.is-open .accordion-header svg {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--fb-transition-slow), padding var(--fb-transition-slow);
}

.accordion-item.is-open .accordion-body {
  max-height: 500px;
  padding: 0 var(--fb-space-6) var(--fb-space-5);
}

.accordion-body p {
  color: var(--fb-gray-400);
  line-height: var(--fb-leading-relaxed);
}

/* ============================================
   LAYOUT: Header
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--fb-header-height);
  background: var(--fb-bg-header);
  backdrop-filter: var(--fb-bg-header-blur);
  -webkit-backdrop-filter: var(--fb-bg-header-blur);
  border-bottom: 1px solid var(--fb-border-default);
  z-index: var(--fb-z-header);
  transition: box-shadow var(--fb-transition-base);
}

.header.is-scrolled {
  box-shadow: var(--fb-shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  max-height: 36px;
  width: auto;
}

.logo-text {
  background: var(--fb-brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--fb-space-6);
}

.nav__link {
  font-size: var(--fb-text-sm);
  font-weight: var(--fb-weight-medium);
  color: var(--fb-gray-500);
  transition: color var(--fb-transition-fast);
  position: relative;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--fb-blue-500);
}

.nav__link.is-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--fb-blue-500);
  border-radius: var(--fb-radius-full);
}

.header__actions {
  display: none;
  align-items: center;
  gap: var(--fb-space-3);
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--fb-gray-600);
  border-radius: var(--fb-radius-full);
  transition: all var(--fb-transition-base);
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--fb-header-height) 0 0 0;
  background: var(--fb-white);
  z-index: var(--fb-z-header);
  padding: var(--fb-space-6);
  transform: translateX(100%);
  transition: transform var(--fb-transition-slow);
  overflow-y: auto;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--fb-space-4);
}

.mobile-nav__link {
  font-size: var(--fb-text-base);
  font-weight: var(--fb-weight-medium);
  color: var(--fb-gray-900);
  padding: var(--fb-space-3) 0;
  border-bottom: 1px solid var(--fb-gray-100);
  display: block;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.mobile-nav__actions {
  margin-top: var(--fb-space-8);
  display: flex;
  flex-direction: column;
  gap: var(--fb-space-3);
}

.mobile-nav__actions .btn {
  width: 100%;
}

@media (min-width: 1024px) {
  .nav { display: block; }
  .header__actions { display: flex; }
  .burger { display: none; }
  .mobile-nav { display: none; }
}

/* ============================================
   LAYOUT: Footer
   ============================================ */

.footer {
  background: var(--fb-gray-900);
  color: var(--fb-gray-300);
  padding: var(--fb-space-16) 0 var(--fb-space-8);
}

.footer__grid {
  display: grid;
  gap: var(--fb-space-10);
  margin-bottom: var(--fb-space-10);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer__brand {
  max-width: 320px;
}

.footer__brand .logo {
  margin-bottom: var(--fb-space-4);
}

.footer__brand .logo img {
  max-height: 36px;
}

.footer__brand p {
  font-size: var(--fb-text-sm);
  line-height: var(--fb-leading-relaxed);
  color: var(--fb-gray-400);
}

.footer__title {
  font-size: var(--fb-text-sm);
  font-weight: var(--fb-weight-semibold);
  color: var(--fb-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--fb-space-5);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--fb-space-3);
}

.footer__link {
  font-size: var(--fb-text-sm);
  color: var(--fb-gray-400);
  transition: color var(--fb-transition-fast);
}

.footer__link:hover {
  color: var(--fb-white);
}

.footer__bottom {
  border-top: 1px solid var(--fb-gray-500);
  padding-top: var(--fb-space-6);
  display: flex;
  flex-direction: column;
  gap: var(--fb-space-4);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__bottom p {
  font-size: var(--fb-text-xs);
  color: var(--fb-gray-400);
}

/* ============================================
   SECTIONS: Hero
   ============================================ */

.hero {
  padding-top: calc(var(--fb-header-height) + var(--fb-space-16));
  padding-bottom: var(--fb-space-16);
  background: linear-gradient(180deg, var(--fb-blue-50) 0%, var(--fb-white) 100%);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: var(--fb-space-10);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--fb-space-16);
  }
}

.hero__title {
  font-size: var(--fb-text-4xl);
  font-weight: var(--fb-weight-bold);
  color: var(--fb-gray-900);
  line-height: var(--fb-leading-tight);
  margin-bottom: var(--fb-space-5);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: var(--fb-text-5xl);
  }
}

.hero__title span {
  background: var(--fb-brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradient-shimmer 3s ease infinite;
}

.hero__subtitle {
  font-size: var(--fb-text-lg);
  color: var(--fb-gray-400);
  line-height: var(--fb-leading-relaxed);
  margin-bottom: var(--fb-space-8);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fb-space-4);
}

/* Calculator card */
.calculator__card {
  padding: var(--fb-space-8);
}

.calculator__title {
  font-size: var(--fb-text-xl);
  font-weight: var(--fb-weight-semibold);
  color: var(--fb-gray-900);
  margin-bottom: var(--fb-space-6);
}

.calculator__result {
  margin-top: var(--fb-space-6);
  padding: var(--fb-space-5);
  background: var(--fb-gray-50);
  border-radius: var(--fb-radius-lg);
  display: none;
}

.calculator__result.is-visible {
  display: block;
  animation: fadeInUp 0.4s ease;
}

.calculator__result-title {
  font-size: var(--fb-text-sm);
  font-weight: var(--fb-weight-medium);
  color: var(--fb-gray-400);
  margin-bottom: var(--fb-space-2);
}

.calculator__result-price {
  font-size: var(--fb-text-3xl);
  font-weight: var(--fb-weight-bold);
  color: var(--fb-blue-500);
}

.calculator__result-note {
  font-size: var(--fb-text-sm);
  color: var(--fb-gray-400);
  margin-top: var(--fb-space-2);
}

/* ============================================
   SECTIONS: Pain / Benefits / Stats / Steps / FAQ / CTA
   ============================================ */

.section {
  padding: var(--fb-space-20) 0;
}

.section--gray {
  background: var(--fb-gray-50);
}

.section__header {
  text-align: left;
  margin-bottom: var(--fb-space-12);
}

.section__title {
  font-size: var(--fb-text-3xl);
  font-weight: var(--fb-weight-bold);
  color: var(--fb-gray-900);
  margin-bottom: var(--fb-space-4);
  text-align: left;
}

@media (min-width: 768px) {
  .section__title {
    font-size: var(--fb-text-4xl);
  }
}

.section__subtitle {
  font-size: var(--fb-text-lg);
  color: var(--fb-gray-400);
  line-height: var(--fb-leading-relaxed);
}

/* Pain section */
.pain__content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.pain__lead {
  font-size: var(--fb-text-xl);
  color: var(--fb-gray-600);
  line-height: var(--fb-leading-relaxed);
  margin-bottom: var(--fb-space-5);
}

.pain__solution {
  font-size: var(--fb-text-lg);
  color: var(--fb-gray-400);
  line-height: var(--fb-leading-relaxed);
}

/* Benefits grid */
.benefits__grid {
  display: grid;
  gap: var(--fb-space-6);
}

@media (min-width: 768px) {
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  text-align: center;
  padding: var(--fb-space-8) var(--fb-space-6);
}

.benefit-card__icon {
  width: 64px;
  height: 64px;
  background: var(--fb-blue-50);
  border-radius: var(--fb-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--fb-space-5);
  color: var(--fb-blue-500);
}

.benefit-card__icon svg {
  width: 28px;
  height: 28px;
}

.benefit-card__title {
  font-size: var(--fb-text-lg);
  font-weight: var(--fb-weight-semibold);
  color: var(--fb-gray-900);
  margin-bottom: var(--fb-space-3);
}

.benefit-card__text {
  font-size: var(--fb-text-sm);
  color: var(--fb-gray-400);
  line-height: var(--fb-leading-relaxed);
}

/* Stats */
.stats__grid {
  display: grid;
  gap: var(--fb-space-6);
  text-align: center;
}

@media (min-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat__number {
  font-size: var(--fb-text-5xl);
  font-weight: var(--fb-weight-bold);
  color: var(--fb-blue-500);
  line-height: 1;
  margin-bottom: var(--fb-space-3);
}

.stat__label {
  font-size: var(--fb-text-base);
  color: var(--fb-gray-400);
}

/* Steps */
.steps__grid {
  display: grid;
  gap: var(--fb-space-6);
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  position: relative;
  padding: var(--fb-space-6);
}

.step-card__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--fb-space-4);
  align-items: start;
  margin-bottom: var(--fb-space-3);
}

.step-card__num {
  font-size: var(--fb-text-3xl);
  font-weight: var(--fb-weight-bold);
  color: var(--fb-blue-500);
  line-height: 1;
  font-family: var(--fb-font-mono);
}

.step-card__title {
  font-size: var(--fb-text-lg);
  font-weight: var(--fb-weight-semibold);
  color: var(--fb-gray-900);
  line-height: 1.4;
}

.step-card__text {
  font-size: var(--fb-text-sm);
  color: var(--fb-gray-400);
  line-height: var(--fb-leading-relaxed);
}

/* FAQ */
.faq__grid {
  max-width: none;
  margin: 0;
}

/* CTA */
.cta {
  background: var(--fb-blue-500);
  color: var(--fb-white);
  padding: var(--fb-space-16) 0;
  text-align: center;
}

.cta__title {
  font-size: var(--fb-text-3xl);
  font-weight: var(--fb-weight-bold);
  color: var(--fb-white);
  margin-bottom: var(--fb-space-5);
}

@media (min-width: 768px) {
  .cta__title {
    font-size: var(--fb-text-4xl);
  }
}

.cta__text {
  font-size: var(--fb-text-lg);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--fb-space-8);
}

.cta .btn-primary {
  background: var(--fb-white);
  color: var(--fb-blue-500);
  border-color: var(--fb-white);
}

.cta .btn-primary:hover {
  background: var(--fb-gray-50);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* ============================================
   PAGE: Tariffs
   ============================================ */

.tariffs__grid {
  display: grid;
  gap: var(--fb-space-6);
}

@media (min-width: 768px) {
  .tariffs__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tariff-card {
  display: flex;
  flex-direction: column;
  padding: var(--fb-space-8);
}

.tariff-card__header {
  text-align: center;
  margin-bottom: var(--fb-space-6);
  padding-bottom: var(--fb-space-6);
  border-bottom: 1px solid var(--fb-gray-100);
}

.tariff-card__badge {
  margin-bottom: var(--fb-space-4);
}

.tariff-card__title {
  font-size: var(--fb-text-2xl);
  font-weight: var(--fb-weight-bold);
  color: var(--fb-gray-900);
  margin-bottom: var(--fb-space-3);
}

.tariff-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--fb-space-1);
}

.tariff-card__amount {
  font-size: var(--fb-text-4xl);
  font-weight: var(--fb-weight-bold);
  color: var(--fb-gray-900);
}

.tariff-card__currency {
  font-size: var(--fb-text-xl);
  font-weight: var(--fb-weight-medium);
  color: var(--fb-gray-400);
}

.tariff-card__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--fb-space-4);
  margin-bottom: var(--fb-space-8);
}

.tariff-card__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--fb-space-3);
  font-size: var(--fb-text-sm);
  color: var(--fb-gray-500);
}

.tariff-card__feature svg {
  width: 18px;
  height: 18px;
  color: var(--fb-green-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.tariff-card .btn {
  width: 100%;
}

/* Comparison table */
.compare-table-wrapper {
  overflow-x: auto;
  margin-top: var(--fb-space-12);
}

.compare-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: var(--fb-text-sm);
}

.compare-table th,
.compare-table td {
  padding: var(--fb-space-4) var(--fb-space-5);
  text-align: left;
  border-bottom: 1px solid var(--fb-gray-100);
}

.compare-table th {
  font-weight: var(--fb-weight-semibold);
  color: var(--fb-gray-900);
  background: var(--fb-gray-50);
}

.compare-table td {
  color: var(--fb-gray-500);
}

.compare-table td:first-child {
  font-weight: var(--fb-weight-medium);
  color: var(--fb-gray-600);
}

.compare-table tr:hover td {
  background: var(--fb-gray-50);
}

/* ============================================
   PAGE: How it works
   ============================================ */

.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--fb-space-6);
}

.timeline__row {
  display: grid;
  gap: var(--fb-space-6);
}

@media (min-width: 768px) {
  .timeline__row--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.timeline__item {
  position: relative;
  padding: var(--fb-space-6);
  background: var(--fb-white);
  border-radius: var(--fb-radius-xl);
  box-shadow: var(--fb-shadow-card);
  border-left: 4px solid var(--fb-blue-500);
}

.timeline__item--final {
  border-left-color: var(--fb-green-500);
}

.timeline__step {
  font-size: var(--fb-text-xs);
  font-weight: var(--fb-weight-bold);
  color: var(--fb-blue-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--fb-space-2);
}

.timeline__title {
  font-size: var(--fb-text-xl);
  font-weight: var(--fb-weight-semibold);
  color: var(--fb-gray-900);
  margin-bottom: var(--fb-space-3);
}

.timeline__text {
  font-size: var(--fb-text-base);
  color: var(--fb-gray-500);
  line-height: var(--fb-leading-relaxed);
  margin-bottom: var(--fb-space-3);
}

.timeline__duration {
  font-size: var(--fb-text-sm);
  font-weight: var(--fb-weight-medium);
  color: var(--fb-green-500);
  display: inline-block;
  background: var(--fb-green-50);
  padding: var(--fb-space-1) var(--fb-space-3);
  border-radius: var(--fb-radius-full);
}

/* ============================================
   PAGE: Blog
   ============================================ */

.blog__grid {
  display: grid;
  gap: var(--fb-space-6);
}

@media (min-width: 768px) {
  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  overflow: hidden;
  padding: 0;
}

.blog-card__image {
  width: 100%;
  height: 200px;
  background: var(--fb-brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fb-white);
}

.blog-card__image svg {
  width: 64px;
  height: 100%;
  opacity: 0.25;
}

.blog-card {
  cursor: pointer;
  transition: box-shadow var(--fb-transition-base), transform var(--fb-transition-base);
}

.blog-card__content {
  padding: var(--fb-space-6);
}

.blog-card__title {
  font-size: var(--fb-text-lg);
  font-weight: var(--fb-weight-semibold);
  color: var(--fb-gray-900);
  margin-bottom: var(--fb-space-3);
  line-height: var(--fb-leading-tight);
}

.blog-card__excerpt {
  font-size: var(--fb-text-sm);
  color: var(--fb-gray-400);
  line-height: var(--fb-leading-relaxed);
  margin-bottom: var(--fb-space-4);
}

.blog-card__link {
  font-size: var(--fb-text-sm);
  font-weight: var(--fb-weight-medium);
  color: var(--fb-blue-500);
  display: inline-flex;
  align-items: center;
  gap: var(--fb-space-2);
}

.blog-card__link svg {
  width: 16px;
  height: 16px;
}

/* Article */
.article {
  max-width: 720px;
  margin: 0 auto;
}

.article h2 {
  font-size: var(--fb-text-2xl);
  margin-top: var(--fb-space-10);
  margin-bottom: var(--fb-space-4);
}

.article h3 {
  font-size: var(--fb-text-xl);
  margin-top: var(--fb-space-8);
  margin-bottom: var(--fb-space-3);
}

.article p {
  font-size: var(--fb-text-lg);
  color: var(--fb-gray-500);
  line-height: var(--fb-leading-relaxed);
  margin-bottom: var(--fb-space-5);
}

.article ul,
.article ol {
  margin-bottom: var(--fb-space-5);
  padding-left: var(--fb-space-6);
}

.article ul li,
.article ol li {
  font-size: var(--fb-text-lg);
  color: var(--fb-gray-500);
  line-height: var(--fb-leading-relaxed);
  margin-bottom: var(--fb-space-2);
}

.article ul li {
  list-style: disc;
}

.article ol li {
  list-style: decimal;
}

.article blockquote {
  border-left: 4px solid var(--fb-blue-500);
  padding-left: var(--fb-space-5);
  margin: var(--fb-space-8) 0;
  font-style: italic;
  color: var(--fb-gray-400);
}

.article blockquote p {
  margin-bottom: 0;
}

/* ============================================
   PAGE: Contacts
   ============================================ */

.contacts__grid {
  display: grid;
  gap: var(--fb-space-10);
}

@media (min-width: 768px) {
  .contacts__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--fb-space-4);
  margin-bottom: var(--fb-space-6);
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  background: var(--fb-brand-gradient);
  border-radius: var(--fb-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fb-white);
  flex-shrink: 0;
}

.contact-item__icon svg {
  width: 20px;
  height: 20px;
}

.contact-item__title {
  font-size: var(--fb-text-sm);
  font-weight: var(--fb-weight-medium);
  color: var(--fb-gray-400);
  margin-bottom: var(--fb-space-1);
}

.contact-item__value {
  font-size: var(--fb-text-lg);
  font-weight: var(--fb-weight-semibold);
  color: var(--fb-gray-900);
}

/* ============================================
   PAGE: Help
   ============================================ */

.help-categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fb-space-3);
  justify-content: center;
  margin-bottom: var(--fb-space-10);
}

.help-category {
  padding: var(--fb-space-2) var(--fb-space-5);
  font-size: var(--fb-text-sm);
  font-weight: var(--fb-weight-medium);
  color: var(--fb-gray-500);
  background: var(--fb-white);
  border: 1px solid var(--fb-gray-100);
  border-radius: var(--fb-radius-full);
  cursor: pointer;
  transition: all var(--fb-transition-base);
}

.help-category:hover,
.help-category.is-active {
  background: var(--fb-blue-500);
  color: var(--fb-white);
  border-color: var(--fb-blue-500);
}

/* ============================================
   PAGE: About
   ============================================ */

.team__grid {
  display: grid;
  gap: var(--fb-space-6);
}

@media (min-width: 768px) {
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.team-card {
  text-align: center;
  padding: var(--fb-space-8);
}

.team-card__avatar {
  width: 80px;
  height: 80px;
  background: var(--fb-blue-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--fb-space-5);
  color: var(--fb-blue-500);
}

.team-card__avatar svg {
  width: 36px;
  height: 36px;
}

.team-card__name {
  font-size: var(--fb-text-lg);
  font-weight: var(--fb-weight-semibold);
  color: var(--fb-gray-900);
  margin-bottom: var(--fb-space-1);
}

.team-card__role {
  font-size: var(--fb-text-sm);
  font-weight: var(--fb-weight-medium);
  color: var(--fb-blue-500);
  margin-bottom: var(--fb-space-4);
}

.team-card__bio {
  font-size: var(--fb-text-sm);
  color: var(--fb-gray-400);
  line-height: var(--fb-leading-relaxed);
}

/* ============================================
   LEGAL pages
   ============================================ */

.legal {
  max-width: 800px;
  margin: 0 auto;
}

.legal h2 {
  font-size: var(--fb-text-2xl);
  margin-top: var(--fb-space-10);
  margin-bottom: var(--fb-space-4);
}

.legal h3 {
  font-size: var(--fb-text-xl);
  margin-top: var(--fb-space-8);
  margin-bottom: var(--fb-space-3);
}

.legal p {
  font-size: var(--fb-text-base);
  color: var(--fb-gray-500);
  line-height: var(--fb-leading-relaxed);
  margin-bottom: var(--fb-space-4);
}

.legal ul {
  margin-bottom: var(--fb-space-4);
  padding-left: var(--fb-space-6);
}

.legal ul li {
  font-size: var(--fb-text-base);
  color: var(--fb-gray-500);
  line-height: var(--fb-leading-relaxed);
  margin-bottom: var(--fb-space-2);
  list-style: disc;
}

/* ============================================
   Breadcrumbs
   ============================================ */

.breadcrumbs {
  padding: var(--fb-space-4) 0;
  border-bottom: 1px solid var(--fb-gray-100);
  margin-bottom: var(--fb-space-8);
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: var(--fb-space-2);
  font-size: var(--fb-text-sm);
  color: var(--fb-gray-400);
}

.breadcrumbs__link {
  color: var(--fb-gray-400);
  transition: color var(--fb-transition-fast);
}

.breadcrumbs__link:hover {
  color: var(--fb-blue-500);
}

.breadcrumbs__current {
  color: var(--fb-gray-600);
  font-weight: var(--fb-weight-medium);
}

.breadcrumbs__separator {
  color: var(--fb-gray-200);
}

/* ============================================
   NEW COMPONENTS: App Store Button
   ============================================ */

.btn-app {
  background-color: #000000;
  color: var(--fb-white);
  border-color: #000000;
  padding: var(--fb-space-3) var(--fb-space-5);
  font-size: var(--fb-text-sm);
  border-radius: var(--fb-radius-lg);
}

.btn-app:hover {
  background-color: #333333;
  border-color: #333333;
}

.btn-app svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   NEW SECTIONS: Tariffs on homepage
   ============================================ */

.tariff-card {
  display: flex;
  flex-direction: column;
  padding: var(--fb-space-8);
  border: 1px solid var(--fb-gray-100);
}

.tariff-card--self {
  border: 2px solid var(--fb-tariff-self);
  background: linear-gradient(180deg, #F0FDF4 0%, var(--fb-white) 100%);
}

.tariff-card__header {
  text-align: center;
  margin-bottom: var(--fb-space-6);
  padding-bottom: var(--fb-space-6);
  border-bottom: 1px solid var(--fb-gray-100);
}

.tariff-card__badge {
  margin-bottom: var(--fb-space-4);
}

.tariff-card__title {
  font-size: var(--fb-text-2xl);
  font-weight: var(--fb-weight-bold);
  color: var(--fb-gray-900);
  margin-bottom: var(--fb-space-3);
}

.tariff-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--fb-space-1);
}

.tariff-card__amount {
  font-size: var(--fb-text-4xl);
  font-weight: var(--fb-weight-bold);
  color: var(--fb-gray-900);
}

.tariff-card__currency {
  font-size: var(--fb-text-xl);
  font-weight: var(--fb-weight-medium);
  color: var(--fb-gray-400);
}

.tariff-card__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--fb-space-4);
  margin-bottom: var(--fb-space-8);
}

.tariff-card__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--fb-space-3);
  font-size: var(--fb-text-sm);
  color: var(--fb-gray-500);
  line-height: 1.6;
}

.tariff-card__feature svg {
  width: 18px;
  height: 18px;
  color: var(--fb-green-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.tariff-card .btn {
  width: 100%;
}

/* ============================================
   NEW SECTIONS: App & Referral
   ============================================ */

.app-section {
  background: var(--fb-white);
}

.app-grid {
  display: grid;
  gap: var(--fb-space-10);
  align-items: center;
}

@media (min-width: 1024px) {
  .app-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--fb-space-16);
  }
}

.app-screenshots {
  display: grid;
  gap: var(--fb-space-4);
}

.app-screen {
  background: var(--fb-blue-50);
  border-radius: var(--fb-radius-xl);
  padding: var(--fb-space-6);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fb-blue-500);
  font-weight: var(--fb-weight-medium);
}

.referral-section {
  background: #F0FDF4;
}

.referral-stats {
  display: flex;
  gap: var(--fb-space-4);
  flex-wrap: wrap;
  align-items: stretch;
}

.referral-stat {
  background: var(--fb-white);
  padding: var(--fb-space-4) var(--fb-space-5);
  border-radius: var(--fb-radius-lg);
  box-shadow: var(--fb-shadow-card);
  text-align: left;
  flex: 1;
  min-width: 120px;
}

.referral-stat__value {
  font-size: var(--fb-text-3xl);
  font-weight: var(--fb-weight-bold);
}

.referral-stat__label {
  font-size: var(--fb-text-sm);
  color: var(--fb-gray-400);
  margin-top: var(--fb-space-1);
}

/* ============================================
   NEW SECTIONS: Pain cards (air style)
   ============================================ */

.pain-grid {
  display: grid;
  gap: var(--fb-space-8);
}

@media (min-width: 1024px) {
  .pain-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pain-card {
  position: relative;
  padding: var(--fb-space-4) var(--fb-space-4) var(--fb-space-4) 0;
  border-bottom: 1px solid var(--fb-gray-100);
  min-height: auto;
}

@media (min-width: 1024px) {
  .pain-card {
    border-bottom: none;
    border-right: 1px solid var(--fb-gray-100);
  }
  .pain-card:last-child {
    border-right: none;
  }
}

.pain-card__header {
  display: flex;
  align-items: center;
  gap: var(--fb-space-3);
  margin-bottom: var(--fb-space-2);
}

.pain-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  flex-shrink: 0;
}

.pain-card__icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}

.pain-card__title {
  font-size: var(--fb-text-base);
  font-weight: var(--fb-weight-semibold);
  color: var(--fb-gray-900);
  line-height: 1.3;
  margin: 0;
}

.pain-card__text {
  font-size: var(--fb-text-sm);
  color: var(--fb-gray-500);
  line-height: 1.6;
}

/* ============================================
   NEW SECTIONS: Quiz preview on homepage
   ============================================ */

.quiz-preview-card {
  background: var(--fb-white);
  border: 2px solid var(--fb-blue-500);
  border-radius: var(--fb-radius-xl);
  padding: var(--fb-space-8);
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.quiz-preview-card__timer {
  font-size: var(--fb-text-4xl);
  font-weight: var(--fb-weight-bold);
  color: var(--fb-blue-500);
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--fb-space-4);
}

.quiz-preview-card__meta {
  display: flex;
  justify-content: center;
  gap: var(--fb-space-6);
  margin-bottom: var(--fb-space-6);
  font-size: var(--fb-text-sm);
  color: var(--fb-gray-400);
}

/* ============================================
   HEADER: App badge
   ============================================ */

.nav__link--badge {
  display: inline-flex;
  align-items: center;
  gap: var(--fb-space-2);
}

.nav__badge {
  font-size: 10px;
  font-weight: var(--fb-weight-bold);
  color: var(--fb-green-500);
  background: var(--fb-green-50);
  padding: 2px 6px;
  border-radius: var(--fb-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ============================================
   Notifications
   ============================================ */

.notifications-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.notifications-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--fb-radius-md);
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--fb-gray-900);
  transition: background 0.15s ease;
}

.notifications-toggle:hover {
  background: var(--fb-gray-100);
}

.notifications-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--fb-radius-full);
  background: var(--fb-red-500);
  color: var(--fb-white);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.notifications-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: var(--fb-white);
  border: 1px solid var(--fb-gray-200);
  border-radius: var(--fb-radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  z-index: 100;
  overflow: hidden;
}

.notifications-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--fb-space-4) var(--fb-space-5);
  border-bottom: 1px solid var(--fb-gray-100);
}

.notifications-title {
  font-weight: var(--fb-weight-bold);
  font-size: var(--fb-text-base);
  color: var(--fb-gray-900);
}

.notifications-read-all {
  background: none;
  border: none;
  color: var(--fb-blue-500);
  font-size: var(--fb-text-sm);
  cursor: pointer;
  padding: 0;
}

.notifications-read-all:hover {
  text-decoration: underline;
}

.notifications-list {
  max-height: 400px;
  overflow-y: auto;
}

.notifications-empty {
  padding: var(--fb-space-8);
  text-align: center;
  color: var(--fb-gray-400);
  font-size: var(--fb-text-sm);
}

.notifications-item {
  padding: var(--fb-space-4) var(--fb-space-5);
  border-bottom: 1px solid var(--fb-gray-50);
  cursor: pointer;
  transition: background 0.15s ease;
}

.notifications-item:last-child {
  border-bottom: none;
}

.notifications-item:hover {
  background: var(--fb-gray-50);
}

.notifications-item.is-read {
  opacity: 0.6;
}

.notifications-item__title {
  font-weight: var(--fb-weight-semibold);
  font-size: var(--fb-text-sm);
  color: var(--fb-gray-900);
  margin-bottom: 2px;
}

.notifications-item__message {
  font-size: var(--fb-text-sm);
  color: var(--fb-gray-600);
  line-height: 1.4;
  margin-bottom: 4px;
}

.notifications-item__time {
  font-size: var(--fb-text-xs);
  color: var(--fb-gray-400);
}

@media (max-width: 768px) {
  .notifications-dropdown {
    width: 320px;
    right: -40px;
  }
}

/* ============================================
   Feedback Button (Book of Suggestions)
   ============================================ */

.feedback-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(40%) rotate(-90deg);
  transform-origin: center center;
  background: var(--fb-blue-500);
  color: var(--fb-white);
  font-size: var(--fb-text-sm);
  font-weight: var(--fb-weight-semibold);
  padding: 12px 24px;
  border-radius: var(--fb-radius-md) var(--fb-radius-md) 0 0;
  border: none;
  cursor: pointer;
  z-index: 90;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.feedback-btn:hover {
  background: #002880;
}

/* Ref Table */
.ref-table { width: 100%; border-collapse: collapse; font-size: var(--fb-text-sm); }
.ref-table th { text-align: left; padding: var(--fb-space-3) var(--fb-space-4); background: var(--fb-gray-50); font-weight: var(--fb-weight-semibold); color: var(--fb-gray-600); border-bottom: 2px solid var(--fb-gray-100); white-space: nowrap; }
.ref-table td { padding: var(--fb-space-3) var(--fb-space-4); border-bottom: 1px solid var(--fb-gray-100); color: var(--fb-gray-900); vertical-align: middle; }
.ref-table tr:hover td { background: var(--fb-gray-50); }
.ref-table td:last-child { text-align: right; }

@media (max-width: 768px) {
  .feedback-btn {
    display: none;
  }
  .ref-table th, .ref-table td { padding: var(--fb-space-2); font-size: 12px; }
}

/* ============================================
   Social Links (footer)
   ============================================ */

.social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--fb-radius-md);
  background: var(--fb-blue-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fb-white);
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 14px;
  font-weight: var(--fb-weight-bold);
}

.social-link:hover {
  background: var(--fb-blue-700);
  transform: translateY(-2px);
  box-shadow: var(--fb-shadow-md);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   UTILITY: Gradient Text, BG, Border
   ============================================ */

.gradient-text {
  background: var(--fb-brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradient-shimmer 3s ease infinite;
}

@keyframes gradient-shimmer {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.gradient-bg {
  background: var(--fb-brand-gradient);
  color: var(--fb-white);
}

.gradient-border {
  position: relative;
  padding: 2px;
  background: var(--fb-brand-gradient);
  border-radius: var(--fb-radius-xl);
}

.gradient-border__inner {
  background: var(--fb-white);
  border-radius: calc(var(--fb-radius-xl) - 2px);
  height: 100%;
}
