/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #000000;
  --primary-dark: #1a1a1a;
  --secondary-color: #f7f7f7;
  --text-primary: #000000;
  --text-secondary: #666666;
  --white: #ffffff;
  --border-color: #e5e5e5;
  --success-color: #000000;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --card-hover-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  --light-bg: #fafafa;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background: var(--white);
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

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

nav a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: opacity 0.2s;
  font-size: 0.95rem;
}

nav a:hover {
  opacity: 0.6;
}

.cta-button {
  background: var(--primary-color);
  color: var(--white) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  opacity: 1 !important;
}

/* Hero Section */
.hero {
  padding: 100px 0 120px;
  background: var(--white);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  color: var(--text-primary);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.primary-cta {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  padding: 0.9rem 2.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.primary-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.primary-cta.large {
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
}

/* About Section */
.about {
  padding: 100px 0;
  background: var(--light-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.about-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 8px;
  transition: all 0.3s;
  border: 1px solid var(--border-color);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-hover-shadow);
  border-color: transparent;
}

.about-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.about-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Apps Section */
.apps {
  padding: 100px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.app-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: all 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border-color);
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-hover-shadow);
  border-color: transparent;
}

.app-card.featured {
  border: 2px solid var(--primary-color);
}

.featured-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary-color);
  color: var(--white);
  padding: 0.3rem 1rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.app-icon {
  font-size: 2.5rem;
  background: var(--light-bg);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.app-rating {
  text-align: right;
}

.stars {
  color: var(--text-primary);
  font-size: 0.9rem;
  display: block;
}

.rating-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.app-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.app-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.app-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.price-tag {
  background: var(--light-bg);
  color: var(--text-primary);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
}

.app-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.app-link:hover {
  opacity: 0.6;
  transform: translateX(3px);
}

.apps-cta {
  text-align: center;
}

.secondary-cta {
  display: inline-block;
  background: var(--white);
  color: var(--primary-color);
  padding: 0.9rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--primary-color);
  transition: all 0.2s;
}

.secondary-cta:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* Final CTA Section */
.final-cta {
  padding: 100px 0;
  background: var(--light-bg);
  text-align: center;
  color: var(--text-primary);
}

.final-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.final-cta p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
}

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-links h4,
.footer-subscribe h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  color: var(--white);
  opacity: 1;
}

.footer-subscribe p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-subscribe form {
  display: flex;
  gap: 0.5rem;
}

.footer-subscribe input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--white);
  font-size: 0.95rem;
}

.footer-subscribe input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-subscribe button {
  padding: 0.7rem 1.5rem;
  background: var(--white);
  color: var(--text-primary);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.footer-subscribe button:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Page Content Styles */
.page-content {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--white);
}

.page-content h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.page-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  nav ul {
    gap: 1rem;
  }
  
  nav a:not(.cta-button) {
    display: none;
  }
  
  .apps-grid {
    grid-template-columns: 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-subscribe form {
    flex-direction: column;
  }
}