/* ============================================
   H2O Avatar – Agent Site Styles (Standalone)
   Theme: Dark teal glassmorphism
   ============================================ */

:root {
  --turquoise: #40E0D0;
  --teal-light: #8dd3c7;
  --dark-bg: #1a3333;
  --text-light: #e8f5f5;
  --green-accent: #4a7c2a;
  --gold: #CD7F32;
  --maxw: 780px;
}

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

html { overflow-x: hidden; scroll-behavior: smooth; }

body {
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: -10%; left: -10%;
  width: 120%; height: 120%;
  background: url('../media/background.jpg') center/cover no-repeat;
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: -1;
  pointer-events: none;
}

img, svg, video, iframe { max-width: 100%; height: auto; }

a { color: var(--turquoise); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: #5ff5e3; }

/* ── Wrapper ── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 18px 80px;
  position: relative;
  z-index: 2;
}

/* ── Typography ── */
h1, h2, h3 {
  font-family: 'Anybody', sans-serif;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--turquoise);
}

h1 { font-size: calc(36px + 2vw); }
h2 { font-size: calc(26px + 1.2vw); margin-top: 48px; }
h3 { font-size: calc(18px + 0.8vw); }

p, li {
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 12px;
  color: #ffffff;
}

.muted { opacity: 0.8; }

/* ── Header ── */
header.top {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(140%) blur(20px);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
  background: rgba(26, 51, 51, 0.88);
  border-bottom: 1px solid rgba(64, 224, 208, 0.3);
  z-index: 100;
}

header .bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 40px; height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(64, 224, 208, 0.3));
  transition: all 0.3s ease;
}

.logo-img:hover {
  filter: drop-shadow(0 4px 12px rgba(64, 224, 208, 0.5));
  transform: scale(1.05);
}

.brand {
  font-family: 'Anybody', sans-serif;
  font-size: 18px;
  color: var(--turquoise);
  white-space: nowrap;
}

.langnav { margin-left: auto; display: flex; gap: 6px; }

/* ── Nav Login Button ── */
.nav-login-btn {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--turquoise);
  border: 1px solid rgba(64, 224, 208, 0.5);
  background: rgba(64, 224, 208, 0.12);
  white-space: nowrap;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-login-btn:hover {
  background: rgba(64, 224, 208, 0.25);
  border-color: var(--turquoise);
  color: var(--turquoise);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(64, 224, 208, 0.3);
}

.lang-link {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-light);
  border: 1px solid rgba(64, 224, 208, 0.25);
  transition: all 0.3s ease;
}

.lang-link:hover,
.lang-link.active {
  background: rgba(64, 224, 208, 0.2);
  color: var(--turquoise);
  border-color: var(--turquoise);
}

/* ── Hero ── */
.hero-section {
  text-align: center;
  padding: 50px 0 30px;
}

.hero-section h1 { margin-bottom: 16px; }

