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

:root {
  --bg: #0b0c0e;
  --surface: #111318;
  --border: #1f2229;
  --border-bright: #2e3340;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.12);
  --accent-glow: rgba(0, 212, 255, 0.25);
  --text: #e4e6ed;
  --text-muted: #5a6072;
  --text-dim: #8890a4;
  --danger: #ff4d4d;
  --success: #47ffa3;
  --mono: 'Space Mono', monospace;
  --sans: 'Syne', sans-serif;
  --radius: 4px;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', var(--sans);
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0 24px 48px;
  touch-action: manipulation;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.logo-mark {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}

.logo-mark span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-right: auto;
  margin-left: 40px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 16px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover, .nav-link:active, .nav-link.active {
  color: var(--accent);
  background: var(--accent-dim);
}

main {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  flex: 1;
}

.hero-section {
  text-align: center;
  padding: 60px 24px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border-bright);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.hero-section .section-title {
  font-size: 28px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ffd400;
  text-shadow: 0 0 12px rgba(255, 212, 0, 0.35);
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 30px;
}

.hero-visuals {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
  opacity: 0.8;
  flex-wrap: wrap;
}

.catalog-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 60px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ffd400;
  text-shadow: 0 0 12px rgba(255, 212, 0, 0.35);
  margin-bottom: 8px;
}

.section-subtitle {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}

.tool-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.tool-card:active {
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(0);
}

.tool-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--accent);
  text-shadow: 0 0 12px var(--accent-glow);
}

.tool-card p {
  font-size: 14px;
  color: var(--text-muted);
}

.tool-card img {
  width: 100%;
  height: auto;
  max-width: 150px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.tool-card .placeholder-image {
  width: 100%;
  height: 100px;
  margin-bottom: 20px;
  border: none;
}

.placeholder-image {
  background: var(--bg);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.about-section {
  text-align: left;
  padding: 40px;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.about-section .about-copy {
  flex: 1;
  min-width: 300px;
}

.about-section h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--text);
}

.about-section p {
  margin: 0;
  max-width: none;
}

.about-section .placeholder-image {
  flex: 1;
  min-width: 300px;
  height: 200px;
}

.support-section {
  margin-bottom: 40px;
  text-align: center;
}

.support-section h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--text);
}

.support-section p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.btn-action {
  display: inline-block;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: bold;
  font-family: var(--sans);
  text-decoration: none;
  color: #0b0c0e;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.btn-action:hover {
  box-shadow: 0 0 16px var(--accent-glow);
}

.btn-action:active {
  transform: translateY(1px);
}

footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .catalog-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-menu {
    margin-left: 0;
  }

  .hero-section h1 {
    font-size: 34px;
  }
}
