:root {
  --bg: #090611;
  --bg-soft: #120c1f;
  --panel: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4efff;
  --muted: #b9accf;
  --primary: #8f4dff;
  --primary-2: #b57cff;
  --primary-3: #5d2db3;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(143, 77, 255, 0.22), transparent 24%),
    radial-gradient(circle at 85% 15%, rgba(181, 124, 255, 0.18), transparent 18%),
    linear-gradient(180deg, #08060f 0%, #0c0816 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

.orb-1 {
  width: 280px;
  height: 280px;
  top: 70px;
  left: -80px;
  background: rgba(143, 77, 255, 0.22);
}

.orb-2 {
  width: 320px;
  height: 320px;
  bottom: 40px;
  right: -90px;
  background: rgba(181, 124, 255, 0.16);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(9, 6, 17, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--primary-2);
}

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

.nav-links a {
  color: var(--muted);
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 10px;
}

.hero {
  padding: 88px 0 54px;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.hero h1,
.section-heading h2 {
  margin: 0 0 16px;
  line-height: 1.1;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.hero-text,
.section-heading p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 26px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  box-shadow: 0 12px 26px rgba(143, 77, 255, 0.35);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn-full {
  width: 100%;
}

.small-btn {
  min-height: 44px;
  padding: 0 16px;
}

.hero-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.stat {
  min-width: 132px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.stat strong {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-card,
.featured-card,
.feed-card,
.side-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.25rem;
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-card-top strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.hero-card-top p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-badge,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(143, 77, 255, 0.16);
  border: 1px solid rgba(181, 124, 255, 0.28);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.mini-tile {
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.mini-tile span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}

.section {
  padding: 70px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.featured-card {
  padding: 1.2rem;
}

.featured-card h3 {
  margin: 0.8rem 0 0.7rem;
  line-height: 1.25;
}

.featured-card p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.card-link {
  color: var(--primary-2);
  font-weight: 700;
}

.section-highlight {
  background: linear-gradient(180deg, rgba(143,77,255,0.05), rgba(143,77,255,0.02));
}

.wall-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.5rem;
  align-items: start;
}

.feed-list {
  display: grid;
  gap: 1rem;
}

.feed-card {
  padding: 1.15rem;
}

.feed-top {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.avatar {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(143, 77, 255, 0.24);
}

.feed-meta strong {
  display: block;
}

.feed-meta span {
  color: var(--muted);
  font-size: 0.86rem;
}

.feed-card h3 {
  margin: 0 0 0.55rem;
  line-height: 1.28;
}

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

.feed-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.feed-tags span {
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.feed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.feed-actions button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}

.sidebar-column {
  display: grid;
  gap: 1rem;
}

.side-card {
  padding: 1.1rem;
}

.side-card h3 {
  margin-top: 0;
  margin-bottom: 0.85rem;
}

.side-card p {
  color: var(--muted);
  margin-top: 0;
}

.side-list,
.side-links {
  margin: 0;
  padding-left: 1.1rem;
}

.side-list li,
.side-links li {
  margin-bottom: 0.55rem;
}

.publish-form {
  display: grid;
  gap: 0.8rem;
}

.identity-box {
  display: grid;
  gap: 0.7rem;
}

.checkbox-row {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin: 0;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: #9d8fb7;
}

input:focus,
textarea:focus {
  border-color: rgba(181, 124, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(181, 124, 255, 0.08);
}

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

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-content p {
  margin: 0;
  color: var(--muted);
}

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

.footer-links a {
  color: var(--muted);
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

@media (max-width: 980px) {
  .hero-shell,
  .wall-layout {
    grid-template-columns: 1fr;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 1rem 22px;
    background: rgba(9, 6, 17, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding-top: 64px;
  }

  .section {
    padding: 56px 0;
  }

  .search-row,
  .chat-widget-input {
    grid-template-columns: 1fr;
  }

  .hero-mini-grid,
  .call-meta-grid {
    grid-template-columns: 1fr;
  }

  .feed-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .feed-actions button,
  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(var(--max-width), calc(100% - 1.2rem));
  }

  .hero-card,
  .featured-card,
  .feed-card,
  .side-card {
    border-radius: 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .feed-top {
    align-items: flex-start;
  }
}