.hero-section .subtitle {
  font-size: 1.15rem;
  color: var(--teal-light);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

.hero-section .sub-desc {
  font-size: 1rem;
  color: #ffffffcc;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.hero-logo {
  width: 300px;
  height: 300px;
  object-fit: contain;
  margin: 0 auto 20px;
}

/* ── Tag / Pill ── */
.tag {
  display: inline-block;
  background: rgba(64, 224, 208, 0.15);
  color: var(--turquoise);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 14px;
  border: 1px solid rgba(64, 224, 208, 0.3);
}

/* ── Cards ── */
.card {
  background: rgba(26, 51, 51, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(64, 224, 208, 0.3);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: rgba(64, 224, 208, 0.5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.card h3 { margin-bottom: 10px; }

.card ul {
  margin: 10px 0;
  padding-left: 0;
  list-style: none;
}

.card ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}

.card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--turquoise);
  font-weight: bold;
  font-size: 1.2em;
}

/* ── Highlight Card (earnings) ── */
.card.highlight {
  border-color: rgba(64, 224, 208, 0.5);
  background: rgba(26, 51, 51, 0.55);
}

.small-logo {
  width: 300px;
  height: 300px;
  object-fit: contain;
  margin: -20px;
}

.small-photo{
  width: 200px;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  margin-left: 40px;
}

.card .earning-amount {
  font-family: 'Anybody', sans-serif;
  font-size: 2.5rem;
  color: var(--turquoise);
  font-weight: 700;
  display: block;
  margin: 6px 0;
}

.card .earning-detail {
  font-size: 0.95rem;
  color: var(--teal-light);
}

/* ── Example Box ── */
.example-box {
  background: rgba(64, 224, 208, 0.08);
  border: 1px dashed rgba(64, 224, 208, 0.35);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 14px 0;
}

.example-box .label {
  font-size: 13px;
  font-weight: 600;
  color: var(--turquoise);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.example-box .result {
  font-family: 'Anybody', sans-serif;
  font-size: 1.3rem;
  color: var(--turquoise);
  font-weight: 600;
}

/* ── Income Calculator ── */
.grid {
  display: grid;
  gap: 14px;
}

.footnote {
  font-size: 13px;
  opacity: 0.7;
}

.calc-intro {
  text-align: center;
  font-size: 16px;
  color: var(--teal-light);
  margin: -8px 0 16px;
  font-style: italic;
  opacity: 0.9;
}

.calculator-card {
  padding: 28px 24px;
}

.calculator-card:hover {
  transform: none;
}

.calc-slider-container-container{
  border: 3px solid var(--gold);
  background-color: var(--dark-bg);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  padding: 15px;
  justify-content: center;
}

.calc-slider-container {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gold);
}

.calc-slider-container:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.calc-slider-label {
  text-align: center;
  color: white;
  font-size: 18px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.calc-display {
  margin-bottom: 24px;
}

.calc-quantity-display {
  text-align: center;
  padding: 20px;
  background: rgba(64, 224, 208, 0.08);
  border-radius: 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(64, 224, 208, 0.2);
}

.calc-quantity-label {
  display: block;
  color: var(--teal-light);
  font-size: 13px;
  margin-bottom: 8px;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-quantity-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.calc-quantity-value span:first-child {
  color: var(--turquoise);
  font-weight: 700;
  font-size: 42px;
  font-family: 'Anybody', sans-serif;
  line-height: 1;
  transition: all 0.3s ease;
}

.calc-unit-inline {
  color: var(--teal-light);
  font-size: 16px;
  opacity: 0.8;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 16px;
  gap: 14px;
}

.calc-label {
  color: var(--teal-light);
  font-size: 20px;
  font-weight: 600;
}

.calc-value {
  color: rgb(249, 204, 26);
  font-weight: 800;
  font-size: 30px;
  font-family: 'Anybody', sans-serif;
  transition: all 0.3s ease;
}

.calc-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(64, 224, 208, 0.2), rgba(64, 224, 208, 0.05), rgba(64, 224, 208, 0.2));
  margin: 8px 0;
}

.calc-breakdown {
  margin: 12px 0;
}

.calc-breakdown .calc-row {
  padding: 10px 0;
  font-size: 15px;
}

.calc-breakdown .calc-label {
  font-size: 15px;
}

.calc-results {
  margin-top: 16px;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: rgba(64, 224, 208, 0.05);
  border-radius: 12px;
  margin-bottom: 10px;
  border: 1px solid rgba(64, 224, 208, 0.15);
}

.calc-income {
  color: rgb(249, 204, 26);
  font-weight: 700;
  font-size: 26px;
  font-family: 'Anybody', sans-serif;
  text-shadow: 0 0 20px rgba(249, 204, 26, 0.4);
  transition: all 0.3s ease;
}

.calc-yearly {
  background: rgba(64, 224, 208, 0.08);
  border-color: rgba(64, 224, 208, 0.2);
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: white;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid var(--gold);
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--text-light), rgb(249, 204, 26), black );
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 0 15px rgba(64, 224, 208, 0.5);
  transition: all 0.3s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 25px rgba(64, 224, 208, 0.8);
}

.calc-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--text-light), rgb(249, 204, 26), black);
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 0 15px rgba(64, 224, 208, 0.5);
  transition: all 0.3s ease;
}

.calc-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 25px rgba(64, 224, 208, 0.8);
}

.calc-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 18px;
  color: white;
  opacity: 0.8;
  text-align: center;
}

.calc-slider-labels span {
  line-height: 1.4;
}

.calc-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(64, 224, 208, 0.15);
}

.calc-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(64, 224, 208, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(64, 224, 208, 0.15);
  transition: all 0.3s ease;
}

.calc-highlight:hover {
  background: rgba(64, 224, 208, 0.1);
  border-color: rgba(64, 224, 208, 0.25);
  transform: translateX(4px);
}

.highlight-icon {
  color: var(--turquoise);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(64, 224, 208, 0.15);
  border-radius: 50%;
}

.calc-highlight span:last-child {
  color: var(--teal-light);
  font-size: 14px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .calc-highlights {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .calc-highlight {
    flex-direction: column;
    text-align: center;
    padding: 12px;
  }

  .calc-highlight:hover {
    transform: translateY(-4px);
  }
}

/* ── Grid (2-col on desktop) ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 600px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* ── Benefit List (icon + text) ── */
.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(64, 224, 208, 0.1);
  font-size: 16px;
}

.benefit-list li:last-child { border-bottom: none; }

.benefit-list .icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(64, 224, 208, 0.15);
  border: 1px solid rgba(64, 224, 208, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--turquoise);
}

