:root {
  --primary-color: #5040ae;
  --secondary-color: #7c4dff;
  --accent-color: #ff4081;
  --text-color: #333;
  --text-light: #666;
  --bg-color: #f9f9fafb;
  --white: #ffffff;
  --border-radius: 12px;
  --max-width: 1000px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

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

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

.logo img {
  height: 40px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  font-weight: 500;
  color: var(--text-color);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

nav a:hover, nav a.active {
  color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
}

/* Main Content */
main {
  padding-bottom: 4rem;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #fff 0%, #f3f0ff 100%);
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(80, 64, 174, 0.3);
}

.btn-hero:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(80, 64, 174, 0.4);
}

/* App Sections */
.app-section {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.app-section:hover {
  box-shadow: var(--shadow-hover);
}

.app-header {
  padding: 2rem;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.app-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.app-badges {
  display: flex;
  gap: 10px;
  align-items: center;
}

.app-badges img {
  height: 40px;
  border-radius: 5px;
  transition: transform 0.2s ease;
}

.app-badges a:hover img {
  transform: scale(1.05);
}

.app-content {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.app-description {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
}

.app-description strong {
  color: var(--text-color);
  display: block;
  margin-top: 1rem;
}

.app-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.app-images.two-cols {
  grid-template-columns: repeat(2, 1fr);
}

.app-images img {
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
}

.special-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--primary-color);
  font-weight: 600;
  border-bottom: 2px solid transparent;
}

.special-link:hover {
  border-bottom-color: var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--white);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  border-top: 1px solid #eee;
  margin-top: 4rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav ul {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .app-content {
    grid-template-columns: 1fr;
  }
  
  .app-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .app-badges {
    flex-wrap: wrap;
  }
}
