:root {
  --tiger-dark: #3a2b2b;
  --tiger-orange: #d47a22;
  --tiger-light-bg: #fdf6ec;
  --tiger-cream: #fef3c7;
  --tiger-text: #2d1e1e;
  --tiger-border: #f59e0b;
  --tiger-green: #22c55e;
  --tiger-red: #ef4444;
  --tiger-blue: #3b82f6;
  --tiger-purple: #8b5cf6;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: var(--tiger-light-bg);
  color: var(--tiger-text);
  margin: 0;
  padding: 0;
  text-align: right;
  direction: rtl;
  line-height: 1.6;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23d47a22' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

header {
  background: var(--tiger-dark);
  color: white;
  padding: 15px 0;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.logo::before {
  content: "🚚";
  margin-left: 10px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 20px;
  transition: var(--transition);
}

nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
}

.btn.primary {
  background: var(--tiger-orange);
  color: white;
}

.btn.secondary {
  background: var(--tiger-dark);
  color: white;
}

.btn.success {
  background: var(--tiger-green);
  color: white;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.lang-switch {
  background: var(--tiger-orange);
  color: white;
  padding: 8px 15px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
}

/* الصفحة الرئيسية */
.hero {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(212, 122, 34, 0.1) 0%, rgba(253, 246, 236, 1) 100%);
  border-radius: 0 0 30px 30px;
  margin-bottom: 50px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--tiger-dark);
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px;
  color: var(--tiger-text);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ميزات المنصة */
.features {
  padding: 50px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: var(--tiger-dark);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--tiger-orange);
  margin: 15px auto;
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 20px;
  color: var(--tiger-orange);
}

.feature-card h3 {
  margin-bottom: 15px;
  color: var(--tiger-dark);
}

/* النماذج */
.form-container {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.form-title {
  text-align: center;
  margin-bottom: 30px;
  color: var(--tiger-dark);
}

.form-group {
  margin: 20px 0;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--tiger-dark);
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 16px;
  direction: rtl;
  background: white;
  transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--tiger-orange);
  box-shadow: 0 0 0 3px rgba(212, 122, 34, 0.2);
}

textarea {
  height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin: 20px 0;
}

.checkbox-group input[type="checkbox"] {
  margin-left: 10px;
  margin-top: 5px;
}

/* قسم التعهد */
.pledge-section {
  background: var(--tiger-cream);
  border: 2px solid var(--tiger-border);
  border-radius: 12px;
  padding: 25px;
  margin: 30px auto;
}

.commission-account {
  margin-top: 20px;
  padding: 20px;
  background: #fffbeb;
  border: 1px dashed #ca8a04;
  border-radius: 10px;
  display: none;
}

.warning {
  color: #991b1b;
  font-weight: bold;
}

/* تفاصيل الشحنة */
.shipment-details {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.detail-label {
  font-weight: bold;
  color: var(--tiger-dark);
}

.detail-value {
  color: var(--tiger-text);
}

.status-waiting {
  color: var(--tiger-orange);
  font-weight: bold;
}

.status-delivered {
  color: var(--tiger-green);
  font-weight: bold;
}

/* صفحة الدعم */
.support-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.support-section {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bank-accounts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.account-item {
  padding: 10px;
  background: var(--tiger-light-bg);
  border-radius: 8px;
  border-left: 4px solid var(--tiger-orange);
}

/* الشروط والاحكام */
.terms-content, .disclaimer-content {
  line-height: 1.8;
}

.terms-content h3, .disclaimer-content h3 {
  color: var(--tiger-dark);
  margin: 20px 0 10px;
}

.terms-content ul, .disclaimer-content ul {
  padding-right: 20px;
  margin: 10px 0;
}

.terms-content li, .disclaimer-content li {
  margin-bottom: 8px;
}

.last-update {
  text-align: center;
  margin-top: 30px;
  font-style: italic;
  color: #666;
}

/* التذييل */
footer {
  background: var(--tiger-dark);
  color: #e0d5c5;
  padding: 30px 0;
  text-align: center;
  margin-top: 50px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

footer a {
  color: #f59e0b;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* responsive design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .user-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
}