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

body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #1f2933;
  background-color: #f5f7fa;
  line-height: 1.6;
}

/* Containers */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  z-index: 10;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
}

.logo span {
  color: #2563eb;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  text-decoration: none;
  color: #4b5563;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #111827;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: #2563eb;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-secondary {
  background-color: #e5e7eb;
  color: #111827;
}

.btn-secondary:hover {
  background-color: #d1d5db;
}

.btn-outline {
  border: 1px solid #2563eb;
  color: #2563eb;
  background-color: transparent;
}

.btn-outline:hover {
  background-color: #2563eb;
  color: #ffffff;
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

.hero-text p {
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 0.8rem;
}

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

.hero-card {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #ffffff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

/* Sections */
.section-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: #6b7280;
  margin-bottom: 2rem;
}

/* Features */
.features {
  padding: 3rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 0.8rem;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: #6b7280;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

/* Pricing */
.pricing {
  padding: 3rem 0;
}

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.billing-label {
  font-size: 0.95rem;
  color: #6b7280;
  cursor: pointer;
}

.billing-label.active {
  color: #111827;
  font-weight: 600;
}

.toggle-switch {
  width: 46px;
  height: 24px;
  background-color: #e5e7eb;
  border-radius: 999px;
  padding: 3px;
  display: flex;
  align-items: center;
}

.toggle-circle {
  width: 18px;
  height: 18px;
  background-color: #2563eb;
  border-radius: 50%;
  transition: transform 0.2s;
}

.toggle-yearly .toggle-circle {
  transform: translateX(20px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  background-color: #ffffff;
  padding: 1.8rem 1.5rem;
  border-radius: 0.9rem;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
  text-align: center;
}

.pricing-card .price {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0.5rem 0 1rem;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 1.2rem;
}

.pricing-card li {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.pricing-card.featured {
  border: 2px solid #2563eb;
}

/* Contact */
.contact {
  padding: 3rem 0 4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.contact-form {
  background-color: #ffffff;
  padding: 1.8rem;
  border-radius: 0.9rem;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
}

.error-message {
  color: #dc2626;
  font-size: 0.8rem;
  margin-top: 0.2rem;
  min-height: 1em;
}

.form-status {
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  border-top: 1px solid #e5e7eb;
  padding: 1rem 0;
  background-color: #ffffff;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 0.8rem;
}

.footer-links a {
  text-decoration: none;
  color: #6b7280;
}

.footer-links a:hover {
  color: #111827;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* تبسيط: بدون منيو موبايل الآن */
  }

  .hero-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
