/* =============================================
   EZAN VAKTİ AI – Landing Page Styles
   Theme: Deep Navy (#0D1424), Green (#10B981)
   ============================================= */

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

:root {
  --bg:        #0D1424;
  --bg2:       #0F172A;
  --card:      #1E293B;
  --card2:     #162032;
  --border:    #263554;
  --green:     #10B981;
  --green2:    #059669;
  --green-glow: rgba(16,185,129,.35);
  --white:     #FFFFFF;
  --text:      #CBD5E1;
  --muted:     #64748B;
  --font:      'Inter', system-ui, sans-serif;
  --radius:    16px;
  --radius-lg: 28px;
}

html { scroll-behavior: smooth; }

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

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

.gradient-text {
  background: linear-gradient(135deg, var(--green) 0%, #34D399 50%, #6EE7B7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(13,20,36,.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { font-size: 22px; color: var(--green); }
.logo-text { font-size: 18px; font-weight: 700; color: var(--white); }
.logo-img {
  width: 36px; height: 36px; border-radius: 10px;
  object-fit: cover;
}
.nav-cta {
  background: var(--green); color: var(--bg);
  font-size: 14px; font-weight: 600;
  padding: 9px 20px; border-radius: 50px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px var(--green-glow); }

/* ── ICON SHOWCASE ── */
.icon-showcase {
  padding: 60px 0 20px;
}
.icon-showcase-inner {
  display: flex; align-items: center; gap: 48px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px;
}
.app-icon-large {
  width: 140px; height: 140px; border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px var(--border);
  flex-shrink: 0;
}
.icon-showcase-text h2 {
  font-size: 28px; font-weight: 800; margin-bottom: 12px;
}
.icon-showcase-text p {
  font-size: 16px; color: var(--text); line-height: 1.7; margin-bottom: 24px; max-width: 480px;
}

.app-icon-download {
  width: 160px !important; height: 160px !important;
  border-radius: 36px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.5) !important;
}

@media (max-width: 700px) {
  .icon-showcase-inner { flex-direction: column; text-align: center; padding: 32px 24px; }
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(16,185,129,.08) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 10% 80%, rgba(16,185,129,.05) 0%, transparent 60%);
}
.star-field { position: absolute; inset: 0; }
.star { position: absolute; background: #fff; border-radius: 50%; animation: twinkle var(--dur, 3s) ease-in-out infinite; }
@keyframes twinkle {
  0%,100% { opacity: .2; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.3); }
}
.mosque-silhouette {
  position: absolute; bottom: 0; left: 0; right: 0; height: 180px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 180'%3E%3Cpath d='M0 180 L0 120 Q50 60 100 120 L100 80 Q110 30 120 80 L130 60 Q140 20 150 60 L160 80 Q170 30 180 80 L180 120 Q230 60 280 120 L280 180 L500 180 L500 130 Q530 70 560 40 Q590 20 620 10 Q650 20 680 40 Q710 70 740 130 L740 180 L900 180 L900 120 Q950 60 1000 120 L1000 80 Q1010 30 1020 80 L1030 60 Q1040 20 1050 60 L1060 80 Q1070 30 1080 80 L1080 120 Q1130 60 1200 120 L1200 180 Z' fill='%230F172A' opacity='0.9'/%3E%3C/svg%3E") bottom/cover no-repeat;
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 60px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--green);
  background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.25);
  padding: 6px 14px; border-radius: 50px;
  margin-bottom: 20px;
}
.dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(16,185,129,.4)} 50%{box-shadow:0 0 0 6px transparent} }

.hero-title {
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px; color: var(--text); line-height: 1.7;
  max-width: 480px; margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green); color: var(--bg);
  font-size: 15px; font-weight: 700;
  padding: 14px 28px; border-radius: 50px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px var(--green-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--green-glow); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--white);
  font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: 50px;
  text-decoration: none; border: 1px solid var(--border);
  transition: border-color .2s, background .2s;
}
.btn-secondary:hover { border-color: var(--green); background: rgba(16,185,129,.08); }

.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: 800; color: var(--green); }
.stat-label { font-size: 12px; color: var(--muted); font-weight: 500; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ── PHONE MOCKUP ── */
.hero-phone-wrap { position: relative; display: flex; justify-content: center; }
.phone-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 400px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  pointer-events: none;
}

.phone-mockup {
  width: 260px;
  /* 6.7" iPhone aspect ratio ≈ 19.5:9 → height = 260 × (19.5/9) ≈ 563px */
  min-height: 560px;
  background: #0F172A;
  border-radius: 44px;
  border: 2px solid var(--border);
  box-shadow:
    0 0 0 6px rgba(30,41,59,.6),
    0 30px 80px rgba(0,0,0,.6),
    inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-12px); }
}

.phone-notch {
  width: 90px; height: 24px;
  background: #0F172A; border-radius: 0 0 18px 18px;
  margin: 0 auto; position: relative; z-index: 2;
  border: 2px solid var(--border); border-top: none;
}
.phone-screen { padding: 12px 14px 0; flex: 1; overflow: hidden; }
.phone-home-bar {
  width: 100px; height: 5px; background: var(--muted);
  border-radius: 3px; margin: 14px auto 16px;
  flex-shrink: 0;
}

