@import "tailwindcss";

@font-face {
  font-family: "Dana";
  src: url("./fonts/DanaFaNum-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Dana";
  src: url("./fonts/DanaFaNum-ExtraBold.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Dana";
  src: url("./fonts/DanaFaNum-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Dana";
  src: url("./fonts/DanaFaNum-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Dana", sans-serif;
  background-color: #f8fafc;
  color: #0f172a;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.glass-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}
.glass-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
}

.gradient-text {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.custom-input {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
}
.custom-input:focus {
  background-color: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
  outline: none;
}

.bg-blob-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.05) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: -1;
}
.bg-blob-2 {
  position: absolute;
  bottom: 0%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.05) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: -1;
}

/* استایل‌های متمایز دکمه‌ها */
.btn-base {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.btn-base::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transform: skewX(-20deg);
  transition: 0.6s ease-in-out;
}
.btn-base:hover::after {
  left: 150%;
}
input[type="tel"] {
  font-family: "Dana";
}

/* ۱. دکمه فرم اصلی (آبی-نیلی) */
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #4338ca);
  color: white;
  box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
}
.btn-primary:hover {
  box-shadow: 0 15px 25px -5px rgba(37, 99, 235, 0.5);
  transform: translateY(-2px);
}

/* ۲. دکمه چسبان (سبز زمردی) */
.btn-floating {
  background: linear-gradient(135deg, #059669, #0d9488);
  color: white;
  box-shadow: 0 12px 25px -5px rgba(16, 185, 129, 0.45);
}
.btn-floating:hover {
  box-shadow: 0 15px 30px -5px rgba(16, 185, 129, 0.6);
}

/* ۳. دکمه پاپ‌آپ (سرمه‌ای تیره) */
.btn-modal {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
  box-shadow: 0 8px 20px -5px rgba(15, 23, 42, 0.4);
}

/* انیمیشن دکمه چسبان */
@keyframes subtle-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
.animate-attention {
  animation: subtle-pulse 2.5s infinite;
}
.btn-primary,
.btn-floating,
.btn-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.btn-primary svg,
.btn-floating svg,
.btn-modal svg {
  flex-shrink: 0;
}
