/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --bg3: #16161f;
  --border: rgba(255,255,255,0.08);
  --text: #e8e8f0;
  --text-muted: #8888a0;
  --accent: #7c3aed;
  --accent2: #4f46e5;
  --accent-light: #a78bfa;
  --green: #10b981;
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

/* ===== UTILS ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-light), #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}

.btn--sm { padding: 8px 18px; font-size: 14px; }
.btn--lg { padding: 14px 32px; font-size: 16px; }
.btn--full { width: 100%; }

.btn:not(.btn--ghost) {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 0 24px rgba(124,58,237,0.3);
}
.btn:not(.btn--ghost):hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 32px rgba(124,58,237,0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
}

.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.section-sub { color: var(--text-muted); font-size: 17px; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 64px;
}
.nav__logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo span { color: var(--accent-light); }
.nav__links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin-left: auto;
}
.nav__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav__links a:hover { color: #fff; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  gap: 16px;
}
.nav__mobile a {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}
.nav__mobile.open { display: flex; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% -10%, rgba(124,58,237,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(79,70,229,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 99px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.35);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-light);
}
.hero__title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}
.hero__sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
  padding: 24px 40px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat__label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ===== SERVICES ===== */
.services { padding: 100px 0; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover {
  border-color: rgba(124,58,237,0.4);
  transform: translateY(-4px);
}
.card--accent {
  background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(79,70,229,0.08));
  border-color: rgba(124,58,237,0.3);
}
.card__icon { font-size: 36px; margin-bottom: 16px; }
.card__title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.card__text {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.7;
}
.card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card__list li {
  color: var(--text-muted);
  font-size: 14px;
  padding-left: 20px;
  position: relative;
}
.card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-light);
}

/* ===== CASES ===== */
.cases {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cases__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.cases__desc {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 32px;
}
.cases__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.cases__preview { display: flex; justify-content: center; }
.cases__card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  max-width: 340px;
  width: 100%;
  transition: border-color 0.2s;
}
.cases__card:hover { border-color: rgba(124,58,237,0.4); }
.cases__icon { font-size: 48px; margin-bottom: 16px; }
.cases__channel {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.cases__example {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.cases__tg {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-light);
  text-decoration: none;
  transition: all 0.2s;
}
.cases__tg:hover { background: rgba(124,58,237,0.3); }

/* ===== CLIENTS ===== */
.clients { padding: 100px 0; }
.clients__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.client-card {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.client-card:hover {
  border-color: rgba(124,58,237,0.4);
  transform: translateY(-4px);
}
.client-card__logo {
  width: 100px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.client-card__name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.client-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.client-card__tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-light);
}

/* ===== HALAL ===== */
.halal {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.halal__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.halal__desc {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 32px;
}
.halal__points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.halal__point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}
.halal__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}
.halal__visual { display: flex; justify-content: center; }
.halal__card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  max-width: 380px;
}
.halal__star {
  font-size: 56px;
  margin-bottom: 24px;
  color: var(--accent-light);
  display: block;
}
.halal__quote {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  margin-bottom: 16px;
}
.halal__hadith {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ===== HOW ===== */
.how { padding: 100px 0; }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.step {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s;
}
.step:hover { border-color: rgba(124,58,237,0.4); }
.step__num {
  font-size: 40px;
  font-weight: 800;
  color: rgba(124,58,237,0.3);
  line-height: 1;
  margin-bottom: 16px;
}
.step__title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.step__text { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.step__arrow {
  font-size: 24px;
  color: var(--accent-light);
  flex-shrink: 0;
  margin-top: 40px;
  opacity: 0.5;
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact__sub {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 32px;
}
.contact__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}
.contact__link:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
}

/* FORM */
.contact__form {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; }
.form-input {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--text-muted); }
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: var(--bg2); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}
.form-success {
  display: none;
  padding: 16px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 10px;
  color: var(--green);
  text-align: center;
  font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 12px;
}
.footer__links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer__links a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.footer__bottom p { color: var(--text-muted); font-size: 13px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .services__grid, .clients__grid { grid-template-columns: 1fr; }
  .cases__inner { grid-template-columns: 1fr; gap: 40px; }
  .halal__inner { grid-template-columns: 1fr; gap: 40px; }
  .steps { flex-direction: column; }
  .step__arrow { transform: rotate(90deg); margin: 0 auto; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { flex-direction: column; }
  .nav__links, .nav > .container > .btn { display: none; }
  .nav__burger { display: flex; }
}

@media (max-width: 600px) {
  .hero { padding: 120px 0 60px; }
  .hero__stats { flex-direction: column; gap: 20px; padding: 24px; }
  .stat__divider { width: 40px; height: 1px; }
  .services, .halal, .how, .contact { padding: 64px 0; }
  .contact__form { padding: 24px; }
}
