/* Buttons, cards, tabs — component styles */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--btn-gap);
  padding: var(--btn-padding-y) var(--btn-padding-x);
  border: 1px solid transparent;
  border-radius: var(--btn-radius);
  font-family: var(--btn-font-family);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  line-height: var(--btn-line-height);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: var(--color-brand);
  color: var(--color-white);
  box-shadow: var(--btn-shadow-primary);
}

.btn--primary:hover {
  background: var(--color-brand-dark);
  color: var(--color-white);
}

.btn--primary .btn__icon {
  flex-shrink: 0;
}

.btn--secondary {
  background: var(--color-btn-secondary-bg);
  color: var(--color-brand);
}

.btn--secondary:hover {
  background: #e2e2e2;
  color: var(--color-brand-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  background: var(--color-bg-muted);
}

.btn--lg {
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.btn--lg .btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn--white {
  background: #fff;
  color: var(--color-text-title);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  box-shadow: none;
}

.btn--white .btn__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  color: var(--color-brand);
}

.btn--white .btn__icon svg {
  display: block;
  width: 14.67px;
  height: 12px;
}

.btn--white:hover {
  background: #f3f3f3;
  color: var(--color-text-title);
}

.btn--white:hover .btn__icon {
  color: var(--color-brand-dark);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(236, 236, 236, 0.24);
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(236, 236, 236, 0.36);
  color: #fff;
}

/* Shot frame (screenshot / product preview chrome) */

.shot-frame {
  min-width: 0;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(236, 236, 236, 1);
  border-radius: 20px;
  background: rgba(244, 246, 245, 1);
  box-shadow: 0 20px 45px 0 rgba(0, 0, 0, 0.06);
}

.shot-frame__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  vertical-align: top;
}

/* Text link (Figma: buttons/link) */

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--color-brand);
  text-decoration: none;
}

.text-link__arrow {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  padding: 3px 2px;
  box-sizing: border-box;
}

.text-link__arrow svg {
  display: block;
  width: 11px;
  height: 10px;
}

.text-link:hover {
  text-decoration: underline;
}

/* Section lead (Figma: Body / Text-base) */

.section-lead {
  margin: 0;
  max-width: 531px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--color-body-text);
}

.section-lead strong {
  font-weight: 600;
  color: var(--color-text-title);
}

.section-lead--center {
  max-width: 713px;
  margin-inline: auto;
  text-align: center;
}

/* Section title (Figma: Headings / Text-3xl + brand accent) */

.section-title {
  margin: 0 0 1rem;
  max-width: 757px;
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 2.5vw, 36px);
  font-weight: 600;
  line-height: 1.111; /* 40 / 36 */
  letter-spacing: -0.06em;
  color: var(--color-text-title);
}

.section-title__accent {
  color: var(--color-brand);
}

.section-title--center {
  max-width: 712px;
  margin-inline: auto;
  text-align: center;
}

/* Section badge (Figma: green pill label) */

.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 1rem;
  padding: 4px 10px;
  border: 1px solid rgba(5, 122, 68, 0.22);
  border-radius: 30px;
  background: rgba(5, 122, 68, 0.08);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-brand);
}

.section-badge--dot::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-brand);
}

.section-badge--dot {
  padding: 8px 16px;
  font-size: var(--text-sm-size);
  font-weight: var(--text-sm-weight);
  line-height: var(--text-sm-line);
  text-transform: none;
  color: var(--color-text-title);
  flex-wrap: nowrap;
  white-space: nowrap;
}

.section-badge--dot span {
  color: var(--color-brand);
}

.section-badge--on-brand {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.35);
  font-family: var(--font-sans); /* Typhography/Font family/Body */
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}

/* Cards */

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

.card__link {
  font-weight: 600;
  text-decoration: none;
}

.card__link:hover {
  text-decoration: underline;
}

/* Tabs */

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tabs__tab {
  padding: 0.625rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  font: inherit;
  cursor: pointer;
}

.tabs__tab.is-active {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
}

.tabs__panel {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.tabs__panel:not(.is-active) {
  display: none;
}

@media (min-width: 48rem) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
