:root {
  --bg-dark: #0f172a;
  --bg-card: #ffffff;
  --text-primary: #1e293b;
  --text-muted: #64748b;
  --accent-color: #0ea5e9;
  --accent-hover: #0284c7;
  --verified-blue: #38bdf8;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --shadow-card: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(226, 232, 240, 0.5);
  --transition-smooth: all 0.3s ease;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: radial-gradient(circle at top center, #e0f2fe 0%, #cbd5e1 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  overflow-x: clip;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.container {
  width: min(92%, 750px);
  margin: 0 auto;
  padding: 80px 0 40px; 
}

.luxury-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 0 clamp(20px, 5vw, 48px) 48px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.profile-popout {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -60px;
  margin-bottom: 32px;
  padding: 10px 0;
  background: transparent;
  transition: transform 0.25s ease, background-color 0.25s ease, padding 0.25s ease;
  will-change: transform;
}

.avatar-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-color);
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.25);
  background: #fff;
  transition: width 0.3s ease, height 0.3s ease, box-shadow 0.3s ease;
}

.profile-title-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.profile-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  transition: font-size 0.3s ease;
}

.verified-badge {
  color: var(--verified-blue);
  font-size: 18px;
}

.profile-popout.scrolled {
  flex-direction: row;
  gap: 12px;
  margin-top: 0;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-left: calc(clamp(20px, 5vw, 48px) * -1);
  margin-right: calc(clamp(20px, 5vw, 48px) * -1);
  padding: 14px clamp(20px, 5vw, 48px);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  border-bottom: 1px solid #f1f5f9;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
}

.profile-popout.scrolled .avatar-img {
  width: 46px;
  height: 46px;
  box-shadow: 0 4px 8px rgba(14, 165, 233, 0.15);
}

.profile-popout.scrolled .profile-title-wrapper {
  margin-top: 0;
  gap: 6px;
}

.profile-popout.scrolled .profile-name {
  font-size: 18px;
}

.profile-popout.scrolled .verified-badge {
  font-size: 16px;
}

.badge {
  text-align: center;
  margin-bottom: 24px;
}

.badge-text {
  display: inline-block;
  font-size: clamp(28px, 6vw, 38px);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.subtext {
  text-align: center;
  font-size: clamp(15px, 2vw, 17px);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 550px;
  margin: 0 auto 36px;
  font-weight: 500;
}

.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9 / 16;
  margin: 0 auto 36px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.2);
  background-color: var(--bg-dark);
  border: 6px solid #f8fafc;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: slideAnimation 8s infinite cubic-bezier(0.4, 0, 0.2, 1); 
}

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

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

@keyframes slideAnimation {
  0%, 100% { opacity: 0; transform: scale(1.05); }
  5%, 45% { opacity: 1; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.05); }
}

.cta-wrapper {
  text-align: center;
  margin: 32px 0;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: clamp(16px, 2.5vw, 18px);
  font-weight: 800;
  letter-spacing: 0.05em;
  width: min(100%, 320px);
  transition: var(--transition-smooth);
  animation: ctaPulse 2s infinite ease-in-out;
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
  border: 1px solid #7dd3fc;
}

.cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(14, 165, 233, 0.4);
  animation-play-state: paused;
}

@keyframes ctaPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3); }
  50% { transform: scale(1.03); box-shadow: 0 15px 25px rgba(14, 165, 233, 0.45); }
}

.steps-container {
  background: #f8fafc;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  margin-top: 48px;
  border: 1px solid #e2e8f0;
}

.steps-title {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.step-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03);
  border: 1px solid #f1f5f9;
  transition: var(--transition-smooth);
}

.step-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
  border-color: #e2e8f0;
}

.step-num-circle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--accent-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3);
}

.step-text {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.5;
  margin-top: 4px;
}

.site-footer {
  text-align: center;
  padding-top: 32px;
  margin-top: 48px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
  border-top: 1px solid #e2e8f0;
}

@media(max-width: 768px) {
  .container { padding: 80px 0 20px; }
  .luxury-card { padding: 0 20px 32px; border-radius: 24px; }
  .avatar-img { width: 100px; height: 100px; }
  .profile-popout.scrolled .avatar-img { width: 44px; height: 44px; }
  .profile-popout.scrolled { border-radius: 24px 24px 0 0; }
  .steps-grid { grid-template-columns: 1fr; gap: 12px; }
  .steps-container { padding: 32px 20px; }
}