@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Poppins:wght@300;400;500&display=swap');

:root {
  --bg-deep: #070818;
  --bg-mid: #0d0f24;
  --bg-light: #161a3a;
  --indigo: #1a1050;
  --moonlight: #e8e4f0;
  --moon-dim: #8b85a8;
  --amber: #d4a373;
  --amber-glow: rgba(212,163,115,0.4);
  --mystic: #8b5cf6;
  --mystic-glow: rgba(139,92,246,0.35);
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --glass-strong: rgba(255,255,255,0.07);
  --glass-strong-border: rgba(255,255,255,0.12);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--moonlight);
  font-family: var(--sans);
  font-weight: 300;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-x: hidden;
  touch-action: manipulation;
  padding: 24px 16px 48px;
  line-height: 1.6;
}

/* ===== Aurora Background ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(139,92,246,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(212,163,115,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 70% 60% at 50% 90%, rgba(79,70,229,0.08) 0%, transparent 60%),
    linear-gradient(180deg, #070818 0%, #0d0f24 40%, #0a0b1e 100%);
  z-index: -2;
  pointer-events: none;
}

/* Subtle aurora flow */
body::after {
  content: '';
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(ellipse 50% 30% at 30% 40%, rgba(139,92,246,0.06), transparent 70%),
    radial-gradient(ellipse 40% 25% at 70% 60%, rgba(212,163,115,0.04), transparent 70%);
  z-index: -1;
  pointer-events: none;
  animation: auroraFlow 30s ease-in-out infinite alternate;
}

@keyframes auroraFlow {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-3%, 2%) rotate(2deg); }
}

/* ===== Fireflies ===== */
.fireflies {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.firefly {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 6px 2px var(--amber-glow);
  opacity: 0;
  animation: fireflyFloat linear infinite;
}

@keyframes fireflyFloat {
  0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
  10% { opacity: 0.9; transform: translate(var(--dx1), var(--dy1)) scale(1); }
  50% { opacity: 0.6; transform: translate(var(--dx2), var(--dy2)) scale(0.8); }
  90% { opacity: 0.8; transform: translate(var(--dx3), var(--dy3)) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx4), var(--dy4)) scale(0.4); }
}

/* ===== Container ===== */
.container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===== Music Toggle ===== */
.music-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--moon-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.music-toggle:hover {
  color: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 16px var(--amber-glow);
}

.music-toggle.playing {
  color: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 12px var(--amber-glow);
}

.music-toggle svg {
  width: 18px;
  height: 18px;
}

/* ===== Landing Page ===== */
.brand {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--moon-dim);
  margin-bottom: 16px;
  margin-top: 40px;
  opacity: 0;
  animation: fadeIn 1.2s ease 0.2s forwards;
}

h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 8vw, 44px);
  line-height: 1.25;
  text-align: center;
  color: var(--moonlight);
  margin-bottom: 14px;
  opacity: 0;
  animation: fadeIn 1.2s ease 0.4s forwards;
  letter-spacing: 0.5px;
}

.subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--moon-dim);
  text-align: center;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeIn 1.2s ease 0.6s forwards;
}

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

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Mystical Envelope ===== */
.envelope-wrap {
  position: relative;
  width: 300px;
  height: 200px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeInUp 1.2s ease 0.9s forwards;
  cursor: pointer;
  perspective: 800px;
}

.envelope-wrap::after {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, var(--mystic-glow) 0%, transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.envelope {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 8px 28px rgba(0,0,0,0.5));
}

.envelope-wrap:hover .envelope {
  transform: translateY(-4px) scale(1.02);
}

.envelope:active { transform: scale(0.96) !important; }

.envelope-body {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3a2d5c 0%, #2a1f4a 40%, #1f1738 100%);
  border-radius: 4px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 12px 36px rgba(0,0,0,0.5);
}

.envelope-pocket {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45%;
  background: linear-gradient(180deg, #2a1f4a 0%, #1f1738 100%);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 50% 100%, 0 0);
  z-index: 5;
}

.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 55%;
  background: linear-gradient(180deg, #4a3a6a 0%, #3a2d5c 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  backface-visibility: hidden;
}

.envelope-flap.open {
  transform: rotateX(180deg);
}

.envelope.opening {
  transform: scale(0.94);
}

/* Crescent moon wax seal */
.wax-seal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: radial-gradient(circle at 35% 35%, #f5efe3 0%, #d4a373 50%, #b08968 100%);
  border-radius: 50%;
  z-index: 15;
  box-shadow:
    0 4px 12px rgba(0,0,0,0.4),
    inset 0 -2px 4px rgba(0,0,0,0.2),
    0 0 20px var(--amber-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.wax-seal::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-deep);
  box-shadow: 0 0 0 2px var(--amber);
}

.wax-seal::after {
  content: '🌙';
  font-size: 16px;
  z-index: 2;
}

.envelope-wrap:hover .wax-seal {
  transform: translate(-50%, -50%) scale(1.1);
}

.cta-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--moon-dim);
  letter-spacing: 1px;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeIn 1s ease 1.1s forwards;
}

