@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazir-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #1e3a8a;
  --primary-light: #2563eb;
  --accent-green: #00c365;
  --bg-color: #ffffff;
  --bg-secondary: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-color: #e2e8f0;
}

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

body {
  background: var(--bg-color);
  color: var(--text-main);
  font-family: 'Vazirmatn', system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hidden {
  display: none !important;
}

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

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

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

.w-full {
  width: 100%;
}

.header {
  background-color: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.875rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
  font-family: inherit;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--primary-light);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-outline:hover {
  background-color: var(--bg-secondary);
}

.hero {
  padding: 3rem 0 4rem 0;
  border-bottom: 1px solid var(--border-color);
}

.flex-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-text {
  flex: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: translateY(-5px);
}

.hero-title {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.3;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
}

.hero-features {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-main);
}

.banks-section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--primary);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.banks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.bank-card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bank-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
  transform: translateY(-4px);
}

.bank-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bank-icon-wrapper {
  background: var(--bg-secondary);
  color: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bank-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.bank-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.card-action {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.2s;
}

.bank-card:hover .card-action {
  gap: 0.8rem;
}

.seo-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-color);
}

.seo-container h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
}

.seo-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.seo-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  text-align: justify;
}

.footer {
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-content {
  width: 100%;
  max-width: 420px;
  background: var(--bg-color);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-step {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.modal-icon-wrapper {
  color: var(--primary);
  background: var(--bg-secondary);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.modal-icon-wrapper.success {
  color: #10b981;
  background: #ecfdf5;
}

.modal-step h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.modal-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.phone-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.phone-input {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 1.1rem;
  border-radius: 8px;
  color: var(--text-main);
  font-size: 1.25rem;
  text-align: center;
  outline: none;
  transition: all 0.2s;
  font-family: inherit;
  letter-spacing: 2px;
}

.phone-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background: var(--bg-color);
}

.modal-notice {
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: right;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.modal-notice svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.custom-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--text-main);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 9999;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@media (max-width: 900px) {
  .flex-hero {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .hero-text {
    align-items: center;
    text-align: center;
  }
  .hero-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
}
