/* ============================================================
   WARGAHUB LANDING PAGE STYLES (SEO & GEO Public Entry)
   Cohesive with Glassmorphism Design System & Outfit Typography
   ============================================================ */

#landing-view {
  width: 100%;
  flex: 1;
  min-width: 0;
}

.wh-landing {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--dark);
  overflow-x: clip;
}

.wh-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Sticky Navbar */
.wh-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 0.9rem 1.25rem 0;
}

.wh-nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wh-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--dark);
}

.wh-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #818cf8);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.28);
  flex-shrink: 0;
}

.wh-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.wh-brand-text strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.wh-brand-text small {
  font-size: 0.72rem;
  color: var(--gray);
  font-weight: 500;
}

.wh-nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.wh-nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.wh-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.wh-btn-sm {
  padding: 0.55rem 1rem !important;
  font-size: 0.86rem !important;
  border-radius: 12px !important;
}

.wh-btn-lg {
  padding: 0.9rem 1.5rem !important;
  font-size: 0.98rem !important;
  border-radius: 14px !important;
  font-weight: 600 !important;
}

/* Hero Section */
.wh-hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.wh-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(79, 70, 229, 0.10);
  color: var(--primary-dark);
  border: 1px solid rgba(79, 70, 229, 0.22);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.wh-hero-title {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 880px;
  margin: 0 auto 1.25rem;
  color: var(--dark);
}

.wh-gradient-text {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wh-hero-lead {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.7;
  color: #374151;
  max-width: 780px;
  margin: 0 auto 2rem;
}

.wh-hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 0;
}

/* Sections */
.wh-section {
  padding: 3rem 0;
  scroll-margin-top: 86px;
}

.wh-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.25rem;
}

.wh-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.wh-section-head h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 0.65rem;
  color: var(--dark);
}

.wh-section-head p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #4b5563;
}

/* Features Grid */
.wh-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.wh-feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.wh-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #ffffff;
}

