/* 
   ImanTrack Minimalist Single-Page Stylesheet
   Style: Minimalist, Premium Dark-Mode (Lovable.app inspired)
   Color Palette: Deep Forest-Black background, Hunt Green primary (#23522E), Dark Gold accents (#b58d24)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --bg: #050806; /* Deep forest-charcoal black */
  --bg-surface: #0a0f0b; /* Dark forest green surface */
  
  --primary: #23522E; /* Hunt Green (Hauptfarbe) */
  --primary-glow: rgba(35, 82, 46, 0.2);
  --primary-hover: #1b4024;
  
  --accent: #b58d24; /* Dark Gold (Nebenfarbe) */
  --accent-glow: rgba(181, 141, 36, 0.15);
  --accent-hover: #9c771c;
  
  --text: #f3f4f6;
  --text-muted: #9ab0a1; /* Muted sage-green-gray */
  
  --border: #142117; /* Dark green border */
  
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Layout details */
  --max-width: 800px;
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & BASIC --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  font-size: inherit;
}

/* --- LAYOUT CONTAINER --- */
.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px;
}

/* --- HEADER --- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent); /* Dark Gold logo dot */
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.header-contact {
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}

.header-contact:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* --- HERO SECTION --- */
.hero {
  text-align: center;
  margin-bottom: 80px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--accent); /* Dark Gold header accent */
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px auto;
  font-weight: 300;
}

/* Download Buttons */
.hero-ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary); /* Hunt Green Button */
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--primary-glow);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
}

.badge-soon {
  font-size: 0.7rem;
  background-color: var(--border);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 500;
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* App Mockup Graphic */
.mockup-container {
  display: flex;
  justify-content: center;
  margin-bottom: 80px;
  perspective: 1000px;
}

.phone-wrapper {
  max-width: 280px;
  width: 100%;
  border-radius: 36px;
  border: 8px solid var(--bg-surface);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.7), 0 0 40px rgba(35,82,46,0.03);
  transition: var(--transition);
}

.phone-wrapper:hover {
  transform: translateY(-5px) rotateY(2deg);
}

.phone-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- FEATURES SECTION --- */
.features {
  border-top: 1px solid var(--border);
  padding-top: 80px;
  margin-bottom: 80px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-title-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent); /* Dark Gold feature dot */
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent);
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
}

/* --- CONTACT SECTION (E-mail Link only) --- */
.contact-section {
  border-top: 1px solid var(--border);
  padding-top: 80px;
  margin-bottom: 60px;
  text-align: center;
}

.contact-section h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.contact-section p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
  font-weight: 300;
}

.contact-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 16px 32px;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: var(--transition);
}

.contact-email-btn:hover {
  border-color: var(--accent); /* Hover glows gold */
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.contact-email-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* --- FOOTER --- */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  cursor: pointer;
}

.footer-link:hover {
  color: var(--accent);
}

/* --- MODAL POPUPS (Legal pages) --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 8, 6, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  max-width: 650px;
  width: 90%;
  max-height: 80vh;
  border-radius: var(--border-radius);
  padding: 40px;
  position: relative;
  overflow-y: auto;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.modal-close:hover {
  color: var(--accent);
}

.modal-close svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  color: var(--accent); /* Dark Gold modal title */
}

.modal-body {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
}

.modal-body h2 {
  font-size: 1.15rem;
  color: var(--text);
  margin: 30px 0 12px 0;
  font-family: var(--font-heading);
}

.modal-body p {
  margin-bottom: 16px;
}

.modal-body ul {
  padding-left: 20px;
  list-style: square;
  margin-bottom: 20px;
}

.modal-body li {
  margin-bottom: 8px;
}

/* --- MOBILE BREAKPOINT --- */
@media (max-width: 600px) {
  .wrapper {
    padding: 40px 16px;
  }
  
  .header {
    margin-bottom: 60px;
  }
  
  .hero-ctas {
    flex-direction: column;
  }
  
  .btn {
    justify-content: center;
  }
  
  .footer {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}
