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

:root {
  --primary: #ff6b9d;
  --primary-light: #ffb3d9;
  --primary-dark: #ff4081;
  --secondary: #ffeaa7;
  --bg-gradient-start: #fff5f8;
  --bg-gradient-end: #ffe4f0;
  --text-dark: #2d2d2d;
  --text-light: #666;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(255, 107, 157, 0.15);
  --shadow-hover: 0 15px 60px rgba(255, 107, 157, 0.25);
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  min-height: 100vh;
  color: var(--text-dark);
  overflow-x: hidden;
  position: relative;
}

/* Background Decorations */
.background-decorations {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  font-size: 1.5rem;
  animation: twinkle 3s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.8) rotate(0deg);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.2) rotate(180deg);
  }
}

.heart {
  position: absolute;
  bottom: -50px;
  font-size: 1.5rem;
  animation: float-up var(--duration) ease-in infinite;
  animation-delay: var(--delay);
  opacity: 0.5;
}

@keyframes float-up {
  0% {
    bottom: -50px;
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    bottom: calc(100vh + 50px);
    opacity: 0;
    transform: translateX(30px) rotate(360deg);
  }
}

/* Header */
.header {
  position: relative;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 50px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 107, 157, 0.1);
}

.logo {
  font-family: 'Pacifico', cursive;
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

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

/* Hero Section */
.hero {
  position: relative;
  z-index: 10;
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  padding: 60px 50px;
}

.hero-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-dark);
  letter-spacing: -1px;
}

.highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  height: 15px;
  background: linear-gradient(90deg, rgba(255, 107, 157, 0.3), rgba(255, 179, 217, 0.3));
  z-index: -1;
  border-radius: 5px;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-light);
  font-weight: 400;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.btn {
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--primary-light);
}

.btn-secondary:hover {
  background: rgba(255, 107, 157, 0.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
  transform: translateX(5px);
}

.btn span {
  position: relative;
  z-index: 1;
}

.hero-features {
  display: flex;
  gap: 40px;
  margin-top: 20px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-icon {
  font-size: 2rem;
  line-height: 1;
}

.feature-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
}

/* Hero Right - Preview Card */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.preview-card {
  background: var(--white);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 30px;
  max-width: 450px;
  width: 100%;
  transition: all 0.4s ease;
  position: relative;
}

.preview-card::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 32px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.preview-card:hover::before {
  opacity: 0.3;
}

.preview-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.preview-dots {
  display: flex;
  gap: 8px;
}

.preview-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-light);
}

.preview-dots span:nth-child(1) {
  background: #ff6b9d;
}

.preview-dots span:nth-child(2) {
  background: #ffd93d;
}

.preview-dots span:nth-child(3) {
  background: #6bcf7f;
}

.preview-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
}

.preview-content {
  background: linear-gradient(135deg, #fff9fb, #fff0f5);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  margin-bottom: 20px;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.preview-photo {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #ffe4f0, #ffd9e8);
  border-radius: 15px;
  border: 3px solid rgba(255, 107, 157, 0.2);
  position: relative;
  overflow: hidden;
}

.preview-shimmer {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.preview-decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.deco-sticker {
  position: absolute;
  font-size: 2rem;
  animation: float 3s ease-in-out infinite;
}

.deco-sticker:nth-child(2) {
  animation-delay: 0.5s;
}

.deco-sticker:nth-child(3) {
  animation-delay: 1s;
}

.deco-sticker:nth-child(4) {
  animation-delay: 1.5s;
}

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

.preview-footer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-content {
    gap: 60px;
  }

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

@media (max-width: 968px) {
  .header {
    padding: 20px 30px;
  }

  .logo {
    font-size: 1.5rem;
  }

  .nav {
    gap: 20px;
  }

  .hero {
    padding: 40px 30px;
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-features {
    gap: 25px;
  }

  .preview-card {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 15px 20px;
  }

  .logo {
    font-size: 1.3rem;
  }

  .nav {
    gap: 15px;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .hero {
    padding: 30px 20px;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn {
    padding: 16px 35px;
    font-size: 1rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 15px;
  }

  .feature {
    gap: 10px;
  }

  .feature-icon {
    font-size: 1.5rem;
  }

  .feature-text {
    font-size: 0.9rem;
  }

  .preview-card {
    padding: 25px;
  }

  .preview-grid {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .header {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .logo {
    font-size: 1.2rem;
  }

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

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .btn {
    padding: 14px 30px;
    font-size: 0.95rem;
  }

  .preview-card {
    padding: 20px;
  }

  .preview-content {
    padding: 20px;
  }

  .deco-sticker {
    font-size: 1.5rem;
  }

  /* Reduce background animations on small screens */
  .sparkle:nth-child(n+3),
  .heart:nth-child(n+2) {
    display: none;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn,
  .nav-link {
    touch-action: manipulation;
  }

  .btn {
    min-height: 50px;
  }
}
