/* ═══════════════════════════════════════════
   TRIBE PASS CSS — Water Tribe Membership
   ═══════════════════════════════════════════ */

/* ── HERO ── */
.tp-hero {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 110px 24px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #09202f 0%, #0d4d6b 40%, #1a6a8e 75%, #2a8ab0 100%);
}

.tp-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(74,154,190,0.2), transparent 70%);
  pointer-events: none;
}

.tp-hero-waves { position: absolute; left: -5%; right: -5%; bottom: 0; pointer-events: none; }
.tp-wave { position: absolute; left: 0; right: 0; }
.tw1 { bottom: 40px; height: 70px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70'%3E%3Cpath fill='rgba(255,255,255,0.06)' d='M0,35 C240,70 480,0 720,35 C960,70 1200,0 1440,35 L1440,70 L0,70 Z'/%3E%3C/svg%3E") repeat-x center; background-size: 1440px; animation: wv 9s linear infinite; }
.tw2 { bottom: 20px; height: 60px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='rgba(255,255,255,0.09)' d='M0,30 C360,60 720,0 1080,30 C1260,45 1380,20 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") repeat-x center; background-size: 1440px; animation: wv 7s linear infinite reverse; }
.tw3 { bottom: 0; height: 50px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50'%3E%3Cpath fill='rgba(246,249,252,1)' d='M0,25 C180,50 360,0 540,25 C720,50 900,0 1080,25 C1260,50 1380,15 1440,25 L1440,50 L0,50 Z'/%3E%3C/svg%3E") repeat-x center; background-size: 1440px; animation: wv 5s linear infinite; }
@keyframes wv { from { background-position: 0 center; } to { background-position: 1440px center; } }

.tp-hero-content { position: relative; z-index: 2; max-width: 780px; padding-bottom: 60px; }

.tp-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 5px;
  text-transform: uppercase; color: rgba(255,255,255,0.65);
  margin-bottom: 24px; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 50px;
  padding: 8px 20px; backdrop-filter: blur(8px);
}

.tp-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.4);
  display: inline-block; flex-shrink: 0;
}

.tp-title {
  font-family: var(--serif);
  font-size: clamp(48px, 7.5vw, 106px);
  font-weight: 900;
  line-height: 0.95;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -2px;
}
.tp-title em { font-style: italic; color: rgba(255,255,255,0.65); }

.tp-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto 32px;
}

.tp-hero-tabs {
  display: inline-flex; gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px; padding: 5px;
  margin-bottom: 32px; backdrop-filter: blur(8px);
}

.tp-tab {
  padding: 10px 28px; border-radius: 50px;
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.65);
  cursor: pointer; transition: all 0.25s;
}
.tp-tab.active, .tp-tab:hover {
  background: #fff; color: var(--ocean);
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.tp-hero-stats {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r); padding: 20px 32px;
  backdrop-filter: blur(8px); gap: 0;
  flex-wrap: wrap;
}
.ths { flex: 1; text-align: center; min-width: 100px; }
.ths-num { font-family: var(--serif); font-size: 26px; font-weight: 900; color: #fff; }
.ths-label { font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 3px; }
.ths-sep { width: 1px; height: 36px; background: rgba(255,255,255,0.2); }

/* ── BILLING TOGGLE ── */
.billing-toggle {
  display: flex; align-items: center;
  justify-content: center; gap: 14px;
  margin-bottom: 40px;
}
.bt-label { font-size: 14px; font-weight: 600; color: var(--txt-mid); }
.bt-switch {
  width: 50px; height: 28px;
  background: var(--bdr-mid); border-radius: 50px;
  position: relative; cursor: pointer;
  transition: background 0.3s; border: none;
}
.bt-switch[aria-pressed="true"] { background: var(--ocean); }
.bt-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px;
  background: #fff; border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.bt-switch[aria-pressed="true"] .bt-thumb { transform: translateX(22px); }
.bt-save {
  background: var(--green); color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 50px;
  margin-left: 4px;
}

/* ── TIER CARDS ── */
.tp-tiers { padding: 100px 0; background: var(--salt); }
.tp-owner-tiers { background: var(--white); }

.tier-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.tier-card {
  background: #fff; border: 1px solid var(--bdr);
  border-radius: var(--r-xl); padding: 36px 30px;
  position: relative; transition: all 0.3s;
  display: flex; flex-direction: column;
}
.tier-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }

