:root {
  --primary: #ff6719;
  --accent: #fff7f1;
  --text: #191919;
  --background: #fff;
  --card: #ffffff;
  --card-border: #f0f0f0;
  --shadow: rgba(0, 0, 0, 0.05);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

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

header {
  background: var(--background);
  padding: 1rem 0;
  border-bottom: 1px solid var(--card-border);
}

.logo {
  height: 40px;
}

nav {
  float: right;
  display: flex;
  align-items: center;
  height: 40px;
}

nav a {
  margin: 0 1rem;
  color: #555;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--primary);
}

/* Content-page link styling */
a {
  color: var(--primary);
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, padding .2s ease;
  border-radius: .35rem;
  padding: .05rem .2rem;
}
a:hover,
a:focus {
  background-color: var(--accent);
  color: var(--text);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.03) inset;
}
a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.hero {
  background: var(--accent);
  padding: 4rem 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-content {
  max-width: 520px;
}

.hero h1 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 2.5rem;
}

.hero-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero-img {
  max-width: 340px;
  border-radius: 14px;
  box-shadow: 0 10px 30px var(--shadow);
}

.stats {
  padding: 3rem 0;
  background: var(--background);
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 4rem;
  text-align: center;
}

.stat-item {
  flex: 1;
  max-width: 300px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-text {
  font-size: 1.1rem;
  color: #555;
  font-weight: 500;
}

.features {
  padding: 4rem 0;
  background: #fdfdfd;
}

.features h2 {
  text-align: center;
  color: var(--primary);
  font-size: 2rem;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  justify-content: center;
  margin-top: 3rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow);
  padding: 2rem;
  text-align: center;
  max-width: 220px;
  flex: 1 1 200px;
}

.feature-card img {
  max-height: 150px;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  margin-top: 0.5rem;
  color: var(--primary);
  font-size: 1.2rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: #555;
}

.opportunity {
  background: var(--accent);
  padding: 4rem 0;
}

.opportunity .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    text-align: left;
}

.opportunity-content {
    max-width: 480px;
}

.opportunity h2 {
  color: var(--primary);
  font-size: 2rem;
}

.opportunity p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #444;
}

.demo-section {
    flex-shrink: 0;
}

.watch-demo-text {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #555;
    text-align: center;
}

.watch-demo-text strong {
    color: var(--primary);
}

.video-placeholder {
    margin: 0;
    width: 480px;
    aspect-ratio: 16 / 9;
    background: #e0d8d1;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;          /* ← allow absolute-play-button */
    border: 1px solid #d4c9c1;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
}

.video-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========== PLAY BUTTON OVERLAY ========== */
.video-play-button {
    position: absolute;         /* ← center over thumbnail */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
    border: 3px solid #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.video-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #e65c00;
}

.video-play-button span {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
}

/* ========== DEMO MODAL ========== */

.demo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  transition: opacity 0.3s ease;
}

.demo-modal[aria-hidden="false"] {
  display: flex;
}

.demo-modal-content {
  position: relative;
  width: 90%;
  max-width: 960px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.demo-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 1;
}

.demo-modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.download {
  padding: 4rem 0;
  text-align: center;
}

.download h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-subtitle {
    max-width: 550px;
    margin: 0.5rem auto 2.5rem auto;
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    text-align:center;
}

.pricing {
    margin-bottom: 2rem;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
}

.current-price small {
    font-size: 1.2rem;
    font-weight: 500;
    color: #777;
}

.original-price {
    font-size: 1.5rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 0.75rem;
}

.download-btn {
  background: var(--primary);
  color: #fff;
  padding: 1.2rem 3rem;
  border-radius: 8px;
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 15px #ff671944;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px #ff671966;
}

.faqs {
  padding: 4rem 0;
  background: var(--accent);
}

.faqs h2 {
  text-align: center;
  color: var(--primary);
  font-size: 2rem;
}

.faq-accordion {
  max-width: 700px;
  margin: 2rem auto 0;
}

.faq-accordion details {
  margin-bottom: 1rem;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 2px 8px var(--shadow);
}

.faq-accordion summary {
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  list-style: none;
  position: relative;
}

.faq-accordion summary::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #777;
}

.faq-accordion details[open] summary::after {
  content: '-';
}

.faq-accordion p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  color: #555;
  font-size: 1rem;
}

.tiny {
  font-size: 0.90rem;
  color: #888;
  margin-top: 1rem;
}

footer {
  background: #fff7f1;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--primary);
  border-top: 1px solid #f9e5d6;
}

@media (max-width: 800px) {
  .hero .container, .opportunity .container {
      flex-direction: column;
      text-align: center;
  }
  .opportunity .container {
      gap: 2rem;
  }
  .opportunity p {
      text-align: center;
  }
  .video-placeholder {
      width: 100%;
      max-width: 520px;
  }
  .hero-img { 
      margin: 2rem auto 0 auto;
  }
  .features-grid { 
      flex-direction: column; 
      align-items: center; 
  }
  nav { 
      float: none;
      justify-content: center; 
      padding-top: 1rem;
  }
}

/* Testimonials Section */
.testimonials {
  padding: 4rem 0;
  background: #fdfdfd;
}

.testimonials h2 {
  text-align: center;
  color: var(--primary);
  font-size: 2rem;
}

.testimonials-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.8rem;
  justify-content: center;
  align-items: flex-start; /* Align tops to handle varying heights */
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow);
  padding: 1rem; /* Bit of padding to wrap around image */
  text-align: center;
  width: fit-content;
  height: fit-content;
  max-width: 480px; /* Smaller to ensure one-row fit */
  transition: transform 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px) scale(1.2);
}

.testimonial-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
}

.policy {
  padding: 4rem 0;
}

.policy h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  text-align: center;
}

.policy h2 {
  font-size: 1.8rem;
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.footer-links {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  text-align: center;
}

.footer-links a {
  color: var(--primary);
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .testimonials-grid {
    flex-wrap: wrap;
  }
}

@media (max-width: 800px) {
  .testimonials-grid {
    flex-direction: column;
    align-items: center;
  }

  .stats-grid {
    flex-direction: column;
    gap: 2rem;
  }
}