:root {
  --bg: #05060a;
  --accent: #70cdfd;
  --accent-red: #fc4240;
  --accent-yellow: #fee819;
  --text-muted: #9ba0b8;

  --transition-fast: 160ms ease-out;
  --transition-med: 260ms cubic-bezier(0.21, 0.84, 0.36, 1);

  --hero-height-mobile: min(100vh, 620px);
  --hero-height-desktop: min(100vh, 720px);
}

/* RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  font-family: system-ui, "Helvetica Neue", Arial, sans-serif;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* -------------------------------------------------------------------------- */
/* HEADER — FLOATING OVER HERO, TOP CENTER                                   */
/* -------------------------------------------------------------------------- */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;

  display: flex;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 55px;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 30px,
    rgba(0, 0, 0, 0.2) 60px,
    rgba(0, 0, 0, 0) 75px
  );

  pointer-events: none;
}

.site-logo {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 15px rgba(112, 205, 253, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  clip-path: circle(50%);
}

.logo-text {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    system-ui, sans-serif;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 255, 255, 0.4);
}

/* -------------------------------------------------------------------------- */
/* HERO                                                                       */
/* -------------------------------------------------------------------------- */

.hero-carousel {
  position: relative;
  height: var(--hero-height-mobile);
  overflow: hidden;
  background: #000;
}

.hero-panel {
  position: relative;
  width: 100%;
  height: 100%;
}

/* BACKGROUND IMAGE */

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-media-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 260ms ease-out, filter 260ms ease-out,
    opacity 260ms ease-out;
}

/* HERO OVERLAY (CONTENT HOLDER) */

.hero-overlay {
  position: relative;
  z-index: 3;
  height: 100%;
  padding: 20px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  max-width: 720px;
  margin: 0 auto;

  /* DO NOT SHIFT HORIZONTALLY — stays centered */
  text-align: center;

  padding-bottom: 30px;
}

/* WHITE BAND BEHIND TEXT */

.hero-content {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 20%,
    rgba(255, 255, 255, 0.82) 50%,
    rgba(255, 255, 255, 0.55) 80%,
    rgba(255, 255, 255, 0) 100%
  );

  padding: 22px 26px 26px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
}

/* TEXT */

.hero-kicker {
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #000;
  font-weight: 600;
}

.hero-title {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 800;
  color: #000;
}

.hero-text {
  margin: 0 0 20px;
  font-size: 17px;
  color: #000;
  line-height: 1.55;
}

/* CTA BUTTON */

.hero-cta {
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--accent-red);
  color: #fff;
  text-decoration: none;
  border: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background var(--transition-fast),
    transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-cta:hover {
  background: #e03a38;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(252, 66, 64, 0.4);
}

/* CTA + ARROWS INLINE */

.hero-nav-inline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.hero-arrows {
  display: inline-flex;
  gap: 8px;
}

.nav-button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: background 160ms ease-out, transform 160ms ease-out;
}

.nav-button:hover {
  background: #222;
  transform: translateY(-2px);
}

/* DOTS */

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.hero-dot {
  width: 7px;
  height: 7px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
}

.hero-dot.is-active {
  width: 18px;
  background: #000;
}

/* FOOTNOTE */

.hero-footnote {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

/* -------------------------------------------------------------------------- */
/* DESKTOP                                                                    */
/* -------------------------------------------------------------------------- */

@media (min-width: 768px) {
  .hero-carousel {
    height: var(--hero-height-desktop);
  }

  .hero-overlay {
    align-items: flex-start;
    text-align: left;
    padding-bottom: 40px;
  }

  .hero-content {
    text-align: left;
    padding: 28px 40px;
  }

  .hero-nav-inline {
    justify-content: flex-start;
  }

  .hero-title {
    font-size: 36px;
  }
  .hero-text {
    font-size: 18px;
  }
}

/* -------------------------------------------------------------------------- */
/* CONTENT SECTIONS                                                           */
/* -------------------------------------------------------------------------- */

.content-section {
  padding: 60px 20px;
  background: var(--bg);
}

.content-section:nth-child(even) {
  background: var(--bg-elevated);
}

.section-container {
  max-width: 680px;
  margin: 0 auto;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 24px;
  color: var(--accent);
  text-shadow: 0 0 30px rgba(112, 205, 253, 0.4);
}

.section-description {
  font-size: 16px;
  line-height: 1.6;
  color: #c0c5d9;
  margin: 20px 0;
}

.section-cta {
  display: inline-block;
  padding: 14px 28px;
  background: var(--accent);
  color: #000;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
  margin-top: 16px;
}

.section-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(112, 205, 253, 0.4);
}

