/* Azan Time — single-page landing stylesheet.
 * Self-contained: the marketing sub-pages (prayer-times, hijri-converter, blog)
 * keep using style.css, so this file only ever affects the home page.
 * No build step — drop on GitHub Pages / any static host. */

/* ---------- tokens ---------- */
:root {
  --navy:    #0F1840;
  --navy-2:  #16235C;
  --gold:    #D4AF37;
  --gold-2:  #ECCB68;
  --gold-dk: #B8932D;
  --emerald: #0D9488;
  --teal:    #14B8A6;
  --cream:   #F4F1EA;
  --bg:      #FAFAF8;
  --bg-2:    #F2F0EA;
  --ink:     #14161F;
  --muted:   #5B6172;
  --line:    #E8E7E0;
  --white:   #FFFFFF;
  --radius:  20px;
  --shadow:  0 24px 60px -24px rgba(15,24,64,.35);
  --maxw:    1140px;
  --ease:    cubic-bezier(.22,.61,.36,1);
  --font:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-dk);
}
.accent { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #2A2207; box-shadow: 0 10px 28px -10px rgba(212,175,55,.7); }
.btn-gold:hover { box-shadow: 0 16px 34px -10px rgba(212,175,55,.85); }
.btn-light { background: var(--white); color: var(--navy); box-shadow: 0 10px 28px -14px rgba(0,0,0,.4); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-yt { background: #FF0000; color: #fff; box-shadow: 0 10px 28px -12px rgba(255,0,0,.6); }
.btn-yt:hover { background: #E60000; color: #fff; }
.btn .ic { font-size: 18px; line-height: 1; }
.btn small { display: block; font-size: 10px; font-weight: 600; opacity: .7; letter-spacing: .04em; margin-bottom: -3px; }
.btn .big { font-size: 15px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 18px 0;
}
.nav.scrolled { background: rgba(250,250,248,.85); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); padding: 12px 0; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: #fff; transition: color .3s; }
.nav.scrolled .brand { color: var(--navy); }
.brand .logo-badge {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--navy-2), var(--navy)); color: var(--gold);
  font-size: 18px; box-shadow: inset 0 0 0 1px rgba(212,175,55,.4);
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.85); transition: color .2s; }
.nav-links a:hover { color: var(--gold-2); }
.nav.scrolled .nav-links a { color: var(--muted); }
.nav.scrolled .nav-links a:hover { color: var(--navy); }
.nav-cta { padding: 10px 20px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.nav.scrolled .nav-toggle span { background: var(--navy); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 600px at 78% -8%, rgba(212,175,55,.20), transparent 60%),
    radial-gradient(900px 700px at 10% 18%, rgba(13,148,136,.18), transparent 55%),
    linear-gradient(165deg, #0B1233 0%, #0F1840 45%, #16235C 100%);
  color: #fff; padding: 150px 0 110px;
}
.hero::before {
  content: '﷽'; position: absolute; top: 8%; right: -2%;
  font-size: 300px; color: rgba(212,175,55,.05); pointer-events: none; line-height: 1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); margin: 18px 0 20px; color: #fff; }
.hero .sub { font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,.82); max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 20px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; color: rgba(255,255,255,.7); font-size: 14px; font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust .dot { color: var(--emerald); }

/* hero phones */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 540px; }
.glow { position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(212,175,55,.28), transparent 70%); filter: blur(10px); }
.hero-phone-main { position: relative; z-index: 3; animation: float 6s ease-in-out infinite; }
/* Higher specificity than the base `.phone { position: relative }` (which is
   defined later in the file) so the side phone actually floats as an accent
   instead of stacking in-flow and stretching the hero column. */
