/* PetFile Landing Page Styles */

/* ── Reset & Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-50:  #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;

  --cream:      #fefdf8;
  --white:      #ffffff;
  --text:      #1c1917;
  --text-muted:#78716c;
  --border:    #e7e5e0;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.09);
  --radius:    12px;
}

html { scroll-behavior: smooth; }

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

/* ── Navigation ─────────────────────────────────────────────────────────────── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 5%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-700);
}

.nav-logo svg { width: 28px; height: 28px; }

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

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}

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

.nav-cta {
  background: var(--green-500) !important;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.15s !important;
}

.nav-cta:hover { background: var(--green-600) !important; }

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 80px 5% 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text { flex: 1 1 480px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}

.hero h1 span {
  color: var(--green-500);
}

.hero .subline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-500);
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 4px 14px rgba(34,197,94,0.35);
}

.btn-primary:hover {
  background: var(--green-600);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s;
}

.btn-ghost:hover { color: var(--green-600); }

.hero-image {
  flex: 1 1 420px;
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, var(--green-200) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.6;
}

/* ── Features ──────────────────────────────────────────────────────────────── */
.section {
  padding: 80px 5%;
}

.section-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-500);
  margin-bottom: 10px;
}

.section h2 {
  text-align: center;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--green-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--green-600);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Pricing ────────────────────────────────────────────────────────────────── */
.pricing-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  background: var(--cream);
}

.pricing-card.popular {
  border-color: var(--green-400);
  background: var(--white);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-500);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 999px;
}

.pricing-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-price {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.pricing-price .per {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 24px;
  min-height: 40px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  padding: 6px 0;
  color: var(--text);
}

.pricing-features li svg {
  color: var(--green-500);
  flex-shrink: 0;
}

.btn-secondary {
  display: block;
  text-align: center;
  background: var(--green-50);
  color: var(--green-700);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid var(--green-200);
  transition: background 0.15s, border-color 0.15s;
}

.btn-secondary:hover {
  background: var(--green-100);
  border-color: var(--green-300);
}

.btn-full {
  background: var(--green-500) !important;
  color: #fff !important;
  border-color: var(--green-500) !important;
}

.btn-full:hover {
  background: var(--green-600) !important;
  border-color: var(--green-600) !important;
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */
footer {
  background: var(--green-800);
  color: var(--green-100);
  padding: 48px 5% 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand .nav-logo {
  color: #fff;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--green-200);
  max-width: 260px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-200);
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: var(--green-100);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: var(--green-300);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar { padding: 14px 5%; }
  .nav-links { display: none; }

  .hero {
    flex-direction: column-reverse;
    padding: 48px 5% 64px;
    gap: 40px;
  }

  .hero-text, .hero-image { flex: unset; width: 100%; }
  .hero h1 { font-size: 2rem; }
  .hero-image { max-width: 100%; }

  .section { padding: 60px 5%; }
  .section-sub { margin-bottom: 40px; }

  .footer-inner { flex-direction: column; }
  .footer-links { gap: 28px; }
}