/* ============================================
   ای-مطب | وب‌سایت معرفی
   رنگ پایه: #C2327A
   ============================================ */

/* ============ فونت‌های Yeken Bakh ============ */
@font-face {
  font-family: 'Yeken Bakh';
  src: url('../fonts/YekanBakhFaNum-Thin.woff2') format('woff2'),
    url('../fonts/YekanBakhFaNum-Thin.woff') format('woff'),
    url('../fonts/YekanBakhFaNum-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Yeken Bakh';
  src: url('../fonts/YekanBakhFaNum-Light.woff2') format('woff2'),
    url('../fonts/YekanBakhFaNum-Light.woff') format('woff'),
    url('../fonts/YekanBakhFaNum-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Yeken Bakh';
  src: url('../fonts/YekanBakhFaNum-Regular.woff2') format('woff2'),
    url('../fonts/YekanBakhFaNum-Regular.woff') format('woff'),
    url('../fonts/YekanBakhFaNum-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Yeken Bakh';
  src: url('../fonts/YekanBakhFaNum-SemiBold.woff2') format('woff2'),
    url('../fonts/YekanBakhFaNum-SemiBold.woff') format('woff'),
    url('../fonts/YekanBakhFaNum-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Yeken Bakh';
  src: url('../fonts/YekanBakhFaNum-Bold.woff2') format('woff2'),
    url('../fonts/YekanBakhFaNum-Bold.woff') format('woff'),
    url('../fonts/YekanBakhFaNum-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Yeken Bakh';
  src: url('../fonts/YekanBakhFaNum-ExtraBold.woff2') format('woff2'),
    url('../fonts/YekanBakhFaNum-ExtraBold.woff') format('woff'),
    url('../fonts/YekanBakhFaNum-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'Yeken Bakh';
  src: url('../fonts/YekanBakhFaNum-Black.woff2') format('woff2'),
    url('../fonts/YekanBakhFaNum-Black.woff') format('woff'),
    url('../fonts/YekanBakhFaNum-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Yeken Bakh';
  src: url('../fonts/YekanBakhFaNum-ExtraBlack.woff2') format('woff2'),
    url('../fonts/YekanBakhFaNum-ExtraBlack.woff') format('woff'),
    url('../fonts/YekanBakhFaNum-ExtraBlack.ttf') format('truetype');
  font-weight: 950;
  font-style: normal;
}

/* ============ Font Awesome Icons ============ */
i[class*="fa"] {
  margin-left: 8px;
  margin-right: 0;
}

.btn i {
  margin-left: 0;
  margin-right: 8px;
}

/* ============ متغیرهای CSS ============ */
:root {
  --primary-color: #C2327A;
  --primary-light: #E85BA0;
  --primary-dark: #A01B5C;
  --text-dark: #1a1a1a;
  --text-light: #666;
  --bg-light: #f9f9f9;
  --bg-lighter: #ffffff;
  --border-color: #eee;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 12px;
  --box-shadow: 0 2px 12px rgba(194, 50, 122, 0.1);
  --box-shadow-hover: 0 8px 24px rgba(194, 50, 122, 0.15);
}

/* ============ ریست و پایه ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  direction: rtl;
}

body {
  font-family: 'Yeken Bakh', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-lighter);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ هدر شیک و جذاب ============ */
header {
  background: linear-gradient(135deg, var(--bg-lighter) 0%, #fafbfc 100%);
  box-shadow: 0 4px 15px rgba(194, 50, 122, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  gap: 30px;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.logo img {
  width: 100px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(194, 50, 122, 0.15);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
  font-size: 15px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.auth-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  border: none;
  padding: 11px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(194, 50, 122, 0.25);
}

.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(194, 50, 122, 0.35);
  text-decoration: none;
}

/* منوی موبایل */
.mobile-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.mobile-menu span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============ بخش هیرو ============ */
.hero {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #ffffff 0%, rgba(194, 50, 122, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(194, 50, 122, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 91, 160, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-dark);
}

.hero p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.7;
}

.highlight {
  color: var(--primary-color);
  font-weight: 950;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ دکمه‌های شیک ============ */
.btn {
  padding: 13px 32px;
  border-radius: var(--border-radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: 'Yeken Bakh', sans-serif;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(194, 50, 122, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(194, 50, 122, 0.4);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2.5px solid var(--primary-color);
  font-weight: 700;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.btn-secondary {
  background: var(--bg-light);
  color: var(--text-dark);
  border: 2px solid transparent;
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* ============ شبکه و کارت‌های بهتر ============ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.card {
  background: white;
  padding: 35px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid rgba(194, 50, 122, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.card:hover {
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-10px);
  border-color: var(--primary-color);
}

.card-icon {
  font-size: 56px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: right;
  height: 70px;
}

.card-icon i {
  color: var(--primary-color);
  font-size: 56px;
}

.card-icon .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(194, 50, 122, 0.08);
  color: var(--primary-color);
  font-weight: 800;
  font-size: 20px;
}

/* Persona / audience cards (replacement for the RTL-broken feature grid) */
.persona-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  align-items: start;
  margin: 30px 0;
}

.persona-card {
  background: white;
  padding: 18px;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid rgba(194, 50, 122, 0.06);
}

.persona-card .icon {
  min-width: 56px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(194, 50, 122, 0.06);
  color: var(--primary-color);
  border-radius: 10px;
  font-size: 26px;
}

.persona-card .body h4 {
  margin: 0 0 6px 0;
  font-size: 18px;
  color: var(--text-dark);
  font-weight: 800;
}

.persona-card .body p {
  margin: 0;
  color: var(--text-light);
  font-size: 14px;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--text-dark);
  font-weight: 700;
}

.card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
  flex-grow: 1;
}

/* ============ سکشن‌ها ============ */
section {
  padding: 70px 20px;
}

section:nth-child(even) {
  background: var(--bg-light);
}

.section-title {
  font-size: 42px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-dark);
  line-height: 1.2;
}

/* ============ فیچر ریو (متناوب) ============ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

.feature-row.reverse {
  direction: ltr;
}

.feature-text h3 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 800;
}

.feature-text p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 25px;
}

.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  padding: 12px 0;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 15px;
}

/* ============ CTA بخش ============ */
.cta-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%) !important;
  color: white;
}

.cta-box {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 900;
}

.cta-box p {
  font-size: 18px;
  margin-bottom: 35px;
  opacity: 0.95;
  font-weight: 500;
}

.cta-box .btn {
  background: white;
  color: var(--primary-color);
  font-weight: 800;
}

.cta-box .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* ============ فوتر 4 بخشی بهتر ============ */
footer {
  background: linear-gradient(180deg, #1a1f2e 0%, #0f1218 100%);
  color: white;
  padding: 70px 20px 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  margin-bottom: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-section h4 {
  font-size: 16px;
  margin-bottom: 25px;
  color: var(--primary-light);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-section:first-child p {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  font-size: 14px;
  font-weight: 500;
}

.footer-section a:hover {
  color: var(--primary-light);
  padding-right: 5px;
}

.footer-section p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(194, 50, 122, 0.2);
  padding-top: 25px;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 500;
}

/* ============ فرم‌های شیک ============ */
.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: 'Yeken Bakh', sans-serif;
  font-size: 14px;
  transition: var(--transition);
  background: white;
  color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(194, 50, 122, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

/* ============ FAQ آکاردیون شیک ============ */
.faq-item {
  background: white;
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.faq-question {
  padding: 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  transition: var(--transition);
  background: white;
  font-size: 16px;
  color: var(--text-dark);
}

.faq-question:hover {
  background: rgba(194, 50, 122, 0.06);
  color: var(--primary-color);
}

.faq-item.active .faq-question {
  background: linear-gradient(135deg, rgba(194, 50, 122, 0.1) 0%, rgba(232, 91, 160, 0.05) 100%);
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.faq-toggle {
  font-size: 22px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--primary-color);
}

.faq-item.active .faq-toggle {
  transform: rotate(-180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 22px;
}

/* ============ Responsive Design ============ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    gap: 15px;
    border-radius: 0 0 12px 12px;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
    animation: slideIn 0.3s ease-out;
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    min-height: 50vh;
    padding: 50px 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .feature-row,
  .form-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* ensure persona-cards are single-column on small screens */
  .persona-cards {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .mobile-menu {
    display: flex;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* ============ Modern Feature Design (New) ============ */
.modern-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.modern-feature-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modern-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(194, 50, 122, 0.1);
  border-color: rgba(194, 50, 122, 0.2);
}

.modern-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(194, 50, 122, 0.08);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 5px;
}

.modern-feature-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
}

.modern-feature-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

.modern-feature-list {
  list-style: none;
  margin-top: 10px;
}

.modern-feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dark);
}

.modern-feature-list li i {
  color: var(--primary-color);
  font-size: 14px;
}

/* Stat Card */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stat-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.stat-number {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 5px;
  display: block;
}

.stat-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  display: block;
}

.stat-desc {
  font-size: 13px;
  color: var(--text-light);
}

@media (max-width: 480px) {
  nav {
    padding: 12px 0;
    gap: 15px;
  }

  .logo {
    font-size: 18px;
    gap: 8px;
  }

  .logo img {
    width: 90px;
    height: auto;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero {
    padding: 40px 15px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .card-icon {
    font-size: 44px;
    height: 56px;
  }

  .card-icon i {
    font-size: 44px;
  }

  .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .feature-text h3 {
    font-size: 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    padding-top: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-box h2 {
    font-size: 28px;
  }

  section {
    padding: 40px 15px;
  }
}

/* ============ Utility Classes ============ */
.mb-4 {
  margin-bottom: 40px;
}

.mb-3 {
  margin-bottom: 30px;
}

.mb-2 {
  margin-bottom: 20px;
}

.mt-5 {
  margin-top: 50px;
}

.text-primary {
  color: var(--primary-color);
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 40px;
}

/* ============ انیمیشن‌ها ============ */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.card {
  animation: slideIn 0.6s ease-out;
}

/* ============ Alert Box ============ */
.alert {
  padding: 16px 20px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  font-weight: 600;
  animation: slideIn 0.3s ease;
  border: 2px solid;
}

.alert-success {
  background: rgba(76, 175, 80, 0.1);
  color: #2e7d32;
  border-color: #4caf50;
}

.alert-error {
  background: rgba(244, 67, 54, 0.1);
  color: #c62828;
  border-color: #f44336;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 50px 0;
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ============ Contact Page Design ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============ Legal Pages Design ============ */
.legal-card {
  background: white;
  padding: 60px;
  border-radius: 24px;
  box-shadow: 0 15px 50px rgba(194, 50, 122, 0.08);
  max-width: 900px;
  margin: -60px auto 40px;
  /* Overlap with hero */
  position: relative;
  z-index: 10;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.legal-card h2 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 900;
  border-bottom: 2px solid rgba(194, 50, 122, 0.1);
  padding-bottom: 25px;
}

.legal-card h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-card h3::before {
  content: '';
  width: 6px;
  height: 24px;
  background: var(--primary-color);
  border-radius: 4px;
  display: inline-block;
}

.legal-card p,
.legal-card li {
  color: var(--text-light);
  line-height: 2;
  font-size: 16px;
  text-align: justify;
}

.legal-card ul {
  list-style: none;
  padding-right: 20px;
}

.legal-card li {
  padding: 8px 0;
  position: relative;
}

.legal-card li::before {
  content: '•';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  right: -15px;
}

.last-updated {
  font-size: 14px;
  color: #999;
  font-weight: 500;
  display: block;
  margin-bottom: 30px;
  font-style: italic;
}

@media (max-width: 768px) {
  .legal-card {
    padding: 30px;
    margin-top: -30px;
  }
}