:root {
  --primary-color: #16a34a; /* Vibrant conversion green */
  --primary-hover: #15803d;
  --secondary-color: #f59e0b; /* Amber warning/badge */
  --accent-color: #dc2626; /* Deep Red offer badge */
  --dark-bg: #0f172a;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --radius: 12px;
  --font: 'Cairo', sans-serif;
}

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

body {
  font-family: var(--font);
  background-color: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
  direction: rtl;
  padding-bottom: 70px; /* space for mobile sticky bar */
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

.text-center {
  text-align: center;
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #b91c1c, #dc2626);
  color: #fff;
  text-align: center;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

/* Header */
.main-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--dark-bg);
}
.logo-icon {
  color: var(--secondary-color);
}
.guarantee-badge {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-color);
  background: #f0fdf4;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #bbf7d0;
}

/* Hero Section */
.hero-section {
  padding: 24px 0 36px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Video Wrapper */
.video-container {
  display: flex;
  flex-direction: column;
}
.video-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  background: #000;
}
.video-wrapper video {
  width: 100%;
  height: auto;
  max-height: 480px;
  display: block;
}
.video-caption {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}

/* Hero Content */
.urgent-tag {
  display: inline-block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.main-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark-bg);
  line-height: 1.3;
  margin-bottom: 12px;
}

.subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.rating-box {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 700;
}

.price-card {
  display: flex;
  align-items: baseline;
  gap: 12px;
  background: #fdf4ff;
  border: 2px dashed #f5d0fe;
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.old-price {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 1.2rem;
  font-weight: 700;
}

.current-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-color);
}
.current-price span {
  font-size: 1.1rem;
}

.savings-badge {
  background: var(--accent-color);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Timer Box */
.timer-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fffbeeb0;
  border: 1px solid #fef08a;
  padding: 8px 14px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.timer-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #854d0e;
}
.timer-display {
  font-size: 1.1rem;
  font-weight: 900;
  color: #b45309;
  letter-spacing: 1px;
  font-family: monospace;
}

/* CTA Button */
.cta-button {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #ffffff;
  text-align: center;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 1.3rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35);
  transition: all 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(22, 163, 74, 0.45);
}

.pulse-button {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { transform: scale(1.02); box-shadow: 0 0 0 12px rgba(22, 163, 74, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.features-mini {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Features Grid */
.features-section {
  padding: 40px 0;
}
.section-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 28px;
  color: var(--dark-bg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.feat-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--dark-bg);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Spec Section */
.spec-section {
  padding: 20px 0;
}
.spec-card {
  background: var(--dark-bg);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
}
.spec-card h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--secondary-color);
}
.spec-card ul {
  list-style: none;
}
.spec-card li {
  font-size: 1rem;
  margin-bottom: 10px;
  padding-right: 20px;
  position: relative;
}
.spec-card li::before {
  content: "🔹";
  position: absolute;
  right: 0;
  top: 0;
}

/* Order Section */
.order-section {
  padding: 40px 0;
}
.order-box {
  background: #ffffff;
  border: 2px solid var(--primary-color);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.form-title {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--dark-bg);
  margin-bottom: 8px;
}
.form-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Offers Grid */
.offers-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.offer-card {
  position: relative;
  background: #f8fafc;
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.offer-card.selected {
  border-color: var(--primary-color);
  background: #f0fdf4;
}
.offer-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  background: var(--secondary-color);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}
.offer-badge.discount {
  background: var(--accent-color);
}
.offer-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
}
.offer-price {
  margin-top: 4px;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--primary-color);
}
.offer-price span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Checkout Form */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-weight: 800;
  font-size: 0.95rem;
}
.required {
  color: var(--accent-color);
}
.form-group input {
  padding: 14px 16px;
  font-family: var(--font);
  font-size: 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.total-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f1f5f9;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1.05rem;
}
.total-summary strong {
  font-size: 1.4rem;
  color: var(--primary-color);
}

.submit-cta {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #ffffff;
  border: none;
  padding: 18px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}
.submit-cta:hover {
  background: linear-gradient(135deg, #15803d, #166534);
}
.btn-text {
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 900;
}
.sub-text {
  font-family: var(--font);
  font-size: 0.85rem;
  opacity: 0.9;
}

.security-notices {
  display: flex;
  justify-content: space-around;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
}

/* Guarantee Section */
.guarantee-section {
  padding: 20px 0 40px 0;
}
.guarantee-card {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 20px;
}
.g-icon {
  font-size: 2rem;
  margin-bottom: 6px;
}
.guarantee-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1e40af;
  margin-bottom: 6px;
}
.guarantee-card p {
  font-size: 0.9rem;
  color: #1e3a8a;
}

/* Mobile Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 2px solid var(--primary-color);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
  z-index: 999;
}
.floating-info {
  display: flex;
  flex-direction: column;
}
.f-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark-bg);
}
.f-price {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--accent-color);
}
.floating-btn {
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.1rem;
  padding: 10px 20px;
  border-radius: 8px;
}

@media (min-width: 769px) {
  .floating-cta {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

/* Modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 16px;
}
.modal-backdrop.show {
  display: flex;
}
.modal-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  animation: modalIn 0.3s ease-out;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.modal-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}
.modal-card h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 8px;
}
.modal-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.order-ref {
  background: #f1f5f9;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--dark-bg);
  margin-bottom: 20px;
}
.modal-close-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
}
