/*
Theme Name: HatchReviews
Theme URI: https://hatchreviews.com
Description: Professional review management landing page theme
Author: HatchReviews Team
Author URI: https://hatchreviews.com
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hatchreviews
*/

/* ========================================
   CSS RESET & BASE STYLES
======================================== */

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

:root {
  /* Professional Business Colors */
  --color-background: hsl(0, 0%, 100%);
  --color-foreground: hsl(215, 25%, 15%);
  --color-card: hsl(0, 0%, 100%);
  --color-card-foreground: hsl(215, 25%, 15%);
  
  /* Trust-building Blue Primary */
  --color-primary: hsl(217, 91%, 60%);
  --color-primary-foreground: hsl(0, 0%, 100%);
  --color-primary-dark: hsl(217, 91%, 45%);
  
  /* Star Gold Accent */
  --color-accent: hsl(45, 93%, 58%);
  --color-accent-foreground: hsl(215, 25%, 15%);
  --color-accent-glow: hsl(45, 93%, 68%);
  
  /* Professional Secondary */
  --color-secondary: hsl(220, 14%, 96%);
  --color-secondary-foreground: hsl(215, 25%, 15%);
  
  /* Muted Tones */
  --color-muted: hsl(220, 14%, 96%);
  --color-muted-foreground: hsl(215, 16%, 47%);
  
  /* Success Green */
  --color-success: hsl(142, 76%, 36%);
  --color-success-foreground: hsl(0, 0%, 100%);
  
  /* Destructive */
  --color-destructive: hsl(0, 84%, 60%);
  --color-destructive-foreground: hsl(0, 0%, 100%);
  
  /* Borders & Inputs */
  --color-border: hsl(220, 13%, 91%);
  --color-input: hsl(220, 13%, 91%);
  --color-ring: hsl(217, 91%, 60%);
  
  /* Radius */
  --radius: 0.75rem;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-foreground);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   UTILITY CLASSES
======================================== */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ========================================
   HEADER / NAVIGATION
======================================== */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-icon {
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-dark));
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--color-primary-foreground);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--color-foreground);
}

.main-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
}

.main-nav a {
  color: var(--color-muted-foreground);
  text-decoration: none;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--color-foreground);
}

.mobile-menu-button {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-foreground);
}

@media (min-width: 768px) {
  .mobile-menu-button {
    display: none;
  }
}

.mobile-menu {
  display: none;
  background-color: var(--color-background);
  border-top: 1px solid var(--color-border);
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-muted-foreground);
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--color-foreground);
}

/* ========================================
   BUTTONS
======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
  border: none;
  padding: 0.5rem 1rem;
  height: 2.5rem;
}

.btn-primary {
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-dark));
  color: var(--color-primary-foreground);
}

.btn-primary:hover {
  box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.5);
}

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

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

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

.btn-white:hover {
  background-color: hsl(0, 0%, 95%);
}

.btn-lg {
  height: 2.75rem;
  padding: 0.5rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* ========================================
   SECTIONS
======================================== */

section {
  padding: 5rem 0;
}

.section-bg-light {
  background-color: rgba(var(--color-secondary), 0.3);
}

.section-bg-gradient {
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-dark));
  color: var(--color-primary-foreground);
}

/* ========================================
   HERO SECTION
======================================== */

.hero-section {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    hsla(217, 91%, 60%, 0.05), 
    var(--color-background), 
    hsla(45, 93%, 58%, 0.05));
  z-index: -1;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.hero-headline {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.2;
  color: var(--color-foreground);
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-headline {
    font-size: 3.75rem;
  }
}

.gradient-text {
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-glow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: 1.25rem;
  color: var(--color-muted-foreground);
  max-width: 48rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1rem;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.hero-image-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 0.5rem;
  padding: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.floating-card-top {
  top: 1rem;
  right: 1rem;
}

.floating-card-bottom {
  bottom: 1rem;
  left: 1rem;
}

/* ========================================
   SOCIAL PROOF
======================================== */

.social-proof {
  padding: 3rem 0;
  background-color: rgba(220, 220, 230, 0.3);
}

.social-proof-content {
  text-align: center;
}

.social-trust-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.star-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 2rem;
}

.star-icon {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--color-accent);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
  opacity: 0.6;
}

@media (min-width: 768px) {
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .brand-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  background-color: var(--color-card);
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
  padding: 0.75rem;
  transition: opacity 0.3s;
}

.brand-card:hover {
  opacity: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-top: 2rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-box {
  text-align: center;
}

.stat-number {
  font-size: 1.875rem;
  font-weight: bold;
  color: var(--color-foreground);
}

.stat-description {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

/* ========================================
   HOW IT WORKS
======================================== */

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

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-foreground);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--color-muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
}

