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

:root {
  --pink-50: #fdf2f8;
  --pink-100: #fce7f3;
  --pink-200: #fbcfe8;
  --pink-300: #f9a8d4;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  /* Softer pink variants for buttons and accents */
  --pink-soft-1: #fce7f3;
  --pink-soft-2: #fbcfe8;
  --pink-soft-3: #f9a8d4;
  --pink-soft-4: #f472b6;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
}

html {
  position: relative;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white);
}

nav,
section,
footer {
  position: relative;
  z-index: 1;
}

section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/pattern.svg");
  background-repeat: repeat;
  background-size: 150px 150px;
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background: var(--white);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--pink-soft-4), var(--pink-soft-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 400;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--pink-soft-3);
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    var(--pink-50) 0%,
    var(--pink-100) 50%,
    var(--white) 100%
  );
  padding: 6rem 0 8rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(
    to bottom,
    rgba(253, 242, 248, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink-soft-4), var(--pink-soft-3));
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(244, 114, 182, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 114, 182, 0.3);
  background-position: 100% 50%;
}

.btn-secondary {
  background: var(--white);
  color: var(--pink-soft-4);
  border: 2px solid var(--pink-soft-2);
}

.btn-secondary:hover {
  background: var(--pink-50);
  border-color: var(--pink-soft-3);
}

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

.btn-outline:hover {
  background: var(--pink-50);
  border-color: var(--pink-soft-3);
}

.btn-block {
  display: block;
  text-align: center;
  width: 100%;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 400px;
  width: 100%;
  animation: float 3s ease-in-out infinite;
}

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

.mockup-header {
  background: linear-gradient(135deg, var(--pink-100), var(--pink-200));
  padding: 1rem;
  display: flex;
  align-items: center;
}

.mockup-dots {
  display: flex;
  gap: 0.5rem;
}

.mockup-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pink-soft-3);
}

.mockup-content {
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  position: relative;
}

.hearts-animation {
  position: relative;
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.heart {
  font-size: 64px;
  display: inline-block;
  animation: heartFloat 2.5s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(244, 114, 182, 0.3));
}

.heart-left {
  animation-name: heartFloatLeft;
}

.heart-right {
  animation-name: heartFloatRight;
  animation-delay: 0.3s;
}

.sparkles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  font-size: 20px;
  opacity: 0;
  animation: sparkleFloat 3s ease-in-out infinite;
}