.hero-visual .hero-phone-side {
  position: absolute; z-index: 2; right: -6%; bottom: 2%; width: 168px; opacity: .96;
  transform: rotate(6deg); animation: float 7s ease-in-out infinite .6s;
}
.float-card {
  position: absolute; z-index: 5; background: rgba(255,255,255,.96); color: var(--navy);
  border-radius: 16px; padding: 12px 16px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.5);
  display: flex; align-items: center; gap: 12px; font-weight: 700; backdrop-filter: blur(4px);
}
.float-card .fc-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; }
.float-card small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .03em; }
.fc-1 { top: 10%; left: -4%; animation: float 5.5s ease-in-out infinite .2s; }
.fc-2 { bottom: 14%; left: -8%; animation: float 6.5s ease-in-out infinite .9s; }

@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
.fc-1 { animation-name: float; } /* keep transform clean */

/* ---------- phone frame ---------- */
.phone {
  position: relative; width: 270px; border-radius: 40px; padding: 11px;
  background: linear-gradient(160deg, #232634, #0c0e16);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.08);
}
.phone::after {
  content: ''; position: absolute; top: 17px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 7px; border-radius: 7px; background: rgba(255,255,255,.18); z-index: 4;
}
.phone img { width: 100%; border-radius: 30px; display: block; }
.phone-side { width: 168px; border-radius: 30px; padding: 8px; }
.phone-side::after { width: 50px; height: 5px; top: 12px; }
.phone-side img { border-radius: 23px; }

/* ---------- section scaffold ---------- */
section { position: relative; }
.section-pad { padding: 100px 0; }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); color: var(--navy); margin: 14px 0 14px; }
.section-head p { font-size: 18px; color: var(--muted); }

/* stats strip */
.stats { background: var(--navy); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 46px 24px; }
.stat { text-align: center; }
.stat b { display: block; font-size: 34px; color: var(--gold-2); letter-spacing: -.02em; }
.stat span { font-size: 14px; color: rgba(255,255,255,.7); font-weight: 600; }

