/* OmarKnows.app - Modern Minimal Styles */

:root {
  --primary-color: #2563eb;
  --text-color: #1f2937;
  --text-secondary: #6b7280;
  --background: #ffffff;
  --border-color: #e5e7eb;
  --hover-bg: #f9fafb;
  --max-width: 800px;
  --spacing-unit: 1rem;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background);
  padding: 2rem 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.875rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
  color: var(--text-color);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

/* Header */
header {
  margin-bottom: 3rem;
}

.site-title {
  margin-bottom: 0.5rem;
}

.site-description {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

/* Navigation */
nav {
  margin-bottom: 2rem;
}

.breadcrumb {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.breadcrumb a {
  color: var(--primary-color);
}

.breadcrumb span {
  margin: 0 0.5rem;
}

/* Home Page Sections */
.intro-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.intro-section p {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.intro-section strong {
  color: var(--text-color);
  font-weight: 600;
}

.apps-section {
  margin-bottom: 2rem;
}

/* App Card */
.app-card {
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.app-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.app-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.app-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.app-card-link {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 500;
}

/* App Page */
.app-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.app-subtitle {
  color: var(--text-secondary);
  font-size: 1.25rem;
  margin-top: 0.5rem;
}

.app-content {
  margin-bottom: 2rem;
}

.app-section {
  margin-bottom: 3rem;
}

/* App Screenshots */
.app-screenshots {
  text-align: center;
  margin: 2rem 0;
}

.screenshots-image {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Privacy Page */
.privacy-content {
  font-size: 0.9375rem;
}

.privacy-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.privacy-content h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.privacy-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-content li {
  margin-bottom: 0.5rem;
}

.privacy-content strong {
  font-weight: 600;
}

/* Email Display - Anti-spam */
.email-display {
  color: var(--primary-color);
  font-weight: 500;
  user-select: all;
}

.email-at::before {
  content: "@";
}

/* Footer */
footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 640px) {
  body {
    padding: 1rem 0.75rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .app-card {
    padding: 1.5rem;
  }
}

