/*
Theme Name: Vautra VS3
Theme URI: https://vautra.com
Author: Vautra Technologies Inc.
Description: Official WordPress theme for Vautra VS3 — Secure Cloud Storage platform.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
Text Domain: vautra
*/

/* ── 1. CSS Variables ── */
:root {
  --g:       #004F35;
  --g-lt:    #006644;
  --g-xl:    #00875a;
  --g-dim:   #003828;
  --g-glow:  rgba(0,79,53,0.35);
  --g-soft:  rgba(0,79,53,0.10);
  --bg:      #ffffff;
  --text:    #0a0a0a;
  --muted:   #666666;
  --border:  #e5e5e5;
  --card:    #ffffff;
}

/* ── 2. Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #fff;
  color: #111;
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 16px;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ── 3. Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #f4f4f4; }
::-webkit-scrollbar-thumb { background: #cfcfcf; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--g); }

/* ── 4. Typography — exact match to original ── */
.h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #0a0a0a;
}

.h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #0a0a0a;
  margin-bottom: 0;
}

.h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.p-lg {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 0;
}

.p-md {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.p-sm {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.text-green { color: var(--g-xl); }
.text-center { text-align: center; }

/* Dark section text overrides */
.sec-dark .h1,
.sec-dark .h2,
.sec-dark .h3 { color: #fff; }

.sec-dark .p-lg,
.sec-dark .p-md,
.sec-dark .p-sm { color: #555; }

.sec-dark strong { color: #bbb; }

/* ── 5. Layout ── */
.section {
  padding: 96px 24px;
  background: #fff;
  color: #111;
}

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
}

  /* Blog grid */
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 24px;
  }
  .blog-card {
    background: #fff;
    border: 1px solid #e6e9ec;
    box-shadow: 0 1px 2px rgba(16,24,40,0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .blog-card-media img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
  }
  .blog-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .blog-title {
    font-size: 18px;
    line-height: 1.2;
    margin: 0;
    /* two-line clamp */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .blog-title a { color: inherit; text-decoration: none; }
  .meta { font-size: 13px; color: #6b7280; }
  .blog-excerpt {
    color: #374151;
    font-size: 15px;
    margin-top: 6px;
    /* two-line clamp */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  @media (max-width: 900px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card-media img { height: 220px; }
  }

.section-sm { padding: 56px 24px; }

.divider {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 0;
}

.sec-light  { background: #f8f8f6 !important; color: #111; }
.sec-white  { background: #fff    !important; color: #111; }
.sec-dark   { background: #000    !important; color: #fff; }

/* Dark section divider */
.sec-dark + .divider { border-top-color: #111; }

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.grid-2-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

/* ── 6. Chip / Label ── */
.chip {
  display: inline-block;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.7rem;
  color: #888;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,.03);
}

.chip-green {
  border-color: #d4e8de;
  color: var(--g-xl);
  background: rgba(0,79,53,.06);
}

.sec-dark .chip {
  background: #080808;
  border-color: #1e1e1e;
  color: #666;
  box-shadow: none;
}

/* ── 7. Buttons ── */
.btn-p {
  background: var(--g);
  color: #fff;
  font-weight: 600;
  border-radius: 7px;
  padding: 11px 22px;
  transition: background .2s, transform .2s, box-shadow .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.87rem;
  border: 1px solid var(--g-lt);
  box-shadow: 0 4px 20px var(--g-glow);
  line-height: 1;
}
.btn-p:hover { background: var(--g-lt); transform: translateY(-2px); box-shadow: 0 6px 28px var(--g-glow); }

.btn-ghost {
  background: transparent;
  color: #333;
  border: 1.5px solid #ddd;
  border-radius: 7px;
  padding: 11px 22px;
  transition: border-color .2s, color .2s, transform .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.87rem;
  line-height: 1;
}
.btn-ghost:hover { border-color: var(--g); color: var(--g); transform: translateY(-1px); }

.sec-dark .btn-ghost { border-color: #2a2a2a; color: #ccc; }
.sec-dark .btn-ghost:hover { border-color: var(--g-xl); color: #fff; }

.btn-p-sm    { padding: 9px 18px; font-size: 0.82rem; }
.btn-ghost-sm{ padding: 9px 18px; font-size: 0.82rem; }
.btn-full    { width: 100%; justify-content: center; font-size: 0.95rem; padding: 14px; }

/* ── 8. Navigation ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #111;
  transition: border-color .3s;
}
#navbar.scrolled { border-bottom-color: #222; }

.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; height: 62px; gap: 32px;
}

.logo-btn {
  background: none; border: none; color: #fff;
  font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em;
  display: flex; align-items: center; gap: 8px;
}

.nav-links { flex: 1; display: flex; gap: 4px; align-items: center; }

.nav-link {
  background: none; border: none; color: #666;
  font-size: 0.84rem; padding: 8px 12px; border-radius: 6px;
  transition: color .15s; display: flex; align-items: center; gap: 4px;
}
.nav-link:hover, .nav-link.active { color: #fff; }

.nav-actions { display: flex; gap: 12px; align-items: center; }

.nav-login {
  background: none; border: none; color: #666;
  font-size: 0.84rem; transition: color .15s;
}
.nav-login:hover { color: #fff; }

/* ── 9. Dropdown ── */
.drop-wrap { position: relative; }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: #0f0f0f; border: 1px solid #222; border-radius: 10px;
  padding: 8px; min-width: 190px;
  box-shadow: 0 12px 40px rgba(0,0,0,.55);
  display: none; z-index: 200;
}
.drop-wrap:hover .dropdown { display: block; }

.drop-item {
  display: block; width: 100%; text-align: left;
  background: none; border: none; color: #777;
  font-size: 0.83rem; padding: 8px 12px; border-radius: 6px;
  transition: color .15s, background .15s;
}
.drop-item:hover { color: #fff; background: #171717; }

/* ── 10. Hero ── */
.hero-section {
  padding: 160px 24px 96px;
  text-align: center;
  position: relative;
}

.hero-bg {
  background: linear-gradient(160deg, #f4f9f6 0%, #eef7f2 40%, #f8faf9 100%);
  overflow: hidden;
}

/* Hero background video */
.hero-video-wrap {
  position: absolute; inset: 0;
  z-index: 0; overflow: hidden;
  pointer-events: none;
}
.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.hero-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(244,249,246,.93) 0%,
    rgba(238,247,242,.88) 45%,
    rgba(248,250,249,.92) 100%
  );
  opacity: 0.8;
}
.hero-has-video .hero-bg {
  background: #eef7f2;
}

/* Parallax layers */
.hero-parallax {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
}
.hero-layer {
  position: absolute; inset: 0;
  will-change: transform;
}
.hero-layer-grid {
  background-image:
    linear-gradient(rgba(0,79,53,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,79,53,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, black, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, black, transparent 85%);
}
.hero-layer-glow {
  width: 360px; height: 360px;
  inset: auto; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,79,53,.08), transparent 70%);
}
.hero-layer-glow-left {
  left: -4%; bottom: 12%;
  animation: float 9s ease-in-out infinite;
}
.hero-layer-glow-right {
  right: 6%; bottom: 6%;
  animation: float 8s ease-in-out infinite reverse;
}

/* Left-side floating cards */
.hero-deco-left {
  position: absolute;
  left: clamp(12px, 4vw, 56px);
  top: 54%;
  transform: translateY(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  pointer-events: none;
  will-change: transform;
}
.hero-float-card {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid #d4e8de;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(0,79,53,.08);
  min-width: 220px;
}
.hero-float-wrap { width: fit-content; }
.hero-float-card-1 { transform: rotate(-2deg); }
.hero-float-card-2 { transform: rotate(1.5deg) translateX(28px); }
.hero-float-card-3 { transform: rotate(-1deg) translateX(12px); }
.hero-float-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #eef7f2; border: 1px solid #d4e8de;
  border-radius: 10px; font-size: 1.1rem;
}
.hero-float-text { display: flex; flex-direction: column; text-align: left; }
.hero-float-label {
  font-size: 0.82rem; font-weight: 600; color: #0a0a0a;
  letter-spacing: -0.01em;
}
.hero-float-sub {
  font-size: 0.72rem; color: var(--muted); margin-top: 2px;
}

/* .hero-bg > *, .hero-bg .section-inner { position: relative; z-index: 2; } */
.hero-inner { position: relative; z-index: 2; }

.hero-cta-row {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 28px;
}

/* Hero typography spacing */
.hero-section .chip { margin-bottom: 24px; }
.hero-section .h1  { margin-bottom: 24px; }
.hero-section .p-lg { margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Solution/inner page hero */
.solution-hero { padding-top: 140px; }
.solution-hero .chip    { margin-bottom: 20px; }
.solution-hero .h1      { margin-bottom: 24px; }
.solution-hero .p-lg    { margin-bottom: 40px; }

/* ── 11. Ticker ── */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8;
  padding: 14px 0; background: #fff;
}
.ticker {
  display: flex; gap: 40px;
  animation: ticker 32s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid #e8e8e8; border-radius: 20px;
  padding: 6px 16px; font-size: 0.75rem; color: #666;
  background: #fff; flex-shrink: 0;
}

/* ── 12. Badge Row ── */
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.badge {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #e8e8e8; border-radius: 20px;
  padding: 10px 16px; font-size: 0.77rem; color: #666;
  font-weight: 500; box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

/* ── 13. Cards ── */
.card {
  background: #fff; border: 1px solid #e8e8e8; border-radius: 12px;
  padding: 28px; box-shadow: 0 1px 4px rgba(0,0,0,.04); color: #111;
}
.card .h3 { margin-bottom: 10px; }

.card-hover { transition: border-color .25s, transform .25s, box-shadow .25s; }
.card-hover:hover { border-color: #c8e0d4; transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,79,53,.08); }

.sec-dark .card  { background: #0c0c0c; border-color: #1a1a1a; color: #fff; box-shadow: none; }
.sec-dark .card:hover { background: #101010; border-color: #2a2a2a; }

/* ── 14. Problem Grid (home page) ── */
.prob-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 56px;
}
.prob-cell {
  background: #0c0c0c; padding: 32px;
  transition: background .2s; color: #fff;
}
.prob-cell .h3   { color: #fff; margin-bottom: 10px; font-size: 1rem; }
.prob-cell .p-sm { color: #555; }
.prob-cell:hover { background: #101010; }
.prob-cell-border-right  { border-right:  1px solid #1a1a1a; }
.prob-cell-border-bottom { border-bottom: 1px solid #1a1a1a; }
.prob-cell-icon {
  width: 32px; height: 32px;
  background: var(--g-dim); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 0.95rem;
}
.prob-cell-divider {
  border-top: 1px solid #1a1a1a;
  padding-top: 16px; margin-top: 18px;
}
.prob-answer { color: var(--g-xl); font-weight: 600; }

/* ── 15. Stats ── */
.stats-grid { text-align: center; }

.stat-item {
  position: relative;
  padding: 28px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e8eeeb;
  box-shadow: 0 2px 12px rgba(0,79,53,.04);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.stat-item.visible {
  border-color: #d4e8de;
  box-shadow: 0 8px 28px rgba(0,79,53,.08);
}
.stat-item::after {
  content: '';
  display: block;
  width: 0; height: 3px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, var(--g), var(--g-xl));
  border-radius: 2px;
  transition: width .7s cubic-bezier(.22,1,.36,1);
}
.stat-item.visible::after { width: 44px; }

.stat-num {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 900; color: var(--g-xl);
  letter-spacing: -0.04em; line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat-num-inner { display: inline-block; }
.stat-num.counting .stat-num-inner {
  animation: stat-tick .15s ease-out;
}
.stat-label { margin-top: 8px; margin-bottom: 4px; }
.stat-source { font-size: 0.72rem; color: #444; margin-top: 4px; }

@keyframes stat-tick {
  0%   { transform: translateY(4px); opacity: .6; }
  100% { transform: none; opacity: 1; }
}

/* ── 16. Security Cards ── */
.sec-card {
  display: flex; gap: 16px;
  background: #fff; border: 1px solid #e8e8e8;
  border-radius: 12px; padding: 20px;
  transition: border-color .25s, background .25s, box-shadow .25s;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  margin-bottom: 14px;
}
.sec-card:last-child { margin-bottom: 0; }
.sec-card:hover { border-color: #c8e0d4; box-shadow: 0 16px 40px rgba(0,79,53,.08); }

.sec-icon {
  width: 36px; height: 36px; min-width: 36px;
  background: #fff; border: 1px solid #ddeee5; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: var(--g); transition: background .25s, color .25s; flex-shrink: 0;
  font-size: 1rem;
}
.sec-card:hover .sec-icon { background: var(--g); color: #fff; border-color: var(--g); }

.sec-card-content { flex: 1; }
.sec-card-content .h3 { font-size: 0.9rem; margin-bottom: 4px; }
.sec-card-content .p-sm { margin: 0; }

/* Security section grid alignment */
.sec-cards-list { display: flex; flex-direction: column; }

.security-section .security-col-left,
.security-section .security-col-right {
  transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1);
}
.security-section .security-col-right .sec-card {
  transition: border-color .25s, background .25s, box-shadow .25s, opacity .5s, transform .5s;
}
.security-section .security-col-right:not(.visible) .sec-card {
  opacity: 0;
  transform: translateX(24px);
}
.security-section .security-col-right.visible .sec-card {
  opacity: 1;
  transform: none;
}
.security-section .security-col-right.visible .sec-card:nth-child(1) { transition-delay: .12s; }
.security-section .security-col-right.visible .sec-card:nth-child(2) { transition-delay: .22s; }
.security-section .security-col-right.visible .sec-card:nth-child(3) { transition-delay: .32s; }
.security-section .security-col-right.visible .sec-card:nth-child(4) { transition-delay: .42s; }
.security-section .security-col-right.visible .sec-card:nth-child(5) { transition-delay: .52s; }

/* ── 17. Pricing / Tier ── */
.pricing-card {
  background: #0c0c0c; border: 1px solid #1a1a1a;
  border-radius: 18px; padding: 48px;
  text-align: center; max-width: 600px; margin: 0 auto;
  position: relative; overflow: hidden;
}
.pricing-card::after {
  content: ''; position: absolute; bottom: -80px; left: 50%;
  transform: translateX(-50%);
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(0,79,53,.12), transparent 70%);
  pointer-events: none;
}
.pricing-card .p-sm    { color: #666; margin-bottom: 28px; }
.pricing-card-note     { margin-top: 14px; color: #333; font-size: 0.82rem; }

.tier-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 12px; margin-bottom: 32px;
}
.tier {
  text-align: center; padding: 18px 10px;
  background: #161616; border-radius: 9px;
  border: 1px solid #1a1a1a;
  transition: background .2s, border-color .2s, box-shadow .2s;
  cursor: pointer;
}
.tier:hover, .tier.active { background: var(--g-dim); border-color: var(--g); box-shadow: 0 0 16px rgba(0,79,53,.3); }
.tier.active .tier-lbl  { color: var(--g-xl); }
.tier-emoji { font-size: 1.3rem; margin-bottom: 6px; }
.tier-lbl   { font-size: 0.75rem; color: #666; font-weight: 600; transition: color .2s; }

/* ── 18. FAQ ── */
.faq-list { max-width: 760px; margin-top: 48px; }
.faq-item { border-bottom: 1px solid #e8e8e8; }
.faq-q {
  width: 100%; background: none; border: none;
  color: var(--text); font-size: 0.95rem; font-weight: 500;
  padding: 20px 0; text-align: left;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; cursor: pointer; font-family: inherit;
}
.faq-arrow { transition: transform .2s; flex-shrink: 0; }
.faq-a {
  padding-bottom: 20px; color: var(--muted);
  font-size: 0.9rem; line-height: 1.7; display: none;
}
.faq-a.open { display: block; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }

/* ── 19. Comparison Table ── */
.comp-table { border: 1px solid #e8e8e8; border-radius: 12px; overflow: hidden; background: #fff; margin-top: 48px; }
.comp-head {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  background: #f8faf9; border-bottom: 1px solid #e8e8e8;
  padding: 16px 24px; gap: 16px;
}
.comp-head-feature { font-size: 0.75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.comp-head-vs3     { font-size: 0.75rem; color: var(--text);  font-weight: 700; text-transform: uppercase; }
.comp-head-aws     { font-size: 0.75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.comp-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  padding: 14px 24px; border-bottom: 1px solid #e8e8e8;
  gap: 16px; transition: background .15s;
}
.comp-row:hover        { background: #f8faf9; }
.comp-row:last-child   { border-bottom: none; }
.comp-row-alt          { background: #fafafa; }
.comp-yes { color: var(--g-xl); }
.comp-no  { color: #aaa; }

/* ── 20. Check Rows ── */
.check-row {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px;
}
.check-row:last-child { margin-bottom: 0; }
.check-icon { flex-shrink: 0; margin-top: 3px; color: var(--g-xl); }

.sec-dark .check-row .p-sm { color: #888; }
.sec-dark .check-icon { color: var(--g-xl); }

/* ── 21. Form Elements ── */
.form-label { display: block; font-size: 0.77rem; color: var(--muted); margin-bottom: 6px; }

.form-input {
  width: 100%; background: #fff; border: 1px solid #ddd;
  border-radius: 7px; padding: 10px 14px; color: #111;
  font-size: 0.88rem; outline: none; transition: border-color .2s;
}
.form-input:focus { border-color: var(--g); }
.form-group     { margin-bottom: 16px; }
.form-textarea  { resize: vertical; }

/* ── 22. Pain Cards (solutions pages — dark bg) ── */
.pain-card {
  display: flex; gap: 16px;
  padding: 16px 20px;
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  margin-bottom: 12px;
  align-items: flex-start;
  transition: background .2s, border-color .2s;
}
.pain-card:hover { background: #161616; border-color: #2a2a2a; }
.pain-card .p-sm { color: #888; margin: 0; }

/* Pain cards on light sections */
.sec-white .pain-card,
.sec-light .pain-card {
  background: #fff;
  border-color: #e8e8e8;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.sec-white .pain-card:hover,
.sec-light .pain-card:hover {
  border-color: #c8e0d4;
  box-shadow: 0 16px 40px rgba(0,79,53,.08);
}
.sec-white .pain-card .p-sm,
.sec-light .pain-card .p-sm { color: var(--muted); }

.pain-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.77rem; color: #666; font-weight: 600;
  margin-top: 2px;
}

/* Pain num on light sections */
.sec-white .pain-num,
.sec-light .pain-num {
  background: #fff;
  border-color: #ddeee5;
  color: var(--g);
}

/* ── 23. Architecture Diagram ── */
.arch-diagram {
  display: flex; flex-direction: column; gap: 4px;
  justify-content: center; min-height: 300px;
}
.arch-layer {
  background: #fff; border: 1px solid #e8e8e8; border-radius: 7px;
  padding: 12px 16px; font-size: 0.83rem; text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.arch-layer-top    { font-weight: 600; color: var(--text); }
.arch-layer-bottom { color: var(--g-xl); font-weight: 500; }
.arch-arrow        { text-align: center; color: #ccc; font-size: 1.2rem; margin: 2px 0; }

/* ── 24. Footer ── */
footer {
  background: #000; color: #fff;
  border-top: 1px solid #111;
  padding: 64px 24px 40px;
}
.footer-inner { max-width: 1160px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.footer-brand-name { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 64px;
}
.footer-cat {
  font-size: 0.72rem; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px;
}
.footer-link {
  display: block; background: none; border: none;
  color: var(--muted); font-size: 0.83rem; padding: 4px 0;
  cursor: pointer; text-align: left; transition: color .15s; font-family: inherit;
}
.footer-link:hover { color: #fff; }
footer .p-sm { color: #666; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.77rem; color: var(--muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal-link {
  font-size: 0.77rem; color: var(--muted);
  cursor: pointer; transition: color .15s; text-decoration: none;
}
.footer-legal-link:hover { color: #fff; }

/* ── 25. Reveal Animations ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left       { transform: translateX(-28px); }
.reveal-left-lg    { transform: translateX(-72px); }
.reveal-right      { transform: translateX(28px); }
.reveal-fade-left  { transform: translateX(-64px); }
.reveal-fade-right { transform: translateX(64px); }
.reveal-scale { transform: scale(.96); }
.reveal-fade  { transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .14s; }
.reveal-delay-3 { transition-delay: .20s; }
.reveal-delay-4 { transition-delay: .26s; }
.reveal-delay-5 { transition-delay: .32s; }
.reveal-delay-6 { transition-delay: .38s; }
.reveal-delay-7 { transition-delay: .44s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1; transform: none; transition: none;
  }
  .security-section .security-col-right .sec-card {
    opacity: 1; transform: none; transition: none;
  }
  .hero-layer-glow-left,
  .hero-layer-glow-right { animation: none; }
  .hero-video-wrap { display: none; }
}

/* ── 26. Keyframes ── */
@keyframes pulse { 0%,100%{ opacity:1; } 50%{ opacity:.4; } }
.pulse-dot {
  width: 7px; height: 7px;
  background: var(--g-xl); border-radius: 50%;
  display: inline-block; animation: pulse 2s infinite;
}
@keyframes float { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-14px); } }
@keyframes ticker { from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ── 27. Page System (SPA only) ── */
#spa-wrapper .page        { display: none; }
#spa-wrapper .page.active { display: block; }

/* ── 28. Solution / Inner Page Hero ── */
.solution-hero .section-inner { max-width: 1160px; }

/* ── 29. Partners / Benefits ── */
.benefit-row {
  display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start;
}
.benefit-row:last-of-type { margin-bottom: 0; }
.benefit-icon { flex-shrink: 0; margin-top: 2px; font-size: 1.1rem; color: var(--muted); }
.benefit-content .h3 { font-size: 0.95rem; margin-bottom: 4px; }

.partner-regions { margin-top: 36px; }
.partner-regions .h3 { margin-bottom: 10px; }

/* Contact info */
.contact-info-list  { display: flex; flex-direction: column; gap: 28px; margin-bottom: 48px; }
.contact-info-row   { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon  { font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.contact-info-label { font-size: 0.9rem; margin-bottom: 4px; }
.contact-demo .h3   { margin-bottom: 10px; }
.contact-demo .p-md { margin-bottom: 20px; }

/* ── 30. Success Box ── */
.success-box { text-align: center; padding: 48px 24px; }
.success-icon { font-size: 2rem; margin-bottom: 16px; }
.success-box .h3 { margin-bottom: 10px; }

/* BAA CTA card */
.baa-cta-inner {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}

/* Anryton link */
.anryton-link { color: var(--text); text-decoration: underline; }

/* Encryption card header */
.enc-card-header {
  display: flex; justify-content: space-between;
  align-items: flex-start; margin-bottom: 10px; gap: 12px;
}
.enc-card-header .chip { margin-bottom: 0; }
.enc-card-header .h3  { margin-bottom: 0; }

/* Hero note */
.hero-note { margin-bottom: 0; }

/* Form error */
.form-error { color: #e53e3e; font-size: 0.82rem; margin-top: 8px; }

/* ── 31. Responsive ── */
@media (max-width: 1100px) {
  .hero-deco-left { display: none; }
}

@media (max-width: 900px) {
  .grid-2      { grid-template-columns: 1fr; gap: 40px; }
  .grid-2-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .comp-head, .comp-row { grid-template-columns: 1.5fr 1fr 1fr; font-size: .78rem; }
}

@media (max-width: 640px) {
  .nav-links, .nav-actions { display: none; }
  .nav-inner { gap: 16px; }
  .hero-section { padding: 110px 24px 72px; }
  .solution-hero { padding-top: 110px; }
  .section { padding: 64px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .h1 { font-size: 2.1rem; }
  .h2 { font-size: 1.5rem; }
  .pricing-card { padding: 28px 18px; }
  .comp-head, .comp-row { padding: 12px 14px; }
  .tier-grid { grid-template-columns: 1fr; }
  .baa-cta-inner { flex-direction: column; }
  .grid-2 { gap: 32px; }
}

/* ── Admin panel (loaded separately via admin.css) ── */
