:root {
  --primary-color: #0b0033;
  --secondary-color: #370031;
  --accent-color: #832232;
  --warm-color: #ce8964;
  --highlight-color: #eaf27c;
  --text-color: #0b0033;
  --text-light: #4a4a5a;
  --text-muted: #8a8a9a;
  --bg-color: #ffffff;
  --card-bg: #ffffff;
  --border-color: #e8e8ee;
  --success-color: #ce8964;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.7;
  font-size: 16px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

header h1 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

header p {
  opacity: 0.9;
  font-size: 1rem;
  font-weight: 300;
  color: var(--highlight-color);
}

/* Navigation */
nav {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(11, 0, 51, 0.06);
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  list-style: none;
}

nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

/* Main Content */
main {
  padding: 2rem 0;
}

.card {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(11, 0, 51, 0.06);
  border: 1px solid var(--border-color);
}

h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
}

h3 {
  margin: 1.5rem 0 0.75rem;
  color: var(--secondary-color);
  font-size: 1.1rem;
  font-weight: 600;
}

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

ul, ol {
  margin: 1rem 0 1rem 1.5rem;
  color: var(--text-light);
}

li {
  margin-bottom: 0.5rem;
}

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

a:hover {
  color: var(--secondary-color);
}

/* Apps Grid */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.app-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(11, 0, 51, 0.08);
  border: 1px solid var(--border-color);
  transition: transform 0.3s, box-shadow 0.3s;
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(11, 0, 51, 0.12);
}

.app-card img {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(11, 0, 51, 0.15);
}

.app-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  color: var(--primary-color);
}

.app-card .app-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-style: italic;
}

.app-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.app-price {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.app-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.app-links a {
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: all 0.3s;
}

.app-links a:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Feature badges */
.app-features {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-success {
  background: rgba(206, 137, 100, 0.15);
  color: var(--accent-color);
}

.badge-info {
  background: rgba(11, 0, 51, 0.08);
  color: var(--primary-color);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 0.9rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg-color);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(131, 34, 50, 0.1);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form button {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.2s;
}

.contact-form button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 2.5rem 2rem;
  margin-top: 3rem;
}

footer p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--highlight-color);
}

footer a:hover {
  color: var(--warm-color);
}

/* Last Updated */
.last-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}

th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  background: rgba(11, 0, 51, 0.03);
  color: var(--primary-color);
  font-weight: 600;
}

td {
  color: var(--text-light);
}

/* Code/Strong */
strong {
  color: var(--text-color);
  font-weight: 600;
}

/* About section */
.about-section {
  text-align: center;
  padding: 1rem 0;
}

.about-section p {
  max-width: 600px;
  margin: 0 auto 1rem;
}

/* Responsive */
@media (max-width: 600px) {
  header {
    padding: 3rem 1.5rem;
  }

  header h1 {
    font-size: 1.8rem;
  }

  nav ul {
    gap: 1.25rem;
    font-size: 0.85rem;
  }

  .container {
    padding: 1.5rem 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .apps-grid {
    grid-template-columns: 1fr;
  }

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