:root {
  --bg-main: #f6f7fb;
  --bg-soft: #eef0f8;
  --surface-card: rgba(255, 255, 255, 0.9);
  --surface-solid: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --indigo-main: #5b6cf9;
  --indigo-deep: #4338ca;
  --indigo-soft: rgba(91, 108, 249, 0.1);
  --coral-main: #f97316;
  --coral-soft: rgba(249, 115, 22, 0.12);
  --gradient-votjex: linear-gradient(135deg, #5b6cf9 0%, #7c3aed 48%, #f97316 100%);
  --gradient-indigo: linear-gradient(135deg, #5b6cf9 0%, #4338ca 100%);
  --gradient-coral: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
  --border-light: rgba(15, 23, 42, 0.08);
  --border-indigo: rgba(91, 108, 249, 0.24);
  --shadow-soft: 0 12px 32px -8px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 22px 48px -12px rgba(91, 108, 249, 0.16);
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
}

body {
  min-height: 100vh;
  background-color: var(--bg-main);
  background-image:
    radial-gradient(circle at 8% 12%, rgba(91, 108, 249, 0.11), transparent 36%),
    radial-gradient(circle at 92% 18%, rgba(251, 146, 60, 0.12), transparent 36%),
    radial-gradient(circle at 50% 88%, rgba(91, 108, 249, 0.08), transparent 42%);
  color: var(--text-secondary);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 247, 251, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.25rem;
}

.logo-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(91, 108, 249, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--indigo-main);
  background: var(--indigo-soft);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-select {
  background: var(--surface-solid);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 0.48rem 0.95rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease;
}

.lang-select:hover,
.lang-select:focus {
  outline: none;
  border-color: var(--indigo-main);
}

.menu-toggle {
  display: none;
  background: var(--surface-solid);
  border: 1px solid var(--border-light);
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.22s ease;
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient-indigo);
  color: #ffffff;
  box-shadow: 0 10px 24px -6px rgba(91, 108, 249, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(91, 108, 249, 0.6);
}

.btn-coral {
  background: var(--gradient-coral);
  color: #ffffff;
  box-shadow: 0 10px 24px -6px rgba(249, 115, 22, 0.4);
}

.btn-coral:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(249, 115, 22, 0.55);
}

.btn-ghost {
  background: var(--surface-solid);
  color: var(--text-primary);
  border-color: var(--border-light);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.btn-ghost:hover {
  border-color: var(--indigo-main);
  color: var(--indigo-main);
  transform: translateY(-2px);
}

.btn:disabled,
.btn.disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* Pill Badges */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--indigo-soft);
  color: var(--indigo-main);
  border: 1px solid rgba(91, 108, 249, 0.2);
}

.pill-badge.coral {
  background: var(--coral-soft);
  color: #ea580c;
  border-color: rgba(249, 115, 22, 0.24);
}

.text-gradient {
  background: var(--gradient-votjex);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.25rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.35rem, 4.5vw, 3.75rem);
  margin: 1.1rem 0 1.25rem;
  letter-spacing: -0.03em;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.highlight-mini {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.1rem;
  box-shadow: var(--shadow-soft);
}

.highlight-mini strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.highlight-mini span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero App Spotlight Card */
.spotlight-card {
  background: var(--surface-solid);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(91, 108, 249, 0.18);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
}

.spotlight-banner {
  position: relative;
  height: 170px;
  background-image: url('/images/votjex-header.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem 1.75rem;
}

.spotlight-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.05), rgba(255,255,255,0.92));
}

.spotlight-app-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  width: 100%;
}

.app-logo-large {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  border: 3px solid #ffffff;
  flex-shrink: 0;
}

.spotlight-body {
  padding: 1.5rem 1.75rem 1.85rem;
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.35rem;
}

.chip {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text-primary);
}

/* Sections */
.section-wrap {
  padding: 4.5rem 0;
}

.section-header-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.3vw, 2.65rem);
  margin: 0.75rem 0;
}

/* Video Section Grid (16:9 + 9:16 Short) */
.video-stage {
  display: grid;
  grid-template-columns: 1.55fr 0.75fr;
  gap: 2rem;
  align-items: stretch;
}

.glass-card {
  background: var(--surface-solid);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.25s ease;
}

.glass-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--border-indigo);
}

.video-player-box {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.short-phone-bezel {
  width: 100%;
  max-width: 265px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  border-radius: 26px;
  padding: 8px;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
}

.short-player-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 19px;
  overflow: hidden;
  background: #000;
}

.video-player-box iframe,
.short-player-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 4 Feature Cards Grid */
.features-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.feature-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.15rem;
  background: var(--indigo-soft);
  color: var(--indigo-main);
}

.feature-icon-circle.coral {
  background: var(--coral-soft);
  color: var(--coral-main);
}

/* Studio Banner */
.studio-card {
  background: var(--surface-solid);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.studio-content {
  padding: 3rem;
}

.studio-visual {
  background-image: url('/images/votjex-header.jpg');
  background-size: cover;
  background-position: center;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Legal & Portal Shared Styles (Light Frosted Glass) */
.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 3.5rem 0 5rem;
}

.legal-toc {
  position: sticky;
  top: 96px;
  background: var(--surface-solid);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.legal-toc h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.legal-toc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.legal-toc a {
  text-decoration: none;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 600;
  display: block;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  transition: all 0.15s ease;
}

.legal-toc a:hover {
  background: var(--indigo-soft);
  color: var(--indigo-main);
}

.legal-sheet {
  background: var(--surface-solid);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-soft);
}

.legal-section {
  padding-bottom: 2.25rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--border-light);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.data-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--surface-solid);
  margin: 1.25rem 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.data-table th {
  background: var(--bg-soft);
  color: var(--text-primary);
  font-weight: 700;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.82rem;
}

.data-table td {
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.ticket-portal {
  max-width: 840px;
  margin: 0 auto;
  padding: 3.5rem 0 5rem;
}

.ticket-box {
  background: var(--surface-solid);
  border: 1px solid var(--border-indigo);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-hover);
  margin-bottom: 2.5rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.field-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 0.93rem;
  color: var(--text-primary);
  font-family: inherit;
  transition: all 0.2s ease;
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  outline: none;
  border-color: var(--indigo-main);
  background: #fff;
  box-shadow: 0 0 0 3px var(--indigo-soft);
}

.preview-dossier {
  background: var(--bg-soft);
  border: 1px dashed rgba(91, 108, 249, 0.35);
  border-radius: 12px;
  padding: 1.15rem;
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  color: var(--text-primary);
  white-space: pre-wrap;
  margin: 1.1rem 0;
}

/* Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2.5rem;
  margin-top: 2rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--border-light);
}

.footer-columns h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-columns ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-columns a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-columns a:hover {
  color: var(--indigo-main);
}

.footer-sub {
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

@media (max-width: 980px) {
  .hero-grid,
  .video-stage,
  .studio-card,
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .features-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .legal-toc {
    position: static;
  }
}

@media (max-width: 680px) {
  .features-grid-4,
  .hero-highlights,
  .field-row,
  .footer-columns {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--surface-solid);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 1.25rem;
    box-shadow: var(--shadow-soft);
  }
  .nav-menu.open {
    display: flex;
  }
  .menu-toggle {
    display: inline-block;
  }
  .studio-content,
  .legal-sheet,
  .ticket-box {
    padding: 1.75rem;
  }
}
