/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', 'Noto Sans Arabic', sans-serif; background: #f9f9f9; color: #1a1c1c; -webkit-font-smoothing: antialiased; }
.loading { display: flex; align-items: center; justify-content: center; height: 100vh; }
.spinner { width: 40px; height: 40px; border: 3px solid #e2e2e2; border-top-color: #09241a; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #09241a; }
::-webkit-scrollbar-thumb { background: #d8ee45; border-radius: 8px; border: 2px solid #09241a; }
::-webkit-scrollbar-thumb:hover { background: #c5db30; }
html { scrollbar-color: #d8ee45 #09241a; scrollbar-width: thin; }

a { text-decoration: none; color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #d8ee45; outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; height: auto; }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.accent { color: #d8ee45; }
.bold { font-weight: 700; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-white { background: #fff; }
.section-dark { background: #203a2f; color: #fff; }
.center { text-align: center; }

/* Nav */
.nav { position: sticky; top: 0; width: 100%; z-index: 100; background: rgba(9,36,26,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-link { color: rgba(255,255,255,0.7) !important; }
.nav-link:hover { color: #fff !important; }
.btn-ghost { color: #fff !important; }
.logo-img { filter: brightness(0) invert(1); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo-wrap { display: flex; align-items: center; }
.logo-img { height: 32px; width: auto; }
.logo { font-size: 24px; font-weight: 800; color: #09241a; letter-spacing: -1px; }
.nav-links { display: flex; gap: 32px; }
.nav-link { font-size: 14px; font-weight: 500; color: #424844; transition: color 0.2s; }
.nav-link:hover { color: #09241a; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-menu { display: none; background: none; border: none; color: #09241a; cursor: pointer; }
.btn-ghost { background: none; border: none; font-size: 14px; font-weight: 600; color: #09241a; cursor: pointer; padding: 8px 16px; font-family: inherit; }
.btn-accent { background: #d8ee45; color: #09241a; font-size: 13px; font-weight: 700; padding: 10px 20px; border-radius: 12px; display: inline-block; transition: transform 0.15s; }
.btn-accent:hover { transform: scale(1.03); }
.btn-primary { background: #d8ee45; color: #09241a; font-size: 16px; font-weight: 800; padding: 16px 36px; border-radius: 14px; display: inline-block; transition: transform 0.15s; }
.btn-primary:hover { transform: scale(1.03); }
.btn-lg { font-size: 18px; padding: 18px 40px; }
.btn-outline { background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 16px; font-weight: 700; padding: 16px 36px; border-radius: 14px; display: inline-block; transition: background 0.15s; }
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* Hero */
.hero { position: relative; height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-slider { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(9,36,26,0.88), rgba(32,58,47,0.7)); }
.hero-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-content { flex: 1; }
.hero-content h1 { font-size: 52px; font-weight: 800; color: #fff; line-height: 1.35; margin-bottom: 20px; max-width: 650px; }
.hero-content > p { font-size: 18px; color: rgba(176,205,190,0.9); line-height: 1.7; margin-bottom: 40px; max-width: 500px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); border-radius: 999px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.9); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; }
.badge-dot { width: 8px; height: 8px; background: #d8ee45; border-radius: 50%; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
/* Hero 3D image */
.hero-visual { flex-shrink: 0; width: 520px; display: flex; align-items: center; justify-content: center; }
.hero-visual img { width: 100%; height: auto; filter: drop-shadow(0 20px 60px rgba(0,0,0,0.3)); animation: heroFloat 6s ease-in-out infinite; }
@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
/* Slide dots */
.hero-dots { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 4; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25); cursor: pointer; transition: all 0.3s; border: none; padding: 0; }
.hero-dot.active { background: #d8ee45; width: 28px; border-radius: 4px; }

/* Cards */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { padding: 40px; background: #f4f3f3; border-radius: 24px; transition: transform 0.2s; }
.card:hover { transform: translateY(-8px); }
.card h3 { font-size: 22px; font-weight: 700; color: #09241a; margin-bottom: 12px; }
.card p { font-size: 15px; color: #424844; line-height: 1.7; }
.card-dark { background: #203a2f; }
.card-dark h3 { color: #fff; }
.card-dark p { color: rgba(176,205,190,0.8); }
.card-icon { width: 56px; height: 56px; background: #203a2f; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.card-icon .material-symbols-outlined { font-size: 28px; color: #d8ee45; }
.card-icon-light { background: rgba(255,255,255,0.1); }

/* Section Header */
.section-header { margin-bottom: 48px; }
.section-header h2 { font-size: 36px; font-weight: 800; color: #09241a; margin-bottom: 12px; }
.section-header p { font-size: 17px; color: #727974; }
.section-dark .section-header h2 { color: #fff; }
.section-dark .section-header p { color: rgba(176,205,190,0.8); }

/* Properties */
.props-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prop-card { background: #f9f9f9; border-radius: 28px; overflow: hidden; transition: all 0.2s; border: 1px solid transparent; }
.prop-card:hover { border-color: rgba(216,238,69,0.3); box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.prop-img { position: relative; height: 220px; overflow: hidden; background: #e8e8e8; }
.prop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.prop-card:hover .prop-img img { transform: scale(1.05); }
.prop-type { position: absolute; top: 12px; right: 12px; background: rgba(32,58,47,0.8); backdrop-filter: blur(8px); color: #fff; font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.prop-roi { position: absolute; bottom: 12px; left: 12px; background: #d8ee45; color: #09241a; font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: 8px; }
.prop-body { padding: 28px; }
.prop-body h3 { font-size: 18px; font-weight: 700; color: #09241a; margin-bottom: 8px; }
.prop-loc { display: flex; align-items: center; gap: 4px; font-size: 13px; color: #727974; margin-bottom: 20px; }
.prop-loc .material-symbols-outlined { font-size: 16px; }
.prop-funding { margin-bottom: 20px; }
.prop-funding-top { display: flex; justify-content: space-between; font-size: 13px; color: #424844; margin-bottom: 6px; }
.prop-bar { height: 6px; background: #e8e8e8; border-radius: 99px; overflow: hidden; }
.prop-fill { height: 100%; background: #d8ee45; border-radius: 99px; }
.prop-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid #e2e2e2; }
.prop-label { display: block; font-size: 11px; color: #727974; }
.prop-price { font-size: 18px; font-weight: 800; color: #09241a; }
.prop-btn { width: 44px; height: 44px; background: #09241a; color: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.prop-btn:hover { background: #d8ee45; color: #09241a; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.step { display: flex; flex-direction: column; align-items: center; }
.step h4 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.step p { font-size: 14px; color: rgba(176,205,190,0.8); line-height: 1.7; max-width: 280px; }
.step-num { width: 72px; height: 72px; border-radius: 20px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; margin-bottom: 24px; }
.step-num-accent { background: #d8ee45; color: #09241a; border: none; box-shadow: 0 8px 24px rgba(216,238,69,0.25); }

/* Security */
.security { display: flex; gap: 64px; align-items: center; }
.security-content { flex: 1; }
.security-content h2 { font-size: 36px; font-weight: 800; color: #09241a; line-height: 1.2; margin-bottom: 16px; }
.security-content > p { font-size: 16px; color: #424844; line-height: 1.7; }
.security-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: #cbe9d9; color: #09241a; border-radius: 999px; font-size: 13px; font-weight: 700; margin-bottom: 20px; }
.security-badge .material-symbols-outlined { font-size: 18px; }
.security-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.security-card { display: flex; align-items: flex-start; gap: 12px; padding: 20px; background: #fff; border-radius: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.security-card .material-symbols-outlined { font-size: 28px; color: #586400; flex-shrink: 0; }
.security-card h5 { font-size: 14px; font-weight: 700; color: #09241a; margin-bottom: 4px; }
.security-card p { font-size: 12px; color: #727974; }
.security-img { flex: 1; }
.security-img img { width: 100%; height: 400px; object-fit: cover; border-radius: 40px; box-shadow: 0 12px 40px rgba(0,0,0,0.08); }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: #fff; border-radius: 24px; padding: 28px; border: 1px solid #e2e2e2; transition: box-shadow 0.2s; }
.blog-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.blog-card h3 { font-size: 17px; font-weight: 700; color: #09241a; margin-bottom: 12px; line-height: 1.4; }
.blog-card p { font-size: 13px; color: #424844; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-cat { display: inline-block; background: #d8ee45; color: #09241a; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; margin-bottom: 12px; }
.blog-date { font-size: 12px; color: #727974; margin-inline-start: 8px; }
.blog-read { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; color: #586400; }
.blog-card:hover .blog-read { color: #09241a; }

/* CTA */
.cta-section { padding: 96px 24px; }
.cta-box { max-width: 900px; margin: 0 auto; background: #09241a; border-radius: 40px; padding: 80px 60px; text-align: center; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; top: 0; right: 0; width: 250px; height: 250px; background: rgba(216,238,69,0.08); border-radius: 50%; filter: blur(100px); }
.cta-box h2 { font-size: 40px; font-weight: 800; color: #fff; margin-bottom: 20px; line-height: 1.2; position: relative; }
.cta-box p { font-size: 18px; color: rgba(176,205,190,0.8); margin-bottom: 40px; position: relative; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; }

/* Footer */
.footer { background: #203a2f; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 64px 24px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { font-size: 24px; font-weight: 800; color: #d8ee45; display: block; margin-bottom: 16px; }
.footer-logo-img { height: 28px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 13px; color: rgba(203,233,217,0.6); line-height: 1.7; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 11px; font-weight: 700; color: #d8ee45; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.footer-col a { font-size: 13px; color: rgba(203,233,217,0.6); transition: color 0.2s; }
.footer-col a:hover { color: #d8ee45; }
.footer-contact { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(203,233,217,0.6); }
.footer-contact .material-symbols-outlined { font-size: 16px; }
.footer-bottom { text-align: center; padding: 24px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom p { font-size: 10px; color: rgba(203,233,217,0.4); text-transform: uppercase; letter-spacing: 2px; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid #e2e2e2; border-radius: 16px; overflow: hidden; cursor: pointer; transition: all 0.2s; }
.faq-item:hover { border-color: #d8ee45; }
.faq-item.open { border-color: #09241a; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; font-size: 16px; font-weight: 700; color: #09241a; }
.faq-arrow { transition: transform 0.3s; color: #727974; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: #09241a; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s, padding 0.3s; padding: 0 24px; font-size: 14px; color: #424844; line-height: 1.8; }
.faq-item.open .faq-answer { max-height: 500px; padding: 0 24px 20px; }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.show { display: flex; }
.modal-content { background: #fff; border-radius: 24px; max-width: 700px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 40px; position: relative; }
.modal-close { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 28px; color: #727974; cursor: pointer; line-height: 1; }
.modal-close:hover { color: #09241a; }
.modal-content h2 { font-size: 24px; font-weight: 800; color: #09241a; margin: 16px 0; line-height: 1.3; }
.blog-full-content { font-size: 15px; color: #424844; line-height: 1.8; margin-top: 20px; white-space: pre-line; }

/* Property card as link */
.prop-card { display: block; text-decoration: none; color: inherit; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 60px; right: 0; left: 0; background: #fff; flex-direction: column; padding: 20px; gap: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); border-radius: 0 0 16px 16px; }
  .nav-links.show { display: flex; }
  .nav-menu { display: block; }
  .hero { height: 80vh; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-content h1 { font-size: 32px; max-width: 100%; }
  .hero-content > p { font-size: 15px; max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-visual { display: none; }
  .hero-dots { bottom: 20px; }
  .cards-grid, .props-grid, .steps-grid, .blog-grid { grid-template-columns: 1fr; }
  .security { flex-direction: column; }
  .security-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-box { padding: 48px 24px; }
  .cta-box h2 { font-size: 28px; }
  .section-header h2 { font-size: 28px; }
  .section { padding: 64px 0; }
}
