/* POSOne SchoolSoft - Premium Light Theme Stylesheet
 * Palette: Electric Orange (#FF6B00 / #EA580C), Clean White (#FFFFFF), Ice Slate (#F8FAFC / #F1F5F9), Deep Obsidian Black (#0F172A / #1E293B)
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800;900&display=swap');

:root {
  --primary: #FF6B00;
  --primary-hover: #EA580C;
  --primary-light: #FFF7ED;
  --primary-border: #FED7AA;
  --primary-glow: rgba(255, 107, 0, 0.2);

  --bg-main: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-alt: #F1F5F9;
  
  --border-light: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-dark: #0F172A;

  --text-dark: #0F172A;
  --text-body: #475569;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  --success: #10B981;
  --success-light: #ECFDF5;
  --warning: #F59E0B;
  --danger: #EF4444;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 30px -6px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 50px -12px rgba(15, 23, 42, 0.12);
  --shadow-orange: 0 12px 28px -5px rgba(255, 107, 0, 0.35);

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"],
[dir="rtl"] body,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] p,
[dir="rtl"] span,
[dir="rtl"] a,
[dir="rtl"] li {
  font-family: 'Tajawal', system-ui, -apple-system, sans-serif !important;
  letter-spacing: 0 !important;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Marketing Top Announcement */
.marketing-top-banner {
  background: linear-gradient(90deg, #FF6B00 0%, #EA580C 100%);
  color: #FFF;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 9px 16px;
  position: relative;
  z-index: 1100;
}
.marketing-top-banner a {
  color: #FFF;
  text-decoration: underline;
  margin-left: 8px;
  font-weight: 800;
}

/* Light Sticky Navigation */
.marketing-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.marketing-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-box {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-box img {
  height: 44px;
  width: auto;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-menu a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--primary);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Dropdown Selector */
.lang-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23FF6B00' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) center;
  border: 1.5px solid var(--border-medium);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 34px 8px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  outline: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
[dir="rtl"] .lang-select {
  background-position: 12px center;
  padding: 8px 14px 8px 34px;
}
.lang-select:hover, .lang-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.lang-switch {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #FFF;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(255, 107, 0, 0.45);
}
.btn-dark {
  background: var(--text-dark);
  color: #FFF;
  border: 1px solid var(--text-dark);
}
.btn-dark:hover {
  background: #000;
  transform: translateY(-2px);
}
.btn-outline {
  background: #FFF;
  color: var(--text-dark);
  border: 1.5px solid var(--border-light);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* Hero Section (Light & Crisp) */
.marketing-hero {
  position: relative;
  padding: 80px 0 70px;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(255, 107, 0, 0.08) 0%, transparent 65%);
  overflow: hidden;
}
.hero-glow-blob {
  display: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}
.hero-pill span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}
.hero-main-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--text-dark);
  margin-bottom: 22px;
}
.hero-main-title .gradient-text {
  color: var(--primary);
  background: linear-gradient(135deg, #FF7A1A 0%, #EA580C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 19px;
  color: var(--text-body);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-btn-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Hero Showcase Render */
.hero-render-wrap {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: #FFF;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}
.hero-render-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius-lg) - 6px);
}

/* Trust & Metrics Bar (Light Background) */
.trust-bar {
  padding: 48px 0;
  border-bottom: 1px solid var(--border-light);
  border-top: 1px solid var(--border-light);
  background: #FFF;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: center;
}
.trust-item h4 {
  font-size: 34px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.trust-item p {
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 700;
}

/* Sections */
.m-section {
  padding: 90px 0;
  position: relative;
}
.m-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.m-badge {
  display: inline-block;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}
.m-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.m-desc {
  font-size: 17px;
  color: var(--text-body);
}

/* Core Pillars 3x2 Grid (Clean White Cards) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}
.pillar-card {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pillar-card:hover {
  background: #FFF;
  border-color: #FDBA74;
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.pillar-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
  border: 1px solid var(--primary-border);
}
.pillar-card h3 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.pillar-card p {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.pillar-tags span {
  background: var(--bg-alt);
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
}

/* Interactive Multi-Tenant Provisioning Sandbox (Light & Professional) */
.sandbox-card {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.sandbox-preview-terminal {
  background: #0F172A;
  border: 1px solid #1E293B;
  border-radius: var(--radius-md);
  padding: 24px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 13px;
  color: #38BDF8;
  line-height: 1.6;
  min-height: 220px;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.5);
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1E293B;
}
.dot-red { width: 10px; height: 10px; border-radius: 50%; background: #EF4444; }
.dot-yellow { width: 10px; height: 10px; border-radius: 50%; background: #F59E0B; }
.dot-green { width: 10px; height: 10px; border-radius: 50%; background: #10B981; }

/* Pricing Cards (Clean White with Orange Feature Highlight) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  align-items: stretch;
}
.pricing-card {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
  background: #FFFBF7;
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #FFF;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}
.pricing-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.pricing-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.pricing-price {
  font-size: 44px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 28px;
}
.pricing-price span {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 600;
}
.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}
.pricing-features li {
  font-size: 14px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.pricing-features li svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Institutional Contact Highlight Box */
.contact-highlight-box {
  margin-top: 48px;
  background: #FFFFFF;
  border: 1.5px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  box-shadow: var(--shadow-md);
}
.contact-highlight-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-highlight-item .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.contact-highlight-item .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 800;
  color: var(--text-muted);
}
.contact-highlight-item .val {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
}
.contact-highlight-item .val:hover {
  color: var(--primary);
}

/* University & Higher Education Support Badges */
.institution-types-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 28px 0;
}
.institution-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-card {
  background: #FFF;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 90%;
  padding: 38px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: var(--transition);
}
.modal-overlay.active .modal-card {
  transform: scale(1);
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-alt);
  color: var(--text-dark);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
[dir="rtl"] .modal-close {
  right: auto;
  left: 20px;
}

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  background: #F8FAFC;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-dark);
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #FFF;
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Light Footer */
.marketing-footer {
  background: #FFF;
  border-top: 1px solid var(--border-light);
  padding: 70px 0 30px;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}
.footer-col h4 {
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--primary);
}

@media (max-width: 1024px) {
  .sandbox-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hero-main-title { font-size: 38px; }
  .footer-grid { grid-template-columns: 1fr; }
}
