:root {
  --background: #000000;

  --foreground: #ffffff;

  --muted: rgba(255, 255, 255, 0.72);

  --border: rgba(255, 255, 255, 0.12);

  --surface: #0b0b0b;

  --surface-hover: #121212;
}

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

html,
body {
  width: 100%;
  min-height: 100%;

  background: var(--background);

  color: var(--foreground);

  font-family: "Jost", system-ui, sans-serif;

  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1;
}

a {
  color: inherit;

  text-decoration: none;
}

.hero-section {
  width: 100%;

  padding: 10rem 2rem 7rem;
}

.hero-content {
  max-width: 1200px;

  margin: auto;
}

.hero-badge {
  display: inline-flex;

  align-items: center;

  padding: 0.5rem 1rem;

  border-radius: 999px;

  border: 1px solid var(--border);

  background: rgba(255, 255, 255, 0.04);

  font-size: 0.9rem;

  margin-bottom: 2rem;

  opacity: 0.9;
}

.hero-content h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);

  font-weight: 600;

  line-height: 0.95;

  letter-spacing: -0.06em;

  margin-bottom: 2rem;
}

.hero-content p {
  max-width: 700px;

  font-size: 1.15rem;

  line-height: 1.8;

  color: var(--muted);

  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;

  gap: 1rem;

  flex-wrap: wrap;
}

.primary-button,
.secondary-button {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 1rem 1.5rem;

  border-radius: 16px;

  font-weight: 600;

  transition: 0.2s ease;
}

.primary-button {
  background: white;

  color: black;
}

.primary-button:hover {
  opacity: 0.9;
}

.secondary-button {
  border: 1px solid var(--border);

  background: rgba(255, 255, 255, 0.03);
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.06);
}

.tools-section {
  width: 100%;

  padding: 5rem 2rem 8rem;
}

.section-header {
  max-width: 1200px;

  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;

  padding: 0.5rem 1rem;

  border-radius: 999px;

  border: 1px solid var(--border);

  background: rgba(255, 255, 255, 0.04);

  margin-bottom: 1.5rem;

  font-size: 0.9rem;
}

.section-header h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);

  font-weight: 600;

  letter-spacing: -0.05em;

  margin-bottom: 1rem;
}

.section-header p {
  max-width: 650px;

  line-height: 1.8;

  color: var(--muted);
}

.tools-grid {
  max-width: 1200px;

  margin: auto;

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 1.5rem;
}

.tool-card {
  padding: 2rem;

  border-radius: 28px;

  border: 1px solid var(--border);

  background: var(--surface);

  transition: 0.25s ease;
}

.tool-card:hover {
  transform: translateY(-4px);

  background: var(--surface-hover);

  border-color: rgba(255, 255, 255, 0.2);
}

.tool-card-top {
  margin-bottom: 1.5rem;
}

.tool-category {
  display: inline-block;

  padding: 0.4rem 0.8rem;

  border-radius: 999px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  background: rgba(255, 255, 255, 0.03);

  font-size: 0.85rem;

  opacity: 0.85;
}

.tool-card h3 {
  font-size: 1.5rem;

  font-weight: 600;

  margin-bottom: 1rem;

  letter-spacing: -0.03em;
}

.tool-card p {
  line-height: 1.7;

  color: var(--muted);
}

@media (max-width: 768px) {
  .hero-section {
    padding: 8rem 1.5rem 5rem;
  }

  .tools-section {
    padding: 4rem 1.5rem 6rem;
  }

  .hero-content h1 {
    line-height: 1.05;
  }

  .hero-actions {
    width: 100%;

    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }
}
.tool-page {
  width: 100%;

  max-width: 1100px;

  margin: auto;

  padding: 7rem 2rem;
}

.tool-header {
  margin-bottom: 4rem;
}

.tool-tag {
  display: inline-block;

  padding: 0.45rem 0.9rem;

  border-radius: 999px;

  border: 1px solid rgba(255, 255, 255, 0.12);

  font-size: 0.9rem;

  margin-bottom: 1.5rem;

  opacity: 0.9;
}

.tool-header h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);

  font-weight: 600;

  letter-spacing: -0.05em;

  margin-bottom: 1.5rem;

  line-height: 1;
}

.tool-header p {
  max-width: 650px;

  font-size: 1.1rem;

  line-height: 1.8;

  opacity: 0.75;
}

.tool-form {
  display: flex;

  flex-direction: column;

  gap: 1.5rem;
}

.tool-form textarea {
  width: 100%;

  min-height: 240px;

  background: black;

  color: white;

  border: 1px solid rgba(255, 255, 255, 0.14);

  border-radius: 24px;

  padding: 1.5rem;

  font-family: inherit;

  font-size: 1rem;

  resize: vertical;

  outline: none;

  transition: border-color 0.2s ease;
}

.tool-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.3);
}

.tool-form button {
  width: fit-content;

  padding: 0.95rem 1.4rem;

  border: none;

  border-radius: 14px;

  background: white;

  color: black;

  font-weight: 600;

  cursor: pointer;

  transition: opacity 0.2s ease;
}

.tool-form button:hover {
  opacity: 0.88;
}

.result-section {
  margin-top: 5rem;
}

.result-header {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 1.5rem;
}

.result-header h2 {
  font-size: 1.3rem;

  font-weight: 600;
}

.result-header button {
  background: transparent;

  color: white;

  border: 1px solid rgba(255, 255, 255, 0.15);

  border-radius: 12px;

  padding: 0.7rem 1rem;

  cursor: pointer;
}

.result-box {
  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 24px;

  padding: 1.5rem;

  line-height: 1.8;

  word-break: break-all;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2rem;
  transition: 0.25s ease;
}

.about-card:hover {
  background: var(--surface-hover);
  transform: translateY(-3px);
}

.about-card h2 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.about-card p {
  color: var(--muted);
  line-height: 1.8;
}

.tool-switch {
  margin-top: 1.25rem;

  color: var(--muted);

  font-size: 0.95rem;
}

.tool-switch a {
  color: white;

  font-weight: 600;

  margin-left: 0.35rem;

  transition: opacity 0.2s ease;
}

.tool-switch a:hover {
  opacity: 0.8;
}
