/* GLP Helper Marketing Page Styles */

:root {
  /* Medical theme colors matching the app */
  --primary-blue: #007AFF;
  --primary-green: #34C759;
  --background: #F2F2F7;
  --card-background: #FFFFFF;
  --text-primary: #000000;
  --text-secondary: #6C6C70;
  --border: #E5E5EA;
  --shadow: rgba(0, 0, 0, 0.1);
}

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

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

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

/* Header */
header {
  background: var(--card-background);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  margin-left: 30px;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary-blue);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

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

.hero-icon {
  width: 150px;
  height: 150px;
  border-radius: 33px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.95;
  line-height: 1.8;
}

.app-store-badge {
  display: inline-block;
  margin-top: 20px;
}

.app-store-badge img {
  height: 50px;
  transition: transform 0.3s ease;
}

.app-store-badge:hover img {
  transform: scale(1.05);
}

/* Features Section */
.features {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: var(--text-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: var(--card-background);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-blue);
}

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

/* Medications Section */
.medications {
  padding: 80px 0;
  background: var(--card-background);
}

.medications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.medication-card {
  background: var(--background);
  padding: 20px;
  border-radius: 12px;
  border: 2px solid var(--border);
  transition: border-color 0.3s ease;
}

.medication-card:hover {
  border-color: var(--primary-green);
}

.medication-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.medication-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
  color: white;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

/* Footer */
footer {
  background: var(--card-background);
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-blue);
}

.footer-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .features-grid,
  .medications-grid {
    grid-template-columns: 1fr;
  }

  nav {
    display: none;
  }

  .hero-icon {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 50px 0;
  }

  .features,
  .medications,
  .cta {
    padding: 50px 0;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .cta h2 {
    font-size: 2rem;
  }
}