.tc-free { border-color: var(--bdr); }
.tc-explorer {
  border-color: var(--ocean);
  box-shadow: 0 6px 32px rgba(26,106,142,0.18);
}
.tc-admiral {
  background: linear-gradient(160deg, var(--ink) 0%, var(--deep) 60%, #1a6a8e 100%);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}

.tc-popular { position: relative; }
.tc-best-badge {
  position: absolute; top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--ocean); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 4px 18px; border-radius: 50px;
  white-space: nowrap; letter-spacing: 0.5px;
}

.tc-header { margin-bottom: 20px; }
.tc-badge-icon { font-size: 38px; margin-bottom: 10px; display: block; }
.tc-name {
  font-family: var(--serif); font-size: 24px;
  font-weight: 700; color: var(--ink);
  margin-bottom: 4px;
}
.tc-admiral .tc-name { color: #fff; }
.tc-tagline { font-size: 13px; color: var(--txt-lt); }
.tc-admiral .tc-tagline { color: rgba(255,255,255,0.55); }

.tc-price { margin-bottom: 8px; }
.tc-price-num {
  font-family: var(--serif);
  font-size: 52px; font-weight: 900;
  color: var(--ocean); line-height: 1;
}
.tc-admiral .tc-price-num { color: rgba(255,255,255,0.9); }
.tc-free .tc-price-num { color: var(--txt-lt); }
.tc-price-per { font-size: 14px; color: var(--txt-lt); margin-left: 4px; }
.tc-admiral .tc-price-per { color: rgba(255,255,255,0.5); }
.tc-payback {
  font-size: 11px; color: var(--green);
  font-weight: 600; margin-top: 4px;
  font-family: var(--mono);
}
.tc-admiral .tc-payback { color: #4ade80; }

.tc-divider { height: 1px; background: var(--mist); margin: 16px 0; }
.tc-admiral .tc-divider { background: rgba(255,255,255,0.12); }

.tc-features { flex: 1; display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.tf-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--txt-mid); line-height: 1.4;
}
.tc-admiral .tf-item { color: rgba(255,255,255,0.7); }
.tf-item strong { color: var(--ink); }
.tc-admiral .tf-item strong { color: #fff; }
.tf-yes::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; width: 16px; }
.tc-admiral .tf-yes::before { color: #4ade80; }
.tf-no { opacity: 0.35; }
.tf-no::before { content: '—'; color: var(--txt-lt); font-weight: 400; flex-shrink: 0; width: 16px; }

.tc-btn {
  display: block; text-align: center;
  padding: 14px 20px; border-radius: 50px;
  font-size: 14px; font-weight: 700;
  transition: all 0.25s; cursor: pointer;
  margin-bottom: 10px;
}
.tc-btn-free {
  background: var(--mist); color: var(--ocean);
  border: 2px solid var(--bdr);
}
.tc-btn-free:hover { background: var(--ocean); color: #fff; border-color: var(--ocean); }
.tc-btn-explorer {
  background: var(--ocean); color: #fff;
  box-shadow: 0 4px 16px rgba(26,106,142,0.3);
}
.tc-btn-explorer:hover { background: var(--deep); transform: translateY(-2px); }
.tc-btn-admiral {
  background: rgba(255,255,255,0.15); color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.tc-btn-admiral:hover {
  background: #fff; color: var(--ocean);
  border-color: #fff; transform: translateY(-2px);
}
.tc-note { font-size: 11px; color: var(--txt-lt); text-align: center; }
.tc-admiral .tc-note { color: rgba(255,255,255,0.35); }

/* ── DATA SECTION ── */
.tp-data { padding: 100px 0; background: var(--mist); }
.tp-data-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.tp-data-text .eyebrow { text-align: left; }
.tp-data-text .section-title { text-align: left; }
.tp-data-text p { font-size: 16px; line-height: 1.8; color: var(--txt-mid); }
.tp-data-promise { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.tdp-item { display: flex; gap: 14px; align-items: flex-start; }
.tdp-icon { font-size: 26px; flex-shrink: 0; }
.tdp-item strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 3px; }
.tdp-item p { font-size: 13px; color: var(--txt-mid); line-height: 1.7; }

.tp-data-card {
  background: var(--ink); border-radius: var(--r-lg);
  padding: 28px; color: #fff; box-shadow: var(--sh-xl);
  position: sticky; top: 90px;
}
.tdc-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.tdc-section { margin-bottom: 18px; }
.tdc-label {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 10px;
}
.tdc-bars { display: flex; flex-direction: column; gap: 8px; }
.tdc-bar-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: rgba(255,255,255,0.6);
}
.tdc-bar-row span:first-child { width: 80px; flex-shrink: 0; }
.tdc-bar-row span:last-child { width: 32px; text-align: right; }
.tdc-bar-track { flex: 1; height: 6px; background: rgba(255,255,255,0.12); border-radius: 3px; overflow: hidden; }
.tdc-bar-fill { height: 100%; background: linear-gradient(90deg, var(--ocean), var(--sky)); border-radius: 3px; width: 0; transition: width 1.5s ease; }
.tdc-bar-accent { background: linear-gradient(90deg, var(--green), #4ade80) !important; }
.tdc-recs { display: flex; flex-direction: column; gap: 8px; }
.tdc-rec { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.tdc-rec-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sky); flex-shrink: 0; margin-top: 3px;
}
.tdc-rec-green { background: #22c55e; }
.tdc-weather { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tdc-w-item { background: rgba(255,255,255,0.07); border-radius: var(--r); padding: 10px 8px; text-align: center; font-size: 12px; color: rgba(255,255,255,0.7); display: flex; flex-direction: column; gap: 4px; align-items: center; }
.tdc-w-item span:first-child { font-size: 18px; }
.tdc-tier-badge {
  margin-top: 16px; text-align: center;
  background: var(--ocean); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 6px 16px; border-radius: 50px;
  display: inline-block;
}

/* ── COMPARE TABLE ── */
.tp-compare { padding: 100px 0; background: var(--white); }
.compare-wrap { overflow-x: auto; }
.compare-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px; margin-top: 8px;
}
.compare-table th {
  padding: 16px 20px; text-align: center;
  font-family: var(--serif); font-size: 16px; font-weight: 700;
  color: var(--ink); border-bottom: 2px solid var(--bdr);
  background: var(--salt);
}
.compare-table th span { display: block; font-family: var(--mono); font-size: 12px; color: var(--ocean); font-weight: 400; margin-top: 2px; }
.compare-table th:first-child { text-align: left; }
.compare-table td {
  padding: 13px 20px; text-align: center;
  border-bottom: 1px solid var(--mist);
  color: var(--txt-mid);
}
.compare-table td:first-child { text-align: left; font-weight: 500; color: var(--txt); }
.compare-table tr:hover td { background: rgba(26,106,142,0.03); }
.ct-section-head td {
  background: var(--mist); font-family: var(--mono);
  font-size: 10px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--ocean);
  font-weight: 700; padding: 10px 20px;
}
.ct-highlight { background: rgba(26,106,142,0.05) !important; }
.ct-free th { color: var(--txt-lt); }
.ct-explorer th { color: var(--ocean); }
.ct-admiral th { color: var(--deep); }

/* ── ROI CALCULATOR ── */
.tp-roi { padding: 100px 0; background: var(--salt); }
.roi-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; margin-top: 24px; }
.roi-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.roi-card {
  background: #fff; border: 1px solid var(--bdr);
  border-radius: var(--r); padding: 20px 16px;
  text-align: center; transition: all 0.3s;
}
.roi-card-mid { border-color: var(--ocean); box-shadow: var(--sh-sm); }
.roi-card-top { background: var(--ink); color: #fff; border-color: var(--ink); }
.roi-tier-name { font-family: var(--serif); font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.roi-card-top .roi-tier-name { color: #fff; }
.roi-tier-price { font-family: var(--mono); font-size: 12px; color: var(--txt-lt); margin-bottom: 10px; }
.roi-card-top .roi-tier-price { color: rgba(255,255,255,0.5); }
.roi-saving { font-family: var(--serif); font-size: 22px; font-weight: 900; color: var(--ocean); }
.roi-card-top .roi-saving { color: rgba(255,255,255,0.9); }
.roi-net { font-size: 12px; color: var(--txt-lt); margin-top: 4px; font-weight: 600; }
.roi-net.green { color: var(--green); }
.roi-card-top .roi-net { color: #4ade80; }
.roi-verdict {
  background: #fff; border: 1px solid var(--bdr);
  border-radius: var(--r); padding: 16px 20px;
  font-size: 14px; color: var(--txt-mid);
  line-height: 1.7; font-style: italic;
  text-align: center;
}

/* ── JOIN FORM ── */
.tp-join { padding: 100px 0; background: var(--mist); }
.tp-form-card { max-width: 860px; }

.tp-tier-selector { margin-bottom: 24px; }
.tts-label { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--txt-lt); margin-bottom: 12px; }
.tts-options { display: flex; flex-wrap: wrap; gap: 8px; }
.tts-opt {
  padding: 9px 18px; border-radius: 50px;
  font-size: 13px; font-weight: 600;
  color: var(--txt-mid); border: 1.5px solid var(--bdr);
  cursor: pointer; transition: all 0.2s;
  background: var(--salt); font-family: var(--sans);
}
.tts-opt:hover { border-color: var(--sky); color: var(--ocean); }
.tts-opt.active { background: var(--ocean); color: #fff; border-color: var(--ocean); }

.tp-consent { display: flex; flex-direction: column; gap: 12px; margin: 4px 0; }
.consent-row {
  display: flex; align-items: flex-start;
  gap: 12px; font-size: 13px;
  color: var(--txt-mid); line-height: 1.6;
  cursor: pointer;
}
.consent-row input { flex-shrink: 0; margin-top: 2px; width: 16px; height: 16px; accent-color: var(--ocean); cursor: pointer; }
.consent-row a { color: var(--ocean); }
.tp-submit { padding: 16px 40px; font-size: 16px; align-self: stretch; justify-content: center; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .tier-cards { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .tp-data-grid { grid-template-columns: 1fr; }
  .tp-data-card { position: static; }
  .roi-grid { grid-template-columns: 1fr; }
  .roi-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .tp-hero { padding: 100px 16px 0; }
  .tp-title { font-size: 54px; }
  .tp-hero-stats { flex-direction: column; gap: 12px; }
  .ths-sep { width: 100%; height: 1px; }
  .tp-hero-tabs { flex-direction: column; border-radius: var(--r); }
  .compare-table th, .compare-table td { padding: 10px 12px; font-size: 12px; }
  .roi-cards { grid-template-columns: 1fr; }
  .tts-options { flex-direction: column; }
  .tts-opt { text-align: center; border-radius: var(--r); }
}
