@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --background: 228 29% 5%;
  --foreground: 0 0% 100%;
  --text: 0 0% 100%;
  --card: 228 23% 11%;
  --card-foreground: 0 0% 100%;
  --popover: 228 29% 5%;
  --popover-foreground: 0 0% 100%;
  --primary: 0 89% 66%;
  --primary-foreground: 0 0% 100%;
  --secondary: 228 23% 11%;
  --secondary-foreground: 0 0% 100%;
  --muted: 228 23% 15%;
  --muted-foreground: 0 0% 60%;
  --accent: 0 89% 66%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 100%;
  --border: 228 20% 20%;
  --input: 228 20% 20%;
  --ring: 0 89% 66%;
  --radius: 0.375rem;
  --success: 196 52% 74%;
  --warning: 34 89% 85%;
  --error: 10 100% 86%;
}

.prose {
  --tw-prose-body: hsl(var(--text) / 0.9);
  --tw-prose-headings: hsl(var(--text));
  --tw-prose-lead: hsl(var(--text) / 0.7);
  --tw-prose-links: hsl(var(--accent));
  --tw-prose-bold: hsl(var(--text));
  --tw-prose-counters: hsl(var(--muted-foreground));
  --tw-prose-bullets: hsl(var(--border));
  --tw-prose-hr: hsl(var(--border));
  --tw-prose-quotes: hsl(var(--text));
  --tw-prose-quote-borders: hsl(var(--border));
  --tw-prose-captions: hsl(var(--muted-foreground));
  --tw-prose-kbd: hsl(var(--text));
  --tw-prose-kbd-shadows: hsl(var(--background) / 0.5);
  --tw-prose-code: hsl(var(--text));
  --tw-prose-pre-code: hsl(var(--text) / 0.9);
  --tw-prose-pre-bg: hsl(var(--card));
  --tw-prose-th-borders: hsl(var(--border));
  --tw-prose-td-borders: hsl(var(--border));
  --tw-prose-invert-body: hsl(var(--text) / 0.9);
  --tw-prose-invert-headings: hsl(var(--text));
  --tw-prose-invert-lead: hsl(var(--text) / 0.7);
  --tw-prose-invert-links: hsl(var(--accent));
  --tw-prose-invert-bold: hsl(var(--text));
  --tw-prose-invert-counters: hsl(var(--muted-foreground));
  --tw-prose-invert-bullets: hsl(var(--border));
  --tw-prose-invert-hr: hsl(var(--border));
  --tw-prose-invert-quotes: hsl(var(--text));
  --tw-prose-invert-quote-borders: hsl(var(--border));
  --tw-prose-invert-captions: hsl(var(--muted-foreground));
  --tw-prose-invert-kbd: hsl(var(--text));
  --tw-prose-invert-kbd-shadows: hsl(var(--background) / 0.5);
  --tw-prose-invert-code: hsl(var(--text));
  --tw-prose-invert-pre-code: hsl(var(--text) / 0.9);
  --tw-prose-invert-pre-bg: hsl(var(--card));
  --tw-prose-invert-th-borders: hsl(var(--border));
  --tw-prose-invert-td-borders: hsl(var(--border));
  font-size: 1rem;
  line-height: 1.75;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(0.875rem, 0.5rem + 1vw, 1rem);
  font-weight: 400;
  line-height: 1.6;
  color: hsl(var(--text));
  background-color: hsl(var(--background));
  min-height: 100vh;
}

img,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease-out;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: hsl(var(--text));
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 1.5rem + 2vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.5rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.125rem, 0.95rem + 0.5vw, 1.25rem);
  font-weight: 600;
}

h5 {
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.125rem);
  font-weight: 600;
}

h6 {
  font-size: clamp(0.875rem, 0.8rem + 0.2vw, 1rem);
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: hsl(var(--text) / 0.85);
}

.text-display {
  font-size: clamp(3rem, 2rem + 3vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.text-lead {
  font-size: clamp(1.125rem, 0.9rem + 0.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.7;
  color: hsl(var(--text) / 0.8);
}

.text-small {
  font-size: 0.8125rem;
  line-height: 1.5;
}

.text-caption {
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 960px;
    padding-inline: 2rem;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1200px;
    padding-inline: 2rem;
  }
}

.section {
  padding-block: clamp(3rem, 5vw, 6rem);
}

.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  border-radius: var(--radius);
  transition: all 0.2s ease-out;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

.btn-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
  filter: brightness(1.1);
}

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

.btn-secondary {
  background-color: transparent;
  color: hsl(var(--text));
  border: 1.5px solid hsl(var(--text));
}

.btn-secondary:hover {
  background-color: hsl(var(--text));
  color: hsl(var(--background));
}

.btn-ghost {
  background-color: transparent;
  color: hsl(var(--text));
}

.btn-ghost:hover {
  background-color: hsl(var(--muted));
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: hsl(var(--text));
  background-color: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

.input::placeholder {
  color: hsl(var(--muted-foreground));
}

.input:hover {
  border-color: hsl(var(--muted-foreground));
}

.input:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 3px hsl(var(--ring) / 0.15);
}

.input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.3);
  border-radius: 0.625rem;
  box-shadow: 0 4px 20px hsl(0 0% 0% / 0.3);
  overflow: hidden;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px hsl(0 0% 0% / 0.4);
}

.card-body {
  padding: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--accent));
  background-color: hsl(var(--accent) / 0.15);
  border-radius: 0.25rem;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--text) / 0.6);
  transition: color 0.2s ease-out;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: hsl(var(--text));
}

.hero {
  position: relative;
  padding-block: clamp(4rem, 10vw, 8rem);
  background-color: hsl(var(--background));
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, hsl(var(--secondary) / 0.4) 0%, transparent 50%);
  pointer-events: none;
}

.footer {
  padding-block: clamp(3rem, 5vw, 4rem);
  background-color: hsl(var(--background));
  border-top: 1px solid hsl(var(--border));
}

.footer-link {
  font-size: 0.875rem;
  color: hsl(var(--text) / 0.6);
  transition: color 0.2s ease-out;
}

.footer-link:hover {
  color: hsl(var(--accent));
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-muted {
  color: hsl(var(--muted-foreground));
}

.text-accent {
  color: hsl(var(--accent));
}

.bg-muted {
  background-color: hsl(var(--muted));
}

.border {
  border: 1px solid hsl(var(--border));
}

.rounded {
  border-radius: var(--radius);
}

.shadow {
  box-shadow: 0 4px 20px hsl(0 0% 0% / 0.3);
}

.transition {
  transition: all 0.2s ease-out;
}

.focus-ring:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}
