/* ==============================
   HACKTANK.CSS — Dark Navy + Cyan
============================== */

:root {
  --ht-bg: #060D1B;
  --ht-bg-alt: #0A1525;
  --ht-card: #0C1929;
  --ht-card-border: rgba(255, 255, 255, 0.07);
  --ht-accent: #0099E5;
  --ht-green: #22C55E;
  --ht-muted: #94A3B8;
  --ht-section-pad: 96px 0;
}

* { font-family: 'Montserrat', sans-serif; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--ht-bg);
  color: #FFFFFF;
}

/* UTILITIES */
.ht-accent { color: var(--ht-accent) !important; }
.ht-text-muted { color: var(--ht-muted) !important; }
.ht-success { color: var(--ht-green); }

/* ---- NAVBAR ---- */
.ht-navbar {
  background: rgba(6, 13, 27, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ht-card-border);
  padding: 6px 0;
}
.ht-brand { text-decoration: none; line-height: 1; }
.ht-logo-img {
  height: 86px;
  width: auto;
  display: block;
}
.ht-logo-text {
  font-weight: 800;
  font-size: 1.4rem;
  color: #FFFFFF;
  letter-spacing: 2px;
}
.ht-logo-tank { color: var(--ht-accent); }
.ht-logo-tagline {
  font-size: 0.55rem;
  letter-spacing: 1.5px;
  color: var(--ht-muted);
}
.ht-nav-link { color: var(--ht-muted) !important; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.ht-nav-link:hover { color: #FFFFFF !important; }
.ht-signin { color: var(--ht-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.ht-signin:hover { color: #FFFFFF; }
.ht-toggler { border-color: var(--ht-card-border); filter: invert(1); }
.ht-dropdown { background: #0C1929; border: 1px solid var(--ht-card-border); border-radius: 8px; }
.ht-dropdown .dropdown-item { color: var(--ht-muted); font-size: 0.88rem; }
.ht-dropdown .dropdown-item:hover { background: rgba(0,153,229,0.08); color: #FFFFFF; }

/* ---- BUTTONS ---- */
.ht-cta-btn {
  background: var(--ht-accent);
  color: #FFFFFF !important;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 22px;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.ht-cta-btn:hover { background: #007EC4; transform: translateY(-1px); }
.ht-cta-lg { padding: 14px 30px; font-size: 1rem; }

.ht-outline-btn {
  background: transparent;
  color: #FFFFFF !important;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 22px;
  transition: all 0.2s;
  text-decoration: none;
}
.ht-outline-btn:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }

/* ---- HERO ---- */
.ht-hero {
  padding: 140px 0 90px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #060D1B 0%, #071E3D 40%, #0A2A4A 70%, #060D1B 100%);
}
.ht-hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(0,153,229,0.18) 0%, rgba(0,100,200,0.08) 40%, transparent 70%);
  pointer-events: none;
}
.ht-hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,80,180,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.ht-badge-pill {
  display: inline-block;
  background: rgba(0,153,229,0.1);
  border: 1px solid rgba(0,153,229,0.25);
  color: var(--ht-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 8px 18px;
  border-radius: 50px;
}
.ht-hero-heading {
  font-family: 'Playfair Display', serif;
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
}
@media (max-width: 768px) { .ht-hero-heading { font-size: 2.1rem; } }
.ht-hero-sub { font-size: 1.05rem; color: var(--ht-muted); line-height: 1.75; max-width: 530px; }
.ht-hero-caption { font-size: 0.85rem; color: var(--ht-muted); }
.ht-trusted-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 1.5px; color: var(--ht-muted); }
.ht-trust-pill {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--ht-card-border);
  color: var(--ht-muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  padding: 5px 12px;
  border-radius: 4px;
}

/* ---- BROWSER MOCKUP ---- */
.ht-browser-mockup {
  background: var(--ht-card);
  border: 1px solid var(--ht-card-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
}
.ht-browser-chrome {
  background: #0A1525;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--ht-card-border);
}
.ht-browser-dots { display: flex; gap: 6px; }
.ht-dot { width: 10px; height: 10px; border-radius: 50%; }
.ht-dot-red { background: #FF5F57; }
.ht-dot-yellow { background: #FEBC2E; }
.ht-dot-green { background: #28C840; }
.ht-browser-url {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 0.73rem;
  color: var(--ht-muted);
  text-align: center;
}
.ht-browser-body { background: var(--ht-card); padding: 24px; }

.ht-live-badge {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: var(--ht-green);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.ht-live-dot {
  width: 6px; height: 6px;
  background: var(--ht-green);
  border-radius: 50%;
  animation: ht-pulse 1.5s infinite;
}
@keyframes ht-pulse { 0%,100% { opacity:1; } 50% { opacity:0.35; } }

.ht-bids-table { display: flex; flex-direction: column; }
.ht-bid-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--ht-card-border);
  font-size: 0.83rem;
  align-items: center;
}
.ht-bid-row:last-child { border-bottom: none; }

.ht-avatars { display: flex; align-items: center; }
.ht-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  border: 2px solid var(--ht-card);
  margin-right: -5px;
}
.ht-av-a { background:#1A3A5C; color:var(--ht-accent); }
.ht-av-b { background:#1A5C3A; color:#22C55E; }
.ht-av-c { background:#5C3A1A; color:#F59E0B; }
.ht-av-d { background:#3A1A5C; color:#A855F7; }
.ht-av-e { background:#5C1A1A; color:#EF4444; }
.ht-av-pr { background:#1A3A5C; color:var(--ht-accent); }
.ht-av-do { background:#1A5C3A; color:#22C55E; }
.ht-av-ml { background:#5C3A1A; color:#F59E0B; }

.ht-manage-btn {
  background: rgba(0,153,229,0.15);
  border: 1px solid rgba(0,153,229,0.3);
  color: var(--ht-accent) !important;
  border-radius: 6px;
  font-size: 0.73rem;
  font-weight: 600;
  padding: 5px 12px;
  text-decoration: none;
  white-space: nowrap;
}

/* ---- STATS BAR ---- */
.ht-stats {
  background: var(--ht-bg-alt);
  border-top: 1px solid var(--ht-card-border);
  border-bottom: 1px solid var(--ht-card-border);
  padding: 40px 0;
}
.ht-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: #FFFFFF;
}
.ht-stat-label { font-size: 0.8rem; color: var(--ht-muted); font-weight: 500; margin-top: 4px; }

/* ---- GENERIC SECTIONS ---- */
.ht-section { padding: var(--ht-section-pad); }
.ht-section-alt { background: var(--ht-bg-alt); }

.ht-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ht-accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ht-section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.7rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 16px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
}
.ht-section-sub { font-size: 1rem; color: var(--ht-muted); line-height: 1.75; }

/* ---- PROBLEM CARDS ---- */
.ht-problem-card {
  background: var(--ht-card);
  border: 1px solid var(--ht-card-border);
  border-radius: 12px;
  padding: 28px 22px;
  transition: border-color 0.2s, transform 0.2s;
}
.ht-problem-card:hover { border-color: rgba(0,153,229,0.3); transform: translateY(-4px); }
.ht-problem-icon {
  width: 46px; height: 46px;
  background: rgba(0,153,229,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ht-accent);
  font-size: 1.2rem;
}
.ht-problem-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }

.ht-context-quote {
  background: rgba(0,153,229,0.04);
  border-left: 3px solid var(--ht-accent);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
  color: var(--ht-muted);
  font-style: italic;
}

/* ---- PILLAR CARDS ---- */
.ht-pillar-card {
  background: var(--ht-card);
  border: 1px solid var(--ht-card-border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s;
}
.ht-pillar-card:hover { border-color: rgba(0,153,229,0.3); }
.ht-pillar-num {
  background: rgba(0,153,229,0.1);
  border: 1px solid rgba(0,153,229,0.2);
  color: var(--ht-accent);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}
.ht-pillar-icon-wrap {
  width: 44px; height: 44px;
  background: rgba(0,153,229,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ht-accent);
  font-size: 1.2rem;
}
.ht-pillar-title { font-size: 1.1rem; font-weight: 700; color: #FFFFFF; margin-bottom: 10px; }

/* ---- HOW IT WORKS TIMELINE ---- */
.ht-step-dot-wrap { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; padding-top: 4px; }
.ht-step-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.ht-step-dot.active {
  background: var(--ht-accent);
  border-color: var(--ht-accent);
  box-shadow: 0 0 12px rgba(0,153,229,0.5);
}
.ht-step-line {
  width: 2px;
  min-height: 80px;
  background: linear-gradient(to bottom, rgba(0,153,229,0.25), rgba(0,153,229,0.04));
  margin-top: 8px;
}
.ht-step-badge {
  display: inline-block;
  background: rgba(0,153,229,0.1);
  border: 1px solid rgba(0,153,229,0.2);
  color: var(--ht-accent);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
}
.ht-step-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

/* ---- MOCKUP CARDS ---- */
.ht-mockup-card {
  background: var(--ht-card);
  border: 1px solid var(--ht-card-border);
  border-radius: 12px;
  padding: 24px;
}
.ht-mockup-title { font-size: 0.83rem; font-weight: 700; }
.ht-mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--ht-card-border);
  font-size: 0.88rem;
}
.ht-mock-row:last-child { border-bottom: none; }

/* ---- WHO IT'S FOR ---- */
.ht-role-tab {
  background: var(--ht-card);
  border: 1px solid var(--ht-card-border);
  color: var(--ht-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
}
.ht-role-tab:hover { border-color: rgba(0,153,229,0.35); color: #FFFFFF; }
.ht-role-tab.active { background: var(--ht-accent); border-color: var(--ht-accent); color: #FFFFFF; }

.ht-feature-list { list-style: none; padding: 0; }
.ht-feature-list li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--ht-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}
.ht-feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--ht-accent); font-weight: 700; }

.ht-stat-mini {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--ht-card-border);
  border-radius: 8px;
  padding: 14px;
}
.ht-stat-mini-num { font-size: 1.5rem; font-weight: 800; color: #FFFFFF; }
.ht-stat-mini-label { font-size: 0.68rem; color: var(--ht-muted); margin-top: 2px; }

.ht-bar-chart { display: flex; align-items: flex-end; gap: 5px; height: 52px; }
.ht-bar { flex: 1; background: var(--ht-accent); border-radius: 3px 3px 0 0; opacity: 0.65; }

/* ---- FEATURE CARDS (PITCH DAY) ---- */
.ht-feature-card {
  background: var(--ht-card);
  border: 1px solid var(--ht-card-border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.ht-feature-card:hover { border-color: rgba(0,153,229,0.3); transform: translateY(-3px); }
.ht-feature-icon {
  width: 44px; height: 44px;
  background: rgba(0,153,229,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ht-accent);
  font-size: 1.2rem;
}
.ht-feature-title { font-size: 1.05rem; font-weight: 700; color: #FFFFFF; margin-bottom: 8px; }

.ht-testimonial-quote {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--ht-card-border);
  border-radius: 12px;
  padding: 32px;
  height: 100%;
}
.ht-quote-marks { font-size: 2rem; color: var(--ht-accent); line-height: 1; margin-bottom: 12px; }
.ht-quote-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: #FFFFFF;
  line-height: 1.65;
  margin: 0;
}

.ht-progress-bar { background: rgba(255,255,255,0.1); border-radius: 4px; height: 5px; }
.ht-progress-fill { background: var(--ht-accent); height: 100%; border-radius: 4px; }

/* ---- WHY HACKTANK ---- */
.ht-why-card {
  background: var(--ht-card);
  border: 1px solid var(--ht-card-border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s;
}
.ht-why-card:hover { border-color: rgba(0,153,229,0.3); }
.ht-why-num {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(0,153,229,0.1);
  border: 1px solid rgba(0,153,229,0.2);
  color: var(--ht-accent);
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 14px;
}
.ht-why-title { font-size: 1rem; font-weight: 700; color: #FFFFFF; margin-bottom: 10px; }

/* ---- USE CASES ---- */
.ht-usecase-card {
  background: var(--ht-card);
  border: 1px solid var(--ht-card-border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.ht-usecase-card:hover { border-color: rgba(0,153,229,0.3); transform: translateY(-3px); }
.ht-usecase-icon {
  width: 46px; height: 46px;
  background: rgba(0,153,229,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ht-accent);
  font-size: 1.2rem;
}
.ht-usecase-title { font-size: 1rem; font-weight: 700; color: #FFFFFF; margin-bottom: 10px; }
.ht-usecase-stat {
  margin-top: auto;
  display: inline-block;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--ht-card-border);
  color: var(--ht-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
}

/* ---- TESTIMONIALS ---- */
.ht-testi-card {
  background: var(--ht-card);
  border: 1px solid var(--ht-card-border);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.ht-testi-card:hover { border-color: rgba(0,153,229,0.25); }
.ht-quote-icon { font-size: 1.4rem; color: var(--ht-accent); }
.ht-testi-org { font-size: 0.7rem; font-weight: 700; color: var(--ht-muted); letter-spacing: 1px; }
.ht-testi-text { font-size: 0.95rem; color: var(--ht-muted); line-height: 1.7; font-style: italic; flex: 1; }
.ht-testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #1A3A5C;
  color: var(--ht-accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ---- FAQ ---- */
.ht-accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ht-card-border) !important;
}
.ht-accordion-btn {
  background: transparent !important;
  color: #FFFFFF !important;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 18px 0;
  border: none;
  box-shadow: none !important;
}
.ht-accordion-btn::after { filter: invert(1) brightness(0.7); }
.ht-accordion-btn:not(.collapsed) { color: var(--ht-accent) !important; }
.accordion-body { padding: 0 0 18px 0; }

/* ---- FINAL CTA ---- */
.ht-cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #060D1B 0%, #071E3D 35%, #0A2A4A 65%, #060D1B 100%);
  border-top: 1px solid var(--ht-card-border);
}
.ht-cta-section::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,153,229,0.15) 0%, rgba(0,100,200,0.06) 45%, transparent 70%);
  pointer-events: none;
}

/* ---- FOOTER ---- */
.ht-footer {
  background: #040B18;
  border-top: 1px solid var(--ht-card-border);
  padding: 64px 0 0;
}
.ht-logo-img-footer {
  height: 66px;
  width: auto;
  display: block;
}
.ht-logo-tagline-footer { font-size: 0.55rem; letter-spacing: 1.5px; color: var(--ht-muted); display: block; }
.ht-footer-heading { font-size: 0.68rem; font-weight: 700; letter-spacing: 1.5px; color: #FFFFFF; margin-bottom: 14px; }
.ht-footer-links li { margin-bottom: 10px; }
.ht-footer-links a { color: var(--ht-muted); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.ht-footer-links a:hover { color: #FFFFFF; }
.ht-footer-hr { border-color: var(--ht-card-border); margin-top: 40px; }