.wh-icon-indigo {
  background: linear-gradient(135deg, #4f46e5, #818cf8);
}

.wh-icon-emerald {
  background: linear-gradient(135deg, #059669, #34d399);
}

.wh-icon-blue {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
}

.wh-icon-amber {
  background: linear-gradient(135deg, #d97706, #fbbf24);
}

.wh-icon-rose {
  background: linear-gradient(135deg, #e11d48, #fb7185);
}

.wh-icon-purple {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.wh-feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

.wh-feature-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #4b5563;
}

/* Comparison Table */
.wh-table-wrap {
  border-radius: 20px;
  overflow-x: auto;
  padding: 0.5rem;
}

.wh-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.wh-compare-table th,
.wh-compare-table td {
  padding: 1rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid rgba(79, 70, 229, 0.08);
  font-size: 0.93rem;
  line-height: 1.5;
}

.wh-compare-table thead th {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  background: rgba(79, 70, 229, 0.06);
}

.wh-compare-table tbody tr:last-child td {
  border-bottom: none;
}

.wh-check {
  color: var(--success);
  margin-right: 0.35rem;
}

/* Steps */
.wh-steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.wh-step-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.wh-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wh-step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.wh-step-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4b5563;
}

/* Security Box */
.wh-security-box {
  border-radius: 24px;
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 2rem;
  align-items: center;
}

.wh-security-content h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.wh-security-content p {
  font-size: 0.96rem;
  line-height: 1.65;
  color: #374151;
  margin-bottom: 1.25rem;
}

.wh-security-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.wh-security-list li {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #1f2937;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.wh-security-list i {
  color: var(--success);
  margin-top: 0.28rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.wh-security-list span {
  flex: 1;
  min-width: 0;
}

.wh-security-list code {
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary-dark);
  padding: 0.1rem 0.35rem;
  border-radius: 5px;
  font-size: 0.85em;
  font-weight: 600;
}

.wh-security-cta {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(79, 70, 229, 0.14);
  border-radius: 18px;
  padding: 1.75rem;
  text-align: center;
}

.wh-security-cta h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.wh-security-cta p {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

/* FAQ */
.wh-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 860px;
  margin: 0 auto;
}

.wh-faq-item {
  padding: 1.15rem 1.4rem;
}

.wh-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--dark);
}

.wh-faq-item summary::-webkit-details-marker {
  display: none;
}

.wh-faq-chevron {
  color: var(--primary);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.wh-faq-item[open] .wh-faq-chevron {
  transform: rotate(180deg);
}

.wh-faq-item p {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(79, 70, 229, 0.1);
  font-size: 0.94rem;
  line-height: 1.65;
  color: #374151;
}

/* Footer */
.wh-footer {
  margin-top: auto;
  padding: 2rem 0 1.5rem;
}

.wh-footer-inner {
  border-radius: 22px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 1.75rem;
}

.wh-footer-brand p {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #4b5563;
}

.wh-footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.wh-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wh-footer-col a {
  text-decoration: none;
  font-size: 0.88rem;
  color: #4b5563;
  transition: color 0.2s;
}

.wh-footer-col a:hover {
  color: var(--primary);
}

.wh-footer-bottom {
  text-align: center;
  padding: 1.25rem 1rem 0;
  font-size: 0.84rem;
  color: var(--gray);
}

.wh-footer-bottom a {
  color: inherit;
  text-decoration: none;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .wh-nav-links {
    display: none;
  }

  .wh-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wh-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wh-security-box {
    grid-template-columns: 1fr;
  }

  .wh-footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  /* Mobile card layout for comparison table (overrides global style.css table rule cleanly) */
  .wh-table-wrap {
    padding: 0.75rem;
    overflow-x: visible;
  }

  .wh-compare-table {
    min-width: 0;
    width: 100%;
  }

  .wh-compare-table tbody tr {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(79, 70, 229, 0.12);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    margin-bottom: 0.85rem;
  }

  .wh-compare-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .wh-compare-table tbody td {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .wh-compare-table tbody td.wh-compare-aspect {
    padding-top: 0;
    padding-bottom: 0.55rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid rgba(79, 70, 229, 0.1);
    font-size: 0.98rem;
    color: var(--primary-dark);
  }

  .wh-compare-table tbody td.wh-compare-aspect::before {
    display: none;
  }

  .wh-compare-table tbody td[data-label]::before {
    display: block;
    content: attr(data-label);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray);
    margin-bottom: 0.15rem;
  }

  .wh-compare-table tbody td.wh-compare-win {
    color: #065f46;
    font-weight: 500;
    margin-top: 0.25rem;
    padding: 0.55rem 0.7rem;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 10px;
  }

  .wh-compare-table tbody td.wh-compare-win::before {
    color: var(--primary);
  }
}

@media (max-width: 600px) {
  .wh-container {
    padding: 0 1rem;
  }

  .wh-nav-wrap {
    padding: 0.65rem 0.75rem 0;
  }

  .wh-nav {
    padding: 0.55rem 0.75rem;
    border-radius: 15px;
    gap: 0.5rem;
  }

  .wh-brand {
    gap: 0.45rem;
    flex-shrink: 0;
  }

  .wh-brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.95rem;
  }

  .wh-brand-text strong {
    font-size: 0.96rem;
    white-space: nowrap;
  }

  .wh-brand-text small {
    display: none;
  }

  .wh-nav-actions {
    gap: 0.4rem;
    flex-shrink: 0;
  }

  .wh-nav-actions .wh-btn-sm {
    padding: 0.45rem 0.75rem !important;
    font-size: 0.8rem !important;
    min-height: 36px;
    gap: 0 !important;
    white-space: nowrap;
  }

  .wh-nav-actions .wh-btn-sm i {
    display: none;
  }

  .wh-hero {
    padding: 2rem 0 1.5rem;
  }

  .wh-hero-badge {
    font-size: 0.76rem;
    padding: 0.35rem 0.8rem;
  }

  .wh-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .wh-hero-cta .wh-btn-lg {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 0.94rem !important;
  }

  .wh-section {
    padding: 2.15rem 0;
    scroll-margin-top: 74px;
  }

  .wh-section-head {
    margin-bottom: 1.5rem;
  }

  .wh-feature-grid,
  .wh-steps-grid,
  .wh-footer-inner {
    grid-template-columns: 1fr;
  }

  .wh-security-box {
    padding: 1.25rem;
    gap: 1.35rem;
  }

  .wh-security-cta {
    padding: 1.25rem;
  }

  .wh-faq-item {
    padding: 1rem 1.1rem;
  }

  .wh-faq-item summary {
    font-size: 0.94rem;
    min-height: 36px;
  }

  .wh-footer-inner {
    padding: 1.4rem;
    gap: 1.35rem;
  }

  .wh-footer-col a {
    display: inline-block;
    padding: 0.2rem 0;
  }

  .wh-footer {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 360px) {
  .wh-nav {
    padding: 0.5rem 0.6rem;
    gap: 0.35rem;
  }

  .wh-brand-icon {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  .wh-brand-text strong {
    font-size: 0.88rem;
  }

  .wh-nav-actions {
    gap: 0.3rem;
  }

  .wh-nav-actions .wh-btn-sm {
    padding: 0.4rem 0.55rem !important;
    font-size: 0.74rem !important;
    min-height: 34px;
  }
}