:root {
  --gof1usa-tp-card-bg: rgba(255, 255, 255, 0.95);
  --gof1usa-tp-card-border: rgba(0, 0, 0, 0.06);
}

.gof1usa-tp-front-meta {
  text-align: center;
  color: var(--text-muted, #64748b);
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
}

.gof1usa-tp-front-empty {
  text-align: center;
  color: var(--text-muted, #64748b);
  padding: 1.25rem;
  border: 1px dashed rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.gof1usa-tp-front-error {
  margin: 0 0 1rem 0;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(239, 68, 68, 0.25);
  background: rgba(239, 68, 68, 0.06);
  color: #991b1b;
}

.gof1usa-tp-front-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--wp--preset--spacing--30, 20px);
}

@media (max-width: 1024px) {
  .gof1usa-tp-front-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .gof1usa-tp-front-grid {
    grid-template-columns: 1fr;
  }
}

.gof1usa-tp-front-card {
  appearance: none;
  -webkit-appearance: none;
  text-align: left;
  width: 100%;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px;
  padding: 1.5rem;
  background: var(--gof1usa-tp-card-bg);
  border: 1px solid var(--gof1usa-tp-card-border);
  box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gof1usa-tp-front-card:focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.35);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .gof1usa-tp-front-card {
    padding: 1.25rem;
  }
}

.gof1usa-tp-front-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl, 0 20px 25px -5px rgba(0, 0, 0, 0.1));
}

.gof1usa-tp-front-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 0.75rem;
}

.gof1usa-tp-front-avatar,
.gof1usa-tp-front-avatar-fallback {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  flex: 0 0 auto;
}

.gof1usa-tp-front-avatar {
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.gof1usa-tp-front-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color, #0066CC), var(--primary-light, #3B82F6));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}

.gof1usa-tp-front-name {
  font-weight: 700;
  color: var(--text-dark, #0F172A);
  line-height: 1.2;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.gof1usa-tp-front-review-title {
  color: var(--text-muted, #64748b);
  font-size: 0.88rem;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.gof1usa-tp-front-rating {
  color: var(--accent-gold, #D4AF37);
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.gof1usa-tp-front-stars {
  display: block;
  height: 16px;
  width: auto;
}

.gof1usa-tp-front-date {
  color: var(--text-muted, #64748b);
  font-size: 0.85rem;
}

.gof1usa-tp-front-text {
  color: var(--text-dark, #0F172A);
  line-height: 1.55;
  font-size: 0.95rem;
  white-space: pre-wrap;
  flex: 1 1 auto;
}

.gof1usa-tp-front-actions {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.gof1usa-tp-front-actions .gof1usa-tp-front-more,
.gof1usa-tp-front-actions .gof1usa-tp-front-link {
  margin-top: 0;
}

.gof1usa-tp-front-link {
  display: inline-block;
  margin-top: 0;
  color: var(--primary-color, #0066CC);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.gof1usa-tp-front-link:hover {
  text-decoration: underline;
}

/* External reviews (Reviews page Tab) */

/* Section Header */
.gof1usa-ext-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--wp--preset--spacing--50, 30px) auto;
}

.gof1usa-ext-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary-color, #0066CC), var(--primary-light, #3B82F6));
  color: #fff;
  margin-bottom: 1.25rem;
  box-shadow: 0 12px 32px rgba(0, 102, 204, 0.25);
}

.gof1usa-ext-header-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark, #0F172A);
  margin: 0 0 0.75rem 0;
  line-height: 1.2;
}

.gof1usa-ext-header-desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted, #64748b);
  margin: 0;
}

/* Platform Selector Cards */
.gof1usa-ext-platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--wp--preset--spacing--30, 20px);
  margin-bottom: var(--wp--preset--spacing--50, 30px);
}

@media (max-width: 768px) {
  .gof1usa-ext-platforms {
    grid-template-columns: 1fr;
  }
}

.gof1usa-platform-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm, 0 1px 2px 0 rgba(0, 0, 0, 0.05));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.gof1usa-platform-card.is-active {
  background: #ffffff;
  border-color: var(--primary-color, #0066CC);
  box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1)), 0 0 0 4px rgba(0, 102, 204, 0.08);
}

.gof1usa-platform-card.is-soon {
  opacity: 0.65;
}

/* Platform buttons (Trustpilot / Otzovik) */
.gof1usa-platform-card[data-platform] {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.gof1usa-platform-card[data-platform]:focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.35);
  outline-offset: 3px;
  border-radius: 20px;
}

.gof1usa-platform-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gof1usa-platform-icon svg {
  width: 26px;
  height: 26px;
}

.gof1usa-platform-icon--trustpilot {
  background: linear-gradient(135deg, #00b67a 0%, #00a876 100%);
  color: #fff;
}

.gof1usa-platform-icon--google {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8eaed 100%);
  color: #4285f4;
}

.gof1usa-platform-icon--facebook {
  background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
  color: #fff;
}

.gof1usa-platform-icon--otzovik {
  background: linear-gradient(135deg, var(--accent-orange, #FF6B35) 0%, #e74c3c 100%);
  color: #fff;
}

.gof1usa-platform-views {
  margin-top: var(--wp--preset--spacing--20, 10px);
}

.gof1usa-platform-view {
  display: none;
}

.gof1usa-platform-view.is-active {
  display: block;
}

.gof1usa-platform-info {
  flex: 1 1 auto;
  min-width: 0;
}

.gof1usa-platform-title {
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-dark, #0F172A);
  line-height: 1.2;
  font-size: 1.0625rem;
}

.gof1usa-platform-subtitle {
  margin-top: 0.2rem;
  color: var(--text-muted, #64748b);
  font-size: 0.9rem;
}

.gof1usa-platform-badge {
  flex: 0 0 auto;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--primary-color, #0066CC), var(--primary-light, #3B82F6));
  color: #fff;
}

.gof1usa-platform-badge.is-soon {
  background: rgba(100, 116, 139, 0.12);
  color: var(--text-muted, #64748b);
}

/* Trustpilot Block */
.gof1usa-tp-block {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: var(--shadow-xl, 0 20px 25px -5px rgba(0, 0, 0, 0.1)), 0 0 0 1px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  margin-top: var(--wp--preset--spacing--20, 10px);
}

.gof1usa-tp-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(0, 182, 122, 0.06) 0%, rgba(0, 182, 122, 0.02) 100%);
  border-bottom: 1px solid rgba(0, 182, 122, 0.1);
}

@media (max-width: 900px) {
  .gof1usa-tp-block-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.gof1usa-tp-block-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.gof1usa-tp-block-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00b67a 0%, #00a876 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.gof1usa-tp-block-logo svg {
  width: 24px;
  height: 24px;
}

.gof1usa-tp-block-brand-text {
  display: flex;
  flex-direction: column;
}

.gof1usa-tp-block-brand-name {
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--text-dark, #0F172A);
  letter-spacing: -0.01em;
}

.gof1usa-tp-block-brand-label {
  font-size: 0.85rem;
  color: #00b67a;
  font-weight: 600;
}

.gof1usa-tp-block-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .gof1usa-tp-block-stats {
    gap: 1.25rem;
  }
}

.gof1usa-tp-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gof1usa-tp-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark, #0F172A);
  letter-spacing: -0.02em;
  line-height: 1;
}

.gof1usa-tp-stat-label {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.gof1usa-tp-block-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #00b67a 0%, #00a876 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 182, 122, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.gof1usa-tp-block-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 182, 122, 0.3);
  text-decoration: none;
  color: #fff;
}

.gof1usa-tp-block-body {
  padding: 2rem;
}

@media (max-width: 600px) {
  .gof1usa-tp-block-body {
    padding: 1.25rem;
  }
}

/* Loading State */
.gof1usa-tp-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 1rem;
  color: var(--text-muted, #64748b);
}

.gof1usa-tp-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 182, 122, 0.15);
  border-top-color: #00b67a;
  border-radius: 50%;
  animation: gof1usa-spin 0.8s linear infinite;
}