/* ── CTA Button ── */
.cta {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, rgba(64, 224, 208, 0.25), rgba(74, 124, 42, 0.25));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(64, 224, 208, 0.5);
  color: var(--turquoise);
  text-decoration: none;
  padding: 16px 18px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 24px 0 8px;
  box-shadow: 0 10px 20px rgba(64, 224, 208, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.cta:hover {
  background: linear-gradient(135deg, rgba(64, 224, 208, 0.35), rgba(74, 124, 42, 0.35));
  border-color: var(--turquoise);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(64, 224, 208, 0.4);
  color: var(--turquoise);
}

.cta-sub {
  text-align: center;
  font-size: 0.9rem;
  color: var(--teal-light);
  margin-top: 6px;
  font-weight: 300;
}

/* ── FAQ Accordion ── */
.faq-item {
  background: rgba(26, 51, 51, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(64, 224, 208, 0.25);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(64, 224, 208, 0.45);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--turquoise);
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 18px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-question .arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--teal-light);
}

.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 20px 18px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: #ffffffcc;
  line-height: 1.6;
}

.faq-answer ul { margin: 8px 0; padding-left: 0; list-style: none; }

.faq-answer ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #ffffffcc;
}

.faq-answer ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--turquoise);
  font-weight: bold;
}

/* ── Legal Section ── */
.legal-section {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(64, 224, 208, 0.2);
}

.legal-section h2 {
  font-size: calc(20px + 0.8vw);
  margin-top: 30px;
}

.legal-section h3 {
  font-size: calc(16px + 0.5vw);
  margin-top: 24px;
}

.legal-section p {
  font-size: 0.92rem;
  color: #ffffffbb;
  line-height: 1.65;
}

.legal-section ul {
  list-style: none;
  padding: 0;
}

.legal-section ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: #ffffffbb;
}

.legal-section ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--turquoise);
  font-weight: bold;
}

/* ── Divider ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(64, 224, 208, 0.2), rgba(64, 224, 208, 0.05), rgba(64, 224, 208, 0.2));
  margin: 24px 0;
}

/* ── Section Spacer ── */
.section-spacer { height: 32px; }

/* ── Shared Footer ── */
.shared-footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid rgba(64, 224, 208, 0.3);
  text-align: center;
}

.shared-footer p {
  font-size: 0.95rem;
  color: var(--teal-light);
  margin-bottom: 15px;
  font-weight: 300;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--turquoise);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
  font-weight: 400;
}

.footer-links a:hover {
  color: #5ff5e3;
  border-bottom-color: var(--turquoise);
}

.footer-links span {
  color: var(--teal-light);
  font-weight: 300;
}

/* ── Sticky CTA Footer ── */
body.has-sticky-cta {
  padding-bottom: 84px;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 0.9rem 1rem;
  background: rgba(26, 51, 51, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(64, 224, 208, 0.35);
}

.sticky-cta__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-cta__title {
  font-family: 'Anybody', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-light);
  line-height: 1.2;
  font-size: 1.05rem;
}

.sticky-cta__btn {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(64, 224, 208, 0.75);
  background: rgba(64, 224, 208, 0.16);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}

.sticky-cta__btn:hover {
  background: rgba(64, 224, 208, 0.28);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .wrap { padding: 16px 14px 60px; }
  h1 { font-size: calc(28px + 2vw); }
  h2 { margin-top: 36px; }
  .hero-section { padding: 30px 0 20px; }
  .card { padding: 18px 16px; }

  header .bar { flex-wrap: wrap; gap: 8px; }
  .brand { font-size: 16px; }
  .nav-login-btn { font-size: 12px; padding: 5px 10px; }

  body.has-sticky-cta { padding-bottom: 98px; }
  .sticky-cta__inner { flex-direction: column; align-items: stretch; }
  .sticky-cta__btn { width: 100%; text-align: center; }

  .shared-footer { margin-top: 50px; padding-top: 30px; }
  .shared-footer p { font-size: 0.85rem; }
  .footer-links { flex-direction: column; gap: 10px; }
  .footer-links span { display: none; }
  .footer-links a { font-size: 0.9rem; }

  .small-logo {
    width: 120px;
    height: 120px;
    align-self: flex-end;
    margin-bottom: 8px;
    margin-right: 10px;
  }

  .small-photo {
    align-self: flex-end;
    margin-left: 40px;
  }
}

@media (max-width: 480px) {
  .wrap { padding: 12px 10px 50px; }
  h1 { font-size: calc(24px + 2vw); }
  .card { padding: 16px 14px; border-radius: 16px; }
  .cta { padding: 14px 16px; font-size: 1rem; }
  .brand { font-size: 14px; }
  .nav-login-btn { font-size: 11px; padding: 4px 8px; }
  .shared-footer p { font-size: 0.8rem; }
  .footer-links a { font-size: 0.85rem; }
}
