body {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ef 100%);
  font-family: 'Lexend Deca', Arial, sans-serif;
  margin: 0;
  padding: 0;
 
}

.premium-container {
  max-width: 500px;
  margin: 40px auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 40px 30px;
  text-align: center;
}

.premium-container h1 {
  color: #359184;
  margin-bottom: 10px;
}

.premium-container p {
  color: #444;
  margin-bottom: 25px;
}

.premium-container ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.premium-container ul li {
  margin: 12px 0;
  font-size: 1.1em;
  color: #333;
  text-align: center;
}


.premium-container ul li i {
  color: #359184;
  margin-right: 8px;
}

.premium-pricing h2 {
  color: #ad4545;
  margin-bottom: 18px;
}

.payment-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 20px;
}

.payment-form label {
  font-weight: 500;
  color: #359184;
  margin-bottom: 4px;
  /* Remove text-align here, will be set by language below */
}

body.french .payment-form label,
body:not(.arabic) .payment-form label {
  text-align: left;
  display: block;
}

body.arabic .payment-form label {
  text-align: right;
  display: block;
}
.payment-form select,
.payment-form input[type="text"],
.payment-form input[type="password"] {
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1em;
  margin-bottom: 8px;
  transition: border 0.2s;
  display: flex;
  width: 100%;
  box-sizing: border-box

}

.payment-form select:focus,
.payment-form input[type="text"]:focus,
.payment-form input[type="password"]:focus {
  border-color: #359184;
  outline: none;
}

.premium-pay-btn {
  background: linear-gradient(45deg, #ad4545 0%, #359184 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 10px;
  /* Remove font-family here, set below by language */
}

body.french .premium-pay-btn,
body:not(.arabic) .premium-pay-btn {
  font-family: 'Lexend Deca', Arial, sans-serif;
}

body.arabic .premium-pay-btn {
  font-family: 'Tajawal', Arial, sans-serif;
}
.premium-pay-btn:hover {
  background: linear-gradient(45deg, #359184 0%, #ad4545 100%);
}

.back-link {
  display: inline-block;
  margin-top: 30px;
  color: #359184;
  text-decoration: none;
  font-size: 1em;
  transition: color 0.2s;
}

.back-link:hover {
  color: #ad4545;
}
body.french, body:not(.arabic) {
  font-family: 'Lexend Deca', Arial, sans-serif;
}
body.arabic {
  font-family: 'Tajawal', Arial, sans-serif;
}
input.french, input:not(.arabic) {
    font-family: 'Lexend Deca', Arial, sans-serif;
  }
  select.french, select:not(.arabic) {
    font-family: 'Lexend Deca', Arial, sans-serif;
  }
  input.arabic, input:not(.french) {
    font-family: 'Tajawal', Arial, sans-serif;
  }
  select.arabic, select:not(.french) {
    font-family: 'Tajawal', Arial, sans-serif;
  }
.lang-btn {
  background: #f3f3f3;
  border: 1px solid #359184;
  color: #359184;
  padding: 6px 16px;
  border-radius: 6px;
  margin-left: 6px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-btn:hover, .lang-btn.active {
  background: #359184;
  color: #fff;
}
.lang-select {
  padding: 8px 18px;
  border-radius: 6px;
  border: 1px solid #35918593;
  font-size: 1em;
  color: #359184;
  background: #f3f3f366;
  margin-bottom: 10px;
  outline: none;
  transition: border 0.2s;
  text-align: center;
}
.lang-select:focus {
  border-color: #ad4545;
}
.trust-section {
  margin-bottom: 24px;
  text-align: center;
}

.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.trust-badges img {
  height: 32px;
  width: auto;
  vertical-align: middle;
}

.money-back {
  background: #e6f9f3;
  color: #359184;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.95em;
  margin-left: 10px;
  border: 1px solid #35918433;
}

.trust-text {
  color: #555;
  font-size: 0.98em;
  margin-bottom: 0;
}

.trust-text a {
  color: #359184;
  text-decoration: underline;
  margin: 0 4px;
  font-size: 0.98em;
}

.trust-text a:hover {
  color: #ad4545;
}

/* --- Calcuify index theme overrides --- */
:root {
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --primary-light: #4ade80;
  --secondary: #0f172a;
  --accent: #f87171;
  --dark: #0f172a;
  --light: #e5e7eb;
  --gray: #94a3b8;
  --white: #ffffff;
  --card-bg: #1e293b;
  --shadow-sm: 0 1px 10px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.4);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Cairo', sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.7;
}

.premium-container {
  max-width: 800px;
  margin: 40px auto;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(34, 197, 94, 0.1);
  padding: 40px 30px;
  text-align: center;
}

.premium-container h1 {
  color: var(--light);
  margin-bottom: 10px;
}

#terms-text h2 { color: var(--light); }
#terms-text p { color: var(--gray); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}
.back-link:hover { color: var(--primary-light); }

.lang-select {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.95rem;
  color: var(--light);
  background: rgba(255,255,255,0.06);
  outline: none;
}
.lang-select:focus { border-color: var(--primary); }

footer {
  text-align: center !important;
  margin: 30px 0 10px !important;
  color: var(--gray) !important;
  font-size: 14px !important;
}

