/* ============================================
   GRAVITY VAULT — Component Styles
   ============================================ */

/* ============================================
   GLASSMORPHISM — Cards
   ============================================ */

.glass-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-l);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all var(--transition-normal);
}

/* Stronger hover: 6px lift + glow ring + ambient */
.glass-card:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateY(-6px);
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(99, 102, 241, 0.18),
    0 0 60px rgba(99, 102, 241, 0.1);
}

/* Fallback for browsers without backdrop-filter */
@supports not (backdrop-filter: blur(1px)) {
  .glass-card {
    background: var(--bg-surface);
  }
}

/* ============================================
   GLASSMORPHISM — Navigation
   ============================================ */

.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-m) var(--space-l);
}

@supports not (backdrop-filter: blur(1px)) {
  .glass-nav {
    background: rgba(10, 10, 15, 0.98);
  }
}

.glass-nav.scrolled {
  background: rgba(10, 10, 15, 0.97);
  padding: var(--space-s) var(--space-l);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

/* ============================================
   NEUMORPHISM — Secondary Button
   ============================================ */

.neu-button {
  background: linear-gradient(145deg, #1e1e2d, #161625);
  border-radius: var(--radius-m);
  padding: var(--space-m) var(--space-xl);
  box-shadow:
    6px 6px 12px rgba(0, 0, 0, 0.4),
    -3px -3px 8px rgba(255, 255, 255, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-primary);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-s);
  white-space: nowrap;
}

.neu-button:hover {
  box-shadow:
    8px 8px 16px rgba(0, 0, 0, 0.5),
    -4px -4px 8px rgba(255, 255, 255, 0.03);
  transform: translateY(-1px);
}

.neu-button:active {
  box-shadow:
    inset 4px 4px 8px rgba(0, 0, 0, 0.4),
    inset -2px -2px 4px rgba(255, 255, 255, 0.02);
  transform: translateY(1px);
}

/* ============================================
   NEUBRUTALISM — Primary CTA
   ============================================ */

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-s);
  background: var(--accent-primary);
  color: #ffffff;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  box-shadow:
    4px 4px 0px rgba(99, 102, 241, 0.8),
    6px 6px 0px rgba(0, 0, 0, 0.3);
  font-size: 1.0625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 17px 36px;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
  text-decoration: none;
  white-space: nowrap;
}

.cta-primary:hover {
  color: #ffffff;
  transform: translate(-2px, -2px);
  box-shadow:
    6px 6px 0px rgba(99, 102, 241, 0.8),
    8px 8px 0px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(99, 102, 241, 0.4);
}

.cta-primary:active {
  transform: translate(2px, 2px);
  box-shadow:
    2px 2px 0px rgba(99, 102, 241, 0.8),
    3px 3px 0px rgba(0, 0, 0, 0.3);
}

/* Compact nav variant — no hard shadow, smaller */
.cta-nav {
  display: inline-flex;
  align-items: center;
  gap: var(--space-s);
  background: var(--accent-primary);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-m);
  padding: 9px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-primary);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.cta-nav:hover {
  color: #ffffff;
  background: #5254d8;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.45);
  transform: translateY(-1px);
}

/* Secondary outline CTA */
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-s);
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-m);
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.cta-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

/* ============================================
   SECTION EYEBROW LABEL
   Small mono label above section headings
   ============================================ */

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-s);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  margin-bottom: var(--space-m);
}

.section-eyebrow--security {
  color: var(--accent-security);
  background: rgba(0, 208, 132, 0.08);
  border-color: rgba(0, 208, 132, 0.2);
}

.section-eyebrow--warning {
  color: var(--accent-warning);
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.2);
}

/* ============================================
   SOCIAL PROOF BAR
   ============================================ */

.social-proof-bar {
  padding: var(--space-xl) 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.social-proof-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-tertiary);
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--space-l);
}

.social-proof-items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s) var(--space-xl);
  justify-content: center;
  align-items: center;
}

.social-proof-item {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 0.5px;
  padding: 6px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-s);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.social-proof-item:hover {
  color: var(--text-secondary);
  border-color: var(--border-active);
}

/* ============================================
   NEUBRUTALISM — Trust Badges
   ============================================ */

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-s);
  background: var(--accent-security);
  color: var(--text-inverse);
  border: 2px solid var(--text-inverse);
  border-radius: 0;
  box-shadow: 3px 3px 0 var(--text-inverse);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 7px 14px;
}

.trust-badge-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-s);
  background: rgba(0, 208, 132, 0.1);
  color: var(--accent-security);
  border: 1px solid rgba(0, 208, 132, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 16px;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.trust-badge-outline:hover {
  background: rgba(0, 208, 132, 0.15);
  border-color: rgba(0, 208, 132, 0.5);
}

/* ============================================
   APP STORE BADGES
   ============================================ */

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-s);
  background: var(--bg-elevated);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-m);
  padding: var(--space-s) var(--space-m);
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-normal);
  font-family: var(--font-primary);
  min-height: 52px;
}

