/* Zikirmatik Pro */

:root {
  --primary: #0a1628;
  --accent: #c9a227;
  --accent-light: #e4c04d;
  --card: rgba(255, 255, 255, 0.06);
  --card-hover: rgba(255, 255, 255, 0.1);
  --text: #fff;
  --muted: #b8c4d0;
  --border: rgba(255, 255, 255, 0.08);
  --page-gutter: 10%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: linear-gradient(180deg, #0a1628 0%, #0d2137 50%, #0a1628 100%);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

.page-wrap {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1001;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px var(--page-gutter);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

nav.scrolled {
  padding: 15px var(--page-gutter);
  background: rgba(0, 0, 0, 0.55);
}

.logo {
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 35px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-btn {
  padding: 12px 24px;
  background: var(--accent);
  border: none;
  border-radius: 12px;
  color: #0a1628;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s;
}

.nav-btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
}

.menu-backdrop.active {
  display: block;
}

html.device-ios .download-android,
html.device-ios .btn-glow:has(.download-android) {
  display: none !important;
}

html.device-android .download-ios,
html.device-android .btn-glow:has(.download-ios) {
  display: none !important;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px var(--page-gutter) 80px;
  gap: 60px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.12), transparent);
  top: -150px;
  right: -100px;
  border-radius: 50%;
}

.hero-content {
  flex: 1;
  min-width: 280px;
  max-width: 560px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
}

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

.hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 32px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  font-size: 15px;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn.primary {
  background: var(--accent);
  color: #0a1628;
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.35);
}

.btn.primary:hover {
  background: var(--accent-light);
}

.btn.secondary {
  background: transparent;
  border-color: var(--border);
  color: #fff;
}

.btn.secondary:hover {
  border-color: var(--accent);
  background: rgba(201, 162, 39, 0.08);
}

.btn-glow {
  position: relative;
  display: inline-flex;
  padding: 2px;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: -120%;
  background: conic-gradient(from 0deg, transparent, var(--accent), var(--accent-light), #fff, var(--accent-light), var(--accent), transparent);
  animation: btn-glow-spin 2.8s linear infinite;
  z-index: 0;
}

.btn-glow > .btn,
.btn-glow > .store-btn {
  position: relative;
  z-index: 1;
  border-color: transparent;
}

.btn-glow > .btn.secondary {
  background: #0a1628;
}

.btn-glow > .store-btn {
  border: none;
  background: #0d1a2d;
}

@keyframes btn-glow-spin {
  to { transform: rotate(360deg); }
}

.hero-visual {
  flex: 1 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 280px;
  animation: fadeInRight 1s ease;
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-content {
  animation: fadeInLeft 1s ease;
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-mockup {
  flex: 1 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-container {
  position: relative;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-end;
  flex-shrink: 0;
}

.phone {
  flex: 0 0 auto;
  width: 280px;
  height: 560px;
  min-width: 280px;
  max-width: 280px;
  aspect-ratio: 1 / 2;
  border-radius: 30px;
  background: #000;
  border: 8px solid #1a1a1a;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s;
}

.phone:hover {
  transform: translateY(-10px);
}

.phone.main {
  z-index: 2;
  transform: scale(1.1);
}

.phone.side {
  opacity: 0.7;
  transform: scale(0.95) translateY(20px);
}

.phone img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  padding: 60px var(--page-gutter);
  background: rgba(0, 0, 0, 0.2);
}

.stat {
  background: var(--card);
  padding: 32px 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s;
}

.stat:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.stat-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.stat h2 {
  color: var(--accent);
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 6px;
}

.stat p {
  color: var(--muted);
  font-size: 15px;
}

.features {
  padding: 90px var(--page-gutter);
  text-align: center;
}

.section-header {
  max-width: 640px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(201, 162, 39, 0.1);
  color: var(--accent);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.features h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
}

.features .subtitle {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card);
  padding: 36px 28px;
  border-radius: 20px;
  border: 1px solid var(--border);
  text-align: left;
  transition: all 0.3s;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.card-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.about {
  padding: 80px var(--page-gutter);
  background: rgba(0, 0, 0, 0.15);
  text-align: center;
}

.about h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 20px;
}

.about p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.download {
  padding: 90px var(--page-gutter);
  text-align: center;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.1), rgba(10, 22, 40, 0.2));
}

