/*
Theme Name: MarkAvla Landing
Theme URI: https://markavla.com
Author: Fonon İş Geliştirme ve Reklam Hizmetleri
Author URI: https://markavla.com
Description: MarkAvla oyunlaştırılmış saha istihbaratı, ayak trafiği ve ödül platformu için çift temalı (Otomatik Açık/Koyu), tam yönetilebilir WordPress landing teması.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: markavla-landing
*/

:root {
  --color-bg: #0A0E17;
  --color-surface: #131926;
  --color-surface-hover: #1A2234;
  --color-border: #1E2638;
  --color-border-glow: rgba(255, 107, 0, 0.25);
  --color-primary: #FF6B00;
  --color-primary-hover: #FF8533;
  --color-gold: #F59E0B;
  --color-text: #F8FAFC;
  --color-text-muted: #94A3B8;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0A0E17;
}
::-webkit-scrollbar-thumb {
  background: #1E2638;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FF6B00;
}

/* Background Gradients & Glows */
.bg-glow-orange {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.15) 0%, rgba(255, 107, 0, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-gold {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.bg-grid-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(19, 25, 38, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(255, 107, 0, 0.3);
  box-shadow: 0 12px 30px -10px rgba(255, 107, 0, 0.15);
  transform: translateY(-4px);
}

.glass-card-static {
  background: rgba(19, 25, 38, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Glowing Border Accent */
.border-gradient-glow {
  position: relative;
}
.border-gradient-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.6), rgba(245, 158, 11, 0.2), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Radar & Pulse Animations */
@keyframes radarSweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulseRing {
  0% { transform: scale(0.6); opacity: 0.8; }
  50% { opacity: 0.4; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(8px); }
}

.animate-radar-sweep {
  animation: radarSweep 4s linear infinite;
}

.animate-pulse-ring {
  animation: pulseRing 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.animate-float {
  animation: floatSlow 4s ease-in-out infinite;
}

.animate-float-reverse {
  animation: floatReverse 5s ease-in-out infinite;
}

/* iPhone Mockup Styles */
.iphone-frame {
  position: relative;
  width: 312px;
  height: 652px;
  background: #0F1624;
  border-radius: 46px;
  border: 10px solid #252D3D;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 107, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .iphone-frame {
    width: 326px;
    height: 682px;
    border-radius: 50px;
    border-width: 11px;
  }
}

/* Dynamic Island */
.dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background: #000000;
  border-radius: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.dynamic-island-camera {
  width: 10px;
  height: 10px;
  background: #111827;
  border-radius: 50%;
  border: 1.5px solid #1f2937;
}

.dynamic-island-sensor {
  width: 6px;
  height: 6px;
  background: #0c1a2e;
  border-radius: 50%;
}

/* In-App Mockup Screen */
.mockup-screen {
  flex: 1;
  background: #0A0E17;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* Interactive Radar Canvas inside Phone */
.radar-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 107, 0, 0.25);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Accordion Animation */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}

.faq-item.active .faq-content {
  max-height: 300px;
  opacity: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #FF6B00;
}

/* Toast Notification */
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

#toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Button Glow Effect */
.btn-primary-glow {
  background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%);
  box-shadow: 0 4px 20px -2px rgba(255, 107, 0, 0.45);
  transition: all 0.25s ease;
}

.btn-primary-glow:hover {
  box-shadow: 0 6px 26px 0 rgba(255, 107, 0, 0.65);
  transform: translateY(-1px);
}
