/* =========================================================
   Dareen Group – Coming soon page
   Builds on style.css (colours, buttons, form, ticker)
   ========================================================= */
.cs-body {
  background: var(--navy);
  color: rgba(255,255,255,.82);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: clip;
}

/* Background: blueprint grid + warm glow */
.cs-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(242,179,61,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,179,61,.07) 1px, transparent 1px),
    linear-gradient(rgba(242,179,61,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,179,61,.03) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}
.cs-glow {
  position: fixed; z-index: 0; pointer-events: none;
  width: 900px; height: 900px; right: -300px; top: -250px;
  background: radial-gradient(circle, rgba(242,179,61,.14), transparent 62%);
}
.cs-top, .cs-main, .cs-ticker, .cs-foot { position: relative; z-index: 1; }

/* Header */
.cs-top { padding: 1.4rem 0; }
.cs-top .brand img { width: 54px; height: auto; }
.cs-call { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-family: var(--ff-head); font-weight: 600; }
.cs-call i { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(242,179,61,.5); color: var(--gold); border-radius: 50%; transition: background .2s, color .2s; }
.cs-call:hover { color: var(--gold); }
.cs-call:hover i { background: var(--gold); color: var(--navy); }
@media (max-width: 575.98px) { .cs-call span { display: none; } }

/* Main */
.cs-main { flex: 1; display: flex; align-items: center; padding: 2rem 0 4rem; }
.cs-main > .container { width: 100%; }

.cs-mark { width: 150px; height: auto; margin-bottom: 2rem; overflow: visible; }
.cs-mark path {
  fill: none; stroke: var(--gold); stroke-width: 9; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 1600; stroke-dashoffset: 1600;
  animation: cs-draw 2.6s cubic-bezier(.6,.1,.3,1) forwards;
}
.cs-mark path:nth-child(2) { animation-delay: .15s; }
.cs-mark path:nth-child(3) { animation-delay: .35s; }
.cs-mark path:nth-child(4) { animation-delay: .6s; }
.cs-mark path:nth-child(5) { animation-delay: .8s; }
.cs-mark path:nth-child(6) { animation-delay: 1s; }
@keyframes cs-draw { to { stroke-dashoffset: 0; } }

.cs-intro h1 {
  color: #fff;
  font-size: clamp(2.5rem, 1.6rem + 4vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: .4rem 0 1.4rem;
}
.cs-intro h1 span { color: var(--gold); position: relative; white-space: nowrap; }
.cs-intro h1 span::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .08em;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  animation: cs-underline .9s 1.4s cubic-bezier(.6,.1,.3,1) forwards;
}
@keyframes cs-underline { to { transform: scaleX(1); } }
.cs-lead { font-size: 1.08rem; max-width: 36rem; color: rgba(255,255,255,.78); }

.cs-intro > *:not(.cs-mark) { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.cs-intro > *:nth-child(2) { animation-delay: .1s; }
.cs-intro > *:nth-child(3) { animation-delay: .2s; }
.cs-intro > *:nth-child(4) { animation-delay: .3s; }
.cs-intro > *:nth-child(5) { animation-delay: .4s; }
.cs-intro > *:nth-child(6) { animation-delay: .5s; }
.cs-intro > *:nth-child(7) { animation-delay: .6s; }

/* Progress – styled like a build stage tracker */
.cs-progress { max-width: 30rem; margin: 2rem 0; }
.cs-progress-head { display: flex; justify-content: space-between; font-family: var(--ff-brand); text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; color: rgba(255,255,255,.6); margin-bottom: .55rem; }
.cs-progress-val { color: var(--gold); font-weight: 600; }
.cs-bar { height: 6px; background: rgba(255,255,255,.1); border-radius: 6px; overflow: hidden; }
.cs-bar span {
  display: block; height: 100%; width: 0; border-radius: 6px;
  background: repeating-linear-gradient(-45deg, var(--gold) 0 10px, var(--gold-dk) 10px 20px);
  background-size: 28px 28px;
  animation: cs-fill 1.8s .6s cubic-bezier(.6,.1,.3,1) forwards, cs-stripes 1s linear infinite;
}
@keyframes cs-fill { to { width: var(--p); } }
@keyframes cs-stripes { to { background-position: 28px 0; } }
.cs-stages { list-style: none; padding: 0; margin: .9rem 0 0; display: flex; justify-content: space-between; gap: .5rem; font-size: .8rem; }
.cs-stages li { color: rgba(255,255,255,.4); display: flex; align-items: center; gap: .35rem; }
.cs-stages li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.cs-stages li.done { color: rgba(255,255,255,.75); }
.cs-stages li.done::before { background: var(--gold); border-color: var(--gold); }
.cs-stages li.now { color: var(--gold); font-weight: 600; }
.cs-stages li.now::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(242,179,61,.25); animation: cs-pulse 1.6s ease-in-out infinite; }
@keyframes cs-pulse { 50% { box-shadow: 0 0 0 7px rgba(242,179,61,0); } }

/* Countdown */
.cs-count { display: flex; gap: .75rem; margin: 0 0 2rem; }
.cs-count div { min-width: 76px; padding: .8rem .5rem; text-align: center; border: 1px solid rgba(242,179,61,.3); border-radius: var(--radius); background: rgba(255,255,255,.03); }
.cs-count b { display: block; font-family: var(--ff-head); font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.cs-count small { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.55); }
@media (max-width: 400px) { .cs-count div { min-width: 0; flex: 1; } .cs-count b { font-size: 1.5rem; } }

.cs-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 575.98px) { .cs-actions .btn { width: 100%; } }

/* Form card */
.cs-card { box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.cs-card h2 { font-size: 1.6rem; }
.cs-card .eyebrow { color: var(--gold-dk); }

/* Ticker sits right above the footer */
.cs-ticker { margin-top: auto; }

/* Footer */
.cs-foot { background: #081629; padding: 1.8rem 0 1.4rem; font-size: .9rem; }
.cs-foot a { color: rgba(255,255,255,.85); text-decoration: none; }
.cs-foot a:hover { color: var(--gold); }
.cs-foot-grid { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 1rem 2rem; padding-bottom: 1.3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.cs-foot-grid div { display: flex; align-items: center; gap: .6rem; }
.cs-foot-grid i { color: var(--gold); }
.cs-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-top: 1.1rem; font-size: .8rem; color: rgba(255,255,255,.55); }
@media (max-width: 767.98px) { .cs-foot-grid { grid-template-columns: 1fr; } }

/* WhatsApp button – no mobile bar on this page */
@media (max-width: 991.98px) { .cs-body .wa-float { bottom: 20px; } }

@media (prefers-reduced-motion: reduce) {
  .cs-mark path { animation: none; stroke-dashoffset: 0; }
  .cs-intro h1 span::after { animation: none; transform: scaleX(1); }
  .cs-bar span { animation: none; width: var(--p); }
  .cs-intro > *, .cs-stages li.now::before { animation: none; }
}

/* Narrower form column on small laptops – stack the paired fields */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .cs-card .col-sm-6 { flex: 0 0 100%; max-width: 100%; }
}
