/* Satlikov Nasrulla — Violet Editorial */

:root {
  --bg: #0d0812;
  --bg-soft: #130e1a;
  --surface: #1a1225;
  --surface-hover: #221830;
  --violet: #9333ea;
  --violet-light: #a855f7;
  --magenta: #c026d3;
  --coral: #fb7185;
  --gold: #fbbf24;
  --text: #f5f0fa;
  --text-muted: #9b8aad;
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(147, 51, 234, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

/* ----- Ambient mesh background ----- */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg);
}

.mesh-bg::before,
.mesh-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  animation: mesh-drift 22s ease-in-out infinite alternate;
}

.mesh-bg::before {
  width: 55vw;
  height: 55vw;
  top: -15%;
  left: -10%;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.55) 0%, transparent 70%);
}

.mesh-bg::after {
  width: 45vw;
  height: 45vw;
  bottom: -10%;
  right: -5%;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.4) 0%, transparent 70%);
  animation-delay: -8s;
  animation-direction: alternate-reverse;
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.3;
  animation: mesh-drift 18s ease-in-out infinite;
}

.mesh-orb--gold {
  width: 30vw;
  height: 30vw;
  top: 40%;
  left: 35%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.35) 0%, transparent 70%);
  animation-delay: -4s;
}

@keyframes mesh-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(4%, -3%) scale(1.08); }
}

/* ----- Layout ----- */
.container {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
}

.section {
  padding-block: 5rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--coral), transparent);
}

