/* ==========================================================================
   CENTRAL STYLESHEET FOR SETTLEMENT.APP (style.css)
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
    --bg-color: #12151C;
    --card-color: #1A1D24;
    --accent-color: #64DFDF;
    --text-main: #FFFFFF;
    --text-muted: #94A3B8;
    --btn-bg: rgba(26, 29, 36, 0.8);
    --btn-hover: rgba(100, 223, 223, 0.9);
}

/* Global Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    padding: 0 16px; /* horizontal only */
}

/* Headings */
h1, h2, h3 {
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 12px;
}

/* Header & Navigation */
header {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4px 0; /* tighter */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-dot {
    color: var(--accent-color);
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 20px;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

nav a:hover, nav a.active {
    color: var(--text-main);
}

/* Layout Containers */
.container {
    max-width: 800px;
    margin: 0 auto; /* no vertical gap */
    padding-top: 0; /* remove top padding */
}

/* Hero Section */
.hero-image {
    position: relative;
    max-width: 1100px;
    margin: -10px auto 0 auto; /* pull closer to header */
    border-radius: 12px;
    overflow: hidden;
}

.hero-image video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Download Button */
.download-btn {
    display: block;
    margin: 16px auto;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 24px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(100, 223, 223, 0.3); /* subtle glow */
}

.download-btn:hover {
    background-color: var(--btn-hover);
    box-shadow: 0 6px 16px rgba(100, 223, 223, 0.5);
}

.download-counter {
  text-align: center;   /* centers the text */
  display: block;       /* ensures it behaves like a block element */
  background-color: var(--card-color);
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  margin-top: 8px;
}
.testimonials {
  max-width: 900px;
  margin: 60px auto;
  text-align: center;
  padding: 20px;
}

.testimonials h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: var(--accent-color);
}

/* Default: Desktop grid */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;       /* allow multiple rows */
  gap: 20px;
  justify-content: center;
}

.testimonial {
  background-color: var(--card-color);
  padding: 20px;
  border-radius: 10px;
  flex: 1 1 250px;
  max-width: 280px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.testimonial p {
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 10px;
}

.testimonial span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Mobile override: carousel */
@media (max-width: 768px) {
  .testimonial-list {
    flex-wrap: nowrap;             /* single row */
    overflow-x: auto;              /* scrollable */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .testimonial {
    flex: 0 0 80%;                 /* each card ~80% width */
    scroll-snap-align: center;
    margin: 0 10px;
  }
}

/* Dots */
.testimonial-dots {
  display: none;
  justify-content: center;
  margin-top: 12px;
  gap: 8px;
}

.testimonial-dots span {
  width: 10px;
  height: 10px;
  background-color: var(--text-muted);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.testimonial-dots span.active {
  background-color: var(--accent-color);
}

@media (max-width: 768px) {
  .testimonial-dots {
    display: flex;
  }
}

.download-footer {
  text-align: center;
  margin: 60px auto;
  padding: 20px;
}

.download-footer h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.download-footer .download-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  background-color: var(--accent-color);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.download-footer .download-btn:hover {
  background-color: var(--accent-hover);
}

.download-footer .download-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
}


/* Toggle Button */
#toggleBtn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    transition: background 0.3s ease, color 0.3s ease, opacity 1s ease;
    animation: fadeInBtn 1s ease forwards;
    animation-delay: 0.5s;
}

#toggleBtn.unmute {
    background: var(--btn-bg);
    color: var(--accent-color);
}

#toggleBtn.mute {
    background: #DF6464;
    color: var(--text-main);
}

@keyframes fadeInBtn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
    max-width: 1100px;
    margin: 20px auto 10px auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

/* Mobile Styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        padding: 6px 0;
    }
    
    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    
    nav a {
        margin: 0 6px;
        font-size: 14px;
    }

    .container {
        margin: 0 auto;
    }

    .hero-image {
        margin: -6px auto 0 auto;
    }

    footer {
        padding: 15px 10px;
        margin: 15px auto;
    }

    input, textarea, button {
        width: 100% !important;
    }

    #toggleBtn {
        bottom: 8px;
        right: 8px;
        font-size: 12px;
        padding: 6px 10px;
    }
}
/* ==========================================================================
   FAQ / Terms / Refunds Card Styles
   ========================================================================== */

.container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

h1 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
}

.faq-item {
    margin-bottom: 30px;
    background: var(--card-color);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* subtle depth */
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.faq-item p,
.faq-item ul,
.faq-item li {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Responsive tweaks for FAQ/Terms blocks */
@media (max-width: 768px) {
    .container {
        margin: 20px auto;
        padding: 10px;
    }

    h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .faq-item {
        padding: 18px;
    }

    .faq-item h3 {
        font-size: 16px;
    }

    .faq-item p,
    .faq-item ul,
    .faq-item li {
        font-size: 14px;
    }
}
