/* Deen Digital LTD — Premium Dark Theme */

:root {
  --bg: #fafafa;
  --bg-dark: #0a0f1a;
  --bg-card: #ffffff;
  --bg-alt: #f4f4f5;
  --text: #111827;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --accent: #0d7377;
  --accent-light: #14a3a8;
  --accent-glow: rgba(13, 115, 119, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ═══════════════════════════════════════ */
/*  NAV                                    */
/* ═══════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0);
  transition: all var(--transition);
}
nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 10px rgba(0,0,0,0.04);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 800;
  color: #fff;
  transition: color var(--transition);
}
nav.scrolled .nav-brand { color: var(--text); }
.nav-brand-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; font-weight: 900;
  flex-shrink: 0;
}
.nav-links {
  display: flex; gap: 8px; list-style: none;
}
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.7);
  padding: 8px 16px; border-radius: 8px;
  transition: all var(--transition);
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.1); }
nav.scrolled .nav-links a { color: var(--text-secondary); }
nav.scrolled .nav-links a:hover { color: var(--accent); background: var(--accent-glow); }
.nav-cta {
  font-size: 14px; font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  padding: 9px 22px; border-radius: 9px;
  transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(13,115,119,0.3);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(13,115,119,0.4); }
.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: #fff; margin: 5px 0; border-radius: 2px;
  transition: var(--transition);
}
nav.scrolled .nav-toggle span { background: var(--text); }

/* ═══════════════════════════════════════ */
/*  HERO                                   */
/* ═══════════════════════════════════════ */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--bg-dark);
  overflow: hidden;
}
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.4;
}
.hero-glow-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(13,115,119,0.3), transparent);
  top: -100px; left: -100px;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(20,163,168,0.2), transparent);
  bottom: -50px; right: -50px;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  display: flex; align-items: center;
  justify-content: space-between; gap: 80px;
}
.hero-text { max-width: 540px; }
.hero-badge {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(13,115,119,0.12);
  border: 1px solid rgba(13,115,119,0.2);
  padding: 8px 16px; border-radius: 50px;
  margin-bottom: 24px;
}
.hero-text h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800; line-height: 1.12;
  color: #fff; margin-bottom: 20px;
  letter-spacing: -1px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent-light), #5eead4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-text p {
  font-size: 17px; color: rgba(255,255,255,0.55);
  line-height: 1.7; margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 12px; margin-bottom: 48px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  transition: all var(--transition);
  font-family: inherit; border: none; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  box-shadow: 0 4px 16px rgba(13,115,119,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(13,115,119,0.4); }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-store {
  background: #111827; color: #fff;
  padding: 10px 20px; border-radius: 10px;
}
.btn-store:hover { background: #1f2937; transform: translateY(-1px); }
.btn-ghost-sm {
  background: transparent; color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 20px; border-radius: 10px;
  font-size: 13px;
}
.btn-ghost-sm:hover { color: #fff; border-color: rgba(255,255,255,0.3); }

/* Hero Stats */
.hero-stats { display: flex; gap: 40px; }
.hero-stat-num {
  font-size: 28px; font-weight: 800;
  color: #fff; letter-spacing: -0.5px;
}
.hero-stat-label {
  font-size: 12px; color: rgba(255,255,255,0.4);
  font-weight: 500; margin-top: 2px;
}

/* Hero Visual */
.hero-visual { flex-shrink: 0; }
.hero-app-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; width: 340px;
}
.hero-app-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px 18px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}
.hero-app-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.hero-app-card.offset { margin-top: 0; }
.hero-app-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  margin: 0 auto 12px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
}
.hero-app-icon img { width: 100%; height: 100%; object-fit: contain; padding: 6px; border-radius: 14px; }
.hero-app-icon img[alt="Halal Scanner"] { object-fit: cover; padding: 0; }
.hero-app-icon img[alt="Plan My Estate"] { object-fit: cover; padding: 0; background: none; }
.hero-app-card h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.hero-app-card p { font-size: 11px; color: rgba(255,255,255,0.4); }
.hero-app-status {
  position: absolute; top: 10px; right: 10px;
  font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  padding: 3px 8px; border-radius: 4px;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.35);
}
.hero-app-status.live { background: rgba(16,185,129,0.15); color: #34d399; }

/* ═══════════════════════════════════════ */
/*  SECTIONS                               */
/* ═══════════════════════════════════════ */
.section { padding: 96px 0; }
.section-dark { background: var(--bg-dark); }
.section-alt { background: var(--bg-alt); }
.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 56px;
}
.section-label {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 6px 16px; border-radius: 50px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800; letter-spacing: -0.5px;
  margin-bottom: 14px; line-height: 1.2;
}
.section-header p {
  font-size: 16px; color: var(--text-secondary);
  line-height: 1.7;
}
.section-header-light h2 { color: #fff; }
.section-header-light p { color: rgba(255,255,255,0.5); }
.section-header-light .section-label { color: var(--accent-light); }

/* ═══════════════════════════════════════ */
/*  VALUES                                 */
/* ═══════════════════════════════════════ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.value-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.value-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ═══════════════════════════════════════ */
/*  APP SHOWCASE                           */
/* ═══════════════════════════════════════ */
.app-showcase {
  display: flex; gap: 32px; align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 36px;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.app-showcase:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}
.app-showcase-icon {
  width: 88px; height: 88px;
  border-radius: 22px;
  flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.app-showcase-icon img { width: 100%; height: 100%; object-fit: contain; padding: 10px; background: #fff; border-radius: 22px; }
.app-showcase-icon img[alt="Halal Scanning App"] { object-fit: cover; padding: 0; background: none; }
.app-showcase-icon img[alt="Plan My Estate"] { object-fit: cover; padding: 0; background: none; }
.app-showcase-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px; flex-wrap: wrap;
}
.app-showcase-header h3 { font-size: 22px; font-weight: 700; color: #fff; }
.badge {
  font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 6px;
  letter-spacing: 0.3px;
}
.badge-live { background: rgba(16,185,129,0.12); color: #34d399; }
.badge-soon { background: rgba(251,191,36,0.12); color: #fbbf24; }
.app-tagline {
  font-size: 14px; font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 10px;
}
.app-showcase-info p {
  font-size: 15px; color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.app-pills {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 14px;
}
.app-pills span {
  font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 7px;
  background: rgba(13,115,119,0.1);
  color: var(--accent-light);
}
.app-actions {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 18px;
}

/* ═══════════════════════════════════════ */
/*  TECH                                   */
/* ═══════════════════════════════════════ */
.tech-grid {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
}
.tech-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600;
  padding: 14px 24px; border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  transition: all var(--transition);
}
.tech-item:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  transform: translateY(-2px);
}
.tech-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ═══════════════════════════════════════ */
/*  COMPANY                                */
/* ═══════════════════════════════════════ */
.company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.company-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}
.company-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.company-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-light); margin-bottom: 8px;
}
.company-value {
  font-size: 16px; font-weight: 600;
  color: var(--text); line-height: 1.4;
}

/* ═══════════════════════════════════════ */
/*  CONTACT                                */
/* ═══════════════════════════════════════ */
.section-contact {
  background: linear-gradient(165deg, var(--accent), #0a5c5f);
  color: #fff;
}
.contact-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.contact-inner .section-label { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.1); }
.contact-inner h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800; margin-bottom: 14px;
}
.contact-inner p {
  font-size: 16px; color: rgba(255,255,255,0.7);
  margin-bottom: 32px; line-height: 1.7;
}
.contact-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 16px 36px; border-radius: 14px;
  color: #fff; transition: all var(--transition);
}
.contact-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* ═══════════════════════════════════════ */
/*  FOOTER                                 */
/* ═══════════════════════════════════════ */
footer {
  background: #0a0f1a;
  padding: 40px 0;
  color: rgba(255,255,255,0.4);
}
.footer-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 20px;
  text-align: center;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700;
  color: rgba(255,255,255,0.7);
}
.footer-links {
  display: flex; gap: 24px; flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent-light); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }

/* ═══════════════════════════════════════ */
/*  ANIMATIONS                             */
/* ═══════════════════════════════════════ */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════ */
/*  RESPONSIVE                             */
/* ═══════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 16px 24px; gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open a { color: var(--text-secondary) !important; padding: 12px 16px; }
  .hero-content { flex-direction: column; text-align: center; gap: 48px; }
  .hero-text { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-app-grid { width: 300px; margin: 0 auto; }
  .values-grid { grid-template-columns: 1fr; }
  .app-showcase { flex-direction: column; text-align: center; align-items: center; }
  .app-showcase-header { justify-content: center; }
  .app-pills { justify-content: center; }
  .app-actions { justify-content: center; }
  .company-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 600px) {
  .hero { padding: 120px 0 64px; }
  .hero-stats { gap: 24px; }
  .tech-grid { gap: 8px; }
  .tech-item { font-size: 13px; padding: 10px 16px; }
}
