/* ============================================
   LoveConnect - Complete Styles (Exact React Replica)
   ============================================ */

/* CSS Variables */
:root {
  --background: hsl(30, 50%, 98%);
  --foreground: hsl(20, 25%, 15%);
  --card: hsl(30, 40%, 99%);
  --card-foreground: hsl(20, 25%, 15%);
  --primary: hsl(15, 85%, 60%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(25, 60%, 94%);
  --secondary-foreground: hsl(20, 25%, 15%);
  --muted: hsl(30, 20%, 94%);
  --muted-foreground: hsl(20, 10%, 45%);
  --border: hsl(25, 30%, 88%);
  --heading: hsl(20, 30%, 18%);
  --gold: hsl(35, 90%, 55%);
  --radius: 0.75rem;
  --shadow-soft: 0 4px 20px -2px hsla(15, 85%, 60%, 0.12);
  --shadow-card: 0 8px 32px -4px hsla(20, 25%, 50%, 0.1);
  --shadow-button: 0 4px 14px -2px hsla(15, 85%, 60%, 0.4);
  --font-heading: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--heading);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Utility Classes */
.gradient-text {
  background: linear-gradient(135deg, hsl(15, 85%, 55%) 0%, hsl(25, 75%, 50%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-fade-up {
  animation: fadeUp 0.6s ease-out forwards;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
  animation: float 6s ease-in-out infinite;
  animation-delay: -3s;
}

.delay-150 {
  animation-delay: 0.15s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-ghost {
  background: transparent;
  color: var(--foreground);
}

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

.btn-hero {
  background: linear-gradient(135deg, hsl(15, 85%, 60%) 0%, hsl(25, 80%, 55%) 100%);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-button);
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -2px hsla(15, 85%, 60%, 0.5);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-xl {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: 1rem;
}

/* Header */
.header {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  background: hsla(30, 50%, 98%, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-container {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading);
}

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

.nav-link {
  color: var(--muted-foreground);
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .header {
    padding: 1rem 2rem;
  }
  
  .nav {
    display: flex;
  }
}

/* Hero Section */
.hero {
  padding: 4rem 1rem;
  overflow: hidden;
}

.hero-container {
  max-width: 80rem;
  margin: 0 auto;
}

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

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 36rem;
}

.hero-images {
  position: relative;
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.image-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pt-8 {
  padding-top: 2rem;
}

.placeholder-block {
  border-radius: 1rem;
}

.placeholder-block.secondary {
  background: var(--secondary);
}

.placeholder-block.primary {
  background: var(--primary);
}

.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-36 { height: 9rem; }
.h-40 { height: 10rem; }

.image-card {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.image-card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.image-card img.h-40 {
  height: 10rem;
}

.image-card img.h-36 {
  height: 9rem;
}

.image-bottom-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.image-card.wide img {
  height: 9rem;
}

.image-col-small {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .hero {
    padding: 6rem 2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-description {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  
  .hero-title {
    font-size: 3.75rem;
  }
}

/* How It Works Section */
.how-it-works {
  padding: 4rem 1rem;
  background: var(--background);
}

.section-container {
  max-width: 72rem;
  margin: 0 auto;
}

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

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 500;
}

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

.step {
  text-align: center;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: var(--secondary);
  margin-bottom: 1.5rem;
  transition: background 0.3s ease;
}

.step:hover .step-icon {
  background: hsla(15, 85%, 60%, 0.1);
}

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

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--heading);
}

.step-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .how-it-works {
    padding: 6rem 2rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

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

/* Reviews Section */
.reviews {
  padding: 3rem 1rem;
  background: hsla(25, 60%, 94%, 0.5);
}

.reviews-container {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.reviews-text {
  color: var(--muted-foreground);
  text-align: center;
}

.reviews-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
}

.star {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--muted);
}

.star.filled {
  fill: var(--gold);
  color: var(--gold);
}

.rating-text {
  text-align: left;
}

.rating-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading);
}

.rating-label {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-left: 0.25rem;
}

.reviews-link {
  color: var(--primary);
  font-weight: 500;
  transition: all 0.2s ease;
}

.reviews-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 640px) {
  .reviews-container {
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
  }
  
  .reviews-text {
    text-align: left;
  }
}

/* FAQ Section */
.faq {
  padding: 4rem 1rem;
  background: var(--background);
}

.faq-container {
  max-width: 48rem;
  margin: 0 auto;
}

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

.accordion-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.accordion-item.open {
  box-shadow: var(--shadow-soft);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
}

.accordion-trigger:hover {
  background: transparent;
}

.accordion-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--muted-foreground);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.accordion-item.open .accordion-content {
  max-height: 200px;
}

.accordion-content p {
  padding: 0 1.5rem 1.25rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .faq {
    padding: 6rem 2rem;
  }
}

/* Footer */
.footer {
  padding: 3rem 1rem;
  background: hsla(25, 60%, 94%, 0.3);
  border-top: 1px solid var(--border);
}

.footer-container {
  max-width: 72rem;
  margin: 0 auto;
}

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

.footer-brand {
  grid-column: span 1;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--muted-foreground);
  max-width: 24rem;
}

.footer-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 1rem;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

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

.footer-links a {
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

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

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.footer-contact svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

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

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

@media (min-width: 768px) {
  .footer {
    padding: 3rem 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
}
