/* === reset & base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: #000000;
  color: #f5f5f7;
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

a {
  color: #f5f5f7;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

/* === aura canvas === */
#aura {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* === hero === */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-content {
  max-width: 720px;
  text-align: center;
}

.hero-title {
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 2rem;
  text-transform: lowercase;
  color: #ffffff;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: rgba(245, 245, 247, 0.8);
  font-style: italic;
}

.hero-body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(245, 245, 247, 0.55);
  margin-bottom: 3rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* === cta === */
.cta {
  display: inline-block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  color: #f5f5f7;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.85rem 2.5rem;
  border-radius: 0;
  letter-spacing: 0.04em;
  transition: all 0.4s ease;
  text-transform: lowercase;
}

.cta:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === features === */
.features {
  position: relative;
  z-index: 1;
  padding: 8rem 2rem;
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

.feature-card {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
}

.feature-card h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 400;
  margin-bottom: 1rem;
  text-transform: lowercase;
  color: #ffffff;
}

.feature-card p {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245, 245, 247, 0.5);
}

/* === closing === */
.closing {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 8rem 2rem 10rem;
}

.closing h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 400;
  text-transform: lowercase;
  margin-bottom: 2.5rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

/* === footer === */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-links a {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(245, 245, 247, 0.45);
  text-transform: lowercase;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #f5f5f7;
  opacity: 1;
}

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 1.5rem;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(245, 245, 247, 0.25);
  text-transform: lowercase;
}

/* === fade-in animations === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1s ease forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === scroll reveal === */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === legal pages === */
.legal-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 6rem 2rem 4rem;
}

.legal-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 1.5rem 2rem;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.legal-nav .nav-brand {
  font-size: 1.2rem;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.legal-nav .nav-back {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(245, 245, 247, 0.45);
}

.legal-container {
  max-width: 740px;
  margin: 0 auto;
}

.legal-container h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  text-transform: lowercase;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.legal-container .legal-date {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(245, 245, 247, 0.35);
  margin-bottom: 3rem;
  display: block;
}

.legal-container h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400;
  text-transform: lowercase;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.legal-container p,
.legal-container li {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(245, 245, 247, 0.55);
  margin-bottom: 1rem;
}

.legal-container ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.legal-container li {
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.legal-container li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(245, 245, 247, 0.25);
}

.legal-container a {
  color: rgba(245, 245, 247, 0.7);
  border-bottom: 1px solid rgba(245, 245, 247, 0.15);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.legal-container a:hover {
  color: #f5f5f7;
  border-color: rgba(245, 245, 247, 0.5);
  opacity: 1;
}

.legal-container strong {
  font-weight: 400;
  color: rgba(245, 245, 247, 0.8);
}

/* === legal emphasis / closing === */
.legal-container .legal-emphasis {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-style: italic;
  color: rgba(245, 245, 247, 0.7);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.legal-container .legal-closing {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(245, 245, 247, 0.45);
  margin-top: 3rem;
  text-align: center;
}

/* === deletion intro === */
.deletion-intro {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(245, 245, 247, 0.6);
  margin-bottom: 2.5rem;
}

/* === deletion form === */
.deletion-form {
  margin: 2rem 0 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(245, 245, 247, 0.5);
  margin-bottom: 0.5rem;
  text-transform: lowercase;
}

.form-group input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f5f5f7;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  padding: 0.85rem 1rem;
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input::placeholder {
  color: rgba(245, 245, 247, 0.2);
}

.form-group input:focus {
  border-color: rgba(255, 255, 255, 0.35);
}

.form-hint {
  display: block;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(245, 245, 247, 0.25);
  margin-top: 0.4rem;
}

.deletion-form .h-captcha {
  margin-bottom: 1.5rem;
}

.deletion-btn {
  cursor: pointer;
  background: none;
}

.deletion-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* === confirmation overlay === */
.confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.confirm-overlay.active {
  opacity: 1;
  visibility: visible;
}

.confirm-dialog {
  max-width: 420px;
  text-align: center;
}

.confirm-dialog p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  color: #f5f5f7;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.confirm-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-ghost {
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(245, 245, 247, 0.5);
  cursor: pointer;
  background: none;
}

.cta-ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #f5f5f7;
}

/* === deletion result message === */
.deletion-result {
  display: none;
  margin: 1.5rem 0 2rem;
  padding: 1rem 1.2rem;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.6;
}

.deletion-result.visible {
  display: block;
}

.deletion-result.success {
  color: rgba(140, 220, 140, 0.9);
  border-left: 2px solid rgba(140, 220, 140, 0.3);
}

.deletion-result.error {
  color: rgba(220, 140, 140, 0.9);
  border-left: 2px solid rgba(220, 140, 140, 0.3);
}

/* === responsive === */
@media (max-width: 768px) {
  .hero {
    padding: 1.5rem;
  }
  
  .features {
    padding: 5rem 1.5rem;
  }

  .features-grid {
    gap: 2rem;
  }

  .closing {
    padding: 5rem 1.5rem 7rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .legal-page {
    padding: 5rem 1.5rem 3rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 3.2rem;
  }
  
  .cta {
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
  }
}