.download h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
}

.download p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 36px;
}

.store-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 18px 36px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s;
}

.store-btn:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.store-btn i {
  font-size: 30px;
}

.store-btn-text {
  text-align: left;
}

.store-btn-text small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.store-btn-text strong {
  font-size: 17px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
}

.footer-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px max(32px, 5vw) 32px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.75fr 1fr 1fr 1.35fr;
  gap: 48px 56px;
  margin-bottom: 44px;
}

.footer-section h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #e2e8f0;
}

.footer-section h3.brand-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
}

.footer-section h3.brand-title img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.footer-brand p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
  max-width: 360px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.footer-contact i {
  width: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  text-align: center;
}

.footer-contact i.fa-envelope {
  color: var(--accent-light, var(--accent));
}

.footer-contact i.fa-phone {
  color: var(--accent-green, #34d399);
}

.footer-contact i.fa-whatsapp {
  color: #25d366;
}

.footer-contact i.fa-map-marker-alt,
.footer-contact i.fa-building {
  color: var(--accent-light, var(--accent));
}

.footer-contact a {
  color: var(--muted);
  transition: color 0.3s;
  word-break: break-word;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
}

/* Legal pages */
body.legal-page main.legal-content {
  padding: 40px 0 20px;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}

.legal-content > h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
  text-align: center;
}

.legal-content > p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-content .section,
.legal-content h2 {
  margin-top: 28px;
}

.legal-content h2 {
  font-size: 22px;
  color: var(--accent-light);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.legal-content h3 {
  font-size: 17px;
  margin: 18px 0 10px;
}

.legal-content ul {
  margin: 10px 0 0 20px;
  color: var(--muted);
  line-height: 1.7;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--accent-light);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.contact-method {
  display: block;
  padding: 28px 22px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.contact-method:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.35);
}

.contact-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: rgba(201, 162, 39, 0.12);
  color: var(--accent-light);
}

.contact-method h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.contact-method p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}

.contact-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.15);
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 1200px) {
  .phone.side {
    display: none;
  }

  .phone.main {
    transform: none;
  }
}

@media (max-width: 1024px) {
  :root { --page-gutter: 20px; }

  .nav-btn { display: none; }

  .menu-toggle { display: block; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(280px, calc(100vw - 40px));
    height: 100dvh;
    flex-direction: column;
    gap: 20px;
    padding: 90px 24px 24px;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    z-index: 1002;
  }

  .nav-links.active { display: flex; }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 80px var(--page-gutter) 50px;
    gap: 36px;
  }

  .hero-content,
  .hero-mockup {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  .hero-mockup {
    justify-content: center;
  }

  .phone-container {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .phone {
    width: min(240px, 72vw);
    height: auto;
    min-width: 0;
    max-width: min(240px, 72vw);
    aspect-ratio: 1 / 2;
    border-width: 6px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  }

  .phone.main,
  .phone.side {
    transform: none;
    opacity: 1;
  }

  .hero-content { max-width: 100%; }

  .cta { justify-content: center; }

  .btn-glow, .btn, .store-btn { width: 100%; justify-content: center; }

  .cta { flex-direction: column; }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-inner {
    padding: 40px var(--page-gutter) 24px;
  }
}

@media (min-width: 1025px) {
  .menu-backdrop { display: none !important; }
  .nav-links { display: flex !important; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-glow::before { animation: none; }
  .hero-content,
  .hero-mockup { animation: none; }
}
