/* Nexor — site vitrine */

:root {
  --bg: #06060f;
  --bg-elevated: #12121f;
  --card: #1c1c2e;
  --card-soft: #16162a;
  --text: #f0eef6;
  --muted: #a0a0b8;
  --muted2: #6b6b85;
  --purple: #6c63ff;
  --purple-soft: #8b80ff;
  --teal: #4ecdc4;
  --orange: #ff9f1c;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-sm: 12px;
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max: 1080px;
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(108, 99, 255, 0.22), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(78, 205, 196, 0.08), transparent);
  z-index: 0;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* Layout */

.site-wrap {
  position: relative;
  z-index: 1;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* Nav */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(6, 6, 15, 0.85);
  backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-soft));
  color: #fff;
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.35);
}

.btn-secondary {
  background: rgba(78, 205, 196, 0.12);
  color: var(--teal);
  border: 1px solid rgba(78, 205, 196, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

/* Hero */

.hero {
  padding: 64px 0 80px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.25);
  color: var(--purple-soft);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  max-width: 18ch;
  margin-inline: auto;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--purple-soft), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 42ch;
  margin: 0 auto 32px;
  line-height: 1.65;
}

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

.hero-visual {
  position: relative;
  max-width: 320px;
  margin-inline: auto;
}

.phone-mock {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 20px 16px;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 8px;
  text-align: left;
}

.mock-check {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1.5px solid rgba(108, 99, 255, 0.45);
  flex-shrink: 0;
}

.mock-check.done {
  background: var(--teal);
  border-color: var(--teal);
}

.mock-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.mock-meta {
  font-size: 0.7rem;
  color: var(--muted2);
  margin-top: 2px;
}

/* Sections */

.section {
  padding: 72px 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 12px;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.section-intro {
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 40px;
}

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Pricing */

.pricing-card {
  max-width: 400px;
  margin-inline: auto;
  text-align: center;
  background: linear-gradient(160deg, rgba(108, 99, 255, 0.15), rgba(28, 28, 46, 0.9));
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: 20px;
  padding: 32px 28px;
}

.pricing-card .price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  margin: 8px 0 4px;
}

.pricing-card .price-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}

.pricing-list li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.pricing-list li::before {
  content: '✓ ';
  color: var(--teal);
  font-weight: 700;
}

/* Page content (legal, support) */

.page-hero {
  padding: 48px 0 32px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.page-hero .updated {
  color: var(--muted2);
  font-size: 0.9rem;
}

.page-body {
  padding-bottom: 80px;
}

.legal-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 14px;
}

.legal-section h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.legal-section p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  white-space: pre-line;
}

/* Support */

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.support-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.support-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-box {
  background: rgba(78, 205, 196, 0.08);
  border: 1px solid rgba(78, 205, 196, 0.22);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.contact-box a {
  font-size: 1.15rem;
  font-weight: 600;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand p {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--muted2);
  max-width: 28ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-col h4 {
  margin: 0 0 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted2);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 6px;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted2);
}

@media (max-width: 640px) {
  .nav-links .nav-hide-mobile {
    display: none;
  }

  .hero {
    padding-top: 40px;
  }
}
