/* Buttons */
.cta-button,
button.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-accent) 100%);
  color: var(--ink-2);
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}

.cta-button:hover,
button.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--gold) 40%, transparent);
  background: linear-gradient(135deg, var(--gold-accent) 0%, var(--gold) 100%);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0;
  color: var(--text);
}

/* Universal Section Divider */
.section-divider {
  width: var(--divider-width);
  height: var(--divider-height);
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-accent) 50%, var(--gold) 100%);
  border-radius: 2px;
  margin: var(--divider-margin-top) auto var(--divider-margin-bottom) auto;
  box-shadow: 0 2px 10px color-mix(in srgb, var(--gold) 30%, transparent);
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-light);
}

/* Brand Badge */
.brand-badge {
  position: absolute;
  left: clamp(12px, 4%, 24px);
  bottom: clamp(12px, 4%, 24px);
  background: #050714;
  color: #fff;
  border-radius: 16px;
  padding: 18px 22px;
  min-width: 180px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.30);
}

.badge-num {
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.badge-label {
  font-size: 13px;
  letter-spacing: 0.6px;
  opacity: 0.95;
  white-space: nowrap;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
  border-radius: 6px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.15);
}

/* Form Success Message */
.form-success-message {
  text-align: center;
  padding: 3rem 2rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, var(--accent) 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  animation: successPop 0.6s ease-out;
}

@keyframes successPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.form-success-message h3 {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  text-shadow:
    -1px -1px 0 rgba(0, 0, 0, 0.8),
    1px -1px 0 rgba(0, 0, 0, 0.8),
    -1px 1px 0 rgba(0, 0, 0, 0.8),
    1px 1px 0 rgba(0, 0, 0, 0.8),
    0 0 10px color-mix(in srgb, var(--gold) 60%, transparent);
}

.form-success-message p {
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

/* Testimonial Card */
.testimonial-card {
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
  background: linear-gradient(135deg, #353342 0%, var(--ink-2) 100%);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--gold) 20%, transparent);
}

.testimonial-card.active {
  opacity: 1;
  visibility: visible;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.2rem;
}

.testimonial-content {
  margin-bottom: 2rem;
}

.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e0e0e0;
  font-style: italic;
  margin: 0;
}

.testimonial-author {
  border-top: 2px solid color-mix(in srgb, var(--gold) 30%, transparent);
  padding-top: 1.5rem;
}

.testimonial-author-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.testimonial-logo {
  max-width: 80px;
  max-height: 50px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  flex-shrink: 0;
}

.testimonial-author-info {
  text-align: left;
}

.author-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.author-position {
  font-size: 0.95rem;
  color: var(--gold);
}

/* Carousel Buttons */
.testimonial-btn,
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.testimonial-btn {
  background: rgba(102, 126, 234, 0.9);
  width: 45px;
  height: 45px;
}

.testimonial-btn:hover {
  background: rgba(102, 126, 234, 1);
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-btn-prev,
.testimonial-btn-prev {
  left: 1rem;
}

.testimonial-btn-prev {
  left: 0;
}

.carousel-btn-next,
.testimonial-btn-next {
  right: 1rem;
}

.testimonial-btn-next {
  right: 0;
}

/* Carousel Indicators */
.carousel-indicators,
.testimonial-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.testimonial-indicators {
  position: static;
  transform: none;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.carousel-indicator,
.testimonial-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.testimonial-indicator {
  width: 12px;
  height: 12px;
  background: #ddd;
}

.carousel-indicator.active {
  background: white;
  width: 30px;
  border-radius: 5px;
}

.testimonial-indicator.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* CTA Wrapper */
.cta-wrapper {
  text-align: center;
  padding: 3rem;
  background: linear-gradient(180deg, #4a4558 0%, #3f3a4d 100%);
  border-radius: 8px;
  margin-top: 3rem;
  border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.cta-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.cta-wrapper p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}
