@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Tajawal:wght@300;400;500;700;800;900&display=swap");
@import url("https://cdn.jsdelivr.net/npm/@flaticon/flaticon-uicons@3.3.1/css/all/all.min.css");

:root {
  /* Professional Orange Accent */
  --orange: #e8620a;
  --orange-hover: #cf5508;
  --orange-light: #ff7a1f;
  --orange-pale: #1a1815;
  --orange-mid: #3a3a2f;
  --orange-glow: rgba(232, 98, 10, 0.18);

  /* Dark Theme */
  --black: #0a0a0a;
  --dark: #0f1015;
  --dark1: #1a1a22;
  --dark2: #242430;
  --dark3: #2f2f3b;
  --dark4: #585861;
  --dark-border: #404050;

  /* Light Text - All White */
  --white: #ffffff;
  --white-soft: #f5f5f7;
  --white-muted: #e0e0e0;
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-muted: #b0b0b0;

  /* Compatibility */
  --gold: #e8620a;
  --gold-light: #ff7a1f;
  --gold-dark: #cf5508;
  --accent: #00d4ff;
  --accent-dark: #0099cc;
  --gray: #2f2f3b;
  --gray2: #404050;
  --gray3: #505060;
  --text-body: #e0e0e0;
  --text-light: #b0b0b0;
  --shadow-gold: 0 8px 32px rgba(232, 98, 10, 0.28);
  --shadow-orange: 0 8px 32px rgba(232, 98, 10, 0.28);

  /* Spacing & Size */
  --nav-h: 72px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  /* Shadows */
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
  --shadow-accent: 0 8px 32px rgba(0, 212, 255, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Plus Jakarta Sans", "Tajawal", sans-serif;
  background: var(--dark);
  color: var(--text-secondary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--dark1);
}
::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--orange-hover);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav.scrolled {
  background: rgba(15, 16, 21, 0.95);
  backdrop-filter: blur(20px);
  box-shadow:
    0 1px 0 var(--dark-border),
    0 8px 32px rgba(0, 0, 0, 0.5);
}
.nav-transparent {
  background: transparent;
}
.nav-white {
  background: rgba(15, 16, 21, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--dark-border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    var(--orange) 0%,
    var(--orange-light) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-orange);
  flex-shrink: 0;
}
.logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  border-radius: 12px;
}
.logo-box .lf {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: #ffffff;
  letter-spacing: -0.5px;
}
.logo-text {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: #ffffff;
  letter-spacing: -1px;
}
.logo-text span {
  color: var(--orange);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-menu li a {
  display: block;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #e0e0e0;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-menu li a:hover::after,
.nav-menu li a.active::after {
  width: 100%;
}
.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--orange);
  background: rgba(232, 98, 10, 0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-btn {
  background: linear-gradient(
    135deg,
    var(--orange) 0%,
    var(--orange-light) 100%
  );
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-orange);
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(232, 98, 10, 0.35);
}
.nav-btn-ghost {
  background: transparent;
  color: #e0e0e0;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1.5px solid var(--dark-border);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  cursor: pointer;
}
.nav-btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(232, 98, 10, 0.08);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark1);
  z-index: 999;
  padding: 24px 20px;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.mobile-menu a {
  display: block;
  padding: 14px 18px;
  border-radius: 12px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #e0e0e0;
  text-decoration: none;
  border: 1px solid var(--dark-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu a:hover,
.mobile-menu a.active {
  background: rgba(232, 98, 10, 0.15);
  color: var(--orange);
  border-color: var(--orange);
}
.mobile-menu .mob-cta {
  background: linear-gradient(
    135deg,
    var(--orange) 0%,
    var(--orange-light) 100%
  );
  color: #ffffff !important;
  border-color: var(--orange) !important;
  text-align: center;
  margin-top: 10px;
  font-weight: 800;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  white-space: nowrap;
}
.btn-orange {
  background: linear-gradient(
    135deg,
    var(--orange) 0%,
    var(--orange-light) 100%
  );
  color: #ffffff;
  box-shadow: var(--shadow-orange);
}
.btn-orange:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(232, 98, 10, 0.35);
}
.btn-dark {
  background: var(--dark2);
  color: var(--orange);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--dark-border);
}
.btn-dark:hover {
  background: var(--dark3);
  transform: translateY(-2px);
  border-color: var(--orange);
}
.btn-outline-dark {
  background: transparent;
  color: var(--orange);
  border: 1.5px solid var(--orange);
}
.btn-outline-dark:hover {
  background: rgba(232, 98, 10, 0.1);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  border-color: var(--orange);
}
.btn-white {
  background: var(--dark2);
  color: var(--orange);
  box-shadow: var(--shadow-orange);
  border: 1px solid var(--dark-border);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(232, 98, 10, 0.3);
}

/* ── SECTION ── */
.section {
  padding: 110px 56px;
}
.section-sm {
  padding: 80px 56px;
}
.container {
  margin: 0 auto;
  width: 100%;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: fadeIn 0.6s ease;
}
.section-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}
.section-heading {
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  letter-spacing: -1px;
  color: #ffffff;
}
.section-heading .o {
  color: var(--orange);
}
.section-sub {
  margin-top: 16px;
  font-size: 1.05rem;
  color: #e0e0e0;
  line-height: 1.8;
  max-width: 620px;
}