.section-title {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ----- Header ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(13, 8, 18, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-color: var(--border-accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.875rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.site-logo-icon {
  flex-shrink: 0;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.site-logo:hover .site-logo-icon {
  transform: scale(1.06);
  filter: drop-shadow(0 0 10px rgba(147, 51, 234, 0.5));
}

.site-logo-text {
  line-height: 1.2;
  min-width: 0;
}

.site-logo-name {
  display: block;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.site-logo-tag {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.58rem;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--coral));
  border-radius: 1px;
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-burger {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-burger:hover {
  border-color: var(--border-accent);
  background: var(--surface-hover);
}

@media (min-width: 768px) {
  .nav-burger {
    display: none;
  }
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  width: min(320px, 88vw);
  display: flex;
  flex-direction: column;
  padding: 5.5rem 1.25rem 2rem;
  background: var(--bg-soft);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

body.nav-mobile-open {
  overflow: hidden;
}

body.nav-mobile-open .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.nav-mobile-open .nav-panel {
  transform: translateX(0);
}

.nav-mobile-link {
  display: block;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-mobile-link:hover {
  background: var(--surface);
  color: var(--violet-light);
}

.nav-mobile-link-cta {
  margin-top: 0.75rem;
  text-align: center;
  font-weight: 600;
  background: linear-gradient(135deg, var(--violet), var(--coral));
  color: #fff;
}

.nav-mobile-link-cta:hover {
  background: linear-gradient(135deg, var(--violet-light), var(--coral));
  color: #fff;
}

#nav-burger-btn.nav-open .nav-burger-icon { display: none !important; }
#nav-burger-btn.nav-open .nav-burger-close-icon { display: block !important; }

/* ----- Buttons ----- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--violet) 0%, var(--magenta) 50%, var(--coral) 100%);
  border: none;
  box-shadow: 0 4px 24px rgba(147, 51, 234, 0.35);
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.2s ease;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(147, 51, 234, 0.5);
  filter: brightness(1.08);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--violet-light);
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--border-accent);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  background: rgba(147, 51, 234, 0.12);
  border-color: var(--violet-light);
  color: var(--text);
}

/* ----- Cards ----- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  transition: border-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.4), rgba(251, 113, 133, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.card:hover::before {
  opacity: 1;
}

.card-accent {
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, var(--violet), var(--coral)) 1;
}

.icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: rgba(147, 51, 234, 0.12);
  border: 1px solid rgba(147, 51, 234, 0.2);
  color: var(--violet-light);
  flex-shrink: 0;
}

.icon-wrap--coral {
  background: rgba(251, 113, 133, 0.1);
  border-color: rgba(251, 113, 133, 0.25);
  color: var(--coral);
}

.icon-wrap--gold {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.25);
  color: var(--gold);
}

/* ----- Hero ----- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5.5rem;
  padding-bottom: 4rem;
}

.hero-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.25);
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin-bottom: 1.25rem;
}

.hero-gradient {
  background: linear-gradient(135deg, var(--violet-light) 0%, var(--magenta) 45%, var(--coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  display: none;
}

@media (min-width: 1024px) {
  .hero-visual {
    display: block;
  }
}

.hero-visual-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.hero-visual-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(147, 51, 234, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(251, 113, 133, 0.2) 0%, transparent 50%);
}

.hero-stat-stack {
  position: absolute;
  inset: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
}

.hero-stat-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.125rem;
  border-radius: 12px;
  background: rgba(13, 8, 18, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  font-size: 0.8rem;
}

.hero-stat-pill strong {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--violet-light);
}

/* ----- Info strip ----- */
.info-strip {
  display: grid;
  gap: 1rem;
  margin-top: -1rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .info-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info-strip .card {
  padding: 1.5rem;
}

/* ----- Stats banner ----- */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .stats-banner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-cell {
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--surface);
  transition: background 0.25s ease;
}

.stat-cell:hover {
  background: var(--surface-hover);
}

.stat-value {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--violet-light), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ----- Bento grid ----- */
.bento-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }

  .bento-grid .bento-wide {
    grid-column: span 2;
  }

  .bento-grid .bento-tall {
    grid-row: span 2;
  }
}

.bento-item {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bento-item h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin: 0;
}

.bento-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ----- Process steps ----- */
.process-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-step {
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--violet-light);
  background: rgba(147, 51, 234, 0.15);
  border: 1px solid rgba(147, 51, 234, 0.3);
  margin-bottom: 1.25rem;
}

.process-step h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ----- Services list ----- */
.service-card {
  padding: 2rem;
}

.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(245, 240, 250, 0.85);
}

.service-list li svg,
.service-list li i {
  color: var(--coral);
  flex-shrink: 0;
}

/* ----- Two-column panels ----- */
.panel-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .panel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.panel-card {
  padding: 2rem;
}

.panel-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.panel-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  color: rgba(245, 240, 250, 0.85);
  line-height: 1.7;
}

.panel-card ul li + li {
  margin-top: 0.35rem;
}

/* ----- Contact block ----- */
.contact-block {
  padding: 2.5rem;
  background:
    linear-gradient(135deg, rgba(147, 51, 234, 0.08) 0%, rgba(251, 113, 133, 0.06) 100%),
    var(--surface);
  border: 1px solid var(--border-accent);
  border-radius: 1.5rem;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.contact-info p {
  margin: 0.25rem 0;
}

.contact-info .mono {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 200px;
}

/* ----- Footer ----- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding-block: 2.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-nav a {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--violet-light);
}

.footer-copy {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(155, 138, 173, 0.7);
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

/* ----- Legal pages ----- */
.legal-page {
  padding-top: 6.5rem;
  padding-bottom: 4rem;
  min-height: calc(100vh - 12rem);
}

.legal-page .container {
  max-width: 48rem;
  margin-inline: auto;
}

.legal-page-title {
  text-align: center;
  margin-bottom: 2rem;
}

.legal-page-sections {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.legal-section-card {
  width: 100%;
  padding: 2rem 2.5rem;
  text-align: justify;
}

.legal-section-card h2 {
  text-align: center;
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--text-primary, #f5f0fa);
}

.legal-section-card p,
.legal-section-card ul {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.legal-section-card p + p,
.legal-section-card p + ul,
.legal-section-card ul + p {
  margin-top: 1rem;
}

.legal-section-card ul {
  list-style: none;
  padding-left: 0;
}

.legal-section-card li + li {
  margin-top: 0.35rem;
}

.legal-section-card .legal-external-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-page-content {
  max-width: 48rem;
  margin-inline: auto;
  padding: 2.5rem;
}

/* ----- Utilities ----- */
.text-muted {
  color: var(--text-muted);
}

.font-mono {
  font-family: 'IBM Plex Mono', monospace;
}

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

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }

  .mesh-bg::before,
  .mesh-bg::after,
  .mesh-orb,
  .hero-badge-dot {
    animation: none !important;
  }

  .card,
  .btn-primary {
    transition: none !important;
  }
}
