/* Vorbia Support Site */

:root {
  --bg: #0a090f;
  --bg-card: #14121c;
  --bg-elevated: #1c1928;
  --text: #f4f2f8;
  --text-muted: #a8a3b8;
  --text-dim: #6e687c;
  --accent: #8b6cf6;
  --accent-hover: #a78bfa;
  --accent-dim: #6d4fd4;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --max-width: 1080px;
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-hover);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 9, 15, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 24px;
}

.nav-desktop a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--text);
  text-decoration: none;
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
}

.menu-btn svg {
  width: 20px;
  height: 20px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0 20px;
  border-top: 1px solid var(--border);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: 12px 4px;
  color: var(--text);
  font-weight: 500;
}

/* Hero */

.hero {
  padding: 56px 0 48px;
  text-align: center;
}

.hero-logo {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(139, 108, 246, 0.35);
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero .tagline {
  margin: 0 auto 28px;
  max-width: 560px;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, opacity 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #fff;
  box-shadow: 0 8px 24px rgba(139, 108, 246, 0.4);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Sections */

.section {
  padding: 48px 0;
}

.section-title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 700;
}

.section-desc {
  margin: 0 0 28px;
  color: var(--text-muted);
  max-width: 640px;
}

/* Feature grid */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.0625rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 108, 246, 0.15);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-size: 1.25rem;
}

/* Screenshots */

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.screenshot-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.screenshot-item img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
}

.screenshot-item figcaption {
  padding: 10px 12px;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
}

/* Pro compare */

.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.compare-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.compare-card.pro {
  border-color: rgba(139, 108, 246, 0.35);
  background: linear-gradient(180deg, rgba(139, 108, 246, 0.08), var(--bg-card));
}

.compare-card h3 {
  margin: 0 0 16px;
  font-size: 1.125rem;
}

.compare-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.compare-card li {
  margin-bottom: 8px;
}

/* Support card */

.support-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.support-card h2 {
  margin: 0 0 8px;
}

.support-card p {
  margin: 0 0 20px;
  color: var(--text-muted);
}

.support-email {
  font-size: 1.125rem;
  font-weight: 600;
  word-break: break-all;
}

/* Legal / document pages */

.page-hero {
  padding: 40px 0 24px;
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.page-hero .updated {
  color: var(--text-dim);
  font-size: 0.875rem;
}

.legal-content {
  padding-bottom: 64px;
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 1.125rem;
  color: var(--accent-hover);
}

.legal-section p {
  margin: 0 0 12px;
  color: var(--text-muted);
  white-space: pre-line;
}

/* FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-question svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  transition: transform 0.2s;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  white-space: pre-line;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Footer */

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-brand p {
  margin: 8px 0 0;
  color: var(--text-dim);
  font-size: 0.875rem;
}

.footer-links h4 {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.8125rem;
  text-align: center;
}

/* Responsive */

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .screenshot-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .menu-btn {
    display: none;
  }

  .screenshot-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
