:root {
  --bg: #0b1220;
  --card: rgba(255, 255, 255, 0.06);
  --card-2: rgba(255, 255, 255, 0.09);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.7);
  --border: rgba(255, 255, 255, 0.14);
  --brand: #60a5fa;
  --brand-2: #a78bfa;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(1000px 600px at 10% 0%, rgba(96, 165, 250, 0.22), transparent 55%),
    radial-gradient(800px 500px at 90% 10%, rgba(167, 139, 250, 0.18), transparent 55%),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1040px;
  padding: 0 1rem;
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(11, 18, 32, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand-title {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.brand-subtitle {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav {
  display: flex;
  gap: 1rem;
}

.nav-link {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

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

main {
  padding-bottom: 2.2rem;
}

.hero {
  padding: 2.6rem 0 1.6rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.2rem;
  align-items: start;
}

.hero-copy h1 {
  margin: 0;
  font-size: 2.1rem;
  letter-spacing: -0.03em;
}

.hero-copy p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 52ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.35), rgba(167, 139, 250, 0.22));
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
}

.hero-card {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.1rem 0.9rem;
}

.hero-card-title {
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.hero-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
}

.section {
  padding: 1.8rem 0;
}

.section-muted {
  opacity: 0.98;
}

.section-title h2 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.section-title p {
  margin: 0.55rem 0 1.2rem;
  color: var(--muted);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.tool-card {
  grid-column: span 6;
  text-decoration: none;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.1rem;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(96, 165, 250, 0.45);
  background: var(--card-2);
}

.tool-card-disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.tool-card-disabled:hover {
  transform: none;
}

.tool-card-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.tool-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.35), rgba(167, 139, 250, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.tool-card-title {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tool-card-desc {
  margin-top: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.tool-card-foot {
  margin-top: 1rem;
  color: rgba(96, 165, 250, 0.95);
  font-weight: 700;
}

.about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
}

.about-left h2 {
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
}

.about-left p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.contact-title {
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.contact-link {
  display: block;
  text-decoration: none;
  color: var(--text);
  padding: 0.45rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-link:first-of-type {
  border-top: 0;
}

.contact-link:hover {
  color: rgba(96, 165, 250, 0.95);
}

.footer {
  padding: 1.1rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-right {
  font-size: 0.95rem;
}

@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .tools-grid {
    gap: 0.85rem;
  }

  .tool-card {
    grid-column: span 12;
  }

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

  .nav {
    display: none;
  }
}

