/* style.css */

:root {
  --bg-primary: #f8fafc;
  --surface-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --btn-gradient: linear-gradient(135deg, #a3e635, #16a34a);
  --btn-hover-glow: rgba(22, 163, 74, 0.35);
  --step-bg: #f1f5f9;
  --radius-lg: 24px;
  --radius-md: 16px;
  --font-family: 'Plus Jakarta Sans', sans-serif;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.hero {
  width: 100%;
  height: 240px;
  background: url('images/img1.png') center/cover no-repeat;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(248, 250, 252, 0.8) 100%);
}

.profile-bar {
  position: sticky;
  top: 16px;
  z-index: 999;
  width: min(92%, 800px);
  margin: -60px auto 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-md);
}

.profile-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-sm);
}

.profile-info h3 {
  font-size: clamp(20px, 3.5vw, 28px);
  color: var(--text-main);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.container {
  width: min(92%, 800px);
  margin: auto;
  padding: 32px 0 64px;
}

.card {
  background: var(--surface-card);
  border-radius: 32px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(241, 245, 249, 0.8);
  box-shadow: var(--shadow-lg);
}

.badge-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.badge {
  display: inline-block;
  text-align: center;
  font-size: clamp(14px, 2.5vw, 17px);
  color: #ffffff;
  background: #0f172a;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.subtext {
  text-align: center;
  font-size: clamp(16px, 2.2vw, 21px);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  font-weight: 500;
}

.subtext .highlight {
  color: #16a34a;
  font-weight: 700;
}

.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/5;
  margin: 0 auto 36px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 4px solid #ffffff;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: transform 1s ease, opacity 1s ease;
  animation: slideAnimation 12s infinite;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 4s; }
.slide:nth-child(3) { animation-delay: 8s; }

@keyframes slideAnimation {
  0% { opacity: 0; transform: scale(1.04); }
  5% { opacity: 1; transform: scale(1); }
  30% { opacity: 1; transform: scale(1); }
  35% { opacity: 0; transform: scale(0.96); }
  100% { opacity: 0; }
}

.cta-section {
  text-align: center;
  margin: 36px 0;
}

.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--btn-gradient);
  color: #ffffff;
  text-decoration: none;
  padding: 18px 36px;
  border-radius: 100px;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  width: min(100%, 400px);
  box-shadow: 0 10px 25px var(--btn-hover-glow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.5px;
}

.cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px var(--btn-hover-glow);
}

.cta-btn:active {
  transform: translateY(-1px);
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: shine 4s infinite ease-in-out;
}

@keyframes shine {
  0% { left: -150%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

.steps {
  background: var(--step-bg);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  margin-top: 24px;
}

.steps-header {
  text-align: center;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 32px;
  letter-spacing: -0.5px;
}

.steps-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.steps-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateX(6px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.step-number {
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--text-main);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.step-text {
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 500;
}

.gift-image {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gift-image img {
  width: min(180px, 100%);
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.06));
  animation: float 4s ease-in-out infinite;
}

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

footer {
  text-align: center;
  padding-top: 40px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 850px) {
  .steps-content {
    flex-direction: column-reverse;
    gap: 32px;
  }
  .gift-image img {
    width: 140px;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 180px;
  }
  .profile-bar {
    padding: 12px 18px;
    gap: 14px;
    margin-top: -45px;
    border-radius: var(--radius-md);
  }
  .profile-photo {
    width: 56px;
    height: 56px;
  }
  .card {
    border-radius: var(--radius-lg);
  }
  .step {
    padding: 14px;
  }
}