/*
Theme Name: VeriSelf
Theme URI: https://veriself.eu
Template: kadence
Author: VeriSelf
Author URI: https://veriself.eu
Description: Corporate child theme for VeriSelf — Navy + Emerald, enterprise trust, GDPR compliance focus.
Version: 2.1.0
License: GPL v2 or later
Text Domain: veriself
*/

/* ============================================
   VERISELF CORPORATE DESIGN SYSTEM v2.1
   Navy + Emerald | Enterprise Trust
   ============================================ */

/* -------- CSS VARIABLES -------- */
:root {
  --vs-navy-900: #0F2B46;
  --vs-navy-700: #1A4A7A;
  --vs-navy-50:  #F0F4F8;
  --vs-emerald:  #059669;
  --vs-emerald-dark: #047857;
  --vs-slate-900: #0F172A;
  --vs-slate-700: #334155;
  --vs-slate-500: #64748B;
  --vs-slate-300: #CBD5E1;
  --vs-slate-200: #E2E8F0;
  --vs-slate-100: #F1F5F9;
  --vs-slate-50:  #F8FAFC;
  --vs-white:     #FFFFFF;
  --vs-red:       #DC2626;
  --vs-amber:     #F59E0B;
  --vs-radius-sm: 8px;
  --vs-radius-md: 12px;
  --vs-radius-lg: 16px;
  --vs-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --vs-shadow-md: 0 4px 20px rgba(15,43,70,0.10);
  --vs-shadow-lg: 0 8px 30px rgba(15,43,70,0.12);
  --vs-max-width: 1200px;
}

/* -------- TYPOGRAPHY -------- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--vs-slate-700);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* -------- LAYOUT -------- */
.content-container {
  max-width: var(--vs-max-width);
  margin-left: auto;
  margin-right: auto;
}

.page-content {
  padding: 0;
}

/* -------- HEADER (STICKY GLASS) -------- */
.site-header {
  background: var(--vs-navy-900) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}

.site-header .main-navigation .menu > li > a {
  color: rgba(255,255,255,0.80);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 0.75rem;
  transition: color 0.2s ease;
}

.site-header .main-navigation .menu > li > a:hover {
  color: var(--vs-white);
}

.site-header .main-navigation .menu > li.current-menu-item > a {
  color: var(--vs-white);
  position: relative;
}

.site-header .main-navigation .menu > li.current-menu-item > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 15%;
  width: 70%;
  height: 2px;
  background: var(--vs-emerald);
  border-radius: 1px;
}

.site-branding .site-title {
  display: none !important;
}

/* -------- HIDE PAGE TITLES ON HOMEPAGE -------- */
.home .entry-title,
.home .page-title,
.home .entry-header,
.home .page-header,
.home .kb-page-title,
.home .content-area > .container > .entry > .entry-content-wrap > .entry-header,
body.home .page-title-wrap {
  display: none !important;
}

.home .site-main {
  padding-top: 0;
}

.home .content-area {
  padding-top: 0;
}

.page-header {
  display: none;
}

/* -------- BUTTONS -------- */
.button,
.wp-block-button__link,
button,
input[type="submit"] {
  border-radius: var(--vs-radius-sm) !important;
  font-weight: 600 !important;
  padding: 12px 24px !important;
  transition: all 0.2s ease !important;
}

.vs-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--vs-radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.vs-btn-primary {
  background: var(--vs-navy-700);
  color: var(--vs-white);
  box-shadow: 0 4px 14px rgba(26,74,122,0.25);
}

.vs-btn-primary:hover {
  background: var(--vs-navy-900);
  color: var(--vs-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,74,122,0.35);
}

.vs-btn-secondary {
  background: var(--vs-white);
  color: var(--vs-navy-700);
  border: 2px solid var(--vs-slate-200);
}

.vs-btn-secondary:hover {
  border-color: var(--vs-navy-700);
  color: var(--vs-navy-900);
  transform: translateY(-1px);
}

.vs-btn-success {
  background: var(--vs-emerald);
  color: var(--vs-white);
}

.vs-btn-success:hover {
  background: var(--vs-emerald-dark);
  color: var(--vs-white);
  transform: translateY(-1px);
}

/* -------- HERO SECTION -------- */
.vs-hero {
  background: linear-gradient(135deg, var(--vs-navy-900) 0%, var(--vs-navy-700) 100%);
  padding: 120px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vs-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(5,150,105,0.06) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.vs-hero > * {
  position: relative;
  z-index: 1;
}

.vs-hero h1 {
  color: var(--vs-white);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 auto 1rem;
  max-width: 800px;
  letter-spacing: -0.5px;
}

.vs-hero p {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.vs-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* -------- TRUST BADGES -------- */
.vs-trust {
  background: var(--vs-slate-50);
  border-top: 1px solid var(--vs-slate-200);
  border-bottom: 1px solid var(--vs-slate-200);
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.vs-trust-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: var(--vs-max-width);
  margin: 0 auto;
}

.vs-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--vs-slate-500);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vs-trust-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.vs-trust-dot {
  color: var(--vs-emerald);
  font-size: 1.2rem;
  line-height: 1;
}

/* -------- SECTIONS -------- */
.vs-section {
  padding: 80px 24px;
  max-width: var(--vs-max-width);
  margin: 0 auto;
}

.vs-section h2 {
  color: var(--vs-slate-900);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.3px;
}

.vs-section-subtitle {
  color: var(--vs-slate-500);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.vs-section-dark {
  background: var(--vs-navy-900);
  color: var(--vs-white);
}

.vs-section-dark h2 {
  color: var(--vs-white);
}

.vs-section-dark .vs-section-subtitle {
  color: rgba(255,255,255,0.7);
}

/* -------- STEPS (How It Works) -------- */
.vs-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.vs-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--vs-white);
  border: 1px solid var(--vs-slate-200);
  border-radius: var(--vs-radius-md);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vs-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--vs-shadow-lg);
}

