:root {
    /* رنگ‌های اصلی */
    --primary: #6366f1; /* نیلی ملایم */
    --primary-dark: #4f46e5;
    --background: #f3f4f6;
    --surface: #ffffff;
    --text: #111827;
    --text-light: #374151;
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    --radius: 14px;
  }
  
  /* ===== پایه ===== */
  html {
    scroll-behavior: smooth;
  }
  body {
    margin: 0;
    font-family: "Vazirmatn", Tahoma, sans-serif;
    direction: rtl;
    background: var(--background);
    color: var(--text);
    line-height: 1.8;
  }
  
  a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
  }
  a:hover {
    color: var(--primary-dark);
  }
  
  /* ===== هدر ===== */
  header {
    background: var(--surface);
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: var(--shadow);
  }
  header .wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
  }
  nav a {
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: #fff;
    border-radius: calc(var(--radius) / 1.5);
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
  }
  nav a:hover {
    background: var(--primary-dark);
  }
  
  /* ===== کانتینر اصلی ===== */
  .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
  }
  
  h1,
  h2 {
    text-align: center;
    margin: 0 0 1.5rem;
  }
  
  /* ===== کارت محصول ===== */
  .product {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .product:nth-child(even) {
    flex-direction: row;
  }
  .product img {
    width: 280px;
    max-width: 45%;
    height: auto;
    border-radius: calc(var(--radius) - 4px);
    object-fit: cover;
  }
  .product .info {
    flex: 1;
  }
  .product .info h2 {
    margin-top: 0;
    color: var(--primary-dark);
  }
  .product .info p {
    color: var(--text-light);
  }
  
  /* ===== فوتر ===== */
  footer {
    background: var(--surface);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.04);
  }
  footer .contact-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
  }
  .contact label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
  }
  .contact input[type="email"] {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 0.9rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: var(--radius);
    font-size: 1rem;
    background: var(--background);
    color: var(--text);
    transition: border 0.2s;
  }
  .contact input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
  }
  
  /* ===== ریسپانسیو ===== */
  @media (max-width: 680px) {
    .product {
      flex-direction: column;
      text-align: center;
    }
    .product:nth-child(even) {
      flex-direction: column;
    }
    .product img {
      width: 100%;
      max-width: 100%;
    }
  }
  