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

:root {
  --background: #09090b; /* Zinc 950 */
  --foreground: #fafafa; /* Zinc 50 */

  --muted: #27272a; /* Zinc 800 */
  --muted-foreground: #a1a1aa; /* Zinc 400 */

  --popover: #09090b;
  --popover-foreground: #fafafa;

  --card: #09090b;
  --card-foreground: #fafafa;

  --border: #27272a; /* Zinc 800 */
  --input: #27272a;

  --primary: #10b981; /* Emerald 500 */
  --primary-foreground: #022c22; /* Emerald 950 */

  --secondary: #27272a;
  --secondary-foreground: #fafafa;

  --accent: #27272a;
  --accent-foreground: #fafafa;

  --radius: 0.5rem;

  font-family: "Inter", sans-serif;
}

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

body {
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none; /* Hide default cursor */
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition:
    width 0.3s ease,
    height 0.3s ease,
    background-color 0.3s ease;
}

.custom-cursor.hovering {
  width: 48px;
  height: 48px;
  background-color: rgba(16, 185, 129, 0.2);
  border: 1px solid var(--primary);
}

/* Hide cursor on interactive elements */
a,
button,
input,
textarea,
select,
.btn,
.card {
  cursor: none !important;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.text-primary {
  color: var(--primary);
}

/* Layout Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Shadcn-like Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-container {
  display: flex;
  height: 3.5rem;
  align-items: center;
  justify-content: space-between;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.15s ease-in-out;
}

.nav-link:hover,
.nav-link.active {
  color: var(--foreground);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  height: 2.5rem;
  padding: 0 1rem;
  transition: background-color 0.15s ease-in-out;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.btn-primary:hover {
  background-color: #059669; /* Emerald 600 */
}

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

.btn-secondary:hover {
  background-color: #3f3f46; /* Zinc 700 */
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.btn-lg {
  height: 3rem;
  padding: 0 2rem;
  font-size: 1rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

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

.grid-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Cards (Shadcn style) */
.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--card);
  color: var(--card-foreground);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease;
}

.card:hover {
  border-color: #3f3f46;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-header {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 0.375rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.card-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.card-content {
  padding: 1.5rem;
  padding-top: 0;
}

.card-footer {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  padding-top: 0;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid var(--border);
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--background);
  color: var(--foreground);
  transition: background-color 0.15s ease-in-out;
}
.badge-primary {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--primary);
  border-color: rgba(16, 185, 129, 0.2);
}

/* Form inputs */
.input {
  display: flex;
  height: 2.5rem;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--background);
  padding: 0 0.75rem;
  font-size: 0.875rem;
  transition: border-color 0.15s ease-in-out;
  color: var(--foreground);
}

.input:focus {
  outline: none;
  border-color: var(--primary);
}

.textarea {
  display: flex;
  min-height: 80px;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--background);
  padding: 0.75rem;
  font-size: 0.875rem;
  font-family: "Inter", sans-serif;
  transition: border-color 0.15s ease-in-out;
  color: var(--foreground);
  resize: vertical;
}
.textarea:focus {
  outline: none;
  border-color: var(--primary);
}

label {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

/* Images and Backgrounds */
.pattern-bg {
  position: absolute;
  inset: 0;
  z-index: -10;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
  opacity: 0.25;
}

.graphic-image {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .grid-cols-2,
  .grid-cols-3 {
    grid-template-columns: 1fr;
  }
  .header-nav {
    display: none;
  }
}