.store-badge:hover {
  background: var(--bg-surface);
  border-color: rgba(99, 102, 241, 0.4);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Coming Soon variant */
.store-badge--coming-soon {
  opacity: 0.55;
  filter: grayscale(0.8);
  cursor: default;
  pointer-events: none;
  border-style: dashed;
}

.store-badge--coming-soon .store-badge__label {
  color: var(--accent-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Primary Highlight for Android */
.store-badge--highlight {
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.08);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.store-badge__label {
  font-size: 0.6875rem;
  color: var(--text-secondary);
  line-height: 1;
  font-weight: 400;
}

.store-badge__name {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  display: block;
}

/* ============================================
   FEATURE CARDS
   ============================================ */

.feature-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-xl);
  gap: var(--space-m);
  cursor: default;
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.2);
  flex-shrink: 0;
}

.feature-card__icon.security {
  background: rgba(0, 208, 132, 0.12);
  border-color: rgba(0, 208, 132, 0.2);
}

.feature-card__icon.premium {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.2);
}

.feature-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.feature-card__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.feature-card__tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-tertiary);
  align-self: flex-start;
  border: 1px solid var(--border-subtle);
  padding: 3px 8px;
  border-radius: var(--radius-s);
}

.feature-card__tag.free {
  color: var(--accent-security);
  border-color: rgba(0, 208, 132, 0.3);
}

.feature-card__tag.premium {
  color: var(--accent-warning);
  border-color: rgba(245, 158, 11, 0.3);
}

/* Featured card variant — visually distinguished */
.feature-card--featured {
  background: linear-gradient(
    145deg,
    rgba(99, 102, 241, 0.09) 0%,
    rgba(99, 102, 241, 0.03) 100%
  ) !important;
  border-color: rgba(99, 102, 241, 0.22) !important;
  position: relative;
}

.feature-card--featured::after {
  content: 'UNIQUE';
  position: absolute;
  top: var(--space-m);
  right: var(--space-m);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

.feature-card--featured:hover {
  border-color: rgba(99, 102, 241, 0.5) !important;
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(99, 102, 241, 0.25),
    0 0 80px rgba(99, 102, 241, 0.15) !important;
}

/* ============================================
   USE CASE CARDS
   ============================================ */

.use-case-card {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}

.use-case-card__emoji {
  font-size: 2.25rem;
  line-height: 1;
}

.use-case-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.use-case-card__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   TESTIMONIAL CARDS
   ============================================ */

.testimonial-card {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
  position: relative;
  overflow: hidden;
}

/* Large decorative opening quote mark */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  right: 20px;
  font-size: 5.5rem;
  line-height: 1;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--accent-primary);
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  color: var(--accent-warning);
  font-size: 1rem;
}

.testimonial-card__quote {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  position: relative;
  z-index: 1;
}

.testimonial-card__author {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================
   FAQ ACCORDION — CSS vars instead of hex
   ============================================ */

.faq-item {
  background: var(--faq-card-bg);
  border-radius: var(--radius-m);
  border: 1px solid var(--border-subtle);
  box-shadow:
    6px 6px 12px rgba(0, 0, 0, 0.35),
    -3px -3px 8px rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color var(--transition-normal),
              box-shadow var(--transition-normal);
}

.faq-item.open {
  border-color: rgba(99, 102, 241, 0.3);
  border-left: 3px solid var(--accent-primary);
  box-shadow:
    6px 6px 12px rgba(0, 0, 0, 0.35),
    -3px -3px 8px rgba(255, 255, 255, 0.02),
    0 0 30px rgba(99, 102, 241, 0.06);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-l) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  cursor: pointer;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-primary);
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-primary);
}

.faq-answer {
  padding: 0 var(--space-xl);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  padding: 0 var(--space-xl) var(--space-l);
}

/* ============================================
   SECURITY DIAGRAM
   ============================================ */

.security-diagram {
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}

/* Dot grid on diagram background */
.security-diagram::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(99, 102, 241, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* ============================================
   PRICING CARD
   ============================================ */

.pricing-card {
  background: var(--faq-card-bg);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow:
    10px 10px 20px rgba(0, 0, 0, 0.5),
    -5px -5px 15px rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
}

.pricing-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
  margin: var(--space-xl) 0;
}

.pricing-feature-list li {
  display: flex;
  align-items: center;
  gap: var(--space-m);
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.pricing-feature-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: rgba(0, 208, 132, 0.12);
  border: 1px solid rgba(0, 208, 132, 0.3);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2300D084' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.daily-pass-box {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-xl);
  margin-top: var(--space-xl);
}

/* ============================================
   TRUST METRICS BAR
   ============================================ */

.metrics-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-2xl) 0;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-s);
  text-align: center;
}

/* Icon container for metrics */
.metric-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xs);
  flex-shrink: 0;
}

.metric-icon--primary {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.metric-icon--warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.metric-icon--security {
  background: rgba(0, 208, 132, 0.1);
  border: 1px solid rgba(0, 208, 132, 0.2);
}

.metric-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.metric-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   "WE CAN'T SEE" CALLOUT
   ============================================ */

.zero-knowledge-box {
  border: 1px solid rgba(0, 208, 132, 0.3);
  border-radius: var(--radius-l);
  padding: var(--space-xl);
  background: rgba(0, 208, 132, 0.04);
  display: flex;
  gap: var(--space-l);
  align-items: flex-start;
}

/* ============================================
   IMAGE PLACEHOLDER
   ============================================ */

.img-placeholder {
  background: var(--bg-elevated);
  border: 2px dashed var(--border-active);
  border-radius: var(--radius-l);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-s);
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.875rem;
  padding: var(--space-xl);
  min-height: 200px;
}

.img-placeholder__filename {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent-primary);
  opacity: 0.8;
}
