/* ===== Variables ===== */
:root {
  --bg: #0a0e14;
  --bg-card: #111820;
  --surface: #151c26;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --accent: #3fb950;
  --accent-dim: #238636;
  --accent-glow: rgba(63, 185, 80, 0.25);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Manrope', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s, padding 0.3s;
}
.header.scrolled {
  background: rgba(10, 14, 20, 0.9);
  backdrop-filter: blur(12px);
  padding: 12px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--accent); }
.logo:hover { text-decoration: none; opacity: 0.9; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); text-decoration: none; }

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 14, 20, 0.92) 0%, rgba(10, 14, 20, 0.6) 50%, rgba(10, 14, 20, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 32px;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-scroll span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  border-radius: 2px;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 48px;
  letter-spacing: -0.02em;
}

/* ===== Problems ===== */
.problems { background: var(--surface); }
.problems-list {
  list-style: none;
  margin: 0 0 48px;
  padding: 0;
  max-width: 720px;
}
.problems-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  color: var(--text-muted);
}
.problems-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.problems-owner {
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.problems-owner h3 {
  font-size: 1.25rem;
  margin: 0 0 20px;
  color: var(--text);
}
.problems-owner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.problems-owner li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-muted);
}
.problems-owner li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ===== Solution ===== */
.solution { background: var(--bg); }
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.solution-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.solution-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.solution-img-frame {
  position: absolute;
  inset: -1px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  opacity: 0.4;
  pointer-events: none;
}
.solution-text h2 { margin: 0 0 20px; font-size: 1.85rem; }
.solution-text p { color: var(--text-muted); margin: 0 0 24px; }
.solution-features {
  list-style: none;
  margin: 0;
  padding: 0;
}
.solution-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text);
}
.solution-features .check { color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px var(--accent-glow);
}
.service-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.service-card:hover .service-img img { transform: scale(1.05); }
.service-card h3 {
  margin: 0;
  padding: 24px 24px 8px;
  font-size: 1.2rem;
}
.service-card p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Why Us ===== */
.why-us { background: var(--surface); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.25s;
}
.why-card:hover { border-color: var(--accent); }
.why-icon { font-size: 2rem; margin-bottom: 16px; }
.why-card h3 { margin: 0 0 12px; font-size: 1.2rem; }
.why-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.jurisdiction {
  padding: 32px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.jurisdiction h3 { margin: 0 0 20px; font-size: 1.15rem; }
.jurisdiction ul { list-style: none; margin: 0; padding: 0; }
.jurisdiction li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.jurisdiction li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ===== Steps ===== */
.steps { background: var(--bg); }
.steps-list {
  margin: 0 0 24px;
  padding-left: 24px;
  max-width: 640px;
}
.steps-list li { margin-bottom: 12px; color: var(--text-muted); }
.steps-note {
  padding: 16px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ===== Pricing ===== */
.pricing { background: var(--surface); }
.pricing-intro {
  color: var(--text-muted);
  margin: -24px 0 32px;
  max-width: 640px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: border-color 0.25s;
}
.price-card:hover { border-color: var(--accent); }
.price-card h3 { margin: 0 0 20px; font-size: 1.15rem; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}
.price-row:last-child { border-bottom: none; }
.price-row strong { color: var(--accent); font-size: 1.1rem; }
.pricing-standalone {
  padding: 32px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.pricing-standalone h3 { margin: 0 0 16px; font-size: 1.15rem; }
.pricing-standalone p { margin: 0 0 12px; color: var(--text-muted); font-size: 0.95rem; }
.price-highlight { margin-top: 16px !important; color: var(--accent) !important; font-size: 1.1rem !important; }

/* ===== Contact ===== */
.contact-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
}
.contact-bg {
  position: absolute;
  inset: 0;
}
.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 14, 20, 0.9) 0%, rgba(17, 24, 32, 0.85) 100%);
}
.contact-content {
  position: relative;
  z-index: 2;
  padding: 56px 64px;
  max-width: 560px;
}
.contact-content h2 { margin: 0 0 16px; font-size: 1.75rem; }
.contact-content p { color: var(--text-muted); margin: 0 0 28px; }
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.contact-link:hover {
  text-decoration: none;
  border-color: var(--accent);
  background: rgba(63, 185, 80, 0.08);
}
.contact-link-icon { font-size: 1.2rem; }
.contact-link--tg {
  padding: 16px 28px;
  font-size: 1.05rem;
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.contact-link--tg:hover {
  background: var(--accent-dim);
  border-color: var(--accent-dim);
  box-shadow: 0 8px 24px var(--accent-glow);
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { margin: 0; color: var(--text-muted); font-size: 0.9rem; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .solution-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .contact-content { padding: 40px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* Mobile menu open state */
.nav.open .nav-links {
  display: flex;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--bg-card);
  padding: 24px;
  gap: 16px;
  border-bottom: 1px solid var(--border);
}
