/* assets/css/main.css */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

:root {
  --bg:        #080c14;
  --surface:   #0d1220;
  --surface2:  #111827;
  --border:    #1e2d4a;
  --border2:   #2a3d5e;
  --accent:    #3b82f6;
  --accent2:   #2563eb;
  --text:      #dde5f0;
  --text2:     #7a90b0;
  --text3:     #3d5070;
  --success:   #10b981;
  --warn:      #f59e0b;
  --danger:    #ef4444;
  --radius:    12px;
}

*  { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'IBM Plex Sans Arabic', sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; direction: rtl; }
a  { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; border-radius: 8px; font-family: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; border: none; transition: opacity .15s; text-decoration: none; }
.btn:hover { opacity: .88; text-decoration: none; }
.btn-primary  { background: linear-gradient(135deg,var(--accent),var(--accent2)); color: #fff; }
.btn-outline  { background: transparent; border: 1px solid var(--border2); color: var(--text2); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-lg  { padding: 13px 30px; font-size: 15px; }
.btn-full { width: 100%; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); padding: 14px 0; position: sticky; top: 0; z-index: 100; }
.hdr-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 18px; font-weight: 700; color: var(--text); }

/* Hero */
.hero { padding: 90px 0 70px; text-align: center; }
.hero-badge { display: inline-block; background: #1d4ed820; border: 1px solid #3b82f640; color: #60a5fa; font-size: 12px; padding: 4px 14px; border-radius: 20px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(32px,5vw,54px); font-weight: 700; line-height: 1.2; margin-bottom: 18px; }
.hero h1 span { color: var(--accent); }
.hero p { color: var(--text2); font-size: 17px; margin-bottom: 32px; max-width: 500px; margin-inline: auto; }

/* Features */
.features { padding: 60px 0; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 16px; }
.feat-card { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.feat-icon { font-size: 28px; margin-bottom: 12px; }
.feat-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.feat-card p { color: var(--text2); font-size: 13px; }

/* Pricing */
.pricing { padding: 60px 0; }
.section-title { text-align: center; font-size: 26px; font-weight: 700; margin-bottom: 36px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(270px,1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.price-card { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 24px; text-align: center; position: relative; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 30px #3b82f620; }
.price-badge { position: absolute; top: -12px; right: 50%; transform: translateX(50%);
  background: linear-gradient(135deg,var(--accent),#7c3aed); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 14px; border-radius: 20px; }
.price-icon { font-size: 32px; margin-bottom: 8px; }
.price-label { font-size: 16px; font-weight: 600; color: var(--text2); margin-bottom: 16px; }
.price-amount { margin-bottom: 20px; }
.price-num { font-size: 42px; font-weight: 700; color: var(--accent); }
.price-cur { font-size: 16px; color: var(--text2); margin-right: 4px; }
.price-period { display: block; font-size: 12px; color: var(--text3); margin-top: 2px; }
.price-features { list-style: none; text-align: right; margin-bottom: 24px; }
.price-features li { font-size: 13px; color: var(--text2); padding: 5px 0; border-bottom: 1px solid var(--border); }
.price-features li:last-child { border: none; }

/* Contact */
.contact { padding: 60px 0; max-width: 700px; margin: 0 auto; }
.contact-sub { text-align: center; color: var(--text2); margin-bottom: 28px; font-size: 14px; }
.contact-form { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 12px; color: var(--text2); margin-bottom: 5px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); padding: 9px 12px; font-size: 14px; font-family: inherit;
  transition: border-color .15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--accent); }
.form-field select option { background: var(--surface2); }
.contact-direct { margin-top: 20px; text-align: center; }
.contact-direct p { color: var(--text3); font-size: 13px; margin-bottom: 10px; }
.contact-direct .btn { margin: 4px; }

/* Alerts */
.alert { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 16px; }
.alert-success { background: #10b98120; border: 1px solid #10b98140; color: var(--success); }
.alert-error   { background: #ef444420; border: 1px solid #ef444440; color: var(--danger); }

/* Auth page */
.auth-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.auth-box { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; width: 100%; max-width: 420px; }
.auth-logo { text-align: center; font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.auth-title { text-align: center; font-size: 22px; font-weight: 600; margin-bottom: 24px; color: var(--text2); }
.auth-bottom { text-align: center; font-size: 13px; color: var(--text3); margin-top: 16px; }

/* Footer */
.site-footer { text-align: center; padding: 28px; color: var(--text3); font-size: 12px; border-top: 1px solid var(--border); margin-top: 40px; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