.vs-step-num {
  width: 56px;
  height: 56px;
  background: var(--vs-navy-700);
  color: var(--vs-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.vs-step h3 {
  color: var(--vs-slate-900);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.vs-step p {
  color: var(--vs-slate-500);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* -------- FEATURES GRID -------- */
.vs-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.vs-card {
  background: var(--vs-white);
  border: 1px solid var(--vs-slate-200);
  border-radius: var(--vs-radius-md);
  padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.vs-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--vs-shadow-lg);
  border-color: var(--vs-slate-300);
}

.vs-card-icon {
  width: 44px;
  height: 44px;
  background: var(--vs-navy-50);
  border-radius: var(--vs-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.vs-card h3 {
  color: var(--vs-slate-900);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.vs-card p {
  color: var(--vs-slate-500);
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0;
}

/* -------- COMPARISON GRID -------- */
.vs-comparisons {
  background: var(--vs-navy-50);
  border-top: 1px solid var(--vs-slate-200);
  border-bottom: 1px solid var(--vs-slate-200);
  padding: 60px 24px;
  text-align: center;
}

.vs-comparisons h2 {
  color: var(--vs-slate-900);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.vs-comp-grid {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.vs-comp-item {
  background: var(--vs-white);
  border: 1px solid var(--vs-slate-200);
  border-radius: var(--vs-radius-sm);
  padding: 1rem 1.25rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.vs-comp-item:hover {
  border-color: var(--vs-navy-700);
  transform: translateY(-2px);
  box-shadow: var(--vs-shadow-sm);
}

.vs-comp-item a {
  color: var(--vs-slate-900);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
}

.vs-comp-item a:hover {
  color: var(--vs-navy-700);
}

.vs-comp-item span {
  color: var(--vs-slate-500);
  font-size: 0.75rem;
  display: block;
  margin-top: 0.2rem;
}

/* -------- PRIVACY EMPHASIS -------- */
.vs-privacy {
  background: linear-gradient(135deg, var(--vs-navy-900) 0%, #0a1f33 100%);
  padding: 80px 24px;
  text-align: center;
  color: var(--vs-white);
}

.vs-privacy h2 {
  color: var(--vs-white);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.vs-privacy p {
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

/* -------- PRICING GRID -------- */
.vs-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.vs-price-card {
  background: var(--vs-white);
  border: 1px solid var(--vs-slate-200);
  border-radius: var(--vs-radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vs-price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--vs-shadow-md);
}

.vs-price-card.featured {
  border-color: var(--vs-navy-700);
  box-shadow: 0 0 0 1px var(--vs-navy-700), var(--vs-shadow-md);
}

.vs-price-badge {
  display: inline-block;
  background: var(--vs-amber);
  color: var(--vs-white);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.vs-price-card h3 {
  color: var(--vs-slate-900);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.vs-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--vs-slate-900);
  margin: 0.75rem 0;
  letter-spacing: -1px;
}

.vs-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--vs-slate-500);
}

.vs-price-card ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  text-align: left;
}

.vs-price-card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--vs-slate-100);
  color: var(--vs-slate-700);
  font-size: 0.85rem;
  position: relative;
  padding-left: 1.5rem;
}

.vs-price-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--vs-emerald);
  font-weight: 700;
}

.vs-price-card ul li:last-child {
  border-bottom: none;
}

/* -------- FOOTER -------- */
.site-footer {
  background: var(--vs-navy-900) !important;
  color: rgba(255,255,255,0.7) !important;
}

.site-footer a {
  color: rgba(255,255,255,0.85) !important;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--vs-white) !important;
  text-decoration: underline;
}

.vs-footer-credit {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 1rem 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* -------- RESPONSIVE -------- */
@media (max-width: 991px) {
  .vs-steps,
  .vs-features,
  .vs-pricing {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .vs-comp-grid {
    grid-template-columns: 1fr;
  }

  .vs-trust-inner {
    gap: 1rem;
  }
}

@media (max-width: 767px) {
  .vs-hero {
    padding: 80px 20px 60px;
  }

  .vs-hero h1 {
    font-size: 1.8rem;
  }

  .vs-hero p {
    font-size: 0.95rem;
  }

  .vs-section {
    padding: 48px 20px;
  }

  .vs-hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .vs-hero-actions .vs-btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .vs-trust-inner {
    flex-direction: column;
    gap: 0.5rem;
  }
}