/* Landing Page Variables */
:root {
  --section-padding-vertical: 128px;
  --section-padding-horizontal: 155px;
}

/* Hero Section Styles */
.hero-section {
  padding: 63px 0 var(--section-padding-vertical) 0; /* Only vertical padding */
  position: relative;
  overflow: hidden;
}

.hero-section .container {
  width: 100vw;
  margin: 0;
  padding: 0; /* No horizontal padding on main container */
  position: relative;
  box-sizing: border-box;
}

.hero-content {
  display: flex;
  align-items: center;
  position: relative;
  min-height: calc(50vw / 1.15); /* Match the image's minimum height */
  width: 100%;
  justify-content: flex-end;
}

.hero-image {
  position: absolute;
  left: 0; /* Start from viewport edge */
  top: 0; /* Align to container top */
  width: 50vw;
  height: 100%; /* Fill the container height */
  min-height: calc(50vw / 1.15); /* Maintain 1.15 aspect ratio minimum */
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text-content {
  width: calc(52vw);
  position: relative;
  z-index: 2;
  padding-right: var(
    --section-padding-horizontal
  ); /* Add horizontal padding only to text container */
}

.hero-content-inner {
  display: flex;
  width: 70%; /* 70% of parent container */
  margin-left: auto; /* Align to the end horizontally */
  gap: 21px; /* Gap between spacer and content */
  margin-top: 54px;
}

.hero-spacer {
  width: 58px;
  flex-shrink: 0; /* Don't let it shrink */
  border-top: 2px solid white;
}

.hero-content-box {
  display: flex;
  flex-direction: column;
  gap: 48px; /* Vertical gap between description and button */
  flex: 1; /* Take remaining space */
}

.hero-title {
  font-size: 5rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.4px;
}

.live-tooltip {
  position: absolute;
  padding: 13px 32px;
  border: 2px solid white;
  font-size: 26px;
  font-weight: 500;
  text-transform: uppercase;
  margin-left: 20px;
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.red-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: #ef4127;
  border-radius: 50%;
  position: relative;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 400;
}

.hero-cta {
  margin: 0; /* Remove margin since we're using gap */
}

.btn {
  display: inline-block;
  padding: 10px 24px;
  text-decoration: none;
  border-radius: 0;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-transform: uppercase;
}

.btn-primary {
  background-color: #ef4127;
  color: white;
}

.btn-primary:hover {
  background-color: #d73620;
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: #333;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-section .container {
    padding: 0 80px;
  }

  .hero-image {
    left: -80px;
    width: 65vw;
  }

  .hero-text-content {
    width: 60vw;
    padding-right: 0;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-content-inner {
    width: 100%;
  }

  .hero-spacer {
    display: none;
  }

  .live-tooltip {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0;
  }

  .hero-section .container {
    padding: 0 40px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    min-height: auto;
  }

  .hero-image {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .hero-text-content {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }
}

/* Feature Section Styles */
.feature-section {
  padding: var(--section-padding-vertical) var(--section-padding-horizontal);
  position: relative;
  background-size: cover;
  background-position: center;
}

.feature-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.feature-reverse .feature-content {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 1;
  max-width: 50%;
}

.feature-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.feature-text {
  flex: 1;
  max-width: 50%;
}

.feature-callout {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.4px;
  margin-bottom: 1.5rem;
}

.feature-description {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 2rem;
}

.feature-cta {
  margin-top: 2rem;
}

/* Responsive adjustments for feature section */
@media (max-width: 1024px) {
  .feature-section {
    padding: 80px 60px;
  }

  .feature-content {
    gap: 2rem;
  }

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

@media (max-width: 768px) {
  .feature-section {
    padding: 60px 40px;
  }

  .feature-content,
  .feature-reverse .feature-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .feature-image,
  .feature-text {
    max-width: 100%;
  }

  .feature-title {
    font-size: 28px;
  }

  .feature-description {
    font-size: 1.1rem;
  }
}

/* Video Section Styles */
.video-section {
  padding: var(--section-padding-vertical) var(--section-padding-horizontal);
  position: relative;
  background-size: cover;
  background-position: center;
}

.video-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.video-title {
  font-size: 20px;
  font-weight: 500;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.vertical-line {
  display: inline-block;
  transform: translateX(-3px);
  width: 2px;
  height: 82px;
  background-color: white;
}

.video-wrapper {
  flex: 1;
  position: relative;
  background: #000;
  overflow: hidden;
  --play-button-display: block;
  aspect-ratio: 16/9;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

.video-wrapper video::-webkit-media-controls {
  display: none !important;
}

.video-wrapper video::-webkit-media-controls-panel {
  display: none !important;
}

.video-wrapper video::-webkit-media-controls-play-button {
  display: none !important;
}

.video-wrapper video::-webkit-media-controls-start-playback-button {
  display: none !important;
}

.video-wrapper video::-webkit-media-controls-overlay-play-button {
  display: none !important;
}

.video-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: var(--play-button-display);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
}

.video-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-45%, -50%);
  width: 0;
  height: 0;
  border-left: 20px solid #333;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  z-index: 4;
  display: var(--play-button-display);
}

/* Hide custom play button for YouTube iframes */
.video-wrapper:has(.youtube-embed) {
  --play-button-display: none;
}

.video-wrapper:has(.youtube-embed)::after,
.video-wrapper:has(.youtube-embed)::before {
  display: none !important;
}

.video-wrapper:hover::after {
  background: rgba(255, 255, 255, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Ensure YouTube iframes are responsive */
.youtube-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.youtube-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

/* Responsive adjustments for video section */
@media (max-width: 1024px) {
  .video-section {
    padding: 80px 60px;
  }

  .video-title {
    font-size: 18px;
  }

  .video-wrapper::after {
    width: 60px;
    height: 60px;
  }

  .video-wrapper::before {
    border-left: 16px solid #333;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }

  .vertical-line {
    display: none;
  }
}

@media (max-width: 768px) {
  .video-wrapper {
    width: 100%;
  }

  .video-section {
    padding: 60px 40px;
  }

  .video-content {
    flex-direction: column;
    gap: 1rem;
  }

  .video-title {
    writing-mode: initial;
    text-orientation: initial;
    transform: none;
    text-align: center;
    font-size: 24px;
  }

  .video-wrapper::after {
    width: 50px;
    height: 50px;
  }

  .video-wrapper::before {
    border-left: 14px solid #333;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
  }
}

/* Price Section Styles */
.price-section {
  padding: var(--section-padding-vertical) var(--section-padding-horizontal);
  position: relative;
}

.price-title {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 2.25rem;
  text-align: center;
}

.main-features {
  margin-bottom: 4.3rem;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid white;
  border-radius: 24px;
  font-size: 16px;
  line-height: 1.5;
}

.features-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background-color: #ef4127;
  border-radius: 50%;
  flex-shrink: 0;
}

.pricing-boxes {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

.pricing-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 36px;
  min-height: 196px;
  border: 2px solid white;
  text-align: center;
  flex: 1;
  max-width: 360px;
  transition: background-color 0.3s ease;
}

.pricing-box:hover {
  background-color: #2b2b2b;
}

.box-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  color: white;
}

.box-subtitle {
  font-size: 24px;
  line-height: 1.2;
}

/* Responsive adjustments for price section */
@media (max-width: 1024px) {
  .price-section {
    padding: 80px 60px;
  }

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

  .box-title {
    font-size: 32px;
  }

  .box-subtitle {
    font-size: 20px;
  }

  .pricing-boxes {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .price-section {
    padding: 60px 40px;
  }

  .price-title {
    font-size: 28px;
  }

  .features-list {
    justify-content: flex-start;
  }

  .pricing-boxes {
    flex-direction: column;
    gap: 1rem;
  }

  .pricing-box {
    max-width: none;
    padding: 36px 24px;
  }

  .box-title {
    font-size: 28px;
  }

  .box-subtitle {
    font-size: 18px;
  }
}

/* Support Section Styles */
.support-section {
  padding: var(--section-padding-vertical) var(--section-padding-horizontal);
  position: relative;
  background-size: cover;
  background-position: center;
}

.support-content {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.support-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.support-title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.4px;
  color: white;
  margin: 0;
}

.support-description {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.support-description h6 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  color: white;
  margin: 0;
}

.support-description ol {
  list-style: none;
  counter-reset: support-counter;
  padding: 0;
  margin: 0;
}

.support-description ol li {
  counter-increment: support-counter;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  font-size: 20px;
  line-height: 1.4;
  color: white;
}

.support-description ol li::before {
  content: counter(support-counter) ".";
  font-size: 32px;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}

.support-description ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.support-description ul li {
  font-size: 20px;
  line-height: 1.4;
  color: white;
  margin-bottom: 16px;
  position: relative;
  padding-left: 24px;
}

.support-description ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  color: white;
}

.support-description p {
  font-size: 20px;
  line-height: 1.4;
  color: white;
  margin: 0;
}

.support-cta {
  margin: 0;
}

.support-image {
  width: 100%;
}

.support-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* Responsive adjustments for support section */
@media (max-width: 1024px) {
  .support-section {
    padding: 80px 60px;
  }

  .support-text {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .support-description h6 {
    font-size: 20px;
  }

  .support-description ol li {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .support-description ol li::before {
    font-size: 28px;
    line-height: 1.25;
    margin-top: -2px;
  }

  .support-description ul li,
  .support-description p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .support-section {
    padding: 60px 40px;
  }

  .support-content {
    gap: 40px;
  }

  .support-text {
    gap: 1.5rem;
  }

  .support-title {
    font-size: 28px;
  }

  .support-description {
    gap: 30px;
  }

  .support-description h6 {
    font-size: 18px;
  }

  .support-description ol li {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .support-description ol li::before {
    font-size: 24px;
    line-height: 1.25;
    margin-top: -2px;
  }

  .support-description ul li,
  .support-description p {
    font-size: 16px;
  }
}

/* CTA Section Styles */
.cta-section {
  padding: 90px 40px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.cta-content {
  background-color: #2b2b2b;
  padding: 74px 115px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.cta-title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.4px;
  color: white;
  margin: 0;
  flex: 0 0 60%;
}

.cta-button {
  flex: 0 0 auto;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

/* Responsive adjustments for CTA section */
@media (max-width: 1024px) {
  .cta-section {
    padding: 70px 30px;
  }

  .cta-content {
    padding: 60px 80px;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 2rem;
  }

  .cta-title {
    font-size: 36px;
    flex: none;
  }
}

@media (max-width: 768px) {
  .cta-section {
    padding: 50px 20px;
  }

  .cta-content {
    padding: 40px 30px;
  }

  .cta-title {
    font-size: 28px;
  }

  .btn-large {
    padding: 14px 28px;
    font-size: 14px;
  }
}
