@font-face {
  font-family: "Vazir";
  src: url("../fonts/Vazirr.woff2") format("woff2"), url("../fonts/Vazir.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazir";
  src: url("../fonts/Vazir-Medium.woff2") format("woff2"), url("../fonts/Vazir-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazir";
  src: url("../fonts/Vazir-Bold.woff2") format("woff2"), url("../fonts/Vazir-Bold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazir";
  src: url("../fonts/Vazir-Bold.woff2") format("woff2"), url("../fonts/Vazir-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazir";
  src: url("../fonts/Vazir-Bold.woff2") format("woff2"), url("../fonts/Vazir-Bold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazir";
  src: url("../fonts/Inter-Black.woff2") format("woff2"), url("../fonts/Inter-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #030712;
}

html {
  scroll-behavior: smooth;
}

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

/* Utility Classes */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.font-bold {
  font-weight: 700;
}
.font-semibold {
  font-weight: 600;
}
.font-medium {
  font-weight: 500;
}

.text-sm {
  font-size: 0.875rem;
}
.text-base {
  font-size: 1rem;
}
.text-lg {
  font-size: 1.125rem;
}
.text-xl {
  font-size: 1.25rem;
}
.text-2xl {
  font-size: 1.5rem;
}
.text-4xl {
  font-size: 2.25rem;
}
.text-5xl {
  font-size: 3rem;
}
.text-7xl {
  font-size: 4.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-16 {
  margin-bottom: 4rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.pt-20 {
  padding-top: 5rem;
}
.pb-16 {
  padding-bottom: 4rem;
}

/* Colors */
.text-white {
  color: #ffffff;
}
.text-gray-300 {
  color: #d1d5db;
}
.text-gray-400 {
  color: #9ca3af;
}
.text-emerald-400 {
  color: #34d399;
}

.bg-gray-950 {
  background-color: #030712;
}
.bg-gray-900 {
  background-color: #111827;
}
.bg-gray-800 {
  background-color: #1f2937;
}

.bg-emerald-600 {
  background-color: #059669;
}
.bg-emerald-700 {
  background-color: #047857;
}
.bg-teal-600 {
  background-color: #0d9488;
}
.bg-teal-700 {
  background-color: #0f766e;
}
.bg-cyan-600 {
  background-color: #0891b2;
}
.bg-cyan-700 {
  background-color: #0e7490;
}
.bg-purple-600 {
  background-color: #9333ea;
}
.bg-purple-700 {
  background-color: #7c3aed;
}
.bg-pink-600 {
  background-color: #db2777;
}
.bg-pink-700 {
  background-color: #be185d;
}
.bg-orange-600 {
  background-color: #ea580c;
}
.bg-orange-700 {
  background-color: #c2410c;
}

/* Borders */
.border {
  border-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-gray-700 {
  border-color: #374151;
}
.border-gray-800 {
  border-color: #1f2937;
}

.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-md {
  border-radius: 0.375rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}

/* Layout */
.flex {
  display: flex;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.block {
  display: block;
}

.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}
.space-y-6 > * + * {
  margin-top: 1.5rem;
}
.space-x-8 > * + * {
  margin-left: 2rem;
}
.space-x-reverse > * + * {
  margin-left: 0;
  margin-right: 2rem;
}

.gap-6 {
  gap: 1.5rem;
}

/* Positioning */
.fixed {
  position: fixed;
}
.relative {
  position: relative;
}
.top-0 {
  top: 0;
}
.z-50 {
  z-index: 50;
}

/* Sizing */
.w-full {
  width: 100%;
}
.w-16 {
  width: 4rem;
}
.w-6 {
  width: 1.5rem;
}
.h-8 {
  height: 2rem;
}
.h-16 {
  height: 4rem;
}
.h-6 {
  height: 1.5rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-6xl {
  max-width: 72rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Gradient Text - Fixed */
.gradient-text {
  background: linear-gradient(135deg, #34d399 0%, #14b8a6 50%, #06b6d4 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Backdrop blur */
.backdrop-blur-sm {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Opacity */
.bg-gray-950\/95 {
  background-color: rgba(3, 7, 18, 0.95);
}
.bg-gray-900\/30 {
  background-color: rgba(17, 24, 39, 0.3);
}
.bg-gray-800\/50 {
  background-color: rgba(31, 41, 55, 0.5);
}
.bg-gray-800\/30 {
  background-color: rgba(31, 41, 55, 0.3);
}

.bg-emerald-500\/20 {
  background-color: rgba(16, 185, 129, 0.2);
}
.bg-teal-500\/20 {
  background-color: rgba(20, 184, 166, 0.2);
}
.bg-cyan-500\/20 {
  background-color: rgba(6, 182, 212, 0.2);
}
.bg-purple-500\/20 {
  background-color: rgba(168, 85, 247, 0.2);
}
.bg-pink-500\/20 {
  background-color: rgba(236, 72, 153, 0.2);
}
.bg-orange-500\/20 {
  background-color: rgba(249, 115, 22, 0.2);
}

/* Transitions */
.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.duration-300 {
  transition-duration: 300ms;
}

/* Hover effects */
.hover\:text-emerald-400:hover {
  color: #34d399;
}
.hover\:text-emerald-300:hover {
  color: #6ee7b7;
}
.hover\:bg-emerald-700:hover {
  background-color: #047857;
}
.hover\:bg-teal-700:hover {
  background-color: #0f766e;
}
.hover\:bg-cyan-700:hover {
  background-color: #0e7490;
}
.hover\:bg-purple-700:hover {
  background-color: #7c3aed;
}
.hover\:bg-pink-700:hover {
  background-color: #be185d;
}
.hover\:bg-orange-700:hover {
  background-color: #c2410c;
}

.hover\:border-emerald-500\/50:hover {
  border-color: rgba(16, 185, 129, 0.5);
}
.hover\:border-teal-500\/50:hover {
  border-color: rgba(20, 184, 166, 0.5);
}
.hover\:border-cyan-500\/50:hover {
  border-color: rgba(6, 182, 212, 0.5);
}
.hover\:border-purple-500\/50:hover {
  border-color: rgba(168, 85, 247, 0.5);
}
.hover\:border-pink-500\/50:hover {
  border-color: rgba(236, 72, 153, 0.5);
}
.hover\:border-orange-500\/50:hover {
  border-color: rgba(249, 115, 22, 0.5);
}

/* Custom shadows */
.hover\:shadow-emerald:hover {
  box-shadow: 0 10px 25px -3px rgba(52, 211, 153, 0.1);
}
.hover\:shadow-teal:hover {
  box-shadow: 0 10px 25px -3px rgba(20, 184, 166, 0.1);
}
.hover\:shadow-cyan:hover {
  box-shadow: 0 10px 25px -3px rgba(6, 182, 212, 0.1);
}
.hover\:shadow-purple:hover {
  box-shadow: 0 10px 25px -3px rgba(168, 85, 247, 0.1);
}
.hover\:shadow-pink:hover {
  box-shadow: 0 10px 25px -3px rgba(236, 72, 153, 0.1);
}
.hover\:shadow-orange:hover {
  box-shadow: 0 10px 25px -3px rgba(249, 115, 22, 0.1);
}

/* Lists */
.list-disc {
  list-style-type: disc;
}
.list-inside {
  list-style-position: inside;
}

/* Leading */
.leading-relaxed {
  line-height: 1.625;
}

/* Responsive */
@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
  .md\:hidden {
    display: none;
  }
  .md\:text-7xl {
    font-size: 4.5rem;
  }
  .md\:text-2xl {
    font-size: 1.5rem;
  }
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Button styles */
button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

button:focus {
  outline: 2px solid rgba(52, 211, 153, 0.5);
  outline-offset: 2px;
}

/* Link styles */
a {
  text-decoration: none;
  color: inherit;
}

a:focus {
  outline: 2px solid rgba(52, 211, 153, 0.5);
  outline-offset: 2px;
}

/* Tools Container - Responsive Layout for Few Items */
.tools-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

.tools-container > div {
  flex: 1 1 300px;
  max-width: 400px;
  min-width: 280px;
}

/* When there are 2 items, give them more space */
@media (min-width: 768px) {
  .tools-container {
    gap: 3rem;
  }

  .tools-container > div {
    flex: 1 1 350px;
    max-width: 450px;
  }
}

/* For larger screens, limit the maximum width and center nicely */
@media (min-width: 1024px) {
  .tools-container {
    gap: 4rem;
    max-width: 900px;
  }

  .tools-container > div {
    flex: 1 1 400px;
    max-width: 420px;
  }
}

/* Remove the old grid classes that are no longer needed */
.grid.md\:grid-cols-2.lg\:grid-cols-3 {
  display: flex !important;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