/* Split Layout */
.split-container {
  max-width: 1100px;
}

.split-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.split-panel {
  flex: 1;
  min-width: 0;
}

.split-panel--youtube {
  flex: 0 0 70%;
}

.split-panel--testimonials {
  flex: 0 0 30%;
}

/* Components Section */
.components-section {
  background: linear-gradient(
    160deg,
    rgba(16, 22, 36, 0.9) 0%,
    rgba(18, 30, 48, 0.95) 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.components-layout {
  display: grid;
  gap: 32px;
}

.components-copy {
  max-width: 640px;
}

.components-heading {
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  margin: 24px 0 10px;
}

.components-heading-primary {
  font-size: 30px;
  color: #ffffff;
  text-shadow: none;
}

.components-heading-primary::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 999px;
  margin-top: 8px;
}

.components-text {
  font-size: 16px;
  color: #c0c5d9;
  margin: 0;
}

.components-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-self: start;
}

.components-carousel {
  grid-column: 1 / -1;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  height: 220px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

@media (max-width: 600px) {
  .components-carousel {
    margin-top: 16px;
  }
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f15b4d, #f8c43a);
  color: #000;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

.comment-name {
  font-size: 14px;
  color: #ffffff;
  margin: 0 0 2px;
  font-weight: 700;
}

.comment-time {
  font-size: 12px;
  color: #9aa4bf;
  margin: 0;
}

.comment-text {
  font-size: 14px;
  color: #e7eaf6;
  margin: 0;
  line-height: 1.5;
}

.comment-controls {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.comment-button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e7eaf6;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition-fast),
    border-color var(--transition-fast), color var(--transition-fast);
}

.comment-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.comment-button.is-active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.components-carousel.is-fading {
  opacity: 0.2;
  transform: translateY(4px);
}

.components-carousel {
  transition: opacity 260ms ease, transform 260ms ease;
}

.components-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(112, 205, 253, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.components-image.image-one {
  background-image: url("../img/hero1.jpeg");
}

.components-image.image-two {
  background-image: url("../img/hero2.jpeg");
}

.components-image.image-three {
  background-image: url("../img/hero6.jpeg");
}

.components-image.image-four {
  background-image: url("../img/hero9.jpeg");
}

/* YouTube Section */
.youtube-embed {
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.youtube-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px;
  text-align: center;
  position: relative;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

.play-icon {
  width: 80px;
  height: 80px;
  background: rgba(252, 66, 64, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  transition: transform var(--transition-fast),
    background var(--transition-fast);
  position: relative;
  z-index: 2;
  padding-left: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.play-icon:hover {
  transform: scale(1.1);
  background: var(--accent-red);
}

.video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  z-index: 2;
  text-align: left;
}

.video-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.video-meta {
  font-size: 14px;
  color: #e0e0e0;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.video-info-standalone {
  position: static;
  background: none;
  padding: 12px 0 0;
  text-align: left;
}

.video-info-standalone .video-title,
.video-info-standalone .video-meta {
  text-shadow: none;
}

/* Community Updates */
.updates-grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.split-panel .updates-grid {
  grid-template-columns: 1fr;
}

.update-card {
  background: rgba(255, 255, 255, 0.02);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform var(--transition-fast),
    border-color var(--transition-fast);
}

.featured-testimonial {
  background: linear-gradient(
    135deg,
    rgba(112, 205, 253, 0.16),
    rgba(112, 205, 253, 0.04)
  );
  border-color: rgba(112, 205, 253, 0.35);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.featured-testimonial .update-title {
  font-size: 20px;
}

.featured-testimonial .update-text {
  font-size: 16px;
  line-height: 1.7;
}

.update-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-soft);
}

.update-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.update-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px;
}

.update-text {
  font-size: 15px;
  line-height: 1.6;
  color: #c0c5d9;
  margin: 0;
}

.update-meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8f9bb8;
  margin: 0 0 10px;
}

.read-more-button {
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(112, 205, 253, 0.15);
  border: 1px solid rgba(112, 205, 253, 0.35);
  color: #d6e8ff;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.read-more-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(112, 205, 253, 0.2);
}

/* Testimonial Dialog */
.testimonial-dialog {
  width: min(92vw, 680px);
  border: none;
  border-radius: 16px;
  padding: 0;
  background: transparent;
}

.testimonial-dialog::backdrop {
  background: rgba(6, 10, 18, 0.75);
  backdrop-filter: blur(6px);
}

.dialog-content {
  background: #0b0f19;
  border: 1px solid rgba(112, 205, 253, 0.2);
  border-radius: 16px;
  padding: 24px;
  color: #e8efff;
  max-height: 80vh;
  overflow: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.dialog-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.dialog-meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8f9bb8;
  margin: 0 0 12px;
}

.dialog-close {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
}

.dialog-text {
  font-size: 15px;
  line-height: 1.7;
  color: #c0c5d9;
}

.dialog-text p {
  margin: 0 0 16px;
}

.dialog-text p:last-child {
  margin-bottom: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
    135deg,
    rgba(112, 205, 253, 0.08) 0%,
    rgba(112, 205, 253, 0.03) 100%
  );
  border-top: 1px solid rgba(112, 205, 253, 0.2);
  border-bottom: 1px solid rgba(112, 205, 253, 0.2);
}