/* ── FOOTER ── */
.footer {
  background: linear-gradient(180deg, var(--dark1) 0%, var(--black) 100%);
  color: #ffffff;
  padding: 80px 56px 48px;
  border-top: 1px solid var(--dark-border);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--dark-border);
}
.footer-brand .logo-text {
  color: #ffffff;
}
.footer-brand-desc {
  margin-top: 18px;
  font-size: 0.875rem;
  color: #b0b0b0;
  line-height: 1.8;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}
.fs-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(232, 98, 10, 0.1);
  border: 1.5px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0b0b0;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  cursor: pointer;
}
.fs-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #ffffff;
  transform: translateY(-4px);
}
.footer-col-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 22px;
  letter-spacing: 0.3px;
  color: #ffffff;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links li a {
  color: #b0b0b0;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-links li a:hover {
  color: var(--orange);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 0.8rem;
  color: #b0b0b0;
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.8rem;
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-legal a:hover {
  color: var(--orange);
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.in {
  opacity: 1;
  transform: none;
}
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.in {
  opacity: 1;
  transform: none;
}
.d1 {
  transition-delay: 0.08s;
}
.d2 {
  transition-delay: 0.16s;
}
.d3 {
  transition-delay: 0.24s;
}
.d4 {
  transition-delay: 0.32s;
}
.d5 {
  transition-delay: 0.4s;
}

/* ── PAGE LOADER ── */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}
.page-loader.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.loader-content {
  text-align: center;
}
.loader-circle {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  border: 3px solid var(--dark2);
  border-top-color: var(--orange);
  border-right-color: var(--accent);
  border-radius: 50%;
  animation: spin 2s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loader-text {
  color: #e0e0e0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.dark-text {
  color: var(--black) !important;
}
.white-text {
  color: var(--white) !important;
}
/* ── FADE IN ANIMATION ── */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 1023px) {
  .nav {
    padding: 0 28px;
  }
  .nav-menu,
  .nav-actions .nav-btn,
  .nav-actions .nav-btn-ghost {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .section,
  .section-sm {
    padding: 80px 28px;
  }
  .footer {
    padding: 64px 28px 40px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 0 20px;
  }
  .section,
  .section-sm {
    padding: 60px 20px;
  }
  .footer {
    padding: 48px 20px 32px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 0 16px;
    height: 64px;
  }
  .section,
  .section-sm {
    padding: 48px 16px;
  }
  .footer {
    padding: 40px 16px 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .section-heading {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }
  h1,
  h2,
  h3 {
    font-size: clamp(1rem, 3vw, 1.8rem);
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 0 12px;
  }
  .section,
  .section-sm {
    padding: 40px 12px;
  }
  .footer {
    padding: 36px 12px 20px;
  }
  .logo-text {
    font-size: 1.1rem;
  }
  .logo-box {
    width: 38px;
    height: 38px;
  }
  .section-heading {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }
}

@media (max-width: 360px) {
  .nav {
    padding: 0 10px;
  }
  .section,
  .section-sm {
    padding: 32px 10px;
  }
  .footer {
    padding: 32px 10px 18px;
  }
  .logo-text {
    font-size: 0.95rem;
    letter-spacing: -1.5px;
  }
  .logo-box {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }
}
/* ── TOAST NOTIFICATIONS ── */
.toast-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.toast {
  background: var(--dark1);
  color: white;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1.5px solid var(--dark-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 320px;
  max-width: 420px;
  pointer-events: auto;
  animation: toastIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.toast.toast-error {
  border-color: rgba(255, 77, 77, 0.5);
  background: rgba(40, 15, 15, 0.9);
}
.toast.toast-success {
  border-color: rgba(0, 255, 136, 0.5);
  background: rgba(15, 40, 25, 0.9);
}
.toast.toast-info {
  border-color: var(--orange);
  background: rgba(26, 24, 21, 0.95);
}
.toast-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}
.toast-error .toast-icon { color: #ff4d4d; }
.toast-success .toast-icon { color: #00ff88; }
.toast-info .toast-icon { color: var(--orange); }

.toast-content {
  flex-grow: 1;
}
.toast-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 2px;
  color: white;
}
.toast-msg {
  font-size: 0.82rem;
  color: #b0b0b0;
  line-height: 1.4;
}
.toast-close {
  cursor: pointer;
  opacity: 0.4;
  transition: 0.2s;
  font-size: 0.8rem;
  padding: 4px;
}
.toast-close:hover {
  opacity: 1;
  color: white;
}
.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--orange);
  width: 100%;
  transform-origin: left;
  animation: toastProgress 15s linear forwards;
}
.toast-error .toast-progress { background: #ff4d4d; }
.toast-success .toast-progress { background: #00ff88; }

@keyframes toastIn {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toastOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}
@keyframes toastProgress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 640px) {
  .toast-container {
    bottom: 24px;
    right: 20px;
    left: 20px;
  }
  .toast {
    min-width: 0;
    width: 100%;
  }
}