@keyframes gof1usa-spin {
  to { transform: rotate(360deg); }
}

.gof1usa-tp-front-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.85rem;
  padding: 0.55rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-dark, #0F172A);
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition-fast, 150ms cubic-bezier(0.4, 0, 0.2, 1)),
    box-shadow var(--transition-fast, 150ms cubic-bezier(0.4, 0, 0.2, 1));
}

.gof1usa-tp-front-more:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm, 0 1px 2px 0 rgba(0, 0, 0, 0.05));
}

.gof1usa-tp-front-more:focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.35);
  outline-offset: 2px;
}

/* Modal */
html.gof1usa-tp-modal-open,
html.gof1usa-tp-modal-open body {
  overflow: hidden;
}

.gof1usa-tp-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.gof1usa-tp-modal[hidden] {
  display: none;
}

.gof1usa-tp-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(8px);
}

.gof1usa-tp-modal-dialog {
  position: relative;
  width: min(780px, calc(100vw - 32px));
  max-height: min(80vh, 720px);
  overflow: auto;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  box-shadow: var(--shadow-2xl, 0 25px 50px -12px rgba(0, 0, 0, 0.25));
  padding: 1.5rem;
}

.gof1usa-tp-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-dark, #0F172A);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.gof1usa-tp-modal-close:focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.35);
  outline-offset: 2px;
}

.gof1usa-tp-modal-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 56px;
}

.gof1usa-tp-modal-avatar,
.gof1usa-tp-modal-avatar-img,
.gof1usa-tp-modal-avatar-fallback {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  flex: 0 0 auto;
}

.gof1usa-tp-modal-avatar-img {
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.gof1usa-tp-modal-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color, #0066CC), var(--primary-light, #3B82F6));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}

.gof1usa-tp-modal-title {
  font-weight: 800;
  color: var(--text-dark, #0F172A);
  letter-spacing: -0.01em;
}

.gof1usa-tp-modal-meta {
  margin-top: 0.25rem;
  color: var(--text-muted, #64748b);
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.gof1usa-tp-modal-rating {
  color: var(--accent-gold, #D4AF37);
  letter-spacing: 1px;
  line-height: 1;
}

.gof1usa-tp-modal-body {
  margin-top: 1rem;
  color: var(--text-dark, #0F172A);
  line-height: 1.7;
  white-space: pre-wrap;
}

.gof1usa-tp-modal-review-title {
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.gof1usa-tp-modal-review-text {
  white-space: pre-wrap;
}

.gof1usa-tp-modal-actions {
  margin-top: 1.25rem;
  display: flex;
  justify-content: flex-end;
}

.gof1usa-tp-modal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-color, #0066CC), var(--primary-light, #3B82F6));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.gof1usa-tp-modal-link:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .gof1usa-tp-modal {
    padding: 16px;
  }
  .gof1usa-tp-modal-dialog {
    padding: 1.1rem;
  }
}