.cta-container {
  text-align: center;
}

.cta-badge {
  display: inline-block;
  padding: 6px 20px 7px;
  background: #f2c200;
  color: #000;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 12px 30px rgba(242, 194, 0, 0.35);
}

.cta-badge::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -14px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-right: 14px solid #f2c200;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

.cta-badge::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid #f2c200;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

.cta-heading {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(112, 205, 253, 0.3);
}

.cta-description {
  font-size: 17px;
  color: #c0c5d9;
  margin: 0 0 24px;
}

.pool-bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.pool-bullets li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 16px;
  color: #ffffff;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pool-bullets li:last-child {
  border-bottom: none;
}

.pool-bullets .ball {
  display: inline-flex;
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.35));
}

.pool-bullets svg {
  width: 28px;
  height: 28px;
  display: block;
}

.cta-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 32px 0 24px;
  flex-wrap: wrap;
}

.price-old {
  font-size: 20px;
  color: #888;
  text-decoration: line-through;
}

.price-new {
  font-size: 36px;
  font-weight: 900;
  color: var(--accent);
  text-shadow: 0 0 30px rgba(112, 205, 253, 0.5);
}

.price-note {
  font-size: 14px;
  color: #c0c5d9;
  flex-basis: 100%;
}

.cta-button-primary {
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 800;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
  margin-bottom: 16px;
}

.cta-button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(112, 205, 253, 0.5);
}

.cta-footnote {
  font-size: 14px;
  color: #e7eaf6;
  margin: 0 auto;
  max-width: 320px;
  text-align: center;
}

@media (max-width: 900px) {
  .split-layout {
    flex-direction: column;
  }

  .split-panel--testimonials {
    order: 1;
  }

  .split-panel--youtube {
    order: 2;
  }
}

@media (max-width: 600px) {
  .testimonial-dialog {
    width: min(94vw, 560px);
  }
}

@media (min-width: 768px) {
  .content-section {
    padding: 80px 40px;
  }

  .section-container {
    max-width: 900px;
  }

  .section-title {
    font-size: 36px;
  }

  .updates-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .featured-testimonial {
    grid-column: 2 / span 2;
  }

  .cta-heading {
    font-size: 42px;
  }

  .components-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
  }

}
