/* Diamond Prime Ltd — Ultra-Fast Production Design System (Zero External Framework Bloat) */
:root {
  --bg: #070b14;
  --surface: #0f172a;
  --card: #131e35;
  --card-hover: #182744;
  --border: rgba(148, 163, 184, 0.14);
  --border-accent: rgba(56, 189, 248, 0.35);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --primary: #10b981;
  --primary-light: #34d399;
  --cyan: #38bdf8;
  --amber: #f59e0b;
  --danger: #ef4444;
  --radius: 16px;
  --maxw: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
html[dir="rtl"] body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7, 11, 20, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 16px; flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.08rem; color: #fff; text-decoration: none;
}
.brand:hover { text-decoration: none; opacity: 0.94; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, #10b981, #0ea5e9);
  display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.25);
}
.nav-links {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.nav-links a {
  color: #cbd5e1; font-size: 0.92rem; font-weight: 600;
  padding: 8px 12px; border-radius: 10px; transition: background 0.16s, color 0.16s;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff; background: rgba(255,255,255,0.06); text-decoration: none;
}
.nav-links a.lang-pill {
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #7dd3fc; background: rgba(56, 189, 248, 0.08);
}

/* Hero */
.hero {
  position: relative;
  padding: 64px 0 54px;
  background:
    radial-gradient(620px 280px at 18% 0%, rgba(16, 185, 129, 0.16), transparent 70%),
    radial-gradient(620px 300px at 85% 10%, rgba(56, 189, 248, 0.14), transparent 70%);
  border-bottom: 1px solid var(--border);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--primary-light);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.32);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.15; font-weight: 800; letter-spacing: -0.02em;
  color: #fff; max-width: 860px;
}
.hero .lead {
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  color: #cbd5e1; max-width: 720px; margin: 0 0 28px;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.16s, background 0.16s, border-color 0.16s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, #10b981, #059669); color: #052e16;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}
.btn-primary:hover { background: linear-gradient(135deg, #34d399, #10b981); }
.btn-secondary {
  background: rgba(56, 189, 248, 0.12); color: #e0f2fe;
  border-color: rgba(56, 189, 248, 0.35);
}
.btn-secondary:hover { background: rgba(56, 189, 248, 0.2); }
.btn-ghost {
  background: rgba(255,255,255,0.04); color: #e2e8f0; border-color: var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.09); border-color: rgba(148,163,184,0.35); }
.btn-sm { padding: 9px 15px; font-size: 0.86rem; border-radius: 10px; }

.stats-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px; margin-top: 36px;
}
.stat-box {
  background: rgba(19, 30, 53, 0.72); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 18px;
}
.stat-val { font-size: 1.38rem; font-weight: 800; color: #fff; line-height: 1.2; }
.stat-lbl { font-size: 0.82rem; color: var(--muted); margin-top: 2px; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: rgba(15, 23, 42, 0.55); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { margin-bottom: 32px; max-width: 760px; }
.section-head h2 {
  margin: 0 0 10px; font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 800; color: #fff; line-height: 1.25;
}
.section-head p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Grids & Cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.card {
  background: linear-gradient(160deg, rgba(19, 30, 53, 0.96), rgba(11, 18, 34, 0.98));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-3px); border-color: var(--border-accent);
  box-shadow: 0 14px 36px rgba(2, 6, 23, 0.5);
}
.app-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.app-icon {
  width: 60px; height: 60px; border-radius: 14px; object-fit: cover; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.12); background: #0b1120;
}
.app-title { margin: 0; font-size: 1.12rem; font-weight: 800; color: #fff; line-height: 1.3; }
.app-meta { font-size: 0.8rem; color: var(--muted); margin-top: 3px; }
.pill {
  display: inline-block; font-size: 0.74rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}
.pill-live { color: #34d399; background: rgba(16, 185, 129, 0.14); border: 1px solid rgba(16, 185, 129, 0.35); }
.pill-new { color: #7dd3fc; background: rgba(56, 189, 248, 0.14); border: 1px solid rgba(56, 189, 248, 0.35); }
.pill-tool { color: #fbbf24; background: rgba(245, 158, 11, 0.14); border: 1px solid rgba(245, 158, 11, 0.35); }

.card p { color: #cbd5e1; font-size: 0.94rem; margin: 0 0 16px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 10px; }

/* Feature Graphic & Screenshots */
.feature-banner {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--border);
  margin: 24px 0; background: #0b1120;
}
.feature-banner img, .screen-shot img {
  width: 100%; height: auto; display: block;
}
.screens-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px; margin-top: 20px;
}
.screen-shot {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  background: #0b1120;
}

/* Breadcrumb */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 0.86rem; color: var(--muted); margin-bottom: 18px;
}
.breadcrumb a { color: #94a3b8; }
.breadcrumb a:hover { color: #fff; }

/* FAQ Accordion */
.faq-list { display: grid; gap: 12px; }
details.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 20px;
}
details.faq-item summary {
  cursor: pointer; font-weight: 700; color: #fff; font-size: 1rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; color: var(--primary-light); font-size: 1.25rem; font-weight: 800; }
details.faq-item[open] summary::after { content: "−"; }
details.faq-item p { margin: 12px 0 0; color: #cbd5e1; font-size: 0.95rem; }

/* Forms & Interactive Tool Controls */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 0.86rem; font-weight: 700; color: #cbd5e1; }
input[type="text"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; padding: 11px 14px; border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: #09101f; color: #fff; font: inherit; font-size: 0.95rem;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

/* Tool Panels */
.tool-shell {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 26px; margin-bottom: 28px;
}
.result-banner {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.6), rgba(14, 116, 144, 0.35));
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 16px; padding: 20px 24px; margin: 18px 0;
}
.result-big { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; color: #fff; line-height: 1.15; }
.data-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 0.92rem; }
.data-table th, .data-table td {
  padding: 11px 12px; border-bottom: 1px solid var(--border); text-align: start;
}
.data-table th { color: var(--muted); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; }
.table-wrap { overflow-x: auto; }

/* App Funnel CTA Banner */
.app-funnel {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(56, 189, 248, 0.12));
  border: 1px solid rgba(52, 211, 153, 0.38); border-radius: 18px; padding: 24px; margin: 28px 0;
}
.app-funnel-left { display: flex; align-items: center; gap: 16px; max-width: 680px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border); padding: 48px 0 34px;
  background: #050810; color: var(--muted); font-size: 0.9rem;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px;
  margin-bottom: 30px;
}
.footer-col h3 { color: #fff; font-size: 0.96rem; margin: 0 0 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 20px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.84rem;
}

@media (max-width: 720px) {
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-row { padding: 10px 0; }
  .hero { padding: 42px 0 36px; }
  .section { padding: 44px 0; }
  .tool-shell { padding: 18px; }
}
