/* ============================================
   CapStellar Confirmation Page — Styles
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --accent: #7A23FD;
  --accent-light: rgba(122, 35, 253, 0.06);
  --accent-border: rgba(122, 35, 253, 0.25);
  --bg: #F8F7FA;
  --text: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 12px;
}

html {
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Section 1: Hero --- */
.hero {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, rgba(122, 35, 253, 0.12) 0%, rgba(122, 35, 253, 0.03) 40%, var(--bg) 100%);
}

.hero h1 {
  font-size: 2.2rem;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-text {
  font-size: 1.05rem;
  color: var(--text);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}

.check-list {
  list-style: none;
  max-width: 640px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.6;
}

.check-list .bullet {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Warning box */
.warning-box {
  max-width: 640px;
  margin: 0 auto 40px;
  padding: 20px 28px;
  background: rgba(122, 35, 253, 0.04);
  border: 2px solid var(--accent-border);
  border-radius: var(--radius);
  text-align: center;
}

.warning-box p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Booking widget */
.booking-widget {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.booking-sidebar {
  flex-shrink: 0;
  width: 180px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.booking-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.booking-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-light);
}

.booking-duration {
  font-weight: 500;
}

.booking-calendar {
  flex: 1;
  min-width: 0;
}

.booking-calendar iframe {
  width: 100%;
  height: 700px;
  border: none;
  display: block;
}

/* --- Section 2: Testimonials --- */
.testimonials {
  padding: 80px 0 60px;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(122, 35, 253, 0.05) 30%, rgba(122, 35, 253, 0.08) 70%, var(--bg) 100%);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg,
    var(--bg) 0%,
    rgba(122, 35, 253, 0.04) 50%,
    rgba(122, 35, 253, 0.08) 100%
  );
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

.testimonials h2 {
  font-size: 2rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 36px;
  position: relative;
}

/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  position: relative;
}

.tab {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 24px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.tab:hover {
  background: rgba(122, 35, 253, 0.06);
}

.tab.active {
  background: var(--accent);
  color: var(--white);
}

/* Tab panels */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Testimonial card */
.testimonial-card {
  background: var(--white);
  border: 2px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 36px;
}

.testimonial-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.client-name {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.client-quote {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Video */
.testimonial-video video {
  width: 100%;
  border-radius: var(--radius-sm);
  background: #000;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Results */
.results-title {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.results-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.result-card {
  background: var(--bg);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.result-value {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.2;
}

.result-gain {
  color: var(--accent);
  font-size: 1.8rem;
}

.result-date {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* --- Footer --- */
.site-footer {
  padding: 48px 0 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-company {
  font-size: 0.88rem;
  line-height: 1.6;
  font-weight: 500;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 8px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero {
    padding: 40px 0 30px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-text {
    font-size: 0.95rem;
  }

  .testimonials h2 {
    font-size: 1.4rem;
  }

  .testimonial-content {
    grid-template-columns: 1fr;
  }

  .results-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .booking-widget {
    flex-direction: column;
  }

  .booking-sidebar {
    width: 100%;
    flex-direction: row;
    padding: 20px 24px;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .booking-photo {
    width: 80px;
    height: 80px;
  }

  .booking-calendar iframe {
    height: 600px;
  }

  .tab {
    font-size: 0.85rem;
    padding: 8px 18px;
  }

  .testimonial-card {
    padding: 24px 20px;
  }

  .result-value {
    font-size: 1.4rem;
  }

  .result-gain {
    font-size: 1.5rem;
  }
}