/* ---------- video ---------- */
.video-sec { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.player {
  position: relative; max-width: 880px; margin: 0 auto; aspect-ratio: 16/9;
  border-radius: 24px; overflow: hidden; background: #0b1020;
  box-shadow: var(--shadow); cursor: pointer; border: 1px solid var(--line);
}
.player img.poster { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player .play {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 3;
  transition: background .3s; background: linear-gradient(180deg, rgba(15,24,64,.1), rgba(15,24,64,.5));
}
.player:hover .play { background: linear-gradient(180deg, rgba(15,24,64,.05), rgba(15,24,64,.35)); }
.play-btn {
  width: 84px; height: 84px; border-radius: 999px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #2A2207;
  box-shadow: 0 14px 40px -8px rgba(212,175,55,.7); transition: transform .25s var(--ease);
}
.player:hover .play-btn { transform: scale(1.08); }
.play-btn svg { width: 30px; height: 30px; margin-left: 4px; }
.player .vlabel { position: absolute; bottom: 18px; left: 22px; z-index: 3; color: #fff; font-weight: 700; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.video-actions { text-align: center; margin-top: 30px; }

/* ---------- feature rows ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 64px 0;
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature.rev .feat-media { order: 2; }
.feat-media { display: flex; justify-content: center; position: relative; }
.feat-media .halo { position: absolute; width: 360px; height: 360px; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: 0; }
.feat-media .phone { z-index: 1; }
.feat-text .num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px;
  font-size: 20px; margin-bottom: 18px;
}
.feat-text h3 { font-size: clamp(26px, 3vw, 34px); color: var(--navy); margin-bottom: 14px; }
.feat-text > p { font-size: 18px; color: var(--muted); margin-bottom: 22px; max-width: 460px; }
.feat-list { list-style: none; display: grid; gap: 12px; }
.feat-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: var(--ink); font-weight: 500; }
.feat-list .tick { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; background: rgba(13,148,136,.12); color: var(--emerald); font-size: 12px; margin-top: 2px; }

/* tint helpers */
.t-emerald { background: rgba(13,148,136,.12); color: var(--emerald); } .h-emerald { background: var(--emerald); }
.t-gold { background: rgba(212,175,55,.16); color: var(--gold-dk); } .h-gold { background: var(--gold); }
.t-navy { background: rgba(22,35,92,.12); color: var(--navy-2); } .h-navy { background: var(--navy-2); }
.t-teal { background: rgba(20,184,166,.14); color: var(--teal); } .h-teal { background: var(--teal); }
.t-violet { background: rgba(124,92,196,.14); color: #6d4fc0; } .h-violet { background: #6d4fc0; }
.t-rose { background: rgba(214,93,107,.14); color: #c44d5b; } .h-rose { background: #d65d6b; }

/* ---------- more grid ---------- */
.more { background: var(--bg-2); }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.more-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s var(--ease), box-shadow .2s;
}
.more-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.more-card .mc-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; }
.more-card h4 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.more-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- cities ---------- */
.cities { background: var(--cream); }
.city-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.city-grid a {
  display: block; background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 18px; text-align: center; font-weight: 700; color: var(--navy); transition: all .15s;
}
.city-grid a:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }
.cities .more-link { text-align: center; margin-top: 26px; font-weight: 700; }
.cities .more-link a { color: var(--gold-dk); }
.cities .sub-h { text-align: center; margin: 40px 0 16px; font-size: 15px; color: var(--muted); font-weight: 700; letter-spacing: .04em; }

/* ---------- faq ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; transition: box-shadow .2s; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 17px; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 24px; color: var(--gold-dk); transition: transform .25s; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }

/* ---------- download band ---------- */
.download {
  text-align: center; color: #fff; position: relative; overflow: hidden;
  background:
    radial-gradient(800px 400px at 50% -20%, rgba(212,175,55,.25), transparent 60%),
    linear-gradient(160deg, #0F1840, #16235C);
}
.download::before { content: '﷽'; position: absolute; bottom: -8%; left: 50%; transform: translateX(-50%); font-size: 240px; color: rgba(212,175,55,.05); line-height: 1; }
.download h2 { font-size: clamp(30px, 4.5vw, 48px); margin-bottom: 14px; position: relative; }
.download p { font-size: 19px; color: rgba(255,255,255,.82); margin-bottom: 30px; position: relative; }
.download .hero-cta { justify-content: center; position: relative; }

/* ---------- footer ---------- */
.foot { background: #0A0F2A; color: rgba(255,255,255,.66); padding: 56px 24px 36px; }
.foot-top { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot .brand { color: #fff; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: rgba(255,255,255,.7); font-weight: 600; font-size: 15px; }
.foot-links a:hover { color: var(--gold-2); }
.foot-bottom { max-width: var(--maxw); margin: 22px auto 0; text-align: center; font-size: 14px; }
.foot-bottom .amin { color: var(--gold-2); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-phone-main, .hero-phone-side, .float-card { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
/* Hero collapses to a centered single column below ~1140px so the two-column
   layout only shows when there's ample room. The phone + floating cards are
   capped and centered so nothing crowds or clips at narrow-desktop widths. */
@media (max-width: 1140px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .hero { padding-top: 130px; }
  .hero .sub { margin: 0 auto; }
  .hero-cta, .trust { justify-content: center; }
  .hero-visual { min-height: 480px; margin: 28px auto 0; max-width: 560px; }
}

@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; gap: 32px; text-align: center; padding: 48px 0; }
  .feature.rev .feat-media { order: 0; }
  .feat-text > p { margin-left: auto; margin-right: auto; }
  .feat-list { max-width: 360px; margin: 0 auto; text-align: left; }
  .feat-text .num { margin-left: auto; margin-right: auto; }
  .more-grid { grid-template-columns: repeat(2, 1fr); }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 640px) {
  .nav-links { position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; background: var(--navy); padding: 86px 24px 28px; gap: 20px; transform: translateY(-120%); transition: transform .35s var(--ease); box-shadow: var(--shadow); }
  .nav-links.open { transform: none; }
  .nav-links a { color: #fff; font-size: 18px; }
  .nav.scrolled .nav-links a { color: #fff; }
  .nav-toggle { display: flex; z-index: 101; }
  .more-grid { grid-template-columns: 1fr; }
  .section-pad { padding: 72px 0; }
  .hero-phone-side, .fc-2 { display: none; }
  .float-card.fc-1 { left: 0; }
}