.price-tag {
  font-size: 13px;
  color: rgba(139,92,246,0.7);
  letter-spacing: 1px;
  opacity: 0;
  animation: fadeIn 1s ease 1.2s forwards;
  margin-bottom: 20px;
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  z-index: 10;
  margin-top: auto;
  padding-top: 40px;
  text-align: center;
  font-size: 12px;
  color: var(--moon-dim);
  opacity: 0;
  animation: fadeIn 1s ease 1.4s forwards;
}

.site-footer a {
  color: var(--moon-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.site-footer a:hover {
  color: var(--amber);
}

.legal-dot {
  margin: 0 8px;
  opacity: 0.4;
}

.site-footer span {
  opacity: 0.6;
  margin-top: 8px;
  display: inline-block;
}

/* ===== Write Page ===== */
.write-header {
  margin-bottom: 28px;
  text-align: center;
  width: 100%;
}

.write-header .brand {
  margin-top: 24px;
}

.write-header h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 6vw, 36px);
  color: var(--moonlight);
  margin-bottom: 8px;
}

.page-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--moon-dim);
}

.back-btn {
  position: absolute;
  left: 0;
  top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--moon-dim);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
  z-index: 20;
}

.back-btn:hover {
  color: var(--amber);
}

.back-btn svg {
  transition: transform 0.3s;
}

.back-btn:hover svg {
  transform: translateX(-3px);
}

/* Progress Steps */
.form-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 28px;
  padding: 0 8px;
}

.form-progress .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.form-progress .step-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--moon-dim);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  backdrop-filter: blur(6px);
}

.form-progress .step.active .step-dot {
  background: var(--mystic);
  border-color: var(--mystic);
  color: white;
  box-shadow: 0 0 20px var(--mystic-glow);
}

.form-progress .step.complete .step-dot {
  background: rgba(139,92,246,0.3);
  border-color: rgba(139,92,246,0.5);
  color: #c4b5fd;
}

.form-progress .step-label {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--moon-dim);
  transition: color 0.3s;
}

.form-progress .step.active .step-label { color: var(--mystic); }
.form-progress .step.complete .step-label { color: #c4b5fd; }

.form-progress .step-line {
  flex: 1;
  height: 1px;
  max-width: 50px;
  background: var(--glass-border);
  margin: 0 10px 22px;
  transition: background 0.4s;
}

.form-progress .step-line.active {
  background: linear-gradient(90deg, var(--mystic), rgba(139,92,246,0.3));
}

/* Error message */
.error-msg {
  width: 100%;
  padding: 12px 16px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: var(--radius-sm);
  color: #fca5a5;
  font-size: 14px;
  text-align: center;
  margin-bottom: 16px;
  display: none;
}

.error-msg.show { display: block; }

/* Form Sections */
.form-section {
  width: 100%;
  margin-bottom: 20px;
  position: relative;
}

.step-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: linear-gradient(135deg, var(--mystic), #6d28d9);
  color: white;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 12px;
  z-index: 2;
  box-shadow: 0 2px 12px var(--mystic-glow);
}

/* Email Section */
.contact-section {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.section-icon {
  font-size: 22px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139,92,246,0.12);
  border-radius: 12px;
}

.section-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--moonlight);
}

.section-sub {
  font-size: 12px;
  color: var(--moon-dim);
  margin-top: 2px;
}

.contact-section input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: var(--moonlight);
  font-size: 15px;
  font-family: var(--sans);
  outline: none;
  transition: all 0.3s ease;
}

.contact-section input:focus {
  border-color: var(--mystic);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px var(--mystic-glow);
}

.contact-section input::placeholder { color: rgba(139,133,168,0.6); }

.contact-hint {
  font-size: 12px;
  color: var(--moon-dim);
  margin-top: 8px;
}

/* Letter Paper */
.letter-paper {
  background: linear-gradient(180deg, #141628 0%, #0f1020 100%);
  border: 1px solid rgba(139,92,246,0.15);
  border-radius: var(--radius-lg);
  padding: 32px 24px 24px;
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.letter-paper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mystic), transparent);
  border-radius: 0 0 2px 2px;
}

.paper-label {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mystic);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.paper-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(139,92,246,0.25), transparent);
}

.letter-textarea {
  width: 100%;
  min-height: 220px;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.9;
  color: var(--moonlight);
  resize: vertical;
  padding: 0;
}

.letter-textarea::placeholder {
  color: rgba(139,133,168,0.5);
  font-style: italic;
}

.char-count {
  text-align: right;
  font-size: 11px;
  color: var(--moon-dim);
  margin-top: 8px;
  font-family: var(--serif);
}

/* Envelope Address Section */
.envelope-section {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.env-header {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(139,92,246,0.2);
}

.env-label {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--moonlight);
  margin-bottom: 4px;
}

.env-sub {
  font-size: 12px;
  color: var(--moon-dim);
}