/* App screen inside phone */
.app-screen { font-size: 11px; display: flex; flex-direction: column; height: 100%; }
.app-header { display: flex; justify-content: space-between; color: var(--muted); margin-bottom: 16px; font-size: 10px; }
.app-next-vakit {
  text-align: center;
  background: linear-gradient(135deg, rgba(16,185,129,.15), rgba(16,185,129,.05));
  border: 1px solid rgba(16,185,129,.2);
  border-radius: 16px; padding: 18px 14px; margin-bottom: 16px;
}
.vakit-label { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.vakit-name { font-size: 20px; font-weight: 800; color: var(--green); margin: 4px 0; }
.vakit-countdown { font-size: 22px; font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; }

.app-vakit-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; flex: 1; }
.vakit-row {
  display: flex; justify-content: space-between;
  padding: 8px 10px; border-radius: 10px;
  font-size: 11px; color: var(--text);
}
.vakit-row.active { background: rgba(16,185,129,.12); color: var(--green); font-weight: 600; }
.vakit-row.next { background: rgba(16,185,129,.06); color: var(--text); }

.app-ayet {
  font-size: 9px; color: var(--muted); text-align: center;
  border-top: 1px solid var(--border); padding-top: 12px; font-style: italic;
  padding-bottom: 6px; margin-top: auto;
}

/* ── SCROLL HINT ── */
.hero-scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.scroll-arrow {
  color: var(--green); font-size: 20px;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* ── FEATURES ── */
.features { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 14px;
}
.section-title { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.section-subtitle { font-size: 18px; color: var(--text); max-width: 500px; margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  gap: 16px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  cursor: default;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16,185,129,.4);
  box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(16,185,129,.1);
}

.feature-card.feature-large { grid-column: span 2; }

.feature-icon-wrap {
  width: 48px; height: 48px;
  background: rgba(16,185,129,.12);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-icon { font-size: 24px; }

.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text); line-height: 1.65; margin-bottom: 16px; }
.feature-tag {
  display: inline-block;
  font-size: 11px; font-weight: 600; color: var(--green);
  background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.2);
  padding: 3px 10px; border-radius: 50px;
}

/* ── SHOWCASE ── */
.showcase {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 50%, var(--bg) 100%);
  overflow: hidden;
}
.showcase-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}

.showcase-list { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.showcase-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text); }
.check {
  width: 22px; height: 22px; background: rgba(16,185,129,.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: 12px; font-weight: 700; flex-shrink: 0;
}

.showcase-phones { position: relative; height: 480px; display: flex; justify-content: center; align-items: center; }

.phone-back {
  width: 220px; min-height: 476px; position: absolute; left: 0; top: 40px;
  transform: rotate(-6deg);
  z-index: 1;
  animation: float2 5s ease-in-out infinite;
}
.phone-front {
  width: 240px; min-height: 520px; position: absolute; right: 0; top: 20px;
  transform: rotate(4deg);
  z-index: 2;
  animation: float 4.5s ease-in-out infinite;
}
@keyframes float2 {
  0%,100%{ transform: rotate(-6deg) translateY(0); }
  50%{ transform: rotate(-6deg) translateY(-10px); }
}

.app-screen-alt { font-size: 11px; padding: 4px 0; }
.alt-header { font-size: 13px; font-weight: 700; text-align: center; margin-bottom: 14px; color: var(--green); }
.esma-list { display: flex; flex-direction: column; gap: 8px; }
.esma-item {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--card2); border-radius: 10px; padding: 10px 12px;
  font-size: 11px;
}
.arabic { font-size: 16px; color: var(--green); font-family: serif; }

.app-screen-kible { font-size: 11px; padding: 4px 0; }
.compass-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  margin: 10px 0;
}
.compass {
  width: 100px; height: 100px;
  border: 2px solid var(--green); border-radius: 50%;
  position: relative; display: flex; align-items: center; justify-content: center;
  background: rgba(16,185,129,.05);
}
.compass-needle { position: relative; width: 8px; height: 80px; }
.needle-up { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 40px solid var(--green); }
.needle-down { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 40px solid var(--muted); }
.compass-label { position: absolute; top: 6px; font-size: 10px; font-weight: 700; color: var(--green); }
.compass-kabe { font-size: 28px; }
.compass-deg { font-size: 11px; color: var(--muted); }

/* ── DOWNLOAD ── */
.download {
  padding: 100px 0;
  position: relative; overflow: hidden;
}
.download-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(16,185,129,.12) 0%, transparent 70%);
  pointer-events: none;
}
.download-inner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 64px;
  display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.download-inner::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}
.download-text h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.download-text p { font-size: 17px; color: var(--text); margin-bottom: 32px; }

.download-badges { display: flex; flex-direction: column; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 24px; border-radius: 16px;
  text-decoration: none; transition: transform .2s, box-shadow .2s;
  background: var(--white); color: var(--bg);
  min-width: 200px;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.3); }
.badge-sub { font-size: 11px; font-weight: 500; opacity: .7; }
.badge-main { font-size: 16px; font-weight: 700; }

.kaaba-img {
  width: 200px; height: 200px; object-fit: cover;
  border-radius: 24px;
  border: 2px solid var(--border);
}
.kaaba-fallback {
  width: 200px; height: 200px;
  background: linear-gradient(135deg, rgba(16,185,129,.15), rgba(16,185,129,.05));
  border: 2px solid rgba(16,185,129,.2);
  border-radius: 24px;
  display: none; align-items: center; justify-content: center;
  font-size: 80px;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-inner {
  display: flex; justify-content: space-between; gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 240px; }
.footer-links { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--muted);
}
.footer-made { font-size: 18px; font-family: serif; color: var(--green); opacity: .7; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-subtitle { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-phone-wrap { order: -1; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.feature-large { grid-column: span 2; }

  .showcase-inner { grid-template-columns: 1fr; gap: 48px; }
  .showcase-phones { display: none; }

  .download-inner { grid-template-columns: 1fr; text-align: center; padding: 40px 28px; }
  .kaaba-img, .kaaba-fallback { display: none; }
  .download-badges { align-items: center; }

  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card.feature-large { grid-column: span 1; }
  .footer-links { flex-direction: column; gap: 32px; }
}
