/* ==========================================================================
   Vorratskiste (PantryBox) - Simple & Minimalist Design
   ========================================================================== */

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

:root {
  --bg: #ffffff;
  --bg-subtle: #f9fafb;
  --card-bg: #ffffff;
  --border: #e5e7eb;
  
  --text-main: #111827;
  --text-muted: #6b7280;
  
  --brand: #959e66;
  --brand-hover: #7d8650;
  
  --btn-bg: #000000;
  --btn-text: #ffffff;
  --btn-hover: #262626;
  
  --badge-bg: #f3f4f6;
  --badge-text: #4b5563;
  --badge-border: #e5e7eb;
}

[data-theme="dark"] {
  --bg: #121212;
  --bg-subtle: #1a1a1a;
  --card-bg: #181818;
  --border: #2e2e2e;
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  
  --brand: #a9b378;
  --brand-hover: #959e66;
  
  --btn-bg: #262626;
  --btn-text: #ffffff;
  --btn-hover: #333333;
  
  --badge-bg: #262626;
  --badge-text: #9ca3af;
  --badge-border: #383838;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121212;
    --bg-subtle: #1a1a1a;
    --card-bg: #181818;
    --border: #2e2e2e;
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    
    --brand: #a9b378;
    --brand-hover: #959e66;
    
    --btn-bg: #262626;
    --btn-text: #ffffff;
    --btn-hover: #333333;
    
    --badge-bg: #262626;
    --badge-text: #9ca3af;
    --badge-border: #383838;
  }
}

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

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
}

.container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  padding: 1.5rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.05rem;
}

.brand-mini img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background-color: var(--brand);
  padding: 5px;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.control-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
}

.control-btn:hover {
  color: var(--text-main);
  border-color: var(--text-muted);
}

.control-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
}

/* Main Hero Section */
.hero-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0 4rem 0;
  text-align: center;
}

.hero-content {
  width: 100%;
}

.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  background-color: var(--brand);
  padding: 10px;
  box-sizing: border-box;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.app-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.app-subline-pill {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  background: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid var(--badge-border);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.app-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Store Buttons */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--btn-bg);
  color: var(--btn-text);
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  min-width: 175px;
  text-align: left;
  transition: all 0.15s ease;
  position: relative;
}

.btn-store:hover {
  background: var(--btn-hover);
}

.btn-store svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: currentColor;
}

.btn-store-text {
  display: flex;
  flex-direction: column;
}

.btn-store-subtitle {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
  font-weight: 600;
  line-height: 1.2;
}

.btn-store-title {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.btn-store.disabled {
  opacity: 0.75;
  cursor: default;
}

.coming-soon-tag {
  position: absolute;
  top: -8px;
  right: -6px;
  background: #f59e0b;
  color: #ffffff;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Simple Features List */
.features-simple {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.feature-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.feature-dot::before {
  content: "✓";
  color: var(--brand);
  font-weight: bold;
}

/* Legal Pages */
.legal-wrapper {
  flex: 1;
  padding: 2rem 0 4rem 0;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--brand);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-back-link:hover {
  text-decoration: underline;
}

.legal-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.legal-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-content section {
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.legal-content h3 {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 1rem 0 0.4rem 0;
}

.legal-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.legal-content ul {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0.85rem;
  padding-left: 1.4rem;
}

.legal-content li {
  margin-bottom: 0.3rem;
}

.legal-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}

.legal-box p {
  color: var(--text-main);
  margin-bottom: 0;
}

.legal-placeholder {
  color: #d97706;
  font-weight: 500;
}

[data-theme="dark"] .legal-placeholder {
  color: #fbbf24;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}

@media (min-width: 600px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-main);
  text-decoration: underline;
}

.contact-link {
  color: var(--brand) !important;
  font-weight: 500;
}

@media (max-width: 500px) {
  .store-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-store {
    width: 100%;
    max-width: 240px;
  }
  
  .features-simple {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }
}