.env-card {
  background: linear-gradient(135deg, rgba(139,92,246,0.08) 0%, rgba(79,70,229,0.06) 100%);
  border: 1px solid rgba(139,92,246,0.12);
  border-radius: var(--radius-md);
  padding: 20px;
}

.field {
  margin-bottom: 14px;
}

.field:last-child { margin-bottom: 0; }

.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--moon-dim);
  margin-bottom: 6px;
  font-weight: 500;
}

.field label .req { color: #f87171; }

.field input,
.field select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--moonlight);
  font-size: 15px;
  font-family: var(--sans);
  transition: all 0.3s ease;
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--mystic);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px var(--mystic-glow);
}

.field input::placeholder { color: rgba(139,133,168,0.5); }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238b85a8' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.field select option,
.field select optgroup {
  background: #1a1035;
  color: var(--moonlight);
  padding: 8px 12px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Final Section */
.final-section {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Payment Block */
.payment-block { margin-bottom: 22px; }

.payment-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--moonlight);
  margin-bottom: 14px;
}

.payment-options {
  display: flex;
  gap: 12px;
}

.payment-option {
  flex: 1;
  cursor: pointer;
}

.payment-option input[type="radio"] { display: none; }

.payment-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 14px 10px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.02);
  transition: all 0.3s ease;
  text-align: center;
}

.payment-option input[type="radio"]:checked + .payment-card {
  border-color: var(--mystic);
  background: rgba(139,92,246,0.08);
  box-shadow: 0 0 16px var(--mystic-glow);
}

.payment-card:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}

.payment-icon { font-size: 22px; }
.payment-name { font-size: 12px; font-weight: 500; color: var(--moonlight); }
.payment-sub { font-size: 10px; color: var(--moon-dim); }

/* Seal & Send Button */
.seal-send-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--mystic) 0%, #6d28d9 100%);
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--sans);
  box-shadow: 0 4px 24px var(--mystic-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.seal-send-btn:hover {
  box-shadow: 0 6px 32px var(--mystic-glow);
  transform: translateY(-2px);
}

.seal-send-btn:active { transform: scale(0.98); }
.seal-send-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.seal-send-btn .btn-icon { font-size: 20px; }

.seal-send-btn .btn-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.seal-send-btn .btn-main { font-size: 16px; font-weight: 500; }
.seal-send-btn .btn-price { font-size: 12px; opacity: 0.8; margin-top: 2px; }

#paypal-button-wrapper { min-height: 48px; }

.loading-ring {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--glass-border);
  border-top-color: var(--mystic);
  border-radius: 50%;
  margin: 16px auto 0;
  animation: spin 0.8s linear infinite;
}

.loading-ring.active { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

.secure-note {
  text-align: center;
  font-size: 12px;
  color: var(--moon-dim);
  margin-top: 14px;
}

/* ===== Success Page ===== */
.success-content {
  text-align: center;
  padding: 40px 24px;
}

.success-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}

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

.success-content h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--moonlight);
}

.success-content p {
  color: var(--moon-dim);
  margin-bottom: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
}

.order-number {
  display: inline-block;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 13px;
  color: var(--amber);
  margin: 16px 0;
}

.back-home {
  display: inline-block;
  margin-top: 20px;
  color: var(--mystic);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.back-home:hover { color: var(--amber); }

/* ===== Legal Pages ===== */
.legal-content {
  max-width: 720px;
  padding: 40px 28px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin: 20px auto;
}

.legal-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
}

.legal-header h1 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 8px;
}

.legal-header .brand {
  margin: 0;
}

.legal-content h2 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--mystic);
  margin: 24px 0 10px;
  font-weight: 500;
}

.legal-content p {
  font-size: 14px;
  color: var(--moon-dim);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-content a {
  color: var(--mystic);
  text-decoration: none;
}

.contact-email {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px dashed var(--amber-glow);
}

/* ===== Contact Page ===== */
.contact-content {
  max-width: 520px;
  padding: 40px 28px;
  text-align: center;
}

.contact-content h1 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 12px;
}

.contact-content .subtitle {
  margin-bottom: 32px;
}

.contact-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.contact-card h2 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--mystic);
  margin-bottom: 10px;
  font-weight: 500;
}

.contact-card p {
  color: var(--moon-dim);
  font-size: 14px;
  margin-bottom: 10px;
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
  h1 { font-size: 28px; }
  .field-row { grid-template-columns: 1fr; }
  .letter-paper { padding: 28px 20px 22px; }
  .envelope-section { padding: 20px 18px; }
  .env-card { padding: 16px; }
  .contact-section { padding: 18px; }
  .final-section { padding: 20px 18px; }
  .form-progress { margin-bottom: 24px; }
  .form-progress .step-dot { width: 30px; height: 30px; font-size: 12px; }
  .form-progress .step-line { max-width: 30px; }
  .envelope-wrap { width: 260px; height: 170px; }
  .legal-content { padding: 28px 20px 24px; }
  .legal-header h1 { font-size: 28px; }
  .seal-send-btn { padding: 14px 16px; font-size: 15px; }
}