.steps-container {
  position: relative;
}

.steps-grid {
  display: grid;
  gap: 2rem;
  position: relative;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  position: relative;
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.step-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.step-number {
  position: absolute;
  top: -1rem;
  left: 2rem;
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.875rem;
}

.step-icon-wrapper {
  background-color: hsla(217, 91%, 60%, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem;
  width: fit-content;
  margin-bottom: 1.5rem;
}

.step-icon {
  width: 2rem;
  height: 2rem;
  color: var(--color-primary);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.step-card:hover .step-title {
  color: var(--color-primary);
}

.step-description {
  color: var(--color-muted-foreground);
  margin-bottom: 1rem;
}

.step-features {
  list-style: none;
}

.step-feature {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin-bottom: 0.5rem;
}

.step-feature::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--color-accent);
  border-radius: 50%;
  margin-right: 0.75rem;
}

/* ========================================
   SERVICES
======================================== */

.services-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.service-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: hsla(217, 91%, 60%, 0.5);
}

.service-icon-wrapper {
  border-radius: 0.5rem;
  padding: 1rem;
  width: fit-content;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 2rem;
  height: 2rem;
  color: white;
}

.gradient-blue {
  background: linear-gradient(to right, hsl(217, 91%, 60%), hsl(217, 91%, 70%));
}

.gradient-green {
  background: linear-gradient(to right, hsl(142, 76%, 45%), hsl(142, 76%, 55%));
}

.gradient-gray {
  background: linear-gradient(to right, hsl(215, 25%, 30%), hsl(215, 25%, 40%));
}

.gradient-red {
	background: linear-gradient(to right, hsl(0, 84%, 60%), hsl(0, 84% ,70%));
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.service-card:hover .service-title {
  color: var(--color-primary);
}

.service-description {
  color: var(--color-muted-foreground);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-feature {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin-bottom: 0.5rem;
}

.service-feature::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--color-accent);
  border-radius: 50%;
  margin-right: 0.75rem;
}

/* ========================================
   BENEFITS
======================================== */

.benefits-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.benefit-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: hsla(217, 91%, 60%, 0.5);
}

.benefit-icon-wrapper {
  border-radius: 0.5rem;
  padding: 0.75rem;
  width: fit-content;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.gradient-purple {
  background: linear-gradient(to right, hsl(270, 76%, 55%), hsl(270, 76%, 65%));
}

.gradient-orange {
  background: linear-gradient(to right, hsl(25, 95%, 53%), hsl(25, 95%, 63%));
}

.gradient-indigo {
  background: linear-gradient(to right, hsl(230, 76%, 55%), hsl(230, 76%, 65%));
}

.gradient-teal {
  background: linear-gradient(to right, hsl(173, 76%, 45%), hsl(173, 76%, 55%));
}

.benefit-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.benefit-card:hover .benefit-title {
  color: var(--color-primary);
}

.benefit-description {
  color: var(--color-muted-foreground);
  margin-bottom: 1rem;
}

.benefit-check {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-success);
}

/* ========================================
   PRICING
======================================== */

.pricing-grid {
  display: grid;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  position: relative;
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.pricing-card.popular {
  transform: scale(1.05);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px hsla(217, 91%, 60%, 0.2);
}

.popular-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-glow));
  color: var(--color-accent-foreground);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-foreground);
  margin-bottom: 1rem;
}

.pricing-description {
  color: var(--color-muted-foreground);
  margin-bottom: 1rem;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--color-foreground);
}

.price-period {
  color: var(--color-muted-foreground);
  margin-left: 0.25rem;
}

.pricing-reviews {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.check-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--color-success);
}

/* ========================================
   TESTIMONIALS
======================================== */

.testimonials-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.testimonial-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.quote-icon {
  width: 2rem;
  height: 2rem;
  color: var(--color-primary);
  opacity: 0.5;
  margin-bottom: 1rem;
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: var(--color-foreground);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--color-primary-foreground);
}

.author-name {
  font-weight: 600;
  color: var(--color-foreground);
}

.author-title {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

/* ========================================
   FOOTER
======================================== */

footer {
  background-color: var(--color-foreground);
  color: var(--color-background);
}

.footer-content {
  display: grid;
  gap: 2rem;
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-column h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

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

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  transition: background-color 0.3s;
}

.social-link:hover {
  background-color: var(--color-primary);
}

.social-link svg {
  width: 1rem;
  height: 1rem;
}

/* ========================================
   UTILITY & HELPER CLASSES
======================================== */

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

.mt-16 {
  margin-top: 4rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.hidden {
  display: none;
}

/* ========================================
   RESPONSIVE UTILITIES
======================================== */

@media (max-width: 767px) {
  .hide-mobile {
    display: none;
  }
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none;
  }
}