.sparkle-1 {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.sparkle-2 {
  top: 30%;
  right: 25%;
  animation-delay: 0.8s;
}

.sparkle-3 {
  bottom: 25%;
  left: 30%;
  animation-delay: 1.6s;
}

.sparkle-4 {
  bottom: 20%;
  right: 20%;
  animation-delay: 2.4s;
}

@keyframes heartFloatLeft {
  0%,
  100% {
    transform: translateX(0) translateY(0) scale(1) rotate(0deg);
  }
  25% {
    transform: translateX(-15px) translateY(-10px) scale(1.1) rotate(-5deg);
  }
  50% {
    transform: translateX(0) translateY(-15px) scale(1.15) rotate(0deg);
  }
  75% {
    transform: translateX(15px) translateY(-10px) scale(1.1) rotate(5deg);
  }
}

@keyframes heartFloatRight {
  0%,
  100% {
    transform: translateX(0) translateY(0) scale(1) rotate(0deg);
  }
  25% {
    transform: translateX(15px) translateY(-10px) scale(1.1) rotate(5deg);
  }
  50% {
    transform: translateX(0) translateY(-15px) scale(1.15) rotate(0deg);
  }
  75% {
    transform: translateX(-15px) translateY(-10px) scale(1.1) rotate(-5deg);
  }
}

@keyframes sparkleFloat {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }
  20% {
    opacity: 1;
    transform: translateY(-10px) scale(1);
  }
  80% {
    opacity: 1;
    transform: translateY(-30px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-40px) scale(0.5);
  }
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* How It Works */
.how-it-works {
  background: var(--white);
  position: relative;
  margin-top: -50px;
  padding-top: 6rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  padding: 2rem;
  background: var(--gray-50);
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(244, 114, 182, 0.08);
}

.step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--pink-soft-4), var(--pink-soft-3));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.step h3 {
  font-size: 1.25rem;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* Templates Section */
.templates {
  background: linear-gradient(180deg, var(--white) 0%, var(--pink-50) 100%);
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.template-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.template-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(244, 114, 182, 0.12);
}

.template-preview {
  margin-bottom: 1.5rem;
  border-radius: 15px;
  overflow: hidden;
  height: 200px;
}

.template-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.template-1 {
  background: linear-gradient(135deg, #fce7f3, #fbcfe8);
}

.template-2 {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.template-3 {
  background: linear-gradient(135deg, #fce7f3, #f9a8d4);
}

.template-card h3 {
  font-size: 1.5rem;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.template-card p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.template-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.template-actions .btn {
  width: 100%;
  text-align: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

/* Stats Section */
.stats {
  background: linear-gradient(135deg, var(--pink-soft-3), var(--pink-soft-4));
  color: var(--white);
  padding: 4rem 0;
}

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

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.95;
}

/* Why Lovikue */
.why-lovikue {
  background: var(--white);
}

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

.feature {
  text-align: center;
  padding: 2rem;
  background: var(--gray-50);
  border-radius: 20px;
  transition: transform 0.3s ease;
}

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

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

.feature h3 {
  font-size: 1.25rem;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.feature p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* Pricing Section */
.pricing {
  background: linear-gradient(180deg, var(--pink-50) 0%, var(--white) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(244, 114, 182, 0.12);
}

.pricing-card.featured {
  border: 2px solid var(--pink-soft-3);
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: linear-gradient(135deg, var(--pink-soft-4), var(--pink-soft-3));
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

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

.pricing-header h3 {
  font-size: 1.5rem;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--pink-soft-4), var(--pink-soft-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.pricing-features li {
  padding: 0.75rem 0;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* FAQ Section */
.faq {
  background: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background: var(--gray-50);
  border-radius: 15px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  background: var(--white);
  box-shadow: 0 5px 20px rgba(244, 114, 182, 0.1);
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--gray-900);
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--pink-soft-4);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--pink-soft-4);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  color: var(--gray-600);
  line-height: 1.8;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--pink-soft-3), var(--pink-soft-4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

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

.footer-section a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--pink-soft-3);
}

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

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-800);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--pink-soft-4);
  transform: translateY(-3px);
}

.social-links svg {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
  color: var(--gray-500);
}

/* Lightweight cursor heart trail */
.cursor-heart {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  will-change: transform, opacity;
  filter: drop-shadow(0 2px 6px rgba(244, 114, 182, 0.35));
  user-select: none;
}

.cursor-heart--sm {
  font-size: 14px;
}

.cursor-heart--md {
  font-size: 16px;
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero {
    padding: 4rem 0 5rem;
    min-height: auto;
  }
  .hero-content {
    gap: 2rem;
  }
  .hero-visual {
    margin-top: 1.5rem;
  }
  .mockup-card {
    max-width: 340px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.05);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  /* Overlay: her zaman mevcut, sadece opaklığı değişir */
  .nav-links::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    /* Sağ kenarı da panel ile birlikte animasyonlu hareket etsin */
    right: 0;
    transition: opacity 0.3s ease, right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.active::before {
    opacity: 1;
    pointer-events: auto;
    /* Panel alanını boş bırak ki tıklamalar menüye gitsin */
    right: 280px;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .nav-links a {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 1rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover {
    color: var(--pink-soft-4);
    padding-left: 0.5rem;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
  .hero {
    padding: 3.5rem 0 4.5rem;
  }
  .hero-cta {
    justify-content: center;
  }
  .mockup-card {
    max-width: 300px;
    animation: none;
  }
  .hearts-animation {
    height: 160px;
    gap: 24px;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .stat-number {
    font-size: 2.5rem;
  }

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