/* Miracle Plant Repair — Marketing Site Styles */

:root {
  --primary: #2e7d32;
  --primary-dark: #1b5e20;
  --primary-light: #66bb6a;
  --accent: #ff6f00;
  --text: #1a1a1a;
  --text-light: #555;
  --bg: #ffffff;
  --bg-alt: #f5f9f5;
  --border: #e0e0e0;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 12px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

/* Header / Nav */
header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.95);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
}

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--bg);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* Hero */
.hero {
  padding: 80px 20px 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

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

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-screenshot {
  margin-top: 60px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid #1a1a1a;
  background: #1a1a1a;
}

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

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-alt);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.feature-card p {
  color: var(--text-light);
}

/* Screenshots */
.screenshots {
  padding: 80px 20px;
  background: var(--bg-alt);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.screenshot-frame {
  background: #1a1a1a;
  border-radius: 24px;
  overflow: hidden;
  padding: 8px;
  aspect-ratio: 9/16;
  box-shadow: var(--shadow);
}

.screenshot-frame img {
  border-radius: 16px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #333;
}

/* Download */
.download {
  padding: 80px 20px;
  text-align: center;
}

.download-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: 24px;
  padding: 60px 40px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.download-card h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.download-card p {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 32px;
}

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-download {
  background: white;
  color: var(--primary-dark);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-download:hover {
  background: var(--bg-alt);
  color: var(--primary-dark);
}

.btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* About */
.about {
  padding: 80px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.about-content {
  background: var(--bg-alt);
  padding: 40px;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.about-content p {
  margin-bottom: 16px;
  color: var(--text-light);
  font-size: 1.05rem;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: white;
  padding: 40px 20px 20px;
  text-align: center;
}

footer p {
  margin-bottom: 8px;
  opacity: 0.85;
}

footer a {
  color: white;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 640px) {
  nav {
    flex-direction: column;
    gap: 16px;
  }

  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 60px 20px 40px;
  }

  .download-card {
    padding: 40px 24px;
  }
}

/* Utility */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }