/* ZooSyncer.pl Landing Page CSS */
/* Following landing-page skill best practices */

/* ===== CSS VARIABLES ===== */
:root {
  /* Colors - warm, trustworthy palette */
  --primary: #4a7c59;
  /* Green - growth, trust */
  --primary-dark: #3a6347;
  --primary-light: #5a9169;
  --secondary: #8b4513;
  /* Brown - warmth, reliability */
  --accent: #ff6b35;
  /* Orange - action, urgency */
  --text-dark: #2d3748;
  --text-light: #718096;
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;

  /* Typography - as per visual hierarchy guidelines */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 18px;
  /* Minimum 16-18px per guidelines */
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
}

/* ===== TYPOGRAPHY - Visual Hierarchy ===== */
h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  /* 48-72px per guidelines */
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.subheadline {
  font-size: 20px;
  /* 20-24px per guidelines */
  line-height: 1.5;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: var(--spacing-xl) 0;
}

/* ===== BUTTONS - CTA Best Practices ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 17px;
  /* Minimum 16px per guidelines */
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-large {
  padding: 18px 48px;
  font-size: 19px;
}

.btn-huge {
  padding: 24px 64px;
  font-size: 22px;
}

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

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

.btn-link {
  background: transparent;
  border: none;
  color: var(--text-dark);
  padding: 12px 24px;
}

.btn-link:hover {
  color: var(--primary);
  background: rgba(74, 124, 89, 0.05);
}

/* ===== LANDING NAV ===== */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.nav-logo {
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  transition: color 0.3s;
}

.nav-logo:hover .logo-text {
  color: var(--primary-dark);
}

.nav-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* ===== HERO SECTION - Above the Fold ===== */
.hero {
  background: linear-gradient(135deg, #f0f9f4 0%, #ffffff 100%);
  padding: var(--spacing-xl) 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.badge-icon {
  width: 20px;
  height: 20px;
}

.cta-group {
  margin-top: 2.5rem;
}

.trust-text {
  margin-top: 1rem;
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

.hero-image {
  position: relative;
}

.dashboard-preview {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

/* ===== SOCIAL PROOF BAR ===== */
.social-proof-bar {
  background: var(--primary);
  color: white;
  padding: 2rem 0;
}

.proof-text {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 16px;
  opacity: 0.9;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 42px;
  font-weight: 800;
  font-family: var(--font-display);
}

.stat-label {
  display: block;
  font-size: 14px;
  opacity: 0.9;
  margin-top: 0.25rem;
}

/* ===== PROBLEM SECTION ===== */
.problem-section {
  background: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

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

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

.problem-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

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

.problem-icon {
  font-size: 48px;
  margin-bottom: 1rem;
}

/* ===== SOLUTION SECTION ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.benefit-card {
  position: relative;
  padding: 2rem;
}

.benefit-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: 12px;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  background: var(--bg-light);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}

.step-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow: var(--shadow-md);
}

.step-icon {
  font-size: 64px;
  margin: 1rem 0;
}

.step-time {
  display: inline-block;
  margin-top: 1rem;
  padding: 6px 14px;
  background: var(--bg-light);
  border-radius: 20px;
  font-size: 14px;
  color: var(--text-light);
  font-weight: 600;
}

.step-arrow {
  font-size: 36px;
  color: var(--primary);
  font-weight: bold;
}

/* ===== TESTIMONIALS - Social Proof ===== */
.testimonials-section {
  background: white;
}

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

.testimonial-card {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 16px;
  border: 2px solid var(--border);
}

.stars {
  font-size: 20px;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
}

.author-name {
  font-weight: 700;
  color: var(--text-dark);
}

.author-title {
  font-size: 14px;
  color: var(--text-light);
}

/* ===== FEATURES SECTION ===== */
.features-section {
  background: var(--bg-light);
}

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

.feature-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
}

.feature-item:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 1rem;
}

/* ===== PRICING SECTION - Transparency ===== */
.pricing-section {
  background: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: white;
  border: 3px solid var(--border);
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.recommended {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(74, 124, 89, 0.1);
  transform: scale(1.05);
}

.recommended-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 6px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.plan-header {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2rem;
}

.plan-name {
  font-size: 28px;
  margin-bottom: 1rem;
}

.plan-price {
  margin: 1.5rem 0;
}

.price {
  font-size: 56px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--primary);
}

.period {
  font-size: 18px;
  color: var(--text-light);
}

.plan-description {
  font-size: 16px;
  color: var(--text-light);
}

.plan-savings {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 0.5rem;
}

.plan-features {
  list-style: none;
  margin: 2rem 0;
}

.plan-features li {
  padding: 0.75rem 0;
  font-size: 16px;
  line-height: 1.6;
}

.plan-features .unavailable {
  color: var(--text-light);
  opacity: 0.6;
}

.guarantee {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

.pricing-faq {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 12px;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background: var(--bg-light);
}

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

.faq-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.faq-question {
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.faq-answer {
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== FINAL CTA ===== */
.final-cta {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.final-cta h2 {
  color: white;
  margin-bottom: 1rem;
}

.final-cta p {
  font-size: 20px;
  opacity: 0.95;
  margin-bottom: 2rem;
}

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

.final-cta .btn-primary:hover {
  background: var(--bg-light);
}

.cta-subtext {
  margin-top: 1.5rem;
  font-size: 14px;
  opacity: 0.9;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 1rem;
}

.footer-col h4 {
  margin-bottom: 1rem;
  font-size: 16px;
  opacity: 0.9;
}

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

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 15px;
  line-height: 2;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  font-size: 24px;
  transition: transform 0.3s;
}

.social-links a:hover {
  transform: scale(1.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trust-badges {
  display: flex;
  gap: 2rem;
  font-size: 14px;
  opacity: 0.8;
}

/* ===== MOBILE RESPONSIVE - Mobile-First ===== */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .subheadline {
    max-width: 100%;
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-arrow {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 36px;
  }

  .btn-huge {
    padding: 18px 36px;
    font-size: 18px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.recommended {
    transform: scale(1);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== ANIMATIONS & MICRO-INTERACTIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text,
.hero-image {
  animation: fadeInUp 0.8s ease-out;
}

.hero-image {
  animation-delay: 0.2s;
}

/* Smooth scrolling for anchors */
html {
  scroll-behavior: smooth;
}
